@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
@@ -2,46 +2,48 @@ import { EmployeeList as e } from "./EmployeeList/onboarding/EmployeeList.js";
2
2
  import { Profile as t } from "./Profile/onboarding/Profile.js";
3
3
  import { OnboardingFlow as x } from "./OnboardingFlow/OnboardingFlow.js";
4
4
  import { SelfOnboardingFlow as n } from "./SelfOnboardingFlow/SelfOnboardingFlow.js";
5
- import { HomeAddress as a } from "./HomeAddress/management/HomeAddress.js";
6
- import { TerminateEmployee as s } from "./Terminations/TerminateEmployee/TerminateEmployee.js";
7
- import { TerminationSummary as y } from "./Terminations/TerminationSummary/TerminationSummary.js";
8
- import { TerminationFlow as E } from "./Terminations/TerminationFlow/TerminationFlow.js";
9
- import { WorkAddress as T } from "./WorkAddress/management/WorkAddress.js";
10
- import { Compensation as u } from "./Compensation/onboarding/Compensation.js";
11
- import { DashboardFlow as S } from "./Dashboard/DashboardFlow.js";
12
- import { Deductions as c } from "./Deductions/Deductions.js";
13
- import { DocumentSigner as O } from "./Documents/onboarding/DocumentSigner/DocumentSigner.js";
14
- import { EmployeeDocuments as A } from "./Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js";
15
- import { EmployeeListFlow as k } from "./EmployeeListFlow/EmployeeListFlow.js";
16
- import { EmploymentEligibility as H } from "./Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js";
17
- import { FederalTaxes as W } from "./FederalTaxes/management/FederalTaxes.js";
5
+ import { TerminateEmployee as a } from "./Terminations/TerminateEmployee/TerminateEmployee.js";
6
+ import { TerminationSummary as d } from "./Terminations/TerminationSummary/TerminationSummary.js";
7
+ import { TerminationFlow as y } from "./Terminations/TerminationFlow/TerminationFlow.js";
8
+ import { WorkAddress as E } from "./WorkAddress/management/WorkAddress.js";
9
+ import { Compensation as b } from "./Compensation/onboarding/Compensation.js";
10
+ import { DashboardFlow as w } from "./Dashboard/DashboardFlow.js";
11
+ import { Deductions as S } from "./Deductions/onboarding/Deductions.js";
12
+ import { DocumentSigner as D } from "./Documents/onboarding/DocumentSigner/DocumentSigner.js";
13
+ import { EmployeeDocuments as L } from "./Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js";
14
+ import { EmployeeListFlow as A } from "./EmployeeListFlow/EmployeeListFlow.js";
15
+ import { EmploymentEligibility as k } from "./Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js";
16
+ import { FederalTaxes as H } from "./FederalTaxes/management/FederalTaxes.js";
17
+ import { HomeAddress as W } from "./HomeAddress/management/HomeAddress.js";
18
18
  import { Landing as q } from "./Landing/Landing.js";
19
- import { OnboardingSummary as z } from "./OnboardingSummary/OnboardingSummary.js";
20
- import { PaymentMethod as G } from "./PaymentMethod/onboarding/PaymentMethod.js";
21
- import { StateTaxes as J } from "./StateTaxes/management/StateTaxes.js";
22
- import { Taxes as N } from "./Taxes/Taxes.js";
19
+ import { OnboardingExecutionFlow as z } from "./OnboardingExecutionFlow/OnboardingExecutionFlow.js";
20
+ import { OnboardingSummary as G } from "./OnboardingSummary/OnboardingSummary.js";
21
+ import { PaymentMethod as J } from "./PaymentMethod/onboarding/PaymentMethod.js";
22
+ import { StateTaxes as N } from "./StateTaxes/management/StateTaxes.js";
23
+ import { Taxes as R } from "./Taxes/Taxes.js";
23
24
  export {
24
- u as Compensation,
25
- S as DashboardFlow,
26
- c as Deductions,
27
- O as DocumentSigner,
28
- A as EmployeeDocuments,
25
+ b as Compensation,
26
+ w as DashboardFlow,
27
+ S as Deductions,
28
+ D as DocumentSigner,
29
+ L as EmployeeDocuments,
29
30
  e as EmployeeList,
30
- k as EmployeeListFlow,
31
- H as EmploymentEligibility,
32
- W as FederalTaxes,
33
- a as HomeAddress,
31
+ A as EmployeeListFlow,
32
+ k as EmploymentEligibility,
33
+ H as FederalTaxes,
34
+ W as HomeAddress,
34
35
  q as Landing,
36
+ z as OnboardingExecutionFlow,
35
37
  x as OnboardingFlow,
36
- z as OnboardingSummary,
37
- G as PaymentMethod,
38
+ G as OnboardingSummary,
39
+ J as PaymentMethod,
38
40
  t as Profile,
39
41
  n as SelfOnboardingFlow,
40
- J as StateTaxes,
41
- N as Taxes,
42
- s as TerminateEmployee,
43
- E as TerminationFlow,
44
- y as TerminationSummary,
45
- T as WorkAddress
42
+ N as StateTaxes,
43
+ R as Taxes,
44
+ a as TerminateEmployee,
45
+ y as TerminationFlow,
46
+ d as TerminationSummary,
47
+ E as WorkAddress
46
48
  };
47
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -6,5 +6,22 @@ type FlowProps<M extends Machine> = {
6
6
  machine: M;
7
7
  onEvent: OnEventType<EventType, unknown>;
8
8
  };
9
- export declare const Flow: <M extends Machine<object, FlowContextInterface>>({ onEvent, machine, }: FlowProps<M>) => import("react/jsx-runtime").JSX.Element;
9
+ /**
10
+ * Drives a robot3 state machine that orchestrates a multi-step SDK flow, rendering the active
11
+ * step component inside a {@link FlowContext} provider with optional header chrome above it.
12
+ *
13
+ * @remarks
14
+ * Re-emits every event produced by the state machine (or the active child machine, when one is
15
+ * nested) to the upstream `onEvent` callback, so the consuming flow component (e.g. `PayrollFlow`,
16
+ * `OnboardingFlow`) can forward them to partner code. The set of event types is defined by the
17
+ * machine itself rather than a fixed catalogue.
18
+ *
19
+ * @typeParam M - The robot3 {@link Machine} type whose context extends {@link FlowContextInterface}.
20
+ * @param props - Component props: the `machine` instance to run and an `onEvent` handler that
21
+ * receives every event the machine emits.
22
+ * @returns A React element rendering the machine's current `component` inside the flow context,
23
+ * with a {@link FlowHeader} above it.
24
+ * @internal
25
+ */
26
+ export declare const Flow: <M extends Machine<object, FlowContextInterface>>({ onEvent, machine, }: FlowProps<M>) => import("react").JSX.Element;
10
27
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Flow.js","sources":["../../../src/components/Flow/Flow.tsx"],"sourcesContent":["import { useMachine } from 'react-robot'\nimport { type Machine, type SendFunction } from 'robot3'\nimport type { OnEventType } from '../Base/useBase'\nimport { Flex } from '../Common/Flex'\nimport type { FlowContextInterface } from './useFlow'\nimport { FlowContext } from './useFlow'\nimport { FlowHeader } from './FlowHeader'\nimport { type EventType } from '@/shared/constants'\n\ntype FlowProps<M extends Machine> = {\n machine: M\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport const Flow = <M extends Machine<object, FlowContextInterface>>({\n onEvent,\n machine,\n}: FlowProps<M>) => {\n const [current, send, service] = useMachine(machine, {\n onEvent: handleEvent,\n component: null,\n })\n\n function handleEvent(type: EventType, data: unknown): void {\n const event = { type, payload: data }\n const sendFn = send as SendFunction<string>\n //When dealing with nested state machine, correct machine needs to recieve an event\n if (service.child) {\n ;(service.child.send as SendFunction<string>)(event)\n } else {\n sendFn(event)\n }\n // Pass event upstream - onEvent can be optional on Flow component\n onEvent(type, data)\n }\n\n const Component = current.context.component\n\n return (\n <Flex>\n <FlowContext.Provider\n value={{\n ...current.context,\n }}\n >\n <Flex flexDirection=\"column\" gap={32}>\n <FlowHeader />\n {Component && <Component />}\n </Flex>\n </FlowContext.Provider>\n </Flex>\n )\n}\n"],"names":["Flow","onEvent","machine","current","send","service","useMachine","handleEvent","type","data","event","sendFn","Component","Flex","jsx","FlowContext","jsxs","FlowHeader"],"mappings":";;;;;AAcO,MAAMA,IAAO,CAAkD;AAAA,EACpE,SAAAC;AAAA,EACA,SAAAC;AACF,MAAoB;AAClB,QAAM,CAACC,GAASC,GAAMC,CAAO,IAAIC,EAAWJ,GAAS;AAAA,IACnD,SAASK;AAAA,IACT,WAAW;AAAA,EAAA,CACZ;AAED,WAASA,EAAYC,GAAiBC,GAAqB;AACzD,UAAMC,IAAQ,EAAE,MAAAF,GAAM,SAASC,EAAA,GACzBE,IAASP;AAEf,IAAIC,EAAQ,QACRA,EAAQ,MAAM,KAA8BK,CAAK,IAEnDC,EAAOD,CAAK,GAGdT,EAAQO,GAAMC,CAAI;AAAA,EACpB;AAEA,QAAMG,IAAYT,EAAQ,QAAQ;AAElC,2BACGU,GAAA,EACC,UAAA,gBAAAC;AAAA,IAACC,EAAY;AAAA,IAAZ;AAAA,MACC,OAAO;AAAA,QACL,GAAGZ,EAAQ;AAAA,MAAA;AAAA,MAGb,UAAA,gBAAAa,EAACH,GAAA,EAAK,eAAc,UAAS,KAAK,IAChC,UAAA;AAAA,QAAA,gBAAAC,EAACG,GAAA,EAAW;AAAA,QACXL,uBAAcA,GAAA,CAAA,CAAU;AAAA,MAAA,EAAA,CAC3B;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;"}
1
+ {"version":3,"file":"Flow.js","sources":["../../../src/components/Flow/Flow.tsx"],"sourcesContent":["import { useMachine } from 'react-robot'\nimport { type Machine, type SendFunction } from 'robot3'\nimport type { OnEventType } from '../Base/useBase'\nimport { Flex } from '../Common/Flex'\nimport type { FlowContextInterface } from './useFlow'\nimport { FlowContext } from './useFlow'\nimport { FlowHeader } from './FlowHeader'\nimport { type EventType } from '@/shared/constants'\n\ntype FlowProps<M extends Machine> = {\n machine: M\n onEvent: OnEventType<EventType, unknown>\n}\n\n/**\n * Drives a robot3 state machine that orchestrates a multi-step SDK flow, rendering the active\n * step component inside a {@link FlowContext} provider with optional header chrome above it.\n *\n * @remarks\n * Re-emits every event produced by the state machine (or the active child machine, when one is\n * nested) to the upstream `onEvent` callback, so the consuming flow component (e.g. `PayrollFlow`,\n * `OnboardingFlow`) can forward them to partner code. The set of event types is defined by the\n * machine itself rather than a fixed catalogue.\n *\n * @typeParam M - The robot3 {@link Machine} type whose context extends {@link FlowContextInterface}.\n * @param props - Component props: the `machine` instance to run and an `onEvent` handler that\n * receives every event the machine emits.\n * @returns A React element rendering the machine's current `component` inside the flow context,\n * with a {@link FlowHeader} above it.\n * @internal\n */\nexport const Flow = <M extends Machine<object, FlowContextInterface>>({\n onEvent,\n machine,\n}: FlowProps<M>) => {\n const [current, send, service] = useMachine(machine, {\n onEvent: handleEvent,\n component: null,\n })\n\n function handleEvent(type: EventType, data: unknown): void {\n const event = { type, payload: data }\n const sendFn = send as SendFunction<string>\n //When dealing with nested state machine, correct machine needs to recieve an event\n if (service.child) {\n ;(service.child.send as SendFunction<string>)(event)\n } else {\n sendFn(event)\n }\n // Pass event upstream - onEvent can be optional on Flow component\n onEvent(type, data)\n }\n\n const Component = current.context.component\n\n return (\n <Flex>\n <FlowContext.Provider\n value={{\n ...current.context,\n }}\n >\n <Flex flexDirection=\"column\" gap={32}>\n <FlowHeader />\n {Component && <Component />}\n </Flex>\n </FlowContext.Provider>\n </Flex>\n )\n}\n"],"names":["Flow","onEvent","machine","current","send","service","useMachine","handleEvent","type","data","event","sendFn","Component","Flex","jsx","FlowContext","jsxs","FlowHeader"],"mappings":";;;;;AA+BO,MAAMA,IAAO,CAAkD;AAAA,EACpE,SAAAC;AAAA,EACA,SAAAC;AACF,MAAoB;AAClB,QAAM,CAACC,GAASC,GAAMC,CAAO,IAAIC,EAAWJ,GAAS;AAAA,IACnD,SAASK;AAAA,IACT,WAAW;AAAA,EAAA,CACZ;AAED,WAASA,EAAYC,GAAiBC,GAAqB;AACzD,UAAMC,IAAQ,EAAE,MAAAF,GAAM,SAASC,EAAA,GACzBE,IAASP;AAEf,IAAIC,EAAQ,QACRA,EAAQ,MAAM,KAA8BK,CAAK,IAEnDC,EAAOD,CAAK,GAGdT,EAAQO,GAAMC,CAAI;AAAA,EACpB;AAEA,QAAMG,IAAYT,EAAQ,QAAQ;AAElC,2BACGU,GAAA,EACC,UAAA,gBAAAC;AAAA,IAACC,EAAY;AAAA,IAAZ;AAAA,MACC,OAAO;AAAA,QACL,GAAGZ,EAAQ;AAAA,MAAA;AAAA,MAGb,UAAA,gBAAAa,EAACH,GAAA,EAAK,eAAc,UAAS,KAAK,IAChC,UAAA;AAAA,QAAA,gBAAAC,EAACG,GAAA,EAAW;AAAA,QACXL,uBAAcA,GAAA,CAAA,CAAU;AAAA,MAAA,EAAA,CAC3B;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;"}
@@ -1,16 +1,20 @@
1
1
  /**
2
- * Renders the chrome above the active flow component (back affordance,
3
- * progress bar, breadcrumbs, ...). Layout is driven by a single
4
- * discriminated `header` field on the flow context. Each variant maps to a
5
- * focused renderer below:
2
+ * Renders the chrome above the active flow component (back affordance, progress bar, breadcrumbs).
6
3
  *
7
- * header.type === 'minimal' → MinimalHeader
8
- * header.type === 'progress' → ProgressHeader
9
- * header.type === 'breadcrumbs' → BreadcrumbsHeader
4
+ * @remarks
5
+ * Reads the discriminated `header` value from {@link FlowContext} and dispatches to the matching
6
+ * internal renderer:
10
7
  *
11
- * To add a new piece of chrome:
12
- * 1. Add a new variant to `FlowHeaderConfig` in `useFlow.ts`.
13
- * 2. Add a new renderer function below.
14
- * 3. Branch on it in `FlowHeader`.
8
+ * - `header.type === 'minimal'` back button and optional CTA.
9
+ * - `header.type === 'progress'` step indicator with `currentStep` / `totalSteps`.
10
+ * - `header.type === 'breadcrumbs'` breadcrumb trail; renders nothing while
11
+ * `currentBreadcrumbId` is absent so passive states (e.g. landing screens) don't reset the bar.
12
+ *
13
+ * When no `header` is configured, or there is no active `component` in context, nothing is
14
+ * rendered. To add a new chrome variant: extend {@link FlowHeaderConfig}, add a renderer below,
15
+ * and add a branch here.
16
+ *
17
+ * @returns A header element above the active flow component, or `null` when no header should show.
18
+ * @internal
15
19
  */
16
- export declare function FlowHeader(): import("react/jsx-runtime").JSX.Element | null;
20
+ export declare function FlowHeader(): import("react").JSX.Element | null;
@@ -2,12 +2,11 @@ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
2
  import { useTranslation as m } from "react-i18next";
3
3
  import { FlowBreadcrumbs as f } from "../Common/FlowBreadcrumbs/FlowBreadcrumbs.js";
4
4
  import { Flex as l, FlexItem as a } from "../Common/Flex/Flex.js";
5
- import "classnames";
6
- import { componentEvents as b } from "../../shared/constants.js";
7
5
  import { useFlow as s } from "./useFlow.js";
6
+ import { componentEvents as b } from "../../shared/constants.js";
8
7
  import { useComponentContext as u } from "../../contexts/ComponentAdapter/useComponentContext.js";
9
8
  import h from "../../assets/icons/caret-left.svg.js";
10
- function L() {
9
+ function I() {
11
10
  const { header: e, component: t } = s();
12
11
  if (!e || !t) return null;
13
12
  switch (e.type) {
@@ -88,6 +87,6 @@ function v({
88
87
  ] });
89
88
  }
90
89
  export {
91
- L as FlowHeader
90
+ I as FlowHeader
92
91
  };
93
92
  //# sourceMappingURL=FlowHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlowHeader.js","sources":["../../../src/components/Flow/FlowHeader.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { FlowBreadcrumbs } from '../Common/FlowBreadcrumbs/FlowBreadcrumbs'\nimport type { BreadcrumbTrail } from '../Common/FlowBreadcrumbs/FlowBreadcrumbsTypes'\nimport { Flex } from '../Common/Flex'\nimport { FlexItem } from '../Common'\nimport { useFlow } from './useFlow'\nimport { componentEvents, type EventType } from '@/shared/constants'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport CaretLeftIcon from '@/assets/icons/caret-left.svg?react'\n\n/**\n * Renders the chrome above the active flow component (back affordance,\n * progress bar, breadcrumbs, ...). Layout is driven by a single\n * discriminated `header` field on the flow context. Each variant maps to a\n * focused renderer below:\n *\n * header.type === 'minimal' MinimalHeader\n * header.type === 'progress' ProgressHeader\n * header.type === 'breadcrumbs' BreadcrumbsHeader\n *\n * To add a new piece of chrome:\n * 1. Add a new variant to `FlowHeaderConfig` in `useFlow.ts`.\n * 2. Add a new renderer function below.\n * 3. Branch on it in `FlowHeader`.\n */\nexport function FlowHeader() {\n const { header, component } = useFlow()\n\n if (!header || !component) return null\n\n switch (header.type) {\n case 'minimal':\n return <MinimalHeader back={header.back} cta={header.cta} />\n case 'progress':\n return (\n <ProgressHeader\n currentStep={header.currentStep}\n totalSteps={header.totalSteps}\n cta={header.cta}\n />\n )\n case 'breadcrumbs':\n // The breadcrumb trail is intentionally persisted across \"passive\"\n // states (e.g. landing screens) so that subsequent transitions can\n // pick up where they left off without rebuilding it. We render the\n // bar only when there's an active breadcrumb to show; otherwise\n // we treat the flow as \"no chrome\" for this state.\n if (!header.currentBreadcrumbId) return null\n return (\n <BreadcrumbsHeader\n currentBreadcrumbId={header.currentBreadcrumbId}\n breadcrumbs={header.breadcrumbs}\n cta={header.cta}\n />\n )\n }\n}\n\nfunction MinimalHeader({\n back,\n cta: Cta,\n}: {\n back?: {\n labelKey: string\n namespace: keyof CustomTypeOptions['resources']\n event: EventType\n }\n cta?: React.ComponentType\n}) {\n const { onEvent } = useFlow()\n const Components = useComponentContext()\n const { t } = useTranslation(back?.namespace)\n\n const label = back ? t(back.labelKey as never) : t('back')\n const event = back?.event ?? componentEvents.CANCEL\n\n return (\n <Flex flexDirection=\"row\" justifyContent=\"space-between\" alignItems=\"center\">\n <FlexItem>\n <Components.Button\n variant=\"secondary\"\n icon={<CaretLeftIcon aria-hidden=\"true\" />}\n onClick={() => {\n onEvent(event, undefined)\n }}\n >\n {label}\n </Components.Button>\n </FlexItem>\n {Cta && (\n <FlexItem>\n <Cta />\n </FlexItem>\n )}\n </Flex>\n )\n}\n\nfunction ProgressHeader({\n currentStep,\n totalSteps,\n cta: Cta,\n}: {\n currentStep: number\n totalSteps: number\n cta?: React.ComponentType\n}) {\n const Components = useComponentContext()\n const { t } = useTranslation()\n\n return (\n <Components.ProgressBar\n totalSteps={totalSteps}\n currentStep={currentStep}\n label={t('progressBarLabel', { totalSteps, currentStep })}\n cta={Cta}\n />\n )\n}\n\nfunction BreadcrumbsHeader({\n currentBreadcrumbId,\n breadcrumbs = {},\n cta: Cta,\n}: {\n currentBreadcrumbId?: string\n breadcrumbs?: BreadcrumbTrail\n cta?: React.ComponentType\n}) {\n const { onEvent } = useFlow()\n\n return (\n <Flex flexDirection=\"row\" justifyContent=\"space-between\" alignItems=\"center\">\n <FlexItem flexGrow={1}>\n <FlowBreadcrumbs\n breadcrumbs={currentBreadcrumbId ? (breadcrumbs[currentBreadcrumbId] ?? []) : []}\n currentBreadcrumbId={currentBreadcrumbId}\n onEvent={onEvent}\n />\n </FlexItem>\n <FlexItem>{Cta && <Cta />}</FlexItem>\n </Flex>\n )\n}\n"],"names":["FlowHeader","header","component","useFlow","MinimalHeader","jsx","ProgressHeader","BreadcrumbsHeader","back","Cta","onEvent","Components","useComponentContext","t","useTranslation","label","event","componentEvents","Flex","FlexItem","CaretLeftIcon","currentStep","totalSteps","currentBreadcrumbId","breadcrumbs","FlowBreadcrumbs"],"mappings":";;;;;;;;;AA0BO,SAASA,IAAa;AAC3B,QAAM,EAAE,QAAAC,GAAQ,WAAAC,EAAA,IAAcC,EAAA;AAE9B,MAAI,CAACF,KAAU,CAACC,EAAW,QAAO;AAElC,UAAQD,EAAO,MAAA;AAAA,IACb,KAAK;AACH,+BAAQG,GAAA,EAAc,MAAMH,EAAO,MAAM,KAAKA,EAAO,KAAK;AAAA,IAC5D,KAAK;AACH,aACE,gBAAAI;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,aAAaL,EAAO;AAAA,UACpB,YAAYA,EAAO;AAAA,UACnB,KAAKA,EAAO;AAAA,QAAA;AAAA,MAAA;AAAA,IAGlB,KAAK;AAMH,aAAKA,EAAO,sBAEV,gBAAAI;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,qBAAqBN,EAAO;AAAA,UAC5B,aAAaA,EAAO;AAAA,UACpB,KAAKA,EAAO;AAAA,QAAA;AAAA,MAAA,IALwB;AAAA,EAMtC;AAGR;AAEA,SAASG,EAAc;AAAA,EACrB,MAAAI;AAAA,EACA,KAAKC;AACP,GAOG;AACD,QAAM,EAAE,SAAAC,EAAA,IAAYP,EAAA,GACdQ,IAAaC,EAAA,GACb,EAAE,GAAAC,EAAA,IAAMC,EAAeN,GAAM,SAAS,GAEtCO,IAAeF,EAAPL,IAASA,EAAK,WAAuB,MAAN,GACvCQ,IAAQR,GAAM,SAASS,EAAgB;AAE7C,2BACGC,GAAA,EAAK,eAAc,OAAM,gBAAe,iBAAgB,YAAW,UAClE,UAAA;AAAA,IAAA,gBAAAb,EAACc,GAAA,EACC,UAAA,gBAAAd;AAAA,MAACM,EAAW;AAAA,MAAX;AAAA,QACC,SAAQ;AAAA,QACR,MAAM,gBAAAN,EAACe,GAAA,EAAc,eAAY,OAAA,CAAO;AAAA,QACxC,SAAS,MAAM;AACb,UAAAV,EAAQM,GAAO,MAAS;AAAA,QAC1B;AAAA,QAEC,UAAAD;AAAA,MAAA;AAAA,IAAA,GAEL;AAAA,IACCN,KACC,gBAAAJ,EAACc,GAAA,EACC,UAAA,gBAAAd,EAACI,KAAI,EAAA,CACP;AAAA,EAAA,GAEJ;AAEJ;AAEA,SAASH,EAAe;AAAA,EACtB,aAAAe;AAAA,EACA,YAAAC;AAAA,EACA,KAAKb;AACP,GAIG;AACD,QAAME,IAAaC,EAAA,GACb,EAAE,GAAAC,EAAA,IAAMC,EAAA;AAEd,SACE,gBAAAT;AAAA,IAACM,EAAW;AAAA,IAAX;AAAA,MACC,YAAAW;AAAA,MACA,aAAAD;AAAA,MACA,OAAOR,EAAE,oBAAoB,EAAE,YAAAS,GAAY,aAAAD,GAAa;AAAA,MACxD,KAAKZ;AAAA,IAAA;AAAA,EAAA;AAGX;AAEA,SAASF,EAAkB;AAAA,EACzB,qBAAAgB;AAAA,EACA,aAAAC,IAAc,CAAA;AAAA,EACd,KAAKf;AACP,GAIG;AACD,QAAM,EAAE,SAAAC,EAAA,IAAYP,EAAA;AAEpB,2BACGe,GAAA,EAAK,eAAc,OAAM,gBAAe,iBAAgB,YAAW,UAClE,UAAA;AAAA,IAAA,gBAAAb,EAACc,GAAA,EAAS,UAAU,GAClB,UAAA,gBAAAd;AAAA,MAACoB;AAAA,MAAA;AAAA,QACC,aAAaF,IAAuBC,EAAYD,CAAmB,KAAK,CAAA,IAAM,CAAA;AAAA,QAC9E,qBAAAA;AAAA,QACA,SAAAb;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAL,EAACc,GAAA,EAAU,UAAAV,KAAO,gBAAAJ,EAACI,KAAI,EAAA,CAAG;AAAA,EAAA,GAC5B;AAEJ;"}
1
+ {"version":3,"file":"FlowHeader.js","sources":["../../../src/components/Flow/FlowHeader.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { FlowBreadcrumbs } from '../Common/FlowBreadcrumbs/FlowBreadcrumbs'\nimport type { BreadcrumbTrail } from '../Common/FlowBreadcrumbs/FlowBreadcrumbsTypes'\nimport { Flex } from '../Common/Flex'\nimport { FlexItem } from '../Common'\nimport { useFlow } from './useFlow'\nimport { componentEvents, type EventType } from '@/shared/constants'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport CaretLeftIcon from '@/assets/icons/caret-left.svg?react'\n\n/**\n * Renders the chrome above the active flow component (back affordance, progress bar, breadcrumbs).\n *\n * @remarks\n * Reads the discriminated `header` value from {@link FlowContext} and dispatches to the matching\n * internal renderer:\n *\n * - `header.type === 'minimal'` — back button and optional CTA.\n * - `header.type === 'progress'` — step indicator with `currentStep` / `totalSteps`.\n * - `header.type === 'breadcrumbs'` breadcrumb trail; renders nothing while\n * `currentBreadcrumbId` is absent so passive states (e.g. landing screens) don't reset the bar.\n *\n * When no `header` is configured, or there is no active `component` in context, nothing is\n * rendered. To add a new chrome variant: extend {@link FlowHeaderConfig}, add a renderer below,\n * and add a branch here.\n *\n * @returns A header element above the active flow component, or `null` when no header should show.\n * @internal\n */\nexport function FlowHeader() {\n const { header, component } = useFlow()\n\n if (!header || !component) return null\n\n switch (header.type) {\n case 'minimal':\n return <MinimalHeader back={header.back} cta={header.cta} />\n case 'progress':\n return (\n <ProgressHeader\n currentStep={header.currentStep}\n totalSteps={header.totalSteps}\n cta={header.cta}\n />\n )\n case 'breadcrumbs':\n // The breadcrumb trail is intentionally persisted across \"passive\"\n // states (e.g. landing screens) so that subsequent transitions can\n // pick up where they left off without rebuilding it. We render the\n // bar only when there's an active breadcrumb to show; otherwise\n // we treat the flow as \"no chrome\" for this state.\n if (!header.currentBreadcrumbId) return null\n return (\n <BreadcrumbsHeader\n currentBreadcrumbId={header.currentBreadcrumbId}\n breadcrumbs={header.breadcrumbs}\n cta={header.cta}\n />\n )\n }\n}\n\nfunction MinimalHeader({\n back,\n cta: Cta,\n}: {\n back?: {\n labelKey: string\n namespace: keyof CustomTypeOptions['resources']\n event: EventType\n }\n cta?: React.ComponentType\n}) {\n const { onEvent } = useFlow()\n const Components = useComponentContext()\n const { t } = useTranslation(back?.namespace)\n\n const label = back ? t(back.labelKey as never) : t('back')\n const event = back?.event ?? componentEvents.CANCEL\n\n return (\n <Flex flexDirection=\"row\" justifyContent=\"space-between\" alignItems=\"center\">\n <FlexItem>\n <Components.Button\n variant=\"secondary\"\n icon={<CaretLeftIcon aria-hidden=\"true\" />}\n onClick={() => {\n onEvent(event, undefined)\n }}\n >\n {label}\n </Components.Button>\n </FlexItem>\n {Cta && (\n <FlexItem>\n <Cta />\n </FlexItem>\n )}\n </Flex>\n )\n}\n\nfunction ProgressHeader({\n currentStep,\n totalSteps,\n cta: Cta,\n}: {\n currentStep: number\n totalSteps: number\n cta?: React.ComponentType\n}) {\n const Components = useComponentContext()\n const { t } = useTranslation()\n\n return (\n <Components.ProgressBar\n totalSteps={totalSteps}\n currentStep={currentStep}\n label={t('progressBarLabel', { totalSteps, currentStep })}\n cta={Cta}\n />\n )\n}\n\nfunction BreadcrumbsHeader({\n currentBreadcrumbId,\n breadcrumbs = {},\n cta: Cta,\n}: {\n currentBreadcrumbId?: string\n breadcrumbs?: BreadcrumbTrail\n cta?: React.ComponentType\n}) {\n const { onEvent } = useFlow()\n\n return (\n <Flex flexDirection=\"row\" justifyContent=\"space-between\" alignItems=\"center\">\n <FlexItem flexGrow={1}>\n <FlowBreadcrumbs\n breadcrumbs={currentBreadcrumbId ? (breadcrumbs[currentBreadcrumbId] ?? []) : []}\n currentBreadcrumbId={currentBreadcrumbId}\n onEvent={onEvent}\n />\n </FlexItem>\n <FlexItem>{Cta && <Cta />}</FlexItem>\n </Flex>\n )\n}\n"],"names":["FlowHeader","header","component","useFlow","MinimalHeader","jsx","ProgressHeader","BreadcrumbsHeader","back","Cta","onEvent","Components","useComponentContext","t","useTranslation","label","event","componentEvents","Flex","FlexItem","CaretLeftIcon","currentStep","totalSteps","currentBreadcrumbId","breadcrumbs","FlowBreadcrumbs"],"mappings":";;;;;;;;AA8BO,SAASA,IAAa;AAC3B,QAAM,EAAE,QAAAC,GAAQ,WAAAC,EAAA,IAAcC,EAAA;AAE9B,MAAI,CAACF,KAAU,CAACC,EAAW,QAAO;AAElC,UAAQD,EAAO,MAAA;AAAA,IACb,KAAK;AACH,+BAAQG,GAAA,EAAc,MAAMH,EAAO,MAAM,KAAKA,EAAO,KAAK;AAAA,IAC5D,KAAK;AACH,aACE,gBAAAI;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,aAAaL,EAAO;AAAA,UACpB,YAAYA,EAAO;AAAA,UACnB,KAAKA,EAAO;AAAA,QAAA;AAAA,MAAA;AAAA,IAGlB,KAAK;AAMH,aAAKA,EAAO,sBAEV,gBAAAI;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,qBAAqBN,EAAO;AAAA,UAC5B,aAAaA,EAAO;AAAA,UACpB,KAAKA,EAAO;AAAA,QAAA;AAAA,MAAA,IALwB;AAAA,EAMtC;AAGR;AAEA,SAASG,EAAc;AAAA,EACrB,MAAAI;AAAA,EACA,KAAKC;AACP,GAOG;AACD,QAAM,EAAE,SAAAC,EAAA,IAAYP,EAAA,GACdQ,IAAaC,EAAA,GACb,EAAE,GAAAC,EAAA,IAAMC,EAAeN,GAAM,SAAS,GAEtCO,IAAeF,EAAPL,IAASA,EAAK,WAAuB,MAAN,GACvCQ,IAAQR,GAAM,SAASS,EAAgB;AAE7C,2BACGC,GAAA,EAAK,eAAc,OAAM,gBAAe,iBAAgB,YAAW,UAClE,UAAA;AAAA,IAAA,gBAAAb,EAACc,GAAA,EACC,UAAA,gBAAAd;AAAA,MAACM,EAAW;AAAA,MAAX;AAAA,QACC,SAAQ;AAAA,QACR,MAAM,gBAAAN,EAACe,GAAA,EAAc,eAAY,OAAA,CAAO;AAAA,QACxC,SAAS,MAAM;AACb,UAAAV,EAAQM,GAAO,MAAS;AAAA,QAC1B;AAAA,QAEC,UAAAD;AAAA,MAAA;AAAA,IAAA,GAEL;AAAA,IACCN,KACC,gBAAAJ,EAACc,GAAA,EACC,UAAA,gBAAAd,EAACI,KAAI,EAAA,CACP;AAAA,EAAA,GAEJ;AAEJ;AAEA,SAASH,EAAe;AAAA,EACtB,aAAAe;AAAA,EACA,YAAAC;AAAA,EACA,KAAKb;AACP,GAIG;AACD,QAAME,IAAaC,EAAA,GACb,EAAE,GAAAC,EAAA,IAAMC,EAAA;AAEd,SACE,gBAAAT;AAAA,IAACM,EAAW;AAAA,IAAX;AAAA,MACC,YAAAW;AAAA,MACA,aAAAD;AAAA,MACA,OAAOR,EAAE,oBAAoB,EAAE,YAAAS,GAAY,aAAAD,GAAa;AAAA,MACxD,KAAKZ;AAAA,IAAA;AAAA,EAAA;AAGX;AAEA,SAASF,EAAkB;AAAA,EACzB,qBAAAgB;AAAA,EACA,aAAAC,IAAc,CAAA;AAAA,EACd,KAAKf;AACP,GAIG;AACD,QAAM,EAAE,SAAAC,EAAA,IAAYP,EAAA;AAEpB,2BACGe,GAAA,EAAK,eAAc,OAAM,gBAAe,iBAAgB,YAAW,UAClE,UAAA;AAAA,IAAA,gBAAAb,EAACc,GAAA,EAAS,UAAU,GAClB,UAAA,gBAAAd;AAAA,MAACoB;AAAA,MAAA;AAAA,QACC,aAAaF,IAAuBC,EAAYD,CAAmB,KAAK,CAAA,IAAM,CAAA;AAAA,QAC9E,qBAAAA;AAAA,QACA,SAAAb;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,IACA,gBAAAL,EAACc,GAAA,EAAU,UAAAV,KAAO,gBAAAJ,EAACI,KAAI,EAAA,CAAG;AAAA,EAAA,GAC5B;AAEJ;"}
@@ -3,23 +3,30 @@ import { OnEventType } from '../Base/useBase';
3
3
  import { CommonComponentInterface } from '../Base';
4
4
  import { BreadcrumbTrail } from '../Common/FlowBreadcrumbs/FlowBreadcrumbsTypes';
5
5
  import { EventType } from '../../shared/constants';
6
- export interface CtaConfig {
6
+ /**
7
+ * Configuration for a call-to-action label sourced from the i18n catalogue.
8
+ *
9
+ * @internal
10
+ */
11
+ interface CtaConfig {
7
12
  labelKey: string;
8
13
  namespace?: keyof CustomTypeOptions['resources'];
9
14
  }
10
15
  /**
11
- * Discriminated union describing the chrome rendered above the active flow
12
- * component. Each variant declares only the data it needs:
13
- * - `minimal` → Back button. Optional `cta` for an extra control next to it.
14
- * - `progress` → Step indicator. Requires `currentStep` / `totalSteps`,
15
- * plus optional `cta`.
16
- * - `breadcrumbs` Breadcrumb trail. Optional `currentBreadcrumbId` /
17
- * `breadcrumbs` (typically populated via
18
- * `buildBreadcrumbs` + `updateBreadcrumbs`), plus optional
19
- * `cta`.
20
- *
21
- * `cta` carries the same meaning across every variant: an optional component
22
- * rendered as part of the header chrome.
16
+ * Discriminated union describing the chrome rendered above the active flow component.
17
+ *
18
+ * @remarks
19
+ * Each variant declares only the data it needs:
20
+ *
21
+ * - `minimal` back button. Optional `cta` for an extra control next to it.
22
+ * - `progress` step indicator. Requires `currentStep` / `totalSteps`, plus optional `cta`.
23
+ * - `breadcrumbs` breadcrumb trail. Optional `currentBreadcrumbId` / `breadcrumbs` (typically
24
+ * populated via `buildBreadcrumbs` + `updateBreadcrumbs`), plus optional `cta`.
25
+ *
26
+ * `cta` carries the same meaning across every variant: an optional component rendered as part
27
+ * of the header chrome.
28
+ *
29
+ * @internal
23
30
  */
24
31
  export type FlowHeaderConfig = {
25
32
  type: 'minimal';
@@ -47,6 +54,12 @@ export type FlowHeaderConfig = {
47
54
  breadcrumbs?: BreadcrumbTrail;
48
55
  cta?: React.ComponentType;
49
56
  };
57
+ /**
58
+ * Shape of the value carried by {@link FlowContext}: the active step component, the upstream
59
+ * event dispatcher, and optional defaults / chrome configuration.
60
+ *
61
+ * @internal
62
+ */
50
63
  export interface FlowContextInterface {
51
64
  component: React.ComponentType<CommonComponentInterface> | null;
52
65
  onEvent: OnEventType<EventType, unknown>;
@@ -58,5 +71,25 @@ export interface FlowContextInterface {
58
71
  */
59
72
  header?: FlowHeaderConfig | null;
60
73
  }
74
+ /**
75
+ * React context that exposes the current {@link FlowContextInterface} to step components
76
+ * rendered inside a {@link Flow}.
77
+ *
78
+ * @internal
79
+ */
61
80
  export declare const FlowContext: import('react').Context<FlowContextInterface | null>;
81
+ /**
82
+ * Reads the active {@link FlowContext} value from a step component rendered inside a {@link Flow}.
83
+ *
84
+ * @remarks
85
+ * Throws if called outside a {@link Flow} provider. The generic `C` parameter lets callers narrow
86
+ * the context to a flow-specific extension of {@link FlowContextInterface} that carries extra
87
+ * fields (e.g. `companyId`, `employeeId`).
88
+ *
89
+ * @typeParam C - The concrete context shape the calling flow expects, extending {@link FlowContextInterface}.
90
+ * @returns The current flow context value, narrowed to `C`.
91
+ * @throws When called outside a {@link Flow} provider, an `Error` is thrown.
92
+ * @internal
93
+ */
62
94
  export declare function useFlow<C extends FlowContextInterface>(): C;
95
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"useFlow.js","sources":["../../../src/components/Flow/useFlow.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { CustomTypeOptions } from 'i18next'\nimport type { OnEventType } from '../Base/useBase'\nimport type { CommonComponentInterface } from '../Base'\nimport type { BreadcrumbTrail } from '../Common/FlowBreadcrumbs/FlowBreadcrumbsTypes'\nimport type { EventType } from '@/shared/constants'\n\nexport interface CtaConfig {\n labelKey: string\n namespace?: keyof CustomTypeOptions['resources']\n}\n\n/**\n * Discriminated union describing the chrome rendered above the active flow\n * component. Each variant declares only the data it needs:\n * - `minimal` Back button. Optional `cta` for an extra control next to it.\n * - `progress` Step indicator. Requires `currentStep` / `totalSteps`,\n * plus optional `cta`.\n * - `breadcrumbs` Breadcrumb trail. Optional `currentBreadcrumbId` /\n * `breadcrumbs` (typically populated via\n * `buildBreadcrumbs` + `updateBreadcrumbs`), plus optional\n * `cta`.\n *\n * `cta` carries the same meaning across every variant: an optional component\n * rendered as part of the header chrome.\n */\nexport type FlowHeaderConfig =\n | {\n type: 'minimal'\n /**\n * Optional override for the default back button (defaults to\n * `t('back')` + `componentEvents.CANCEL`). Provide both `label` and\n * `event` to render a flow-specific affordance — e.g. \"Back to\n * employees\" routed to a dedicated state-machine transition so nested\n * flows don't intercept it as a generic cancel.\n */\n back?: {\n labelKey: string\n namespace: keyof CustomTypeOptions['resources']\n event: EventType\n }\n cta?: React.ComponentType\n }\n | {\n type: 'progress'\n currentStep: number\n totalSteps: number\n cta?: React.ComponentType\n }\n | {\n type: 'breadcrumbs'\n currentBreadcrumbId?: string\n breadcrumbs?: BreadcrumbTrail\n cta?: React.ComponentType\n }\n\nexport interface FlowContextInterface {\n component: React.ComponentType<CommonComponentInterface> | null\n onEvent: OnEventType<EventType, unknown>\n defaultValues?: Record<string, unknown>\n ctaConfig?: CtaConfig | null\n /**\n * Optional chrome rendered above the active flow component. When omitted\n * (or set to `null`), no header is shown.\n */\n header?: FlowHeaderConfig | null\n}\n\nexport const FlowContext = createContext<FlowContextInterface | null>(null)\n\n//TODO: This is hiding the fact that the callsite for useFlow\n// destructures a `companyId` that doesn't seem to exist\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters\nexport function useFlow<C extends FlowContextInterface>() {\n // When used outside provider, this is expected to return undefined - consumers must fallback to params\n const values = useContext<C>(FlowContext as unknown as React.Context<C>)\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!values) {\n throw new Error('useFlow used outside provider')\n }\n return values\n}\n"],"names":["FlowContext","createContext","useFlow","values","useContext"],"mappings":";AAoEO,MAAMA,IAAcC,EAA2C,IAAI;AAKnE,SAASC,IAA0C;AAExD,QAAMC,IAASC,EAAcJ,CAA0C;AAEvE,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,+BAA+B;AAEjD,SAAOA;AACT;"}
1
+ {"version":3,"file":"useFlow.js","sources":["../../../src/components/Flow/useFlow.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { CustomTypeOptions } from 'i18next'\nimport type { OnEventType } from '../Base/useBase'\nimport type { CommonComponentInterface } from '../Base'\nimport type { BreadcrumbTrail } from '../Common/FlowBreadcrumbs/FlowBreadcrumbsTypes'\nimport type { EventType } from '@/shared/constants'\n\n/**\n * Configuration for a call-to-action label sourced from the i18n catalogue.\n *\n * @internal\n */\ninterface CtaConfig {\n labelKey: string\n namespace?: keyof CustomTypeOptions['resources']\n}\n\n/**\n * Discriminated union describing the chrome rendered above the active flow component.\n *\n * @remarks\n * Each variant declares only the data it needs:\n *\n * - `minimal` back button. Optional `cta` for an extra control next to it.\n * - `progress` step indicator. Requires `currentStep` / `totalSteps`, plus optional `cta`.\n * - `breadcrumbs` breadcrumb trail. Optional `currentBreadcrumbId` / `breadcrumbs` (typically\n * populated via `buildBreadcrumbs` + `updateBreadcrumbs`), plus optional `cta`.\n *\n * `cta` carries the same meaning across every variant: an optional component rendered as part\n * of the header chrome.\n *\n * @internal\n */\nexport type FlowHeaderConfig =\n | {\n type: 'minimal'\n /**\n * Optional override for the default back button (defaults to\n * `t('back')` + `componentEvents.CANCEL`). Provide both `label` and\n * `event` to render a flow-specific affordance — e.g. \"Back to\n * employees\" routed to a dedicated state-machine transition so nested\n * flows don't intercept it as a generic cancel.\n */\n back?: {\n labelKey: string\n namespace: keyof CustomTypeOptions['resources']\n event: EventType\n }\n cta?: React.ComponentType\n }\n | {\n type: 'progress'\n currentStep: number\n totalSteps: number\n cta?: React.ComponentType\n }\n | {\n type: 'breadcrumbs'\n currentBreadcrumbId?: string\n breadcrumbs?: BreadcrumbTrail\n cta?: React.ComponentType\n }\n\n/**\n * Shape of the value carried by {@link FlowContext}: the active step component, the upstream\n * event dispatcher, and optional defaults / chrome configuration.\n *\n * @internal\n */\nexport interface FlowContextInterface {\n component: React.ComponentType<CommonComponentInterface> | null\n onEvent: OnEventType<EventType, unknown>\n defaultValues?: Record<string, unknown>\n ctaConfig?: CtaConfig | null\n /**\n * Optional chrome rendered above the active flow component. When omitted\n * (or set to `null`), no header is shown.\n */\n header?: FlowHeaderConfig | null\n}\n\n/**\n * React context that exposes the current {@link FlowContextInterface} to step components\n * rendered inside a {@link Flow}.\n *\n * @internal\n */\nexport const FlowContext = createContext<FlowContextInterface | null>(null)\n\n//TODO: This is hiding the fact that the callsite for useFlow\n// destructures a `companyId` that doesn't seem to exist\n/* eslint-disable @typescript-eslint/no-unnecessary-type-parameters */\n/**\n * Reads the active {@link FlowContext} value from a step component rendered inside a {@link Flow}.\n *\n * @remarks\n * Throws if called outside a {@link Flow} provider. The generic `C` parameter lets callers narrow\n * the context to a flow-specific extension of {@link FlowContextInterface} that carries extra\n * fields (e.g. `companyId`, `employeeId`).\n *\n * @typeParam C - The concrete context shape the calling flow expects, extending {@link FlowContextInterface}.\n * @returns The current flow context value, narrowed to `C`.\n * @throws When called outside a {@link Flow} provider, an `Error` is thrown.\n * @internal\n */\nexport function useFlow<C extends FlowContextInterface>() {\n /* eslint-enable @typescript-eslint/no-unnecessary-type-parameters */\n // When used outside provider, this is expected to return undefined - consumers must fallback to params\n const values = useContext<C>(FlowContext as unknown as React.Context<C>)\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\n if (!values) {\n throw new Error('useFlow used outside provider')\n }\n return values\n}\n"],"names":["FlowContext","createContext","useFlow","values","useContext"],"mappings":";AAuFO,MAAMA,IAAcC,EAA2C,IAAI;AAkBnE,SAASC,IAA0C;AAGxD,QAAMC,IAASC,EAAcJ,CAA0C;AAEvE,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,+BAA+B;AAEjD,SAAOA;AACT;"}
@@ -6,10 +6,10 @@ interface InformationRequestFormProps extends BaseComponentInterface<'Informatio
6
6
  requestId: string;
7
7
  onEvent: OnEventType<EventType, unknown>;
8
8
  }
9
- export declare function InformationRequestForm(props: InformationRequestFormProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function InformationRequestForm(props: InformationRequestFormProps): import("react").JSX.Element;
10
10
  export declare namespace InformationRequestForm {
11
11
  var Footer: ({ onEvent }: {
12
12
  onEvent: OnEventType<EventType, unknown>;
13
- }) => import("react/jsx-runtime").JSX.Element;
13
+ }) => import("react").JSX.Element;
14
14
  }
15
15
  export {};
@@ -1,24 +1,23 @@
1
- import { jsx as e, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as m } from "react/jsx-runtime";
2
2
  import B from "dompurify";
3
3
  import { useTranslation as D } from "react-i18next";
4
4
  import { useForm as W, FormProvider as H } from "react-hook-form";
5
5
  import { zodResolver as G } from "@hookform/resolvers/zod";
6
6
  import { z as f } from "zod";
7
7
  import { useIsMutating as K } from "@tanstack/react-query";
8
- import { useInformationRequestsGetInformationRequestsSuspense as _ } from "@gusto/embedded-api/react-query/informationRequestsGetInformationRequests";
9
- import { useInformationRequestsSubmitMutation as V, mutationKeyInformationRequestsSubmit as X } from "@gusto/embedded-api/react-query/informationRequestsSubmit";
10
- import { ResponseType as u } from "@gusto/embedded-api/models/components/informationrequest";
11
- import { ResponseType as U } from "@gusto/embedded-api/models/operations/submitinformationrequest";
8
+ import { useInformationRequestsGetInformationRequestsSuspense as _ } from "@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests";
9
+ import { useInformationRequestsSubmitMutation as V, mutationKeyInformationRequestsSubmit as X } from "@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsSubmit";
10
+ import { ResponseType as u } from "@gusto/embedded-api-v-2025-11-15/models/components/informationrequest";
11
+ import { ResponseType as U } from "@gusto/embedded-api-v-2025-11-15/models/operations/submitinformationrequest";
12
12
  import i from "./InformationRequestForm.module.scss.js";
13
13
  import { BaseComponent as Y } from "../../Base/Base.js";
14
14
  import { useBase as $ } from "../../Base/useBase.js";
15
15
  import { Flex as q } from "../../Common/Flex/Flex.js";
16
- import "classnames";
17
- import { informationRequestEvents as P } from "../../../shared/constants.js";
18
16
  import { FileInputField as J } from "../../Common/Fields/FileInputField/FileInputField.js";
19
17
  import { Form as Z } from "../../Common/Form/Form.js";
20
- import { useComponentContext as A } from "../../../contexts/ComponentAdapter/useComponentContext.js";
21
- import { useComponentDictionary as ee, useI18n as C } from "../../../i18n/I18n.js";
18
+ import { useComponentContext as P } from "../../../contexts/ComponentAdapter/useComponentContext.js";
19
+ import { useComponentDictionary as ee, useI18n as A } from "../../../i18n/I18n.js";
20
+ import { informationRequestEvents as C } from "../../../shared/constants.js";
22
21
  import { useFlow as ne } from "../../Flow/useFlow.js";
23
22
  import { TextInputField as te } from "../../Common/Fields/TextInputField/TextInputField.js";
24
23
  const M = "gusto-sdk-information-request-form", oe = ["image/jpeg", "image/png", "application/pdf"], se = {
@@ -36,18 +35,18 @@ const ue = (o) => new Promise((s, r) => {
36
35
  n.onload = () => {
37
36
  s(n.result);
38
37
  }, n.onerror = r, n.readAsDataURL(o);
39
- }), me = [u.Text, u.Document];
38
+ }), ce = [u.Text, u.Document];
40
39
  function O(o) {
41
- return o.some((s) => !me.includes(s.responseType));
40
+ return o.some((s) => !ce.includes(s.responseType));
42
41
  }
43
- function ce(o) {
42
+ function me(o) {
44
43
  return o.some((s) => s.responseType === u.Persona);
45
44
  }
46
45
  function le({ companyId: o, requestId: s, dictionary: r }) {
47
- ee("InformationRequests.InformationRequestForm", r), C("InformationRequests.InformationRequestForm");
48
- const { t: n } = D("InformationRequests.InformationRequestForm"), { Alert: T, Heading: y, Text: m } = A(), { onEvent: g, baseSubmitHandler: I } = $(), { data: x } = _({
46
+ ee("InformationRequests.InformationRequestForm", r), A("InformationRequests.InformationRequestForm");
47
+ const { t: n } = D("InformationRequests.InformationRequestForm"), { Alert: T, Heading: y, Text: c } = P(), { onEvent: g, baseSubmitHandler: I } = $(), { data: x } = _({
49
48
  companyUuid: o
50
- }), l = x.informationRequests?.find((t) => t.uuid === s), a = l?.requiredQuestions ?? [], F = l?.blockingPayroll ?? !1, w = O(a), N = ce(a), { mutateAsync: Q } = V(), v = {}, E = [];
49
+ }), l = x.informationRequests?.find((t) => t.uuid === s), a = l?.requiredQuestions ?? [], F = l?.blockingPayroll ?? !1, w = O(a), N = me(a), { mutateAsync: Q } = V(), v = {}, E = [];
51
50
  a.forEach((t) => {
52
51
  t.responseType === u.Text ? (E.push(t.questionUuid), v[t.questionUuid] = "") : t.responseType === u.Document && (E.push(t.questionUuid), v[t.questionUuid] = void 0);
53
52
  });
@@ -84,14 +83,14 @@ function le({ companyId: o, requestId: s, dictionary: r }) {
84
83
  }
85
84
  }
86
85
  });
87
- g(P.INFORMATION_REQUEST_FORM_DONE, S.informationRequest);
86
+ g(C.INFORMATION_REQUEST_FORM_DONE, S.informationRequest);
88
87
  });
89
88
  }, k = (t) => {
90
89
  const R = t.questionUuid, h = t.responseType === u.Document, S = t.responseType === u.Text;
91
- return /* @__PURE__ */ c("div", { className: i.questionCard, children: [
92
- /* @__PURE__ */ c("div", { className: i.questionDescription, children: [
93
- /* @__PURE__ */ e(m, { size: "sm", weight: "medium", children: n(h ? "questionTypes.document" : "questionTypes.answer") }),
94
- /* @__PURE__ */ e(m, { size: "sm", variant: "supporting", children: /* @__PURE__ */ e(
90
+ return /* @__PURE__ */ m("div", { className: i.questionCard, children: [
91
+ /* @__PURE__ */ m("div", { className: i.questionDescription, children: [
92
+ /* @__PURE__ */ e(c, { size: "sm", weight: "medium", children: n(h ? "questionTypes.document" : "questionTypes.answer") }),
93
+ /* @__PURE__ */ e(c, { size: "sm", variant: "supporting", children: /* @__PURE__ */ e(
95
94
  "span",
96
95
  {
97
96
  dangerouslySetInnerHTML: {
@@ -123,32 +122,32 @@ function le({ companyId: o, requestId: s, dictionary: r }) {
123
122
  }
124
123
  ) })
125
124
  ] }, R);
126
- }, j = /* @__PURE__ */ c("div", { className: i.questionCard, children: [
127
- /* @__PURE__ */ c("div", { className: i.questionDescription, children: [
128
- /* @__PURE__ */ e(m, { weight: "medium", children: n(N ? "unsupported.persona.title" : "unsupported.generic.title") }),
129
- /* @__PURE__ */ e(m, { children: n(
125
+ }, j = /* @__PURE__ */ m("div", { className: i.questionCard, children: [
126
+ /* @__PURE__ */ m("div", { className: i.questionDescription, children: [
127
+ /* @__PURE__ */ e(c, { weight: "medium", children: n(N ? "unsupported.persona.title" : "unsupported.generic.title") }),
128
+ /* @__PURE__ */ e(c, { children: n(
130
129
  N ? "unsupported.persona.description" : "unsupported.generic.description"
131
130
  ) })
132
131
  ] }),
133
132
  /* @__PURE__ */ e("hr", { className: i.divider }),
134
- /* @__PURE__ */ e("div", { className: i.contactSupport, children: /* @__PURE__ */ e(m, { variant: "supporting", children: n("unsupported.contactSupport") }) })
133
+ /* @__PURE__ */ e("div", { className: i.contactSupport, children: /* @__PURE__ */ e(c, { variant: "supporting", children: n("unsupported.contactSupport") }) })
135
134
  ] });
136
- return /* @__PURE__ */ e("div", { className: i.root, children: /* @__PURE__ */ c(q, { flexDirection: "column", gap: 16, children: [
135
+ return /* @__PURE__ */ e("div", { className: i.root, children: /* @__PURE__ */ m(q, { flexDirection: "column", gap: 16, children: [
137
136
  /* @__PURE__ */ e(y, { as: "h2", children: n("title") }),
138
137
  F && /* @__PURE__ */ e(T, { status: "error", label: n("blockingAlert.title"), disableScrollIntoView: !0, children: n("blockingAlert.description") }),
139
138
  w ? j : /* @__PURE__ */ e(H, { ...b, children: /* @__PURE__ */ e(Z, { id: M, onSubmit: b.handleSubmit(L), children: /* @__PURE__ */ e(q, { flexDirection: "column", gap: 16, children: a.map(k) }) }) })
140
139
  ] }) });
141
140
  }
142
141
  const pe = ({ onEvent: o }) => {
143
- C("InformationRequests.InformationRequestForm");
144
- const { t: s } = D("InformationRequests.InformationRequestForm"), { Button: r } = A(), { companyId: n, selectedRequestId: T } = ne(), { data: y } = _({
142
+ A("InformationRequests.InformationRequestForm");
143
+ const { t: s } = D("InformationRequests.InformationRequestForm"), { Button: r } = P(), { companyId: n, selectedRequestId: T } = ne(), { data: y } = _({
145
144
  companyUuid: n
146
145
  }), g = y.informationRequests?.find((F) => F.uuid === T)?.requiredQuestions ?? [], I = O(g), l = K({
147
146
  mutationKey: X()
148
147
  }) > 0, a = () => {
149
- o(P.INFORMATION_REQUEST_FORM_CANCEL);
148
+ o(C.INFORMATION_REQUEST_FORM_CANCEL);
150
149
  };
151
- return I ? /* @__PURE__ */ e(q, { justifyContent: "flex-end", gap: 12, children: /* @__PURE__ */ e(r, { variant: "secondary", onClick: a, children: s("cta.close") }) }) : /* @__PURE__ */ c(q, { justifyContent: "flex-end", gap: 12, children: [
150
+ return I ? /* @__PURE__ */ e(q, { justifyContent: "flex-end", gap: 12, children: /* @__PURE__ */ e(r, { variant: "secondary", onClick: a, children: s("cta.close") }) }) : /* @__PURE__ */ m(q, { justifyContent: "flex-end", gap: 12, children: [
152
151
  /* @__PURE__ */ e(r, { variant: "secondary", onClick: a, isDisabled: l, children: s("cta.cancel") }),
153
152
  /* @__PURE__ */ e(
154
153
  r,
@@ -1 +1 @@
1
- {"version":3,"file":"InformationRequestForm.js","sources":["../../../../src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx"],"sourcesContent":["import DOMPurify from 'dompurify'\nimport { useTranslation } from 'react-i18next'\nimport { FormProvider, useForm } from 'react-hook-form'\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport { z } from 'zod'\nimport { useIsMutating } from '@tanstack/react-query'\nimport { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api/react-query/informationRequestsGetInformationRequests'\nimport {\n useInformationRequestsSubmitMutation,\n mutationKeyInformationRequestsSubmit,\n} from '@gusto/embedded-api/react-query/informationRequestsSubmit'\nimport type { RequiredQuestions } from '@gusto/embedded-api/models/components/informationrequest'\nimport { ResponseType } from '@gusto/embedded-api/models/components/informationrequest'\nimport { ResponseType as SubmitResponseType } from '@gusto/embedded-api/models/operations/submitinformationrequest'\nimport type { InformationRequestsContextInterface } from '../InformationRequestsComponents'\nimport styles from './InformationRequestForm.module.scss'\nimport { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base'\nimport type { OnEventType } from '@/components/Base/useBase'\nimport { Flex, TextInputField } from '@/components/Common'\nimport { FileInputField } from '@/components/Common/Fields/FileInputField'\nimport { Form } from '@/components/Common/Form'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { useComponentDictionary, useI18n } from '@/i18n'\nimport { informationRequestEvents, type EventType } from '@/shared/constants'\nimport { useFlow } from '@/components/Flow/useFlow'\n\nconst INFORMATION_REQUEST_FORM_ID = 'gusto-sdk-information-request-form'\nconst ACCEPTED_FILE_TYPES = ['image/jpeg', 'image/png', 'application/pdf']\nconst dompurifyConfig = {\n ALLOWED_TAGS: ['a', 'b', 'strong'],\n ALLOWED_ATTR: ['target', 'href', 'rel'],\n}\n\n/* API does not enforce an upper limit, so set a reasonable character max for a single-line input. */\nconst MAX_TEXT_RESPONSE = 5000\n\nconst InformationRequestFormSchema = z.record(\n z.string(),\n z.union([z.string().min(1), z.instanceof(File)]),\n)\n\ntype InformationRequestFormValues = z.infer<typeof InformationRequestFormSchema>\n\ninterface InformationRequestFormProps extends BaseComponentInterface<'InformationRequests.InformationRequestForm'> {\n companyId: string\n requestId: string\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport function InformationRequestForm(props: InformationRequestFormProps) {\n return (\n <BaseComponent {...props}>\n <Root {...props}>{props.children}</Root>\n </BaseComponent>\n )\n}\n\nconst convertFileToDataUrl = (file: File) => {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader()\n reader.onload = () => {\n resolve(reader.result as string)\n }\n reader.onerror = reject\n reader.readAsDataURL(file)\n })\n}\n\nconst SUPPORTED_RESPONSE_TYPES: ResponseType[] = [ResponseType.Text, ResponseType.Document]\n\nfunction hasUnsupportedQuestionTypes(questions: RequiredQuestions[]) {\n return questions.some(question => !SUPPORTED_RESPONSE_TYPES.includes(question.responseType))\n}\n\nfunction hasPersonaQuestionType(questions: RequiredQuestions[]) {\n return questions.some(question => question.responseType === ResponseType.Persona)\n}\n\nfunction Root({ companyId, requestId, dictionary }: InformationRequestFormProps) {\n useComponentDictionary('InformationRequests.InformationRequestForm', dictionary)\n useI18n('InformationRequests.InformationRequestForm')\n const { t } = useTranslation('InformationRequests.InformationRequestForm')\n const { Alert, Heading, Text } = useComponentContext()\n const { onEvent, baseSubmitHandler } = useBase()\n\n const { data } = useInformationRequestsGetInformationRequestsSuspense({\n companyUuid: companyId,\n })\n\n const informationRequest = data.informationRequests?.find(req => req.uuid === requestId)\n const requiredQuestions = informationRequest?.requiredQuestions ?? []\n const isBlockingPayroll = informationRequest?.blockingPayroll ?? false\n const hasUnsupportedTypes = hasUnsupportedQuestionTypes(requiredQuestions)\n const hasPersonaType = hasPersonaQuestionType(requiredQuestions)\n\n const { mutateAsync: submitInformationRequest } = useInformationRequestsSubmitMutation()\n\n const defaultValues: Record<string, string | File | undefined> = {}\n const questionUuids: string[] = []\n\n requiredQuestions.forEach(question => {\n if (question.responseType === ResponseType.Text) {\n questionUuids.push(question.questionUuid)\n defaultValues[question.questionUuid] = ''\n } else if (question.responseType === ResponseType.Document) {\n questionUuids.push(question.questionUuid)\n defaultValues[question.questionUuid] = undefined\n }\n })\n\n const formMethods = useForm<InformationRequestFormValues>({\n resolver: zodResolver(InformationRequestFormSchema),\n defaultValues,\n })\n\n const onSubmit = async (formData: InformationRequestFormValues) => {\n await baseSubmitHandler(formData, async () => {\n const questionResponses = await Promise.all(\n questionUuids.map(async uuid => {\n const value = formData[uuid]\n\n if (typeof value === 'string') {\n return {\n questionUuid: uuid,\n responseType: SubmitResponseType.Text,\n textResponse: value,\n }\n }\n\n if (value instanceof File) {\n const fileResponse = await convertFileToDataUrl(value)\n return {\n questionUuid: uuid,\n responseType: SubmitResponseType.Document,\n fileResponse,\n fileName: value.name,\n }\n }\n\n return null\n }),\n )\n\n const validResponses = questionResponses.filter(response => response !== null)\n\n const response = await submitInformationRequest({\n request: {\n informationRequestUuid: requestId,\n requestBody: {\n requiredQuestions: validResponses,\n },\n },\n })\n\n onEvent(informationRequestEvents.INFORMATION_REQUEST_FORM_DONE, response.informationRequest)\n })\n }\n\n const renderQuestion = (question: RequiredQuestions) => {\n const fieldName = question.questionUuid\n const isDocumentType = question.responseType === ResponseType.Document\n const isTextType = question.responseType === ResponseType.Text\n\n return (\n <div key={fieldName} className={styles.questionCard}>\n <div className={styles.questionDescription}>\n <Text size=\"sm\" weight=\"medium\">\n {isDocumentType ? t('questionTypes.document') : t('questionTypes.answer')}\n </Text>\n <Text size=\"sm\" variant=\"supporting\">\n {/* SECURITY: XSS mitigated via DOMPurify with strict allowlist. Pattern matches TaxInputs.tsx */}\n <span\n dangerouslySetInnerHTML={{\n __html: DOMPurify.sanitize(question.questionText, dompurifyConfig),\n }}\n />\n </Text>\n </div>\n\n <hr className={styles.divider} />\n\n {isTextType && (\n <div className={styles.textInputWrapper}>\n <TextInputField\n name={fieldName}\n label={t('fields.textAnswer.label')}\n placeholder={t('fields.textAnswer.placeholder')}\n maxLength={MAX_TEXT_RESPONSE}\n isRequired\n errorMessage={t('validation.required')}\n />\n </div>\n )}\n\n {isDocumentType && (\n <div className={styles.fileInputWrapper}>\n <FileInputField\n name={fieldName}\n label={t('fields.fileUpload.label')}\n accept={ACCEPTED_FILE_TYPES}\n isRequired\n errorMessage={t('validation.required')}\n />\n </div>\n )}\n </div>\n )\n }\n\n const unsupportedPlaceholder = (\n <div className={styles.questionCard}>\n <div className={styles.questionDescription}>\n <Text weight=\"medium\">\n {t(hasPersonaType ? 'unsupported.persona.title' : 'unsupported.generic.title')}\n </Text>\n <Text>\n {t(\n hasPersonaType ? 'unsupported.persona.description' : 'unsupported.generic.description',\n )}\n </Text>\n </div>\n\n <hr className={styles.divider} />\n\n <div className={styles.contactSupport}>\n <Text variant=\"supporting\">{t('unsupported.contactSupport')}</Text>\n </div>\n </div>\n )\n\n return (\n <div className={styles.root}>\n <Flex flexDirection=\"column\" gap={16}>\n <Heading as=\"h2\">{t('title')}</Heading>\n\n {isBlockingPayroll && (\n <Alert status=\"error\" label={t('blockingAlert.title')} disableScrollIntoView>\n {t('blockingAlert.description')}\n </Alert>\n )}\n\n {hasUnsupportedTypes ? (\n unsupportedPlaceholder\n ) : (\n <FormProvider {...formMethods}>\n <Form id={INFORMATION_REQUEST_FORM_ID} onSubmit={formMethods.handleSubmit(onSubmit)}>\n <Flex flexDirection=\"column\" gap={16}>\n {requiredQuestions.map(renderQuestion)}\n </Flex>\n </Form>\n </FormProvider>\n )}\n </Flex>\n </div>\n )\n}\n\nconst Footer = ({ onEvent }: { onEvent: OnEventType<EventType, unknown> }) => {\n useI18n('InformationRequests.InformationRequestForm')\n const { t } = useTranslation('InformationRequests.InformationRequestForm')\n const { Button } = useComponentContext()\n const { companyId, selectedRequestId } = useFlow<InformationRequestsContextInterface>()\n\n const { data } = useInformationRequestsGetInformationRequestsSuspense({\n companyUuid: companyId,\n })\n\n const informationRequest = data.informationRequests?.find(req => req.uuid === selectedRequestId)\n const requiredQuestions = informationRequest?.requiredQuestions ?? []\n const hasUnsupportedTypes = hasUnsupportedQuestionTypes(requiredQuestions)\n\n const isMutating = useIsMutating({\n mutationKey: mutationKeyInformationRequestsSubmit(),\n })\n const isPending = isMutating > 0\n\n const handleCancel = () => {\n onEvent(informationRequestEvents.INFORMATION_REQUEST_FORM_CANCEL)\n }\n\n if (hasUnsupportedTypes) {\n return (\n <Flex justifyContent=\"flex-end\" gap={12}>\n <Button variant=\"secondary\" onClick={handleCancel}>\n {t('cta.close')}\n </Button>\n </Flex>\n )\n }\n\n return (\n <Flex justifyContent=\"flex-end\" gap={12}>\n <Button variant=\"secondary\" onClick={handleCancel} isDisabled={isPending}>\n {t('cta.cancel')}\n </Button>\n <Button\n variant=\"primary\"\n type=\"submit\"\n form={INFORMATION_REQUEST_FORM_ID}\n isLoading={isPending}\n >\n {t('cta.submit')}\n </Button>\n </Flex>\n )\n}\n\nInformationRequestForm.Footer = Footer\n"],"names":["INFORMATION_REQUEST_FORM_ID","ACCEPTED_FILE_TYPES","dompurifyConfig","MAX_TEXT_RESPONSE","InformationRequestFormSchema","z","InformationRequestForm","props","jsx","BaseComponent","Root","convertFileToDataUrl","file","resolve","reject","reader","SUPPORTED_RESPONSE_TYPES","ResponseType","hasUnsupportedQuestionTypes","questions","question","hasPersonaQuestionType","companyId","requestId","dictionary","useComponentDictionary","useI18n","t","useTranslation","Alert","Heading","Text","useComponentContext","onEvent","baseSubmitHandler","useBase","data","useInformationRequestsGetInformationRequestsSuspense","informationRequest","req","requiredQuestions","isBlockingPayroll","hasUnsupportedTypes","hasPersonaType","submitInformationRequest","useInformationRequestsSubmitMutation","defaultValues","questionUuids","formMethods","useForm","zodResolver","onSubmit","formData","validResponses","uuid","value","SubmitResponseType","fileResponse","response","informationRequestEvents","renderQuestion","fieldName","isDocumentType","isTextType","jsxs","styles","DOMPurify","TextInputField","FileInputField","unsupportedPlaceholder","Flex","FormProvider","Form","Footer","Button","selectedRequestId","useFlow","isPending","useIsMutating","mutationKeyInformationRequestsSubmit","handleCancel"],"mappings":"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"}
1
+ {"version":3,"file":"InformationRequestForm.js","sources":["../../../../src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx"],"sourcesContent":["import DOMPurify from 'dompurify'\nimport { useTranslation } from 'react-i18next'\nimport { FormProvider, useForm } from 'react-hook-form'\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport { z } from 'zod'\nimport { useIsMutating } from '@tanstack/react-query'\nimport { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests'\nimport {\n useInformationRequestsSubmitMutation,\n mutationKeyInformationRequestsSubmit,\n} from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsSubmit'\nimport type { RequiredQuestions } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'\nimport { ResponseType } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'\nimport { ResponseType as SubmitResponseType } from '@gusto/embedded-api-v-2025-11-15/models/operations/submitinformationrequest'\nimport type { InformationRequestsContextInterface } from '../InformationRequestsComponents'\nimport styles from './InformationRequestForm.module.scss'\nimport { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base'\nimport type { OnEventType } from '@/components/Base/useBase'\nimport { Flex, TextInputField } from '@/components/Common'\nimport { FileInputField } from '@/components/Common/Fields/FileInputField'\nimport { Form } from '@/components/Common/Form'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { useComponentDictionary, useI18n } from '@/i18n'\nimport { informationRequestEvents, type EventType } from '@/shared/constants'\nimport { useFlow } from '@/components/Flow/useFlow'\n\nconst INFORMATION_REQUEST_FORM_ID = 'gusto-sdk-information-request-form'\nconst ACCEPTED_FILE_TYPES = ['image/jpeg', 'image/png', 'application/pdf']\nconst dompurifyConfig = {\n ALLOWED_TAGS: ['a', 'b', 'strong'],\n ALLOWED_ATTR: ['target', 'href', 'rel'],\n}\n\n/* API does not enforce an upper limit, so set a reasonable character max for a single-line input. */\nconst MAX_TEXT_RESPONSE = 5000\n\nconst InformationRequestFormSchema = z.record(\n z.string(),\n z.union([z.string().min(1), z.instanceof(File)]),\n)\n\ntype InformationRequestFormValues = z.infer<typeof InformationRequestFormSchema>\n\ninterface InformationRequestFormProps extends BaseComponentInterface<'InformationRequests.InformationRequestForm'> {\n companyId: string\n requestId: string\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport function InformationRequestForm(props: InformationRequestFormProps) {\n return (\n <BaseComponent {...props}>\n <Root {...props}>{props.children}</Root>\n </BaseComponent>\n )\n}\n\nconst convertFileToDataUrl = (file: File) => {\n return new Promise<string>((resolve, reject) => {\n const reader = new FileReader()\n reader.onload = () => {\n resolve(reader.result as string)\n }\n reader.onerror = reject\n reader.readAsDataURL(file)\n })\n}\n\nconst SUPPORTED_RESPONSE_TYPES: ResponseType[] = [ResponseType.Text, ResponseType.Document]\n\nfunction hasUnsupportedQuestionTypes(questions: RequiredQuestions[]) {\n return questions.some(question => !SUPPORTED_RESPONSE_TYPES.includes(question.responseType))\n}\n\nfunction hasPersonaQuestionType(questions: RequiredQuestions[]) {\n return questions.some(question => question.responseType === ResponseType.Persona)\n}\n\nfunction Root({ companyId, requestId, dictionary }: InformationRequestFormProps) {\n useComponentDictionary('InformationRequests.InformationRequestForm', dictionary)\n useI18n('InformationRequests.InformationRequestForm')\n const { t } = useTranslation('InformationRequests.InformationRequestForm')\n const { Alert, Heading, Text } = useComponentContext()\n const { onEvent, baseSubmitHandler } = useBase()\n\n const { data } = useInformationRequestsGetInformationRequestsSuspense({\n companyUuid: companyId,\n })\n\n const informationRequest = data.informationRequests?.find(req => req.uuid === requestId)\n const requiredQuestions = informationRequest?.requiredQuestions ?? []\n const isBlockingPayroll = informationRequest?.blockingPayroll ?? false\n const hasUnsupportedTypes = hasUnsupportedQuestionTypes(requiredQuestions)\n const hasPersonaType = hasPersonaQuestionType(requiredQuestions)\n\n const { mutateAsync: submitInformationRequest } = useInformationRequestsSubmitMutation()\n\n const defaultValues: Record<string, string | File | undefined> = {}\n const questionUuids: string[] = []\n\n requiredQuestions.forEach(question => {\n if (question.responseType === ResponseType.Text) {\n questionUuids.push(question.questionUuid)\n defaultValues[question.questionUuid] = ''\n } else if (question.responseType === ResponseType.Document) {\n questionUuids.push(question.questionUuid)\n defaultValues[question.questionUuid] = undefined\n }\n })\n\n const formMethods = useForm<InformationRequestFormValues>({\n resolver: zodResolver(InformationRequestFormSchema),\n defaultValues,\n })\n\n const onSubmit = async (formData: InformationRequestFormValues) => {\n await baseSubmitHandler(formData, async () => {\n const questionResponses = await Promise.all(\n questionUuids.map(async uuid => {\n const value = formData[uuid]\n\n if (typeof value === 'string') {\n return {\n questionUuid: uuid,\n responseType: SubmitResponseType.Text,\n textResponse: value,\n }\n }\n\n if (value instanceof File) {\n const fileResponse = await convertFileToDataUrl(value)\n return {\n questionUuid: uuid,\n responseType: SubmitResponseType.Document,\n fileResponse,\n fileName: value.name,\n }\n }\n\n return null\n }),\n )\n\n const validResponses = questionResponses.filter(response => response !== null)\n\n const response = await submitInformationRequest({\n request: {\n informationRequestUuid: requestId,\n requestBody: {\n requiredQuestions: validResponses,\n },\n },\n })\n\n onEvent(informationRequestEvents.INFORMATION_REQUEST_FORM_DONE, response.informationRequest)\n })\n }\n\n const renderQuestion = (question: RequiredQuestions) => {\n const fieldName = question.questionUuid\n const isDocumentType = question.responseType === ResponseType.Document\n const isTextType = question.responseType === ResponseType.Text\n\n return (\n <div key={fieldName} className={styles.questionCard}>\n <div className={styles.questionDescription}>\n <Text size=\"sm\" weight=\"medium\">\n {isDocumentType ? t('questionTypes.document') : t('questionTypes.answer')}\n </Text>\n <Text size=\"sm\" variant=\"supporting\">\n {/* SECURITY: XSS mitigated via DOMPurify with strict allowlist. Pattern matches TaxInputs.tsx */}\n <span\n dangerouslySetInnerHTML={{\n __html: DOMPurify.sanitize(question.questionText, dompurifyConfig),\n }}\n />\n </Text>\n </div>\n\n <hr className={styles.divider} />\n\n {isTextType && (\n <div className={styles.textInputWrapper}>\n <TextInputField\n name={fieldName}\n label={t('fields.textAnswer.label')}\n placeholder={t('fields.textAnswer.placeholder')}\n maxLength={MAX_TEXT_RESPONSE}\n isRequired\n errorMessage={t('validation.required')}\n />\n </div>\n )}\n\n {isDocumentType && (\n <div className={styles.fileInputWrapper}>\n <FileInputField\n name={fieldName}\n label={t('fields.fileUpload.label')}\n accept={ACCEPTED_FILE_TYPES}\n isRequired\n errorMessage={t('validation.required')}\n />\n </div>\n )}\n </div>\n )\n }\n\n const unsupportedPlaceholder = (\n <div className={styles.questionCard}>\n <div className={styles.questionDescription}>\n <Text weight=\"medium\">\n {t(hasPersonaType ? 'unsupported.persona.title' : 'unsupported.generic.title')}\n </Text>\n <Text>\n {t(\n hasPersonaType ? 'unsupported.persona.description' : 'unsupported.generic.description',\n )}\n </Text>\n </div>\n\n <hr className={styles.divider} />\n\n <div className={styles.contactSupport}>\n <Text variant=\"supporting\">{t('unsupported.contactSupport')}</Text>\n </div>\n </div>\n )\n\n return (\n <div className={styles.root}>\n <Flex flexDirection=\"column\" gap={16}>\n <Heading as=\"h2\">{t('title')}</Heading>\n\n {isBlockingPayroll && (\n <Alert status=\"error\" label={t('blockingAlert.title')} disableScrollIntoView>\n {t('blockingAlert.description')}\n </Alert>\n )}\n\n {hasUnsupportedTypes ? (\n unsupportedPlaceholder\n ) : (\n <FormProvider {...formMethods}>\n <Form id={INFORMATION_REQUEST_FORM_ID} onSubmit={formMethods.handleSubmit(onSubmit)}>\n <Flex flexDirection=\"column\" gap={16}>\n {requiredQuestions.map(renderQuestion)}\n </Flex>\n </Form>\n </FormProvider>\n )}\n </Flex>\n </div>\n )\n}\n\nconst Footer = ({ onEvent }: { onEvent: OnEventType<EventType, unknown> }) => {\n useI18n('InformationRequests.InformationRequestForm')\n const { t } = useTranslation('InformationRequests.InformationRequestForm')\n const { Button } = useComponentContext()\n const { companyId, selectedRequestId } = useFlow<InformationRequestsContextInterface>()\n\n const { data } = useInformationRequestsGetInformationRequestsSuspense({\n companyUuid: companyId,\n })\n\n const informationRequest = data.informationRequests?.find(req => req.uuid === selectedRequestId)\n const requiredQuestions = informationRequest?.requiredQuestions ?? []\n const hasUnsupportedTypes = hasUnsupportedQuestionTypes(requiredQuestions)\n\n const isMutating = useIsMutating({\n mutationKey: mutationKeyInformationRequestsSubmit(),\n })\n const isPending = isMutating > 0\n\n const handleCancel = () => {\n onEvent(informationRequestEvents.INFORMATION_REQUEST_FORM_CANCEL)\n }\n\n if (hasUnsupportedTypes) {\n return (\n <Flex justifyContent=\"flex-end\" gap={12}>\n <Button variant=\"secondary\" onClick={handleCancel}>\n {t('cta.close')}\n </Button>\n </Flex>\n )\n }\n\n return (\n <Flex justifyContent=\"flex-end\" gap={12}>\n <Button variant=\"secondary\" onClick={handleCancel} isDisabled={isPending}>\n {t('cta.cancel')}\n </Button>\n <Button\n variant=\"primary\"\n type=\"submit\"\n form={INFORMATION_REQUEST_FORM_ID}\n isLoading={isPending}\n >\n {t('cta.submit')}\n </Button>\n </Flex>\n )\n}\n\nInformationRequestForm.Footer = Footer\n"],"names":["INFORMATION_REQUEST_FORM_ID","ACCEPTED_FILE_TYPES","dompurifyConfig","MAX_TEXT_RESPONSE","InformationRequestFormSchema","z","InformationRequestForm","props","jsx","BaseComponent","Root","convertFileToDataUrl","file","resolve","reject","reader","SUPPORTED_RESPONSE_TYPES","ResponseType","hasUnsupportedQuestionTypes","questions","question","hasPersonaQuestionType","companyId","requestId","dictionary","useComponentDictionary","useI18n","t","useTranslation","Alert","Heading","Text","useComponentContext","onEvent","baseSubmitHandler","useBase","data","useInformationRequestsGetInformationRequestsSuspense","informationRequest","req","requiredQuestions","isBlockingPayroll","hasUnsupportedTypes","hasPersonaType","submitInformationRequest","useInformationRequestsSubmitMutation","defaultValues","questionUuids","formMethods","useForm","zodResolver","onSubmit","formData","validResponses","uuid","value","SubmitResponseType","fileResponse","response","informationRequestEvents","renderQuestion","fieldName","isDocumentType","isTextType","jsxs","styles","DOMPurify","TextInputField","FileInputField","unsupportedPlaceholder","Flex","FormProvider","Form","Footer","Button","selectedRequestId","useFlow","isPending","useIsMutating","mutationKeyInformationRequestsSubmit","handleCancel"],"mappings":"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"}
@@ -3,5 +3,5 @@ interface InformationRequestListProps extends BaseComponentInterface<'Informatio
3
3
  companyId: string;
4
4
  onEvent: BaseComponentInterface['onEvent'];
5
5
  }
6
- export declare function InformationRequestList(props: InformationRequestListProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function InformationRequestList(props: InformationRequestListProps): import("react").JSX.Element;
7
7
  export {};