@gusto/embedded-react-sdk 0.46.3 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/dist/components/Base/Base.d.ts +92 -3
- package/dist/components/Base/Base.js +2 -3
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Base/createCompoundContext.d.ts +14 -0
- package/dist/components/Base/createCompoundContext.js.map +1 -1
- package/dist/components/Base/index.d.ts +1 -1
- package/dist/components/Base/useBase.d.ts +25 -0
- package/dist/components/Base/useBase.js.map +1 -1
- package/dist/components/Base/useBaseSubmit.d.ts +15 -0
- package/dist/components/Base/useBaseSubmit.js +4 -4
- package/dist/components/Base/useBaseSubmit.js.map +1 -1
- package/dist/components/Common/ActionsLayout/ActionsLayout.d.ts +1 -1
- package/dist/components/Common/Alert/Alert.d.ts +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +1 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +1 -1
- package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +1 -1
- package/dist/components/Common/DocumentList/DocumentList.d.ts +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +1 -1
- package/dist/components/Common/EmptyData/EmptyData.d.ts +1 -1
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.d.ts +1 -1
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.d.ts +2 -0
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxField/index.d.ts +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +3 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/index.d.ts +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +3 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/ComboBoxField/index.d.ts +0 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +4 -2
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
- package/dist/components/Common/Fields/FileInputField/FileInputField.d.ts +2 -0
- package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
- package/dist/components/Common/Fields/FileInputField/index.d.ts +1 -1
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.d.ts +2 -0
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/MultiSelectComboBoxField/index.d.ts +1 -1
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.d.ts +2 -0
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
- package/dist/components/Common/Fields/NumberInputField/index.d.ts +1 -1
- package/dist/components/Common/Fields/PercentageField/PercentageField.d.ts +3 -1
- package/dist/components/Common/Fields/PercentageField/PercentageField.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +3 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/index.d.ts +0 -1
- package/dist/components/Common/Fields/SelectField/SelectField.d.ts +3 -1
- package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
- package/dist/components/Common/Fields/SelectField/index.d.ts +0 -1
- package/dist/components/Common/Fields/SwitchField/SwitchField.d.ts +2 -0
- package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.d.ts +2 -0
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
- package/dist/components/Common/Fields/TextAreaField/index.d.ts +0 -1
- package/dist/components/Common/Fields/TextInputField/TextInputField.d.ts +2 -0
- package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
- package/dist/components/Common/Fields/TextInputField/index.d.ts +1 -1
- package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.d.ts +3 -1
- package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.js.map +1 -1
- package/dist/components/Common/Fields/hooks/fieldElementRegistry.d.ts +6 -0
- package/dist/components/Common/Fields/hooks/fieldElementRegistry.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useField.d.ts +3 -0
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.d.ts +4 -0
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -1
- package/dist/components/Common/Flex/Flex.d.ts +2 -2
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.d.ts +1 -1
- package/dist/components/Common/Form/Form.d.ts +1 -1
- package/dist/components/Common/Grid/Grid.d.ts +1 -1
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.d.ts +1 -1
- package/dist/components/Common/InlineSpinner/InlineSpinner.d.ts +1 -1
- package/dist/components/Common/InternalError/InternalError.d.ts +1 -1
- package/dist/components/Common/Loading/Loading.d.ts +1 -1
- package/dist/components/Common/OnboardingStatusBadge/index.d.ts +5 -5
- package/dist/components/Common/OnboardingStatusBadge/index.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControl.d.ts +2 -1
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +17 -0
- package/dist/components/Common/PayrollLoading/PayrollLoading.d.ts +2 -1
- package/dist/components/Common/PayrollLoading/PayrollLoading.js.map +1 -1
- package/dist/components/Common/PayrollLoading/PayrollLoadingTypes.d.ts +8 -0
- package/dist/components/Common/ReorderableList/ReorderableList.d.ts +1 -1
- package/dist/components/Common/RequirementsList/RequirementsList.d.ts +1 -1
- package/dist/components/Common/TaxInputs/TaxInputs.d.ts +9 -9
- package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
- package/dist/components/Common/Toast/Toast.d.ts +1 -1
- package/dist/components/Common/UI/Alert/Alert.d.ts +11 -1
- package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
- package/dist/components/Common/UI/Alert/AlertTypes.d.ts +10 -0
- package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -1
- package/dist/components/Common/UI/Badge/Badge.d.ts +7 -0
- package/dist/components/Common/UI/Badge/Badge.js.map +1 -1
- package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +10 -0
- package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -1
- package/dist/components/Common/UI/Banner/Banner.d.ts +7 -0
- package/dist/components/Common/UI/Banner/Banner.js.map +1 -1
- package/dist/components/Common/UI/Banner/BannerTypes.d.ts +10 -0
- package/dist/components/Common/UI/Banner/BannerTypes.js.map +1 -1
- package/dist/components/Common/UI/Box/Box.d.ts +8 -1
- package/dist/components/Common/UI/Box/Box.js.map +1 -1
- package/dist/components/Common/UI/Box/BoxTypes.d.ts +21 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.d.ts +8 -1
- package/dist/components/Common/UI/BoxHeader/BoxHeader.js.map +1 -1
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +25 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.d.ts +8 -1
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +23 -0
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Common/UI/Button/Button.d.ts +8 -1
- package/dist/components/Common/UI/Button/Button.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonIcon.d.ts +8 -1
- package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +22 -0
- package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
- package/dist/components/Common/UI/Button/index.d.ts +0 -2
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.d.ts +13 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarLegend.js.map +1 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.d.ts +8 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js.map +1 -1
- package/dist/components/Common/UI/CalendarPreview/CalendarPreviewTypes.d.ts +6 -0
- package/dist/components/Common/UI/CalendarPreview/index.d.ts +0 -2
- package/dist/components/Common/UI/Card/Card.d.ts +8 -1
- package/dist/components/Common/UI/Card/Card.js.map +1 -1
- package/dist/components/Common/UI/Card/CardTypes.d.ts +6 -0
- package/dist/components/Common/UI/Checkbox/Checkbox.d.ts +8 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +12 -0
- package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.d.ts +9 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +18 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.d.ts +8 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +12 -0
- package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +8 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +6 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +8 -1
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +41 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionList.d.ts +8 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +38 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/index.d.ts +0 -1
- package/dist/components/Common/UI/Dialog/Dialog.d.ts +12 -1
- package/dist/components/Common/UI/Dialog/Dialog.js.map +1 -1
- package/dist/components/Common/UI/Dialog/DialogTypes.d.ts +13 -1
- package/dist/components/Common/UI/Dialog/DialogTypes.js.map +1 -1
- package/dist/components/Common/UI/Dialog/index.d.ts +0 -2
- package/dist/components/Common/UI/FileInput/FileInput.d.ts +13 -1
- package/dist/components/Common/UI/FileInput/FileInput.js.map +1 -1
- package/dist/components/Common/UI/FileInput/FileInputTypes.d.ts +13 -0
- package/dist/components/Common/UI/FileInput/FileInputTypes.js.map +1 -1
- package/dist/components/Common/UI/FileInput/index.d.ts +0 -2
- package/dist/components/Common/UI/Heading/Heading.d.ts +14 -1
- package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
- package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +6 -0
- package/dist/components/Common/UI/Heading/index.d.ts +0 -1
- package/dist/components/Common/UI/Input/Input.d.ts +10 -1
- package/dist/components/Common/UI/Input/Input.js.map +1 -1
- package/dist/components/Common/UI/Input/InputTypes.d.ts +13 -2
- package/dist/components/Common/UI/Input/InputTypes.js.map +1 -1
- package/dist/components/Common/UI/Input/index.d.ts +0 -1
- package/dist/components/Common/UI/Link/Link.d.ts +8 -1
- package/dist/components/Common/UI/Link/Link.js.map +1 -1
- package/dist/components/Common/UI/Link/LinkTypes.d.ts +6 -0
- package/dist/components/Common/UI/List/ListTypes.d.ts +14 -1
- package/dist/components/Common/UI/List/OrderedList.d.ts +8 -1
- package/dist/components/Common/UI/List/OrderedList.js.map +1 -1
- package/dist/components/Common/UI/List/UnorderedList.d.ts +8 -1
- package/dist/components/Common/UI/List/UnorderedList.js.map +1 -1
- package/dist/components/Common/UI/List/index.d.ts +1 -1
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinner.d.ts +7 -0
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinner.js.map +1 -1
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.d.ts +13 -1
- package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.js.map +1 -1
- package/dist/components/Common/UI/LoadingSpinner/index.d.ts +0 -2
- package/dist/components/Common/UI/Menu/Menu.d.ts +8 -1
- package/dist/components/Common/UI/Menu/Menu.js.map +1 -1
- package/dist/components/Common/UI/Menu/MenuTypes.d.ts +19 -1
- package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
- package/dist/components/Common/UI/Modal/Modal.d.ts +11 -1
- package/dist/components/Common/UI/Modal/Modal.js.map +1 -1
- package/dist/components/Common/UI/Modal/ModalTypes.d.ts +13 -1
- package/dist/components/Common/UI/Modal/ModalTypes.js.map +1 -1
- package/dist/components/Common/UI/Modal/index.d.ts +0 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.d.ts +8 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +45 -0
- package/dist/components/Common/UI/NumberInput/NumberInput.d.ts +8 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +6 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.d.ts +8 -1
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/components/Common/UI/ProgressBar/ProgressBarTypes.d.ts +6 -0
- package/dist/components/Common/UI/Radio/Radio.d.ts +12 -1
- package/dist/components/Common/UI/Radio/Radio.js.map +1 -1
- package/dist/components/Common/UI/Radio/RadioTypes.d.ts +13 -1
- package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.d.ts +9 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +18 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Select/Select.d.ts +8 -1
- package/dist/components/Common/UI/Select/Select.js.map +1 -1
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +11 -0
- package/dist/components/Common/UI/Switch/Switch.d.ts +8 -1
- package/dist/components/Common/UI/Switch/Switch.js.map +1 -1
- package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +13 -1
- package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.d.ts +8 -1
- package/dist/components/Common/UI/Table/Table.js.map +1 -1
- package/dist/components/Common/UI/Table/TableTypes.d.ts +23 -1
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/Tabs/Tabs.d.ts +13 -1
- package/dist/components/Common/UI/Tabs/Tabs.js.map +1 -1
- package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +6 -8
- package/dist/components/Common/UI/Tabs/index.d.ts +0 -1
- package/dist/components/Common/UI/Text/Text.d.ts +8 -1
- package/dist/components/Common/UI/Text/Text.js.map +1 -1
- package/dist/components/Common/UI/Text/TextTypes.d.ts +13 -1
- package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
- package/dist/components/Common/UI/Text/index.d.ts +0 -1
- package/dist/components/Common/UI/TextArea/TextArea.d.ts +8 -1
- package/dist/components/Common/UI/TextArea/TextArea.js.map +1 -1
- package/dist/components/Common/UI/TextArea/TextAreaTypes.d.ts +20 -3
- package/dist/components/Common/UI/TextArea/TextAreaTypes.js.map +1 -1
- package/dist/components/Common/UI/TextArea/index.d.ts +0 -2
- package/dist/components/Common/UI/TextInput/TextInput.d.ts +8 -1
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +13 -2
- package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
- package/dist/components/Common/UI/hooks/useFieldIds.d.ts +1 -0
- package/dist/components/Common/UI/hooks/useFieldIds.js.map +1 -1
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +2 -3
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -3
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +5 -5
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +6 -6
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/Head.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/Head.js +8 -10
- package/dist/components/Company/AssignSignatory/Head.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +3 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +6 -6
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/SignatoryForm.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -3
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +6 -6
- package/dist/components/Company/BankAccount/BankAccount.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccount.js +1 -1
- package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountComponents.d.ts +4 -4
- package/dist/components/Company/BankAccount/BankAccountComponents.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +2 -3
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Head.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js +5 -7
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +6 -6
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +8 -9
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Head.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/context.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +7 -8
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.d.ts +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +10 -11
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Head.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/List.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/ManageSignatories.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.d.ts +2 -2
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +6 -6
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.js +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +10 -11
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/documentSignerStateMachine.d.ts +5 -5
- package/dist/components/Company/DocumentSigner/documentSignerStateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.d.ts +2 -2
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.d.ts +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js +3 -3
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.d.ts +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +5 -6
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.d.ts +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +8 -9
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.d.ts +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +3 -5
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Head.d.ts +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.d.ts +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +7 -7
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.d.ts +1 -1
- package/dist/components/Company/Industry/Actions.js +2 -3
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +6 -6
- package/dist/components/Company/Industry/Edit.d.ts +1 -1
- package/dist/components/Company/Industry/Edit.js +4 -5
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Industry/Head.d.ts +1 -1
- package/dist/components/Company/Industry/Industry.d.ts +1 -1
- package/dist/components/Company/Industry/Industry.js +2 -2
- package/dist/components/Company/Industry/Industry.js.map +1 -1
- package/dist/components/Company/Industry/IndustrySelect.d.ts +1 -1
- package/dist/components/Company/Industry/IndustrySelect.js +6 -8
- package/dist/components/Company/Industry/IndustrySelect.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.d.ts +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +6 -7
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.d.ts +1 -1
- package/dist/components/Company/Locations/LocationForm/Head.d.ts +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.d.ts +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +13 -14
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +6 -6
- package/dist/components/Company/Locations/Locations.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +6 -7
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Head.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/List.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +7 -8
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -7
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +6 -6
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/Locations/locationsStateMachine.d.ts +2 -2
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.d.ts +9 -9
- package/dist/components/Company/OnboardingOverview/Completed.d.ts +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.d.ts +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +5 -7
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.d.ts +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -4
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.d.ts +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +6 -6
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.d.ts +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleComponents.d.ts +2 -2
- package/dist/components/Company/PaySchedule/PayScheduleForm.d.ts +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleList.d.ts +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleList.js +4 -5
- package/dist/components/Company/PaySchedule/PayScheduleList.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +7 -7
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +2 -2
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +6 -6
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxes.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesComponents.d.ts +2 -2
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +2 -2
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +6 -6
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +3 -5
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.d.ts +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +6 -6
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/Actions.d.ts +1 -1
- package/dist/components/Contractor/Address/Address.d.ts +1 -1
- package/dist/components/Contractor/Address/Address.js +6 -7
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.d.ts +1 -1
- package/dist/components/Contractor/Address/Form.js +4 -4
- package/dist/components/Contractor/Address/Head.d.ts +1 -1
- package/dist/components/Contractor/Address/Head.js +7 -9
- package/dist/components/Contractor/Address/Head.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.d.ts +2 -2
- package/dist/components/Contractor/Address/useAddress.js +6 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.d.ts +3 -3
- package/dist/components/Contractor/ContractorList/index.js +20 -21
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/ContractorList/useContractorList.d.ts +1 -1
- package/dist/components/Contractor/ContractorList/useContractorList.js +1 -1
- package/dist/components/Contractor/ContractorList/useContractorList.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.d.ts +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +4 -5
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +7 -7
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.d.ts +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +2 -4
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.d.ts +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +7 -8
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.d.ts +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/types.d.ts +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.d.ts +2 -2
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +5 -5
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +3 -3
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +2 -4
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.d.ts +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +3 -3
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +5 -7
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.d.ts +2 -2
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +5 -5
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +3 -4
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/helpers.d.ts +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/helpers.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlow.d.ts +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.d.ts +6 -6
- package/dist/components/Contractor/Payments/PaymentFlow/paymentStateMachine.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.d.ts +2 -2
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +3 -3
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +3 -3
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +2 -4
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.d.ts +2 -2
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +4 -4
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +4 -4
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +13 -15
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.d.ts +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js +3 -3
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.d.ts +4 -4
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +2 -4
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.d.ts +2 -2
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +3 -3
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +2 -2
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +7 -9
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/types.d.ts +2 -2
- package/dist/components/Contractor/Profile/ContractorProfile.d.ts +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.js +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfileForm.d.ts +2 -2
- package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.d.ts +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +42 -42
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
- package/dist/components/Contractor/Submit/Submit.js +6 -7
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Contractor/Submit/SubmitDone.d.ts +1 -1
- package/dist/components/Employee/Compensation/management/Compensation.d.ts +8 -0
- package/dist/components/Employee/Compensation/management/Compensation.js +40 -0
- package/dist/components/Employee/Compensation/management/Compensation.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.d.ts +11 -0
- package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js +86 -0
- package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js.map +1 -0
- package/dist/components/Employee/Compensation/management/{EditCompensation/EditCompensation.module.scss.js → CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.module.scss.js} +1 -1
- package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.d.ts +20 -0
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js +34 -0
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationAddJobForm/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.d.ts +16 -0
- package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js +324 -0
- package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js.map +1 -0
- package/dist/components/Employee/{Dashboard/JobAndPayView.module.scss.js → Compensation/management/CompensationCard/CompensationCard.module.scss.js} +1 -1
- package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationCard/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/management/CompensationComponents.d.ts +13 -0
- package/dist/components/Employee/Compensation/management/CompensationComponents.js +53 -0
- package/dist/components/Employee/Compensation/management/CompensationComponents.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.d.ts +26 -0
- package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js +45 -0
- package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationEditForm/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.d.ts +12 -0
- package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js +91 -0
- package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js.map +1 -0
- package/dist/components/Employee/Compensation/management/{AddAnotherJob/AddAnotherJob.module.scss.js → CompensationEditJobForm/CompensationEditJobForm.module.scss.js} +1 -1
- package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/CompensationEditJobForm/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/management/{EditPendingCompensation/EditPendingCompensation.d.ts → CompensationEditPendingJobForm/CompensationEditPendingJobForm.d.ts} +5 -5
- package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js +85 -0
- package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js.map +1 -0
- package/dist/components/Employee/Compensation/management/{EditPendingCompensation/EditPendingCompensation.module.scss.js → CompensationEditPendingJobForm/CompensationEditPendingJobForm.module.scss.js} +1 -1
- package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +1 -1
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +203 -155
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js.map +1 -1
- package/dist/components/Employee/Compensation/management/compensationStateMachine.d.ts +6 -0
- package/dist/components/Employee/Compensation/management/compensationStateMachine.js +102 -0
- package/dist/components/Employee/Compensation/management/compensationStateMachine.js.map +1 -0
- package/dist/components/Employee/Compensation/management/index.d.ts +10 -5
- package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.d.ts +11 -0
- package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.js +81 -0
- package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.js.map +1 -0
- package/dist/components/Employee/Compensation/onboarding/Compensation.d.ts +4 -4
- package/dist/components/Employee/Compensation/onboarding/Compensation.js +1 -1
- package/dist/components/Employee/Compensation/onboarding/Compensation.js.map +1 -1
- package/dist/components/Employee/Compensation/onboarding/CompensationFlowComponents.d.ts +5 -5
- package/dist/components/Employee/Compensation/onboarding/CompensationFlowComponents.js.map +1 -1
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +1 -1
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.d.ts +1 -1
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.js +2 -2
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.js.map +1 -1
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.d.ts +2 -2
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +9 -10
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +17 -2
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js +204 -153
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js.map +1 -1
- package/dist/components/Employee/{Dashboard → Compensation/shared}/PendingChangesReviewModal.d.ts +1 -1
- package/dist/components/Employee/Compensation/shared/PendingChangesReviewModal.js +64 -0
- package/dist/components/Employee/Compensation/shared/PendingChangesReviewModal.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.d.ts +1 -1
- package/dist/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.js.map +1 -1
- package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.d.ts +2 -2
- package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.js +1 -1
- package/dist/components/Employee/Compensation/shared/getPendingCompensationChanges.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +10 -10
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.d.ts +28 -5
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +140 -137
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.d.ts +31 -0
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js +57 -0
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/useJobForm/fields.d.ts +5 -5
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +3 -3
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +7 -7
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
- package/dist/components/Employee/{Dashboard → Compensation/shared}/usePendingChangeDetailRenderer.d.ts +3 -2
- package/dist/components/Employee/Compensation/shared/usePendingChangeDetailRenderer.js +61 -0
- package/dist/components/Employee/Compensation/shared/usePendingChangeDetailRenderer.js.map +1 -0
- package/dist/components/Employee/Dashboard/BasicDetailsView.d.ts +8 -26
- package/dist/components/Employee/Dashboard/BasicDetailsView.js +11 -136
- package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.d.ts +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.js +53 -113
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +17 -18
- package/dist/components/Employee/Dashboard/DashboardComponents.js +76 -126
- package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
- package/dist/components/Employee/Dashboard/DashboardFlow.d.ts +1 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.d.ts +1 -8
- package/dist/components/Employee/Dashboard/JobAndPayView.js +14 -656
- package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
- package/dist/components/Employee/Dashboard/TaxesView.d.ts +9 -26
- package/dist/components/Employee/Dashboard/TaxesView.js +12 -142
- package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
- package/dist/components/Employee/Dashboard/dashboardStateMachine.d.ts +1 -1
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js +232 -164
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
- package/dist/components/Employee/Dashboard/dashboardStateMachine.test.d.ts +1 -0
- package/dist/components/Employee/Dashboard/index.d.ts +0 -3
- package/dist/components/Employee/Deductions/index.d.ts +1 -1
- package/dist/components/Employee/Deductions/management/Deductions.d.ts +8 -0
- package/dist/components/Employee/Deductions/management/Deductions.js +40 -0
- package/dist/components/Employee/Deductions/management/Deductions.js.map +1 -0
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.d.ts +17 -0
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js +124 -0
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js.map +1 -0
- package/dist/components/Employee/Deductions/management/DeductionsCard/index.d.ts +3 -0
- package/dist/components/Employee/Deductions/management/DeductionsComponents.d.ts +12 -0
- package/dist/components/Employee/Deductions/management/DeductionsComponents.js +41 -0
- package/dist/components/Employee/Deductions/management/DeductionsComponents.js.map +1 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.d.ts +18 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js +54 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js.map +1 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/index.d.ts +2 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.d.ts +9 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.js +92 -0
- package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.js.map +1 -0
- package/dist/components/Employee/Deductions/management/deductionsStateMachine.d.ts +4 -0
- package/dist/components/Employee/Deductions/management/deductionsStateMachine.js +76 -0
- package/dist/components/Employee/Deductions/management/deductionsStateMachine.js.map +1 -0
- package/dist/components/Employee/Deductions/management/index.d.ts +7 -0
- package/dist/components/Employee/Deductions/{Deductions.d.ts → onboarding/Deductions.d.ts} +2 -2
- package/dist/components/Employee/Deductions/{Deductions.js → onboarding/Deductions.js} +4 -4
- package/dist/components/Employee/Deductions/onboarding/Deductions.js.map +1 -0
- package/dist/components/Employee/Deductions/{DeductionsList → onboarding/DeductionsList}/DeductionsList.d.ts +3 -3
- package/dist/components/Employee/Deductions/{DeductionsList → onboarding/DeductionsList}/DeductionsList.js +24 -26
- package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js.map +1 -0
- package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.d.ts +1 -1
- package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.js +7 -7
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.js.map +1 -0
- package/dist/components/Employee/Deductions/{deductionsContextualComponents.d.ts → onboarding/deductionsContextualComponents.d.ts} +6 -6
- package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js +76 -0
- package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js.map +1 -0
- package/dist/components/{Common/UI/Badge → Employee/Deductions/onboarding}/index.d.ts +1 -1
- package/dist/components/Employee/Deductions/{stateMachine.js → onboarding/stateMachine.js} +1 -1
- package/dist/components/Employee/Deductions/onboarding/stateMachine.js.map +1 -0
- package/dist/components/Employee/Deductions/onboarding/useFormDictionary.d.ts +13 -0
- package/dist/components/Employee/Deductions/onboarding/useFormDictionary.js +92 -0
- package/dist/components/Employee/Deductions/onboarding/useFormDictionary.js.map +1 -0
- package/dist/components/Employee/Deductions/{DeductionsForm → shared/DeductionsForm}/ChildSupportFormView.d.ts +2 -2
- package/dist/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.js +143 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.js.map +1 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.d.ts +19 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js +138 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js.map +1 -0
- package/dist/components/Employee/Deductions/{DeductionsForm → shared/DeductionsForm}/StandardDeductionForm.d.ts +2 -2
- package/dist/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.js +135 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.js.map +1 -0
- package/dist/components/Employee/Deductions/shared/DeductionsForm/index.d.ts +2 -0
- package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.d.ts +13 -3
- package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.js +19 -18
- package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/formatDeductionAmount.d.ts +2 -2
- package/dist/components/Employee/Deductions/shared/formatDeductionAmount.js +14 -6
- package/dist/components/Employee/Deductions/shared/formatDeductionAmount.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/index.d.ts +1 -0
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.d.ts +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.d.ts +9 -9
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.d.ts +2 -2
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js +5 -5
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.js +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.d.ts +8 -8
- package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.d.ts +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js +65 -65
- package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionsList.d.ts +1 -1
- package/dist/components/Employee/Deductions/shared/useDeductionsList.js +2 -2
- package/dist/components/Employee/Deductions/shared/useDeductionsList.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useDeleteDeduction.d.ts +1 -1
- package/dist/components/Employee/Deductions/shared/useDeleteDeduction.js.map +1 -1
- package/dist/components/Employee/Documents/management/DocumentManager.d.ts +7 -1
- package/dist/components/Employee/Documents/management/DocumentManager.js +23 -25
- package/dist/components/Employee/Documents/management/DocumentManager.js.map +1 -1
- package/dist/components/Employee/Documents/management/Documents.d.ts +8 -0
- package/dist/components/Employee/Documents/management/Documents.js +39 -0
- package/dist/components/Employee/Documents/management/Documents.js.map +1 -0
- package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.d.ts +18 -0
- package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js +61 -0
- package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js.map +1 -0
- package/dist/components/Employee/Documents/management/DocumentsCard/index.d.ts +3 -0
- package/dist/components/Employee/Documents/management/DocumentsComponents.d.ts +9 -0
- package/dist/components/Employee/Documents/management/DocumentsComponents.js +25 -0
- package/dist/components/Employee/Documents/management/DocumentsComponents.js.map +1 -0
- package/dist/components/Employee/Documents/management/documentsStateMachine.d.ts +4 -0
- package/dist/components/Employee/Documents/management/documentsStateMachine.js +29 -0
- package/dist/components/Employee/Documents/management/documentsStateMachine.js.map +1 -0
- package/dist/components/Employee/Documents/management/index.d.ts +4 -0
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js +6 -7
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js +6 -7
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Head.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js +2 -4
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +6 -6
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js +2 -2
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +3 -3
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +15 -17
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js +8 -9
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.d.ts +5 -5
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.d.ts +2 -2
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js +2 -2
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js +2 -4
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.d.ts +1 -1
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js +12 -13
- package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/Documents/shared/index.d.ts +3 -0
- package/dist/components/Employee/Documents/shared/useDocumentsList/index.d.ts +3 -0
- package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.d.ts +19 -0
- package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.js +15 -0
- package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.js.map +1 -0
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.d.ts +39 -39
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.d.ts +1 -1
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.js +4 -4
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.d.ts +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +35 -35
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.d.ts +1 -1
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.d.ts +2 -2
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js +40 -42
- package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeList/shared/useEmployeeList.d.ts +2 -2
- package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js +3 -3
- package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +1 -1
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +4 -4
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js +13 -13
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js.map +1 -1
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +39 -37
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/index.d.ts +3 -1
- package/dist/components/Employee/FederalTaxes/management/FederalTaxes.d.ts +5 -5
- package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js +30 -61
- package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.d.ts +14 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.js +61 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/index.d.ts +3 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.d.ts +8 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.js +34 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.d.ts +8 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js +67 -0
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.d.ts +4 -0
- package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.js +51 -0
- package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/management/index.d.ts +6 -1
- package/dist/components/Employee/FederalTaxes/management/useViewDictionary.d.ts +8 -0
- package/dist/components/Employee/FederalTaxes/management/useViewDictionary.js +38 -0
- package/dist/components/Employee/FederalTaxes/management/useViewDictionary.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.d.ts +1 -1
- package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js +23 -22
- package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.d.ts +8 -0
- package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.js +38 -0
- package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.js.map +1 -0
- package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.d.ts +20 -1
- package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +29 -26
- package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/index.d.ts +2 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.d.ts +6 -6
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.d.ts +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js +2 -2
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/index.d.ts +3 -0
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.d.ts +20 -0
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.js +23 -0
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.js.map +1 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddress.d.ts +6 -4
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js +29 -41
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.d.ts +14 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.js +39 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.js.map +1 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressCard/index.d.ts +3 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.d.ts +6 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.js +18 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.js.map +1 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.d.ts +6 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js +51 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js.map +1 -0
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.d.ts +2 -2
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +289 -269
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.d.ts +1 -1
- package/dist/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.d.ts +4 -0
- package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.js +33 -0
- package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.js.map +1 -0
- package/dist/components/Employee/HomeAddress/management/index.d.ts +7 -0
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.d.ts +1 -1
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js +38 -38
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js.map +1 -1
- package/dist/components/Employee/HomeAddress/shared/index.d.ts +3 -0
- package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/index.d.ts +3 -0
- package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.d.ts +21 -0
- package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.js +23 -0
- package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.js.map +1 -0
- package/dist/components/Employee/Landing/Landing.d.ts +1 -1
- package/dist/components/Employee/Landing/Landing.js +16 -17
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.d.ts +16 -0
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.js +49 -0
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.js.map +1 -0
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.d.ts +24 -0
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.js +24 -0
- package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.js.map +1 -0
- package/dist/components/Employee/OnboardingExecutionFlow/index.d.ts +4 -0
- package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.d.ts +14 -0
- package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.js +98 -0
- package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.js.map +1 -0
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +4 -25
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +33 -24
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.d.ts +1 -8
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +34 -120
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.d.ts +2 -2
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +9 -9
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/management/PaymentMethod.d.ts +2 -2
- package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js +31 -30
- package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.d.ts +16 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +29 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.d.ts +16 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.js +151 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.module.scss.js +8 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.module.scss.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.d.ts +5 -3
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.js +30 -14
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.d.ts +16 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.js +29 -0
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/management/index.d.ts +6 -1
- package/dist/components/Employee/PaymentMethod/management/paymentMethodStateMachine.js +56 -52
- package/dist/components/Employee/PaymentMethod/management/paymentMethodStateMachine.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/management/useFormDictionary.d.ts +17 -0
- package/dist/components/Employee/PaymentMethod/management/useFormDictionary.js +60 -0
- package/dist/components/Employee/PaymentMethod/management/useFormDictionary.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +21 -62
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/ListView.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/ListView.js +51 -46
- package/dist/components/Employee/PaymentMethod/onboarding/ListView.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethod.d.ts +2 -2
- package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethodComponents.d.ts +3 -3
- package/dist/components/Employee/PaymentMethod/onboarding/SplitView.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/SplitView.js +19 -91
- package/dist/components/Employee/PaymentMethod/onboarding/SplitView.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.d.ts +18 -0
- package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.js +60 -0
- package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.d.ts +24 -0
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js +71 -0
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/index.d.ts +2 -0
- package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.d.ts +12 -2
- package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.js +18 -17
- package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.d.ts +23 -0
- package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.js +105 -0
- package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.js.map +1 -0
- package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/index.d.ts +2 -0
- package/dist/components/Employee/PaymentMethod/shared/index.d.ts +2 -0
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.d.ts +4 -4
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.js +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/fields.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.js +2 -2
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.d.ts +2 -2
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.js +4 -4
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/fields.d.ts +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.d.ts +2 -2
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.js +3 -3
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.js.map +1 -1
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.d.ts +16 -0
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js +153 -0
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js.map +1 -0
- package/dist/components/Employee/Paystubs/management/PaystubsCard/index.d.ts +3 -0
- package/dist/components/Employee/Paystubs/management/index.d.ts +3 -0
- package/dist/components/Employee/Paystubs/shared/index.d.ts +3 -0
- package/dist/components/Employee/Paystubs/shared/usePaystubsList/index.d.ts +3 -0
- package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.d.ts +33 -0
- package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.js +55 -0
- package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.js.map +1 -0
- package/dist/components/Employee/Profile/management/Profile.d.ts +5 -3
- package/dist/components/Employee/Profile/management/Profile.js +31 -113
- package/dist/components/Employee/Profile/management/Profile.js.map +1 -1
- package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.d.ts +15 -0
- package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js +50 -0
- package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js.map +1 -0
- package/dist/components/Employee/Profile/management/ProfileCard/index.d.ts +3 -0
- package/dist/components/Employee/Profile/management/ProfileComponents.d.ts +8 -0
- package/dist/components/Employee/Profile/management/ProfileComponents.js +34 -0
- package/dist/components/Employee/Profile/management/ProfileComponents.js.map +1 -0
- package/dist/components/Employee/Profile/management/ProfileEditForm.d.ts +6 -0
- package/dist/components/Employee/Profile/management/ProfileEditForm.js +129 -0
- package/dist/components/Employee/Profile/management/ProfileEditForm.js.map +1 -0
- package/dist/components/Employee/Profile/management/index.d.ts +7 -0
- package/dist/components/Employee/Profile/management/profileStateMachine.d.ts +4 -0
- package/dist/components/Employee/Profile/management/profileStateMachine.js +43 -0
- package/dist/components/Employee/Profile/management/profileStateMachine.js.map +1 -0
- package/dist/components/Employee/Profile/onboarding/AdminProfile.d.ts +1 -1
- package/dist/components/Employee/Profile/onboarding/AdminProfile.js.map +1 -1
- package/dist/components/Employee/Profile/onboarding/EmployeeProfile.d.ts +1 -1
- package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js +2 -2
- package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js.map +1 -1
- package/dist/components/Employee/Profile/onboarding/Profile.d.ts +2 -2
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.d.ts +7 -7
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js +5 -5
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/index.d.ts +3 -0
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.d.ts +18 -0
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js +20 -0
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js.map +1 -0
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.d.ts +7 -7
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js +1 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.d.ts +1 -1
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +4 -4
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.d.ts +3 -3
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.d.ts +2 -2
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js +5 -5
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.d.ts +8 -8
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/index.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/management/StateTaxes.d.ts +6 -4
- package/dist/components/Employee/StateTaxes/management/StateTaxes.js +30 -50
- package/dist/components/Employee/StateTaxes/management/StateTaxes.js.map +1 -1
- package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.d.ts +15 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.js +66 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.js.map +1 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesCard/index.d.ts +3 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.d.ts +8 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.js +34 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.js.map +1 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.d.ts +17 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js +60 -0
- package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js.map +1 -0
- package/dist/components/Employee/StateTaxes/management/index.d.ts +6 -1
- package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.d.ts +4 -0
- package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.js +51 -0
- package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.js.map +1 -0
- package/dist/components/Employee/StateTaxes/management/useViewDictionary.d.ts +8 -0
- package/dist/components/Employee/StateTaxes/management/useViewDictionary.js +21 -0
- package/dist/components/Employee/StateTaxes/management/useViewDictionary.js.map +1 -0
- package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js +25 -24
- package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js.map +1 -1
- package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.d.ts +8 -0
- package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.js +21 -0
- package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.js.map +1 -0
- package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.d.ts +20 -1
- package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +22 -19
- package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/index.d.ts +2 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.d.ts +2 -2
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.d.ts +6 -6
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.d.ts +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js +2 -2
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/index.d.ts +3 -0
- package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.d.ts +20 -0
- package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.js +23 -0
- package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.js.map +1 -0
- package/dist/components/Employee/Taxes/Actions.d.ts +1 -1
- package/dist/components/Employee/Taxes/Actions.js +8 -9
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.d.ts +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +5 -7
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalHead.d.ts +1 -1
- package/dist/components/Employee/Taxes/FederalHead.js +2 -4
- package/dist/components/Employee/Taxes/FederalHead.js.map +1 -1
- package/dist/components/Employee/Taxes/StateForm.d.ts +1 -1
- package/dist/components/Employee/Taxes/StateForm.js +8 -10
- package/dist/components/Employee/Taxes/StateForm.js.map +1 -1
- package/dist/components/Employee/Taxes/Taxes.d.ts +2 -2
- package/dist/components/Employee/Taxes/Taxes.js +7 -8
- package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
- package/dist/components/Employee/Taxes/useTaxes.d.ts +1 -1
- package/dist/components/Employee/Taxes/useTaxes.js +6 -6
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.d.ts +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +9 -9
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +2 -2
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +2 -4
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlow.d.ts +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +4 -4
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +12 -13
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.d.ts +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +4 -4
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +2 -4
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationsData.d.ts +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddress.d.ts +6 -4
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js +30 -42
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.d.ts +15 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.js +47 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.js.map +1 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressCard/index.d.ts +3 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.d.ts +6 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.js +18 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.js.map +1 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.d.ts +6 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js +51 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js.map +1 -0
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.d.ts +2 -2
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.d.ts +2 -2
- package/dist/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/index.d.ts +7 -0
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.d.ts +1 -1
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js +27 -27
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.d.ts +4 -0
- package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.js +36 -0
- package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.js.map +1 -0
- package/dist/components/Employee/WorkAddress/shared/index.d.ts +3 -0
- package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/index.d.ts +3 -0
- package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.d.ts +18 -0
- package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.js +23 -0
- package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.js.map +1 -0
- package/dist/components/Employee/exports/employeeManagement.d.ts +19 -7
- package/dist/components/Employee/exports/employeeManagement.js +76 -26
- package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
- package/dist/components/Employee/exports/employeeOnboarding.d.ts +1 -0
- package/dist/components/Employee/exports/employeeOnboarding.js +19 -17
- package/dist/components/Employee/exports/employeeOnboarding.js.map +1 -1
- package/dist/components/Employee/index.d.ts +3 -2
- package/dist/components/Employee/index.js +36 -34
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/Flow.d.ts +18 -1
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/Flow/FlowHeader.d.ts +16 -12
- package/dist/components/Flow/FlowHeader.js +3 -4
- package/dist/components/Flow/FlowHeader.js.map +1 -1
- package/dist/components/Flow/useFlow.d.ts +46 -13
- package/dist/components/Flow/useFlow.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +2 -2
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +29 -30
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +13 -14
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequests.d.ts +1 -1
- package/dist/components/InformationRequests/InformationRequests.js +3 -4
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestsComponents.d.ts +2 -2
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.d.ts +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.d.ts +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +2 -2
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.d.ts +4 -4
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.d.ts +2 -2
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +3 -4
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.d.ts +3 -3
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js +2 -2
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlow.d.ts +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +4 -4
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +8 -10
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +7 -7
- package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -2
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.d.ts +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +4 -4
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +18 -20
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.d.ts +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.d.ts +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +0 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.d.ts +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -7
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.d.ts +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +3 -4
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.d.ts +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.d.ts +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.d.ts +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -13
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +16 -16
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +2 -2
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +2 -2
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +2 -2
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +7 -7
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +6 -6
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +4 -4
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +5 -5
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +2 -2
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +63 -57
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +11 -5
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +360 -220
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +5 -5
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +16 -18
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -2
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.d.ts +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +8 -8
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -1
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +2 -2
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +2 -2
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +4 -4
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +3 -3
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +2 -4
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +2 -2
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +3 -3
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +2 -2
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.d.ts +17 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +39 -37
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +5 -4
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +113 -112
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +2 -2
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +36 -37
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +6 -6
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +113 -117
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +3 -3
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +2 -4
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +2 -2
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +2 -2
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +2 -2
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +2 -3
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.d.ts +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.d.ts +1 -1
- package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js +2 -2
- package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.d.ts +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +2 -2
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +7 -8
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +2 -2
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +8 -9
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -4
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
- package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +2 -2
- package/dist/components/Payroll/Transition/TransitionFlowComponents.js +1 -1
- package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.d.ts +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +4 -4
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +2 -4
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +55 -67
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +2 -2
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +25 -8
- package/dist/components/Payroll/helpers.js +92 -81
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/payrollTypes.js +1 -1
- package/dist/components/Payroll/payrollTypes.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +3 -3
- package/dist/components/Payroll/usePreparedPayrollData.js +8 -8
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.d.ts +7 -0
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js +26 -0
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -0
- package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +1 -1
- package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js +3 -3
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +2 -3
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +3 -3
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +1 -1
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +14 -16
- package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyList.d.ts +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyList.js +6 -6
- package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +8 -10
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettings.d.ts +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettings.js +8 -8
- package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +45 -47
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +2 -4
- package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +12 -12
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js +33 -35
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +4 -4
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +2 -4
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +2 -2
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +13 -15
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +13 -13
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +3 -3
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +5 -7
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +28 -28
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +1 -1
- package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +1 -1
- package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +1 -1
- package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +8 -10
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -1
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +6 -7
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
- package/dist/contexts/ApiProvider/ApiProvider.d.ts +29 -1
- package/dist/contexts/ApiProvider/ApiProvider.js +3 -3
- package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
- package/dist/contexts/ApiProvider/apiVersionHook.d.ts +1 -0
- package/dist/contexts/ApiProvider/apiVersionHook.js +1 -1
- package/dist/contexts/ApiProvider/apiVersionHook.js.map +1 -1
- package/dist/contexts/ApiProvider/createSdkQueryClient.d.ts +9 -9
- package/dist/contexts/ApiProvider/createSdkQueryClient.js +2 -2
- package/dist/contexts/ApiProvider/createSdkQueryClient.js.map +1 -1
- package/dist/contexts/ComponentAdapter/ComponentsProvider.d.ts +3 -1
- package/dist/contexts/ComponentAdapter/ComponentsProvider.js.map +1 -1
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +3 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +114 -18
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -11
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.d.ts +13 -1
- package/dist/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.js.map +1 -1
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +18 -2
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
- package/dist/contexts/LocaleProvider/LocaleProvider.d.ts +17 -1
- package/dist/contexts/LocaleProvider/LocaleProvider.js.map +1 -1
- package/dist/contexts/LocaleProvider/index.d.ts +1 -1
- package/dist/contexts/LocaleProvider/useLocale.d.ts +39 -0
- package/dist/contexts/LocaleProvider/useLocale.js.map +1 -1
- package/dist/contexts/ObservabilityProvider/ObservabilityContext.d.ts +11 -0
- package/dist/contexts/ObservabilityProvider/ObservabilityContext.js.map +1 -1
- package/dist/contexts/ObservabilityProvider/ObservabilityProvider.d.ts +18 -1
- package/dist/contexts/ObservabilityProvider/ObservabilityProvider.js.map +1 -1
- package/dist/contexts/ObservabilityProvider/index.d.ts +1 -1
- package/dist/contexts/ObservabilityProvider/sanitization.d.ts +49 -0
- package/dist/contexts/ObservabilityProvider/sanitization.js.map +1 -1
- package/dist/contexts/ObservabilityProvider/useObservability.d.ts +14 -0
- package/dist/contexts/ObservabilityProvider/useObservability.js.map +1 -1
- package/dist/contexts/ObservabilityProvider/useSanitizedObservability.d.ts +14 -0
- package/dist/contexts/ObservabilityProvider/useSanitizedObservability.js.map +1 -1
- package/dist/contexts/ThemeProvider/test-utils.d.ts +1 -1
- package/dist/contexts/index.d.ts +1 -1
- package/dist/helpers/LRUCache.d.ts +9 -0
- package/dist/helpers/LRUCache.js.map +1 -1
- package/dist/helpers/apiErrorToList.d.ts +20 -4
- package/dist/helpers/apiErrorToList.js.map +1 -1
- package/dist/helpers/applyMissingDefaults.d.ts +11 -2
- package/dist/helpers/applyMissingDefaults.js.map +1 -1
- package/dist/helpers/breadcrumbHelpers.d.ts +66 -25
- package/dist/helpers/breadcrumbHelpers.js.map +1 -1
- package/dist/helpers/currencyHelpers.d.ts +14 -0
- package/dist/helpers/currencyHelpers.js.map +1 -1
- package/dist/helpers/dateFormatting.d.ts +149 -14
- package/dist/helpers/dateFormatting.js +0 -1
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/ensureRequired.d.ts +12 -0
- package/dist/helpers/ensureRequired.js.map +1 -1
- package/dist/helpers/federalEin.d.ts +15 -4
- package/dist/helpers/federalEin.js +0 -1
- package/dist/helpers/federalEin.js.map +1 -1
- package/dist/helpers/formattedStrings.d.ts +148 -11
- package/dist/helpers/formattedStrings.js +0 -1
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/helpers/getDataProps.d.ts +11 -0
- package/dist/helpers/getDataProps.js.map +1 -1
- package/dist/helpers/mask.d.ts +29 -12
- package/dist/helpers/mask.js.map +1 -1
- package/dist/helpers/payRateCalculator.d.ts +9 -1
- package/dist/helpers/payRateCalculator.js +0 -1
- package/dist/helpers/payRateCalculator.js.map +1 -1
- package/dist/helpers/percentageConversion.d.ts +36 -0
- package/dist/helpers/percentageConversion.js.map +1 -1
- package/dist/helpers/readableStreamToBlob.d.ts +13 -0
- package/dist/helpers/readableStreamToBlob.js.map +1 -1
- package/dist/helpers/rem.d.ts +25 -4
- package/dist/helpers/rem.js.map +1 -1
- package/dist/helpers/responsive.d.ts +55 -0
- package/dist/helpers/responsive.js.map +1 -1
- package/dist/helpers/retryAsync.d.ts +14 -0
- package/dist/helpers/retryAsync.js.map +1 -1
- package/dist/helpers/ssn.d.ts +16 -1
- package/dist/helpers/ssn.js +0 -1
- package/dist/helpers/ssn.js.map +1 -1
- package/dist/helpers/validations.d.ts +38 -0
- package/dist/helpers/validations.js.map +1 -1
- package/dist/hooks/useAsyncError.d.ts +11 -2
- package/dist/hooks/useAsyncError.js.map +1 -1
- package/dist/hooks/useClientPagination/useClientPagination.d.ts +21 -1
- package/dist/hooks/useClientPagination/useClientPagination.js.map +1 -1
- package/dist/hooks/useCompanyPaymentSpeed.d.ts +18 -1
- package/dist/hooks/useCompanyPaymentSpeed.js +1 -1
- package/dist/hooks/useCompanyPaymentSpeed.js.map +1 -1
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.d.ts +20 -2
- package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js.map +1 -1
- package/dist/hooks/useDateFormatter.d.ts +19 -0
- package/dist/hooks/useDateFormatter.js.map +1 -1
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +18 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -1
- package/dist/hooks/useForkRef/useForkRef.d.ts +5 -3
- package/dist/hooks/useForkRef/useForkRef.js.map +1 -1
- package/dist/hooks/useMenu.d.ts +13 -0
- package/dist/hooks/useMenu.js.map +1 -1
- package/dist/hooks/useNumberFormatter.d.ts +13 -1
- package/dist/hooks/useNumberFormatter.js.map +1 -1
- package/dist/hooks/useOverflowDetection/useOverflowDetection.d.ts +13 -1
- package/dist/hooks/useOverflowDetection/useOverflowDetection.js.map +1 -1
- package/dist/hooks/usePagination/usePagination.d.ts +13 -0
- package/dist/hooks/usePagination/usePagination.js.map +1 -1
- package/dist/i18n/I18n.js +23 -8
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Employee.BankFormBody.json.js +26 -0
- package/dist/i18n/en/Employee.BankFormBody.json.js.map +1 -0
- package/dist/i18n/en/Employee.Compensation.json.js +48 -48
- package/dist/i18n/en/Employee.Dashboard.json.js +10 -30
- package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -1
- package/dist/i18n/en/Employee.DeductionsForm.json.js +30 -0
- package/dist/i18n/en/Employee.DeductionsForm.json.js.map +1 -0
- package/dist/i18n/en/Employee.FederalTaxesView.json.js +44 -0
- package/dist/i18n/en/Employee.FederalTaxesView.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.Compensation.json.js +76 -0
- package/dist/i18n/en/Employee.Management.Compensation.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.Deductions.json.js +34 -0
- package/dist/i18n/en/Employee.Management.Deductions.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.Documents.json.js +20 -0
- package/dist/i18n/en/Employee.Management.Documents.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.FederalTaxes.json.js +54 -0
- package/dist/i18n/en/Employee.Management.FederalTaxes.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.HomeAddress.json.js +70 -0
- package/dist/i18n/en/Employee.Management.HomeAddress.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.PaymentMethod.json.js +36 -0
- package/dist/i18n/en/Employee.Management.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.PaymentMethodBankForm.json.js +26 -0
- package/dist/i18n/en/Employee.Management.PaymentMethodBankForm.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.PaymentMethodSplitForm.json.js +28 -0
- package/dist/i18n/en/Employee.Management.PaymentMethodSplitForm.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.Paystubs.json.js +30 -0
- package/dist/i18n/en/Employee.Management.Paystubs.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.Profile.json.js +26 -0
- package/dist/i18n/en/Employee.Management.Profile.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.StateTaxes.json.js +20 -0
- package/dist/i18n/en/Employee.Management.StateTaxes.json.js.map +1 -0
- package/dist/i18n/en/Employee.Management.WorkAddress.json.js +70 -0
- package/dist/i18n/en/Employee.Management.WorkAddress.json.js.map +1 -0
- package/dist/i18n/en/Employee.SplitPaymentsFormBody.json.js +28 -0
- package/dist/i18n/en/Employee.SplitPaymentsFormBody.json.js.map +1 -0
- package/dist/i18n/en/Employee.StateTaxesView.json.js +12 -0
- package/dist/i18n/en/Employee.StateTaxesView.json.js.map +1 -0
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +52 -32
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
- package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
- package/dist/models/NAICSCodes.d.ts +6 -0
- package/dist/models/NAICSCodes.js.map +1 -1
- package/dist/models/NAICSValues.d.ts +5 -0
- package/dist/models/NAICSValues.js.map +1 -1
- package/dist/models/WA_RISK_CODES.d.ts +11 -0
- package/dist/models/WA_RISK_CODES.js.map +1 -1
- package/dist/partner-hook-utils/collectErrors.d.ts +1 -0
- package/dist/partner-hook-utils/collectErrors.js.map +1 -1
- package/dist/partner-hook-utils/composeErrorHandler.d.ts +63 -6
- package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -1
- package/dist/partner-hook-utils/form/FormFieldsMetadataContext.d.ts +18 -0
- package/dist/partner-hook-utils/form/FormFieldsMetadataContext.js.map +1 -1
- package/dist/partner-hook-utils/form/FormFieldsMetadataProvider.d.ts +8 -1
- package/dist/partner-hook-utils/form/FormFieldsMetadataProvider.js.map +1 -1
- package/dist/partner-hook-utils/form/SDKFormProvider.d.ts +29 -1
- package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -1
- package/dist/partner-hook-utils/form/buildFormSchema.d.ts +70 -2
- package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
- package/dist/partner-hook-utils/form/composeSubmitHandler.d.ts +23 -8
- package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.d.ts +20 -0
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.js +6 -7
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.d.ts +22 -0
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.d.ts +25 -0
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.js +8 -9
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +24 -0
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js +8 -9
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SelectHookField.d.ts +27 -1
- package/dist/partner-hook-utils/form/fields/SelectHookField.js +10 -11
- package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SwitchHookField.d.ts +20 -0
- package/dist/partner-hook-utils/form/fields/SwitchHookField.js +6 -7
- package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/TextInputHookField.d.ts +25 -0
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js +2 -3
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.d.ts +13 -5
- package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.js.map +1 -1
- package/dist/partner-hook-utils/form/getFieldWithOptions.d.ts +11 -0
- package/dist/partner-hook-utils/form/getFieldWithOptions.js.map +1 -1
- package/dist/partner-hook-utils/form/getFormSubmissionValues.d.ts +10 -1
- package/dist/partner-hook-utils/form/getFormSubmissionValues.js.map +1 -1
- package/dist/partner-hook-utils/form/index.d.ts +1 -8
- package/dist/partner-hook-utils/form/preprocessors.d.ts +28 -0
- package/dist/partner-hook-utils/form/preprocessors.js.map +1 -1
- package/dist/partner-hook-utils/form/resolveFieldError.d.ts +22 -0
- package/dist/partner-hook-utils/form/resolveFieldError.js.map +1 -1
- package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.d.ts +17 -7
- package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.js.map +1 -1
- package/dist/partner-hook-utils/form/useFieldErrorMessage.d.ts +39 -0
- package/dist/partner-hook-utils/form/useFieldErrorMessage.js.map +1 -1
- package/dist/partner-hook-utils/form/useHookFieldResolution.d.ts +10 -2
- package/dist/partner-hook-utils/form/useHookFieldResolution.js.map +1 -1
- package/dist/partner-hook-utils/form/useHookFormInternals.d.ts +11 -4
- package/dist/partner-hook-utils/form/useHookFormInternals.js.map +1 -1
- package/dist/partner-hook-utils/form/withOptions.d.ts +25 -0
- package/dist/partner-hook-utils/form/withOptions.js.map +1 -1
- package/dist/partner-hook-utils/types.d.ts +173 -20
- package/dist/shared/constants.d.ts +352 -17
- package/dist/shared/constants.js +112 -67
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/hooks.d.ts +30 -16
- package/dist/types/i18next.d.ts +859 -402
- package/dist/types/observability.d.ts +58 -32
- package/dist/types/sdkError.d.ts +45 -13
- package/dist/types/sdkError.js +3 -3
- package/dist/types/sdkError.js.map +1 -1
- package/docs/reference/endpoint-inventory.json +90 -104
- package/package.json +23 -20
- package/dist/components/Common/Fields/PercentageField/index.d.ts +0 -2
- package/dist/components/Common/UI/Alert/index.d.ts +0 -2
- package/dist/components/Common/UI/Banner/index.d.ts +0 -4
- package/dist/components/Common/UI/Box/index.d.ts +0 -2
- package/dist/components/Common/UI/MultiSelectComboBox/index.d.ts +0 -3
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.d.ts +0 -9
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js +0 -76
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js.map +0 -1
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js.map +0 -1
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.d.ts +0 -11
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js +0 -88
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +0 -1
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.module.scss.js.map +0 -1
- package/dist/components/Employee/Compensation/management/EditCompensation/index.d.ts +0 -3
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +0 -79
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +0 -1
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js.map +0 -1
- package/dist/components/Employee/Dashboard/DocumentsView.d.ts +0 -18
- package/dist/components/Employee/Dashboard/DocumentsView.js +0 -71
- package/dist/components/Employee/Dashboard/DocumentsView.js.map +0 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js.map +0 -1
- package/dist/components/Employee/Dashboard/PendingChangesReviewModal.js +0 -64
- package/dist/components/Employee/Dashboard/PendingChangesReviewModal.js.map +0 -1
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js.map +0 -1
- package/dist/components/Employee/Dashboard/hooks/index.d.ts +0 -9
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +0 -24
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +0 -32
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +0 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +0 -44
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +0 -74
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +0 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +0 -19
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +0 -20
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +0 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +0 -24
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +0 -29
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +0 -1
- package/dist/components/Employee/Dashboard/usePendingChangeDetailRenderer.js +0 -61
- package/dist/components/Employee/Dashboard/usePendingChangeDetailRenderer.js.map +0 -1
- package/dist/components/Employee/Deductions/Deductions.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportFormView.js +0 -137
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportFormView.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.d.ts +0 -11
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +0 -137
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js +0 -137
- package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js.map +0 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +0 -1
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +0 -1
- package/dist/components/Employee/Deductions/deductionsContextualComponents.js +0 -74
- package/dist/components/Employee/Deductions/deductionsContextualComponents.js.map +0 -1
- package/dist/components/Employee/Deductions/stateMachine.js.map +0 -1
- package/dist/components/Employee/PaymentMethod/management/ListView.d.ts +0 -8
- package/dist/components/Employee/PaymentMethod/management/ListView.js +0 -138
- package/dist/components/Employee/PaymentMethod/management/ListView.js.map +0 -1
- package/dist/hooks/useDebounce/useDebounce.d.ts +0 -2
- package/dist/hooks/useForkRef/index.d.ts +0 -2
- package/dist/hooks/useOverflowDetection/index.d.ts +0 -3
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js +0 -62
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js.map +0 -1
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js +0 -64
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js.map +0 -1
- package/dist/models/PayPeriod.d.ts +0 -18
- package/dist/models/Payroll.d.ts +0 -40
- package/dist/models/PayrollTotals.d.ts +0 -24
- /package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.test.d.ts +0 -0
- /package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.module.scss.js +0 -0
- /package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.module.scss.js.map +0 -0
- /package/dist/components/Employee/Deductions/{stateMachine.d.ts → onboarding/stateMachine.d.ts} +0 -0
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
import { FieldMetadataWithOptions, FieldsMetadata } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Narrows a {@link FieldsMetadata} entry to {@link FieldMetadataWithOptions} when
|
|
4
|
+
* the field carries an `options` list.
|
|
5
|
+
*
|
|
6
|
+
* @typeParam TEntry - Shape of the underlying records that produced the options.
|
|
7
|
+
* @param metadata - Map of field metadata indexed by form-field name.
|
|
8
|
+
* @param name - Name of the field to look up.
|
|
9
|
+
* @returns The field's metadata typed as {@link FieldMetadataWithOptions}, or
|
|
10
|
+
* `undefined` when the field is absent or has no `options` list.
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
2
13
|
export declare function getFieldWithOptions<TEntry = unknown>(metadata: FieldsMetadata, name: string): FieldMetadataWithOptions<TEntry> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFieldWithOptions.js","sources":["../../../src/partner-hook-utils/form/getFieldWithOptions.ts"],"sourcesContent":["import type { FieldMetadataWithOptions, FieldsMetadata } from '../types'\n\nexport function getFieldWithOptions<TEntry = unknown>(\n metadata: FieldsMetadata,\n name: string,\n): FieldMetadataWithOptions<TEntry> | undefined {\n const field = metadata[name]\n if (field && 'options' in field) return field as FieldMetadataWithOptions<TEntry>\n return undefined\n}\n"],"names":["getFieldWithOptions","metadata","name","field"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFieldWithOptions.js","sources":["../../../src/partner-hook-utils/form/getFieldWithOptions.ts"],"sourcesContent":["import type { FieldMetadataWithOptions, FieldsMetadata } from '../types'\n\n/**\n * Narrows a {@link FieldsMetadata} entry to {@link FieldMetadataWithOptions} when\n * the field carries an `options` list.\n *\n * @typeParam TEntry - Shape of the underlying records that produced the options.\n * @param metadata - Map of field metadata indexed by form-field name.\n * @param name - Name of the field to look up.\n * @returns The field's metadata typed as {@link FieldMetadataWithOptions}, or\n * `undefined` when the field is absent or has no `options` list.\n * @internal\n */\nexport function getFieldWithOptions<TEntry = unknown>(\n metadata: FieldsMetadata,\n name: string,\n): FieldMetadataWithOptions<TEntry> | undefined {\n const field = metadata[name]\n if (field && 'options' in field) return field as FieldMetadataWithOptions<TEntry>\n return undefined\n}\n"],"names":["getFieldWithOptions","metadata","name","field"],"mappings":"AAaO,SAASA,EACdC,GACAC,GAC8C;AAC9C,QAAMC,IAAQF,EAASC,CAAI;AAC3B,MAAIC,KAAS,aAAaA,EAAO,QAAOA;AAE1C;"}
|
|
@@ -10,9 +10,18 @@ import { ZodTypeAny } from 'zod';
|
|
|
10
10
|
* (e.g. required fields are empty, cross-field rules fail). This is safe to call
|
|
11
11
|
* at any time — it never throws.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Side effects: none. `getValues()` is a synchronous read from react-hook-form's
|
|
14
15
|
* internal store — it does not trigger re-renders, mutate form state, or update
|
|
15
16
|
* validation errors. `safeParse()` is a pure validation/transform that creates
|
|
16
17
|
* a new object without mutating the input.
|
|
18
|
+
*
|
|
19
|
+
* @typeParam TFormData - Shape of the raw form values managed by react-hook-form.
|
|
20
|
+
* @typeParam TFormOutputs - Shape of the parsed/transformed values produced by the Zod schema.
|
|
21
|
+
* @param formMethods - `useForm` return value the getter reads values from.
|
|
22
|
+
* @param schema - Zod schema applied to validate and transform the current values.
|
|
23
|
+
* @returns A zero-arg function returning the parsed values, or `undefined` when
|
|
24
|
+
* the current form state fails validation.
|
|
25
|
+
* @internal
|
|
17
26
|
*/
|
|
18
27
|
export declare function createGetFormSubmissionValues<TFormData extends FieldValues, TFormOutputs>(formMethods: UseFormReturn<TFormData, unknown, TFormOutputs>, schema: ZodTypeAny): () => TFormOutputs | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormSubmissionValues.js","sources":["../../../src/partner-hook-utils/form/getFormSubmissionValues.ts"],"sourcesContent":["import type { FieldValues, UseFormReturn } from 'react-hook-form'\nimport type { ZodTypeAny } from 'zod'\n\n/**\n * Creates a typed getter that returns the current form values parsed through\n * the Zod schema. The result matches what `handleSubmit` would provide to its\n * valid callback — all preprocessing transforms (e.g. string→boolean coercion)\n * are applied.\n *\n * Returns `undefined` when the current form state does not satisfy the schema\n * (e.g. required fields are empty, cross-field rules fail). This is safe to call\n * at any time — it never throws.\n *\n *
|
|
1
|
+
{"version":3,"file":"getFormSubmissionValues.js","sources":["../../../src/partner-hook-utils/form/getFormSubmissionValues.ts"],"sourcesContent":["import type { FieldValues, UseFormReturn } from 'react-hook-form'\nimport type { ZodTypeAny } from 'zod'\n\n/**\n * Creates a typed getter that returns the current form values parsed through\n * the Zod schema. The result matches what `handleSubmit` would provide to its\n * valid callback — all preprocessing transforms (e.g. string→boolean coercion)\n * are applied.\n *\n * Returns `undefined` when the current form state does not satisfy the schema\n * (e.g. required fields are empty, cross-field rules fail). This is safe to call\n * at any time — it never throws.\n *\n * @remarks\n * Side effects: none. `getValues()` is a synchronous read from react-hook-form's\n * internal store — it does not trigger re-renders, mutate form state, or update\n * validation errors. `safeParse()` is a pure validation/transform that creates\n * a new object without mutating the input.\n *\n * @typeParam TFormData - Shape of the raw form values managed by react-hook-form.\n * @typeParam TFormOutputs - Shape of the parsed/transformed values produced by the Zod schema.\n * @param formMethods - `useForm` return value the getter reads values from.\n * @param schema - Zod schema applied to validate and transform the current values.\n * @returns A zero-arg function returning the parsed values, or `undefined` when\n * the current form state fails validation.\n * @internal\n */\nexport function createGetFormSubmissionValues<TFormData extends FieldValues, TFormOutputs>(\n formMethods: UseFormReturn<TFormData, unknown, TFormOutputs>,\n schema: ZodTypeAny,\n): () => TFormOutputs | undefined {\n return () => {\n const result = schema.safeParse(formMethods.getValues())\n return result.success ? (result.data as TFormOutputs) : undefined\n }\n}\n"],"names":["createGetFormSubmissionValues","formMethods","schema","result"],"mappings":"AA2BO,SAASA,EACdC,GACAC,GACgC;AAChC,SAAO,MAAM;AACX,UAAMC,IAASD,EAAO,UAAUD,EAAY,WAAW;AACvD,WAAOE,EAAO,UAAWA,EAAO,OAAwB;AAAA,EAC1D;AACF;"}
|
|
@@ -6,12 +6,5 @@ export { FormFieldsMetadataProvider } from './FormFieldsMetadataProvider';
|
|
|
6
6
|
export { SDKFormProvider } from './SDKFormProvider';
|
|
7
7
|
export { useDeriveFieldsMetadata } from './useDeriveFieldsMetadata';
|
|
8
8
|
export { useFieldErrorMessage } from './useFieldErrorMessage';
|
|
9
|
-
export {
|
|
10
|
-
export { useHookFieldResolution } from './useHookFieldResolution';
|
|
11
|
-
export type { FormMode, RequiredFieldRule, RequiredFieldConfig, OptionalFieldsToRequire, FieldsMetadataConfig, BuildFormSchemaResult, } from './buildFormSchema';
|
|
12
|
-
export { composeSubmitHandler, type ComposeSubmitHandlerResult } from './composeSubmitHandler';
|
|
13
|
-
export { createGetFormSubmissionValues } from './getFormSubmissionValues';
|
|
14
|
-
export { useHookFormInternals } from './useHookFormInternals';
|
|
15
|
-
export { useFieldElementRegistry, type FieldElementRegistry, } from '../../components/Common/Fields/hooks/fieldElementRegistry';
|
|
16
|
-
export { FieldElementRegistryProvider } from '../../components/Common/Fields/hooks/FieldElementRegistryProvider';
|
|
9
|
+
export { composeSubmitHandler } from './composeSubmitHandler';
|
|
17
10
|
export { TextInputHookField, type TextInputHookFieldProps, SelectHookField, type SelectHookFieldProps, CheckboxHookField, type CheckboxHookFieldProps, NumberInputHookField, type NumberInputHookFieldProps, DatePickerHookField, type DatePickerHookFieldProps, RadioGroupHookField, type RadioGroupHookFieldProps, type TextInputProps, type SelectProps, type SelectOption, type CheckboxProps, type NumberInputProps, type DatePickerProps, type RadioGroupProps, type RadioGroupOption, SwitchHookField, type SwitchHookFieldProps, type SwitchProps, } from './fields';
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Builds a `z.preprocess` transform that replaces `null`, `undefined`, and `NaN`
|
|
3
|
+
* numeric input with the provided fallback before validation.
|
|
4
|
+
*
|
|
5
|
+
* @param fallback - Number substituted when the input is missing or `NaN`.
|
|
6
|
+
* @returns A preprocessor that returns `fallback` for empty/`NaN` input and
|
|
7
|
+
* passes other values through as `number`.
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
1
10
|
export declare function coerceNaN(fallback: number): (val: unknown) => number;
|
|
11
|
+
/**
|
|
12
|
+
* `z.preprocess` transform that normalizes date inputs to an ISO date string
|
|
13
|
+
* (`YYYY-MM-DD`) or `null`.
|
|
14
|
+
*
|
|
15
|
+
* @param val - Raw value from a date picker — a `Date`, ISO string, or empty.
|
|
16
|
+
* @returns The date portion of a `Date`'s ISO string, `null` for empty input,
|
|
17
|
+
* or the value cast to `string` otherwise.
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
2
20
|
export declare function coerceToISODate(val: unknown): string | null;
|
|
21
|
+
/**
|
|
22
|
+
* `z.preprocess` transform that converts the string values produced by radio
|
|
23
|
+
* groups (`'true'` / `'false'`) into booleans.
|
|
24
|
+
*
|
|
25
|
+
* @param val - Raw value from a form control — typically `'true'`, `'false'`,
|
|
26
|
+
* `boolean`, or `undefined`.
|
|
27
|
+
* @returns `true` for the string `'true'`, `false` for any other string,
|
|
28
|
+
* or the value passed through unchanged when not a string.
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
3
31
|
export declare function coerceStringBoolean(val: unknown): boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preprocessors.js","sources":["../../../src/partner-hook-utils/form/preprocessors.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"preprocessors.js","sources":["../../../src/partner-hook-utils/form/preprocessors.ts"],"sourcesContent":["/**\n * Builds a `z.preprocess` transform that replaces `null`, `undefined`, and `NaN`\n * numeric input with the provided fallback before validation.\n *\n * @param fallback - Number substituted when the input is missing or `NaN`.\n * @returns A preprocessor that returns `fallback` for empty/`NaN` input and\n * passes other values through as `number`.\n * @internal\n */\nexport function coerceNaN(fallback: number) {\n return (val: unknown): number => {\n if (val === undefined || val === null) return fallback\n if (typeof val === 'number' && Number.isNaN(val)) return fallback\n return val as number\n }\n}\n\n/**\n * `z.preprocess` transform that normalizes date inputs to an ISO date string\n * (`YYYY-MM-DD`) or `null`.\n *\n * @param val - Raw value from a date picker — a `Date`, ISO string, or empty.\n * @returns The date portion of a `Date`'s ISO string, `null` for empty input,\n * or the value cast to `string` otherwise.\n * @internal\n */\nexport function coerceToISODate(val: unknown): string | null {\n if (val instanceof Date) return val.toISOString().split('T')[0]!\n if (val === null || val === '' || val === undefined) return null\n return val as string\n}\n\n/**\n * `z.preprocess` transform that converts the string values produced by radio\n * groups (`'true'` / `'false'`) into booleans.\n *\n * @param val - Raw value from a form control — typically `'true'`, `'false'`,\n * `boolean`, or `undefined`.\n * @returns `true` for the string `'true'`, `false` for any other string,\n * or the value passed through unchanged when not a string.\n * @internal\n */\nexport function coerceStringBoolean(val: unknown): boolean | undefined {\n if (typeof val === 'string') return val === 'true'\n return val as boolean | undefined\n}\n"],"names":["coerceNaN","fallback","val","coerceToISODate","coerceStringBoolean"],"mappings":"AASO,SAASA,EAAUC,GAAkB;AAC1C,SAAO,CAACC,MACmBA,KAAQ,QAC7B,OAAOA,KAAQ,YAAY,OAAO,MAAMA,CAAG,IAAUD,IAClDC;AAEX;AAWO,SAASC,EAAgBD,GAA6B;AAC3D,SAAIA,aAAe,OAAaA,EAAI,cAAc,MAAM,GAAG,EAAE,CAAC,IAC1DA,MAAQ,QAAQA,MAAQ,MAAMA,MAAQ,SAAkB,OACrDA;AACT;AAYO,SAASE,EAAoBF,GAAmC;AACrE,SAAI,OAAOA,KAAQ,WAAiBA,MAAQ,SACrCA;AACT;"}
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import { FieldErrors } from 'react-hook-form';
|
|
2
2
|
import { ValidationMessages } from '../types';
|
|
3
3
|
import { SDKError } from '../../types/sdkError';
|
|
4
|
+
/**
|
|
5
|
+
* Resolves the display message for a single form field by combining
|
|
6
|
+
* client-side validation errors with field-scoped SDK errors.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* Client-side validation wins when the error code has a matching entry in
|
|
10
|
+
* `validationMessages`. Otherwise the first matching `fieldErrors` entry from
|
|
11
|
+
* `sdkErrors` is returned (field names are normalized so API-style keys like
|
|
12
|
+
* `home_address.street_1` match form-style keys like `homeAddress.street1`).
|
|
13
|
+
* Returns `undefined` when no error applies, so callers can fall back to the
|
|
14
|
+
* raw client-side error code if needed.
|
|
15
|
+
*
|
|
16
|
+
* @typeParam TErrorCode - Error codes the field is guaranteed to produce.
|
|
17
|
+
* @typeParam TOptionalErrorCode - Error codes that only apply in some configurations.
|
|
18
|
+
* @param fieldName - Form-field name (dot-notation supported for nested fields).
|
|
19
|
+
* @param formErrors - react-hook-form `formState.errors` for the form.
|
|
20
|
+
* @param sdkErrors - Normalized SDK errors aggregated by the hook.
|
|
21
|
+
* @param validationMessages - Map from error code to display string for
|
|
22
|
+
* client-side validation failures.
|
|
23
|
+
* @returns The resolved display message, or `undefined` when no error matches.
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
4
26
|
export declare function resolveFieldError<TErrorCode extends string, TOptionalErrorCode extends string = never>(fieldName: string, formErrors: FieldErrors, sdkErrors: SDKError[], validationMessages?: ValidationMessages<TErrorCode, TOptionalErrorCode>): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveFieldError.js","sources":["../../../src/partner-hook-utils/form/resolveFieldError.ts"],"sourcesContent":["import type { FieldErrors } from 'react-hook-form'\nimport { get } from 'react-hook-form'\nimport type { ValidationMessages } from '../types'\nimport { normalizeErrorKeyForForm } from '@/helpers/formattedStrings'\nimport type { SDKError } from '@/types/sdkError'\n\nexport function resolveFieldError<\n TErrorCode extends string,\n TOptionalErrorCode extends string = never,\n>(\n fieldName: string,\n formErrors: FieldErrors,\n sdkErrors: SDKError[],\n validationMessages?: ValidationMessages<TErrorCode, TOptionalErrorCode>,\n): string | undefined {\n const fieldError = get(formErrors, fieldName) as { message?: string } | undefined\n const errorCode = fieldError?.message as TErrorCode | undefined\n if (errorCode && validationMessages?.[errorCode]) {\n return validationMessages[errorCode]\n }\n\n for (const sdkError of sdkErrors) {\n const sdkFieldError = sdkError.fieldErrors.find(\n fe => normalizeErrorKeyForForm(fe.field) === fieldName,\n )\n if (sdkFieldError?.message) return sdkFieldError.message\n }\n\n return undefined\n}\n"],"names":["resolveFieldError","fieldName","formErrors","sdkErrors","validationMessages","errorCode","get","sdkError","sdkFieldError","fe","normalizeErrorKeyForForm"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"resolveFieldError.js","sources":["../../../src/partner-hook-utils/form/resolveFieldError.ts"],"sourcesContent":["import type { FieldErrors } from 'react-hook-form'\nimport { get } from 'react-hook-form'\nimport type { ValidationMessages } from '../types'\nimport { normalizeErrorKeyForForm } from '@/helpers/formattedStrings'\nimport type { SDKError } from '@/types/sdkError'\n\n/**\n * Resolves the display message for a single form field by combining\n * client-side validation errors with field-scoped SDK errors.\n *\n * @remarks\n * Client-side validation wins when the error code has a matching entry in\n * `validationMessages`. Otherwise the first matching `fieldErrors` entry from\n * `sdkErrors` is returned (field names are normalized so API-style keys like\n * `home_address.street_1` match form-style keys like `homeAddress.street1`).\n * Returns `undefined` when no error applies, so callers can fall back to the\n * raw client-side error code if needed.\n *\n * @typeParam TErrorCode - Error codes the field is guaranteed to produce.\n * @typeParam TOptionalErrorCode - Error codes that only apply in some configurations.\n * @param fieldName - Form-field name (dot-notation supported for nested fields).\n * @param formErrors - react-hook-form `formState.errors` for the form.\n * @param sdkErrors - Normalized SDK errors aggregated by the hook.\n * @param validationMessages - Map from error code to display string for\n * client-side validation failures.\n * @returns The resolved display message, or `undefined` when no error matches.\n * @internal\n */\nexport function resolveFieldError<\n TErrorCode extends string,\n TOptionalErrorCode extends string = never,\n>(\n fieldName: string,\n formErrors: FieldErrors,\n sdkErrors: SDKError[],\n validationMessages?: ValidationMessages<TErrorCode, TOptionalErrorCode>,\n): string | undefined {\n const fieldError = get(formErrors, fieldName) as { message?: string } | undefined\n const errorCode = fieldError?.message as TErrorCode | undefined\n if (errorCode && validationMessages?.[errorCode]) {\n return validationMessages[errorCode]\n }\n\n for (const sdkError of sdkErrors) {\n const sdkFieldError = sdkError.fieldErrors.find(\n fe => normalizeErrorKeyForForm(fe.field) === fieldName,\n )\n if (sdkFieldError?.message) return sdkFieldError.message\n }\n\n return undefined\n}\n"],"names":["resolveFieldError","fieldName","formErrors","sdkErrors","validationMessages","errorCode","get","sdkError","sdkFieldError","fe","normalizeErrorKeyForForm"],"mappings":";;AA4BO,SAASA,EAIdC,GACAC,GACAC,GACAC,GACoB;AAEpB,QAAMC,IADaC,EAAIJ,GAAYD,CAAS,GACd;AAC9B,MAAII,KAAaD,IAAqBC,CAAS;AAC7C,WAAOD,EAAmBC,CAAS;AAGrC,aAAWE,KAAYJ,GAAW;AAChC,UAAMK,IAAgBD,EAAS,YAAY;AAAA,MACzC,CAAAE,MAAMC,EAAyBD,EAAG,KAAK,MAAMR;AAAA,IAAA;AAE/C,QAAIO,GAAe,QAAS,QAAOA,EAAc;AAAA,EACnD;AAGF;"}
|
|
@@ -3,15 +3,25 @@ import { z } from 'zod';
|
|
|
3
3
|
import { FieldMetadata } from '../types';
|
|
4
4
|
import { FieldsMetadataConfig } from './buildFormSchema';
|
|
5
5
|
/**
|
|
6
|
-
* Resolves dynamic field metadata (e.g. `isRequired` driven by predicate
|
|
7
|
-
* rules) by
|
|
6
|
+
* Resolves dynamic per-field metadata (e.g. `isRequired` driven by predicate
|
|
7
|
+
* rules) by subscribing only to the form fields the predicates actually read.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* The companion schema builder records predicate dependencies via a recording
|
|
11
|
+
* Proxy and exposes them on the config as `predicateDeps`. This hook subscribes
|
|
12
|
+
* to only those fields, so typing into unrelated inputs does not trigger
|
|
13
|
+
* re-renders — preserving react-hook-form's per-field rendering optimization.
|
|
13
14
|
*
|
|
14
15
|
* When no predicates exist (`predicateDeps` is empty), the hook skips
|
|
15
|
-
*
|
|
16
|
+
* subscribing entirely and returns static metadata derived once per render.
|
|
17
|
+
*
|
|
18
|
+
* @typeParam T - Map of field name to Zod validator, mirroring the schema config.
|
|
19
|
+
* @typeParam TFormData - Shape of the form values managed by react-hook-form.
|
|
20
|
+
* @param metadataConfig - Metadata config produced alongside the form schema,
|
|
21
|
+
* carrying both the resolver function and the predicate dependency list.
|
|
22
|
+
* @param control - react-hook-form `control` returned by `useForm`.
|
|
23
|
+
* @returns A map from field name to {@link FieldMetadata}, recomputed whenever
|
|
24
|
+
* a watched dependency changes.
|
|
25
|
+
* @internal
|
|
16
26
|
*/
|
|
17
27
|
export declare function useDeriveFieldsMetadata<T extends Record<string, z.ZodType>, TFormData extends FieldValues = FieldValues>(metadataConfig: FieldsMetadataConfig<T>, control: Control<TFormData>): Record<keyof T, FieldMetadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeriveFieldsMetadata.js","sources":["../../../src/partner-hook-utils/form/useDeriveFieldsMetadata.ts"],"sourcesContent":["import { useMemo } from 'react'\nimport type { Control, FieldPath, FieldValues } from 'react-hook-form'\nimport { useWatch } from 'react-hook-form'\nimport type { z } from 'zod'\nimport type { FieldMetadata } from '../types'\nimport type { FieldsMetadataConfig } from './buildFormSchema'\n\n/**\n * Resolves dynamic field metadata (e.g. `isRequired` driven by predicate\n * rules) by
|
|
1
|
+
{"version":3,"file":"useDeriveFieldsMetadata.js","sources":["../../../src/partner-hook-utils/form/useDeriveFieldsMetadata.ts"],"sourcesContent":["import { useMemo } from 'react'\nimport type { Control, FieldPath, FieldValues } from 'react-hook-form'\nimport { useWatch } from 'react-hook-form'\nimport type { z } from 'zod'\nimport type { FieldMetadata } from '../types'\nimport type { FieldsMetadataConfig } from './buildFormSchema'\n\n/**\n * Resolves dynamic per-field metadata (e.g. `isRequired` driven by predicate\n * rules) by subscribing only to the form fields the predicates actually read.\n *\n * @remarks\n * The companion schema builder records predicate dependencies via a recording\n * Proxy and exposes them on the config as `predicateDeps`. This hook subscribes\n * to only those fields, so typing into unrelated inputs does not trigger\n * re-renders — preserving react-hook-form's per-field rendering optimization.\n *\n * When no predicates exist (`predicateDeps` is empty), the hook skips\n * subscribing entirely and returns static metadata derived once per render.\n *\n * @typeParam T - Map of field name to Zod validator, mirroring the schema config.\n * @typeParam TFormData - Shape of the form values managed by react-hook-form.\n * @param metadataConfig - Metadata config produced alongside the form schema,\n * carrying both the resolver function and the predicate dependency list.\n * @param control - react-hook-form `control` returned by `useForm`.\n * @returns A map from field name to {@link FieldMetadata}, recomputed whenever\n * a watched dependency changes.\n * @internal\n */\nexport function useDeriveFieldsMetadata<\n T extends Record<string, z.ZodType>,\n TFormData extends FieldValues = FieldValues,\n>(\n metadataConfig: FieldsMetadataConfig<T>,\n control: Control<TFormData>,\n): Record<keyof T, FieldMetadata> {\n const { predicateDeps } = metadataConfig\n const hasDeps = predicateDeps.length > 0\n\n const watchedValues = useWatch({\n control,\n name: hasDeps ? (predicateDeps as FieldPath<TFormData>[]) : ([] as never[]),\n disabled: !hasDeps,\n })\n\n return useMemo(() => {\n if (!hasDeps) {\n return metadataConfig.getFieldsMetadata()\n }\n\n const data: Record<string, unknown> = {}\n for (let i = 0; i < predicateDeps.length; i++) {\n data[predicateDeps[i]!] = (watchedValues as unknown[])[i]\n }\n return metadataConfig.getFieldsMetadata(data)\n }, [metadataConfig, hasDeps, predicateDeps, watchedValues])\n}\n"],"names":["useDeriveFieldsMetadata","metadataConfig","control","predicateDeps","hasDeps","watchedValues","useWatch","useMemo","data","i"],"mappings":";;AA6BO,SAASA,EAIdC,GACAC,GACgC;AAChC,QAAM,EAAE,eAAAC,MAAkBF,GACpBG,IAAUD,EAAc,SAAS,GAEjCE,IAAgBC,EAAS;AAAA,IAC7B,SAAAJ;AAAA,IACA,MAAME,IAAWD,IAA4C,CAAA;AAAA,IAC7D,UAAU,CAACC;AAAA,EAAA,CACZ;AAED,SAAOG,EAAQ,MAAM;AACnB,QAAI,CAACH;AACH,aAAOH,EAAe,kBAAA;AAGxB,UAAMO,IAAgC,CAAA;AACtC,aAASC,IAAI,GAAGA,IAAIN,EAAc,QAAQM;AACxC,MAAAD,EAAKL,EAAcM,CAAC,CAAE,IAAKJ,EAA4BI,CAAC;AAE1D,WAAOR,EAAe,kBAAkBO,CAAI;AAAA,EAC9C,GAAG,CAACP,GAAgBG,GAASD,GAAeE,CAAa,CAAC;AAC5D;"}
|
|
@@ -1,2 +1,41 @@
|
|
|
1
1
|
import { ValidationMessages } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Resolves the display string for a field's current error from either client-side validation or server-side `SDKError`s.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Use inside a custom field component rendered under a form hook's
|
|
7
|
+
* provider to surface the same error message the built-in `Fields` would
|
|
8
|
+
* render. Looks up the field's error in this order:
|
|
9
|
+
*
|
|
10
|
+
* 1. The react-hook-form error for `fieldName`. If its message matches a
|
|
11
|
+
* key in `validationMessages`, returns that mapped string.
|
|
12
|
+
* 2. Any matching field-level error attached to a server-side error
|
|
13
|
+
* available on the form provider.
|
|
14
|
+
* 3. `undefined` when no error applies.
|
|
15
|
+
*
|
|
16
|
+
* Must be called from a component rendered inside the form hook's
|
|
17
|
+
* `FormProvider`.
|
|
18
|
+
*
|
|
19
|
+
* @typeParam TErrorCode - Error codes the field can produce; each key in `validationMessages` maps a code to its display string.
|
|
20
|
+
* @param fieldName - Name of the field as registered with react-hook-form.
|
|
21
|
+
* @param validationMessages - Map of validation error codes to display strings. When omitted, only server-side errors are returned.
|
|
22
|
+
* @returns The display message for the field's current error, or `undefined` when the field is valid.
|
|
23
|
+
* @internal
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* function StreetAddressField() {
|
|
28
|
+
* const errorMessage = useFieldErrorMessage('street1', {
|
|
29
|
+
* REQUIRED: 'Street address is required',
|
|
30
|
+
* })
|
|
31
|
+
* return (
|
|
32
|
+
* <label>
|
|
33
|
+
* Street
|
|
34
|
+
* <input name="street1" aria-invalid={errorMessage ? true : undefined} />
|
|
35
|
+
* {errorMessage ? <span role="alert">{errorMessage}</span> : null}
|
|
36
|
+
* </label>
|
|
37
|
+
* )
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
2
41
|
export declare function useFieldErrorMessage<TErrorCode extends string>(fieldName: string, validationMessages?: ValidationMessages<TErrorCode>): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFieldErrorMessage.js","sources":["../../../src/partner-hook-utils/form/useFieldErrorMessage.ts"],"sourcesContent":["import { useFormContext, get } from 'react-hook-form'\nimport type { ValidationMessages } from '../types'\nimport { useFormFieldsMetadataContext } from './FormFieldsMetadataContext'\nimport { normalizeErrorKeyForForm } from '@/helpers/formattedStrings'\n\nexport function useFieldErrorMessage<TErrorCode extends string>(\n fieldName: string,\n validationMessages?: ValidationMessages<TErrorCode>,\n): string | undefined {\n const {\n formState: { errors },\n } = useFormContext()\n const context = useFormFieldsMetadataContext()\n const sdkErrors = context?.errors ?? []\n\n const fieldError = get(errors, fieldName) as { message?: string } | undefined\n const errorCode = fieldError?.message as TErrorCode | undefined\n if (errorCode && validationMessages?.[errorCode]) {\n return validationMessages[errorCode]\n }\n\n for (const sdkError of sdkErrors) {\n const sdkFieldError = sdkError.fieldErrors.find(\n fe => normalizeErrorKeyForForm(fe.field) === fieldName,\n )\n if (sdkFieldError?.message) return sdkFieldError.message\n }\n\n return undefined\n}\n"],"names":["useFieldErrorMessage","fieldName","validationMessages","errors","useFormContext","sdkErrors","useFormFieldsMetadataContext","errorCode","get","sdkError","sdkFieldError","fe","normalizeErrorKeyForForm"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"useFieldErrorMessage.js","sources":["../../../src/partner-hook-utils/form/useFieldErrorMessage.ts"],"sourcesContent":["import { useFormContext, get } from 'react-hook-form'\nimport type { ValidationMessages } from '../types'\nimport { useFormFieldsMetadataContext } from './FormFieldsMetadataContext'\nimport { normalizeErrorKeyForForm } from '@/helpers/formattedStrings'\n\n/**\n * Resolves the display string for a field's current error from either client-side validation or server-side `SDKError`s.\n *\n * @remarks\n * Use inside a custom field component rendered under a form hook's\n * provider to surface the same error message the built-in `Fields` would\n * render. Looks up the field's error in this order:\n *\n * 1. The react-hook-form error for `fieldName`. If its message matches a\n * key in `validationMessages`, returns that mapped string.\n * 2. Any matching field-level error attached to a server-side error\n * available on the form provider.\n * 3. `undefined` when no error applies.\n *\n * Must be called from a component rendered inside the form hook's\n * `FormProvider`.\n *\n * @typeParam TErrorCode - Error codes the field can produce; each key in `validationMessages` maps a code to its display string.\n * @param fieldName - Name of the field as registered with react-hook-form.\n * @param validationMessages - Map of validation error codes to display strings. When omitted, only server-side errors are returned.\n * @returns The display message for the field's current error, or `undefined` when the field is valid.\n * @internal\n *\n * @example\n * ```tsx\n * function StreetAddressField() {\n * const errorMessage = useFieldErrorMessage('street1', {\n * REQUIRED: 'Street address is required',\n * })\n * return (\n * <label>\n * Street\n * <input name=\"street1\" aria-invalid={errorMessage ? true : undefined} />\n * {errorMessage ? <span role=\"alert\">{errorMessage}</span> : null}\n * </label>\n * )\n * }\n * ```\n */\nexport function useFieldErrorMessage<TErrorCode extends string>(\n fieldName: string,\n validationMessages?: ValidationMessages<TErrorCode>,\n): string | undefined {\n const {\n formState: { errors },\n } = useFormContext()\n const context = useFormFieldsMetadataContext()\n const sdkErrors = context?.errors ?? []\n\n const fieldError = get(errors, fieldName) as { message?: string } | undefined\n const errorCode = fieldError?.message as TErrorCode | undefined\n if (errorCode && validationMessages?.[errorCode]) {\n return validationMessages[errorCode]\n }\n\n for (const sdkError of sdkErrors) {\n const sdkFieldError = sdkError.fieldErrors.find(\n fe => normalizeErrorKeyForForm(fe.field) === fieldName,\n )\n if (sdkFieldError?.message) return sdkFieldError.message\n }\n\n return undefined\n}\n"],"names":["useFieldErrorMessage","fieldName","validationMessages","errors","useFormContext","sdkErrors","useFormFieldsMetadataContext","errorCode","get","sdkError","sdkFieldError","fe","normalizeErrorKeyForForm"],"mappings":";;;AA4CO,SAASA,EACdC,GACAC,GACoB;AACpB,QAAM;AAAA,IACJ,WAAW,EAAE,QAAAC,EAAA;AAAA,EAAO,IAClBC,EAAA,GAEEC,IADUC,EAAA,GACW,UAAU,CAAA,GAG/BC,IADaC,EAAIL,GAAQF,CAAS,GACV;AAC9B,MAAIM,KAAaL,IAAqBK,CAAS;AAC7C,WAAOL,EAAmBK,CAAS;AAGrC,aAAWE,KAAYJ,GAAW;AAChC,UAAMK,IAAgBD,EAAS,YAAY;AAAA,MACzC,CAAAE,MAAMC,EAAyBD,EAAG,KAAK,MAAMV;AAAA,IAAA;AAE/C,QAAIS,GAAe,QAAS,QAAOA,EAAc;AAAA,EACnD;AAGF;"}
|
|
@@ -8,9 +8,9 @@ interface HookFieldResolution {
|
|
|
8
8
|
fieldElementRegistry: FieldElementRegistry | undefined;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* Resolves all data a HookField needs from either a `formHookResult` prop or
|
|
12
|
-
* the standard context providers (FormProvider + FormFieldsMetadataProvider).
|
|
11
|
+
* Resolves all data a HookField needs from either a `formHookResult` prop or the standard context providers (FormProvider + FormFieldsMetadataProvider).
|
|
13
12
|
*
|
|
13
|
+
* @remarks
|
|
14
14
|
* When `formHookResult` is provided, metadata/errors/control/registry are read
|
|
15
15
|
* from the prop — no context providers required. When absent, falls back to
|
|
16
16
|
* the existing context-based path.
|
|
@@ -24,6 +24,14 @@ interface HookFieldResolution {
|
|
|
24
24
|
* self-publish the registry via `withFieldElementRegistry`. In the
|
|
25
25
|
* `SDKFormProvider` path the wrap is a no-op (no registry on the prop) and the
|
|
26
26
|
* outer provider's registry remains in scope.
|
|
27
|
+
*
|
|
28
|
+
* @typeParam TErrorCode - Required error codes the field can produce.
|
|
29
|
+
* @typeParam TOptionalErrorCode - Optional error codes that only apply in some configurations.
|
|
30
|
+
* @param name - Form-field name to resolve metadata, errors, and control for.
|
|
31
|
+
* @param formHookResult - Form hook result passed via the `formHookResult` prop, or `undefined` to read from context.
|
|
32
|
+
* @param validationMessages - Map of error codes to display strings, forwarded to error resolution.
|
|
33
|
+
* @returns The metadata entry, RHF `control`, resolved error message, and field element registry for this field.
|
|
34
|
+
* @internal
|
|
27
35
|
*/
|
|
28
36
|
export declare function useHookFieldResolution<TErrorCode extends string, TOptionalErrorCode extends string = never>(name: string, formHookResult: FormHookResult | undefined, validationMessages?: ValidationMessages<TErrorCode, TOptionalErrorCode>): HookFieldResolution;
|
|
29
37
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHookFieldResolution.js","sources":["../../../src/partner-hook-utils/form/useHookFieldResolution.ts"],"sourcesContent":["import type { Control } from 'react-hook-form'\nimport { useFormState } from 'react-hook-form'\nimport type { FieldsMetadata, ValidationMessages, FormHookResult } from '../types'\nimport { useFormFieldsMetadataContext } from './FormFieldsMetadataContext'\nimport { resolveFieldError } from './resolveFieldError'\nimport type { FieldElementRegistry } from '@/components/Common/Fields/hooks/fieldElementRegistry'\n\ninterface HookFieldResolution {\n metadata: FieldsMetadata\n control: Control | undefined\n errorMessage: string | undefined\n fieldElementRegistry: FieldElementRegistry | undefined\n}\n\n/**\n * Resolves all data a HookField needs from either a `formHookResult` prop or
|
|
1
|
+
{"version":3,"file":"useHookFieldResolution.js","sources":["../../../src/partner-hook-utils/form/useHookFieldResolution.ts"],"sourcesContent":["import type { Control } from 'react-hook-form'\nimport { useFormState } from 'react-hook-form'\nimport type { FieldsMetadata, ValidationMessages, FormHookResult } from '../types'\nimport { useFormFieldsMetadataContext } from './FormFieldsMetadataContext'\nimport { resolveFieldError } from './resolveFieldError'\nimport type { FieldElementRegistry } from '@/components/Common/Fields/hooks/fieldElementRegistry'\n\ninterface HookFieldResolution {\n metadata: FieldsMetadata\n control: Control | undefined\n errorMessage: string | undefined\n fieldElementRegistry: FieldElementRegistry | undefined\n}\n\n/**\n * Resolves all data a HookField needs from either a `formHookResult` prop or the standard context providers (FormProvider + FormFieldsMetadataProvider).\n *\n * @remarks\n * When `formHookResult` is provided, metadata/errors/control/registry are read\n * from the prop — no context providers required. When absent, falls back to\n * the existing context-based path.\n *\n * Uses `useFormState` to establish a proper RHF subscription for error updates.\n * When `control` is provided (prop path), useFormState subscribes directly via\n * the control object. When absent (context path), it falls back to useFormContext\n * internally. The `name` parameter scopes the subscription to this field.\n *\n * `fieldElementRegistry` is forwarded so HookFields in the prop-based path can\n * self-publish the registry via `withFieldElementRegistry`. In the\n * `SDKFormProvider` path the wrap is a no-op (no registry on the prop) and the\n * outer provider's registry remains in scope.\n *\n * @typeParam TErrorCode - Required error codes the field can produce.\n * @typeParam TOptionalErrorCode - Optional error codes that only apply in some configurations.\n * @param name - Form-field name to resolve metadata, errors, and control for.\n * @param formHookResult - Form hook result passed via the `formHookResult` prop, or `undefined` to read from context.\n * @param validationMessages - Map of error codes to display strings, forwarded to error resolution.\n * @returns The metadata entry, RHF `control`, resolved error message, and field element registry for this field.\n * @internal\n */\nexport function useHookFieldResolution<\n TErrorCode extends string,\n TOptionalErrorCode extends string = never,\n>(\n name: string,\n formHookResult: FormHookResult | undefined,\n validationMessages?: ValidationMessages<TErrorCode, TOptionalErrorCode>,\n): HookFieldResolution {\n const metadataContext = useFormFieldsMetadataContext()\n\n const metadata = formHookResult?.form.fieldsMetadata ?? metadataContext?.metadata ?? {}\n\n const control = formHookResult?.form.hookFormInternals.formMethods.control as Control | undefined\n\n const { errors: formErrors } = useFormState({ control, name })\n\n const sdkErrors = formHookResult\n ? formHookResult.errorHandling.errors\n : (metadataContext?.errors ?? [])\n\n const errorMessage = resolveFieldError(name, formErrors, sdkErrors, validationMessages)\n\n const fieldElementRegistry = formHookResult?.form.hookFormInternals._fieldElementRegistry\n\n return { metadata, control, errorMessage, fieldElementRegistry }\n}\n"],"names":["useHookFieldResolution","name","formHookResult","validationMessages","metadataContext","useFormFieldsMetadataContext","metadata","control","formErrors","useFormState","sdkErrors","errorMessage","resolveFieldError","fieldElementRegistry"],"mappings":";;;AAwCO,SAASA,EAIdC,GACAC,GACAC,GACqB;AACrB,QAAMC,IAAkBC,EAAA,GAElBC,IAAWJ,GAAgB,KAAK,kBAAkBE,GAAiB,YAAY,CAAA,GAE/EG,IAAUL,GAAgB,KAAK,kBAAkB,YAAY,SAE7D,EAAE,QAAQM,EAAA,IAAeC,EAAa,EAAE,SAAAF,GAAS,MAAAN,GAAM,GAEvDS,IAAYR,IACdA,EAAe,cAAc,SAC5BE,GAAiB,UAAU,CAAA,GAE1BO,IAAeC,EAAkBX,GAAMO,GAAYE,GAAWP,CAAkB,GAEhFU,IAAuBX,GAAgB,KAAK,kBAAkB;AAEpE,SAAO,EAAE,UAAAI,GAAU,SAAAC,GAAS,cAAAI,GAAc,sBAAAE,EAAA;AAC5C;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
2
2
|
import { HookFormInternals } from '../types';
|
|
3
3
|
/**
|
|
4
|
-
* Builds the `hookFormInternals` object every SDK form hook returns.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Builds the `hookFormInternals` object every SDK form hook returns.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Creates a per-form `FieldElementRegistry` (populated by `useField` via
|
|
8
|
+
* context) so `composeSubmitHandler` can resolve the visually first invalid
|
|
9
|
+
* field across multiple composed forms.
|
|
8
10
|
*
|
|
9
11
|
* Call once per `useForm()` inside each form hook and spread/return directly:
|
|
10
12
|
*
|
|
@@ -18,5 +20,10 @@ import { HookFormInternals } from '../types';
|
|
|
18
20
|
* },
|
|
19
21
|
* }
|
|
20
22
|
* ```
|
|
23
|
+
*
|
|
24
|
+
* @typeParam TFormData - Shape of the form values managed by react-hook-form.
|
|
25
|
+
* @param formMethods - Return value from a `useForm<TFormData>()` call inside the hook.
|
|
26
|
+
* @returns The `hookFormInternals` object exposing `formMethods` and the per-form `FieldElementRegistry`.
|
|
27
|
+
* @internal
|
|
21
28
|
*/
|
|
22
29
|
export declare function useHookFormInternals<TFormData extends FieldValues>(formMethods: UseFormReturn<TFormData>): HookFormInternals<TFormData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHookFormInternals.js","sources":["../../../src/partner-hook-utils/form/useHookFormInternals.ts"],"sourcesContent":["import type { FieldValues, UseFormReturn } from 'react-hook-form'\nimport type { HookFormInternals } from '../types'\nimport { useFieldElementRegistry } from '@/components/Common/Fields/hooks/fieldElementRegistry'\n\n/**\n * Builds the `hookFormInternals` object every SDK form hook returns
|
|
1
|
+
{"version":3,"file":"useHookFormInternals.js","sources":["../../../src/partner-hook-utils/form/useHookFormInternals.ts"],"sourcesContent":["import type { FieldValues, UseFormReturn } from 'react-hook-form'\nimport type { HookFormInternals } from '../types'\nimport { useFieldElementRegistry } from '@/components/Common/Fields/hooks/fieldElementRegistry'\n\n/**\n * Builds the `hookFormInternals` object every SDK form hook returns.\n *\n * @remarks\n * Creates a per-form `FieldElementRegistry` (populated by `useField` via\n * context) so `composeSubmitHandler` can resolve the visually first invalid\n * field across multiple composed forms.\n *\n * Call once per `useForm()` inside each form hook and spread/return directly:\n *\n * ```ts\n * const formMethods = useForm<MyForm>({ ... })\n * return {\n * ...\n * form: {\n * ...,\n * hookFormInternals: useHookFormInternals(formMethods),\n * },\n * }\n * ```\n *\n * @typeParam TFormData - Shape of the form values managed by react-hook-form.\n * @param formMethods - Return value from a `useForm<TFormData>()` call inside the hook.\n * @returns The `hookFormInternals` object exposing `formMethods` and the per-form `FieldElementRegistry`.\n * @internal\n */\nexport function useHookFormInternals<TFormData extends FieldValues>(\n formMethods: UseFormReturn<TFormData>,\n): HookFormInternals<TFormData> {\n const fieldElementRegistry = useFieldElementRegistry()\n return {\n formMethods,\n _fieldElementRegistry: fieldElementRegistry,\n }\n}\n"],"names":["useHookFormInternals","formMethods","fieldElementRegistry","useFieldElementRegistry"],"mappings":";AA8BO,SAASA,EACdC,GAC8B;AAC9B,QAAMC,IAAuBC,EAAA;AAC7B,SAAO;AAAA,IACL,aAAAF;AAAA,IACA,uBAAuBC;AAAA,EAAA;AAE3B;"}
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import { FieldMetadata, FieldMetadataWithOptions } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Extends a {@link FieldMetadata} entry with the option list used to render a select-like field.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Use when building the `fieldsMetadata` returned by a custom form hook to
|
|
7
|
+
* attach `label`/`value` pairs (and optionally the raw underlying records) to
|
|
8
|
+
* a field's metadata entry. Hook field components for select-like inputs read
|
|
9
|
+
* `options` and, when present, `entries` off the resulting
|
|
10
|
+
* {@link FieldMetadataWithOptions}.
|
|
11
|
+
*
|
|
12
|
+
* @typeParam TEntry - Shape of the underlying records that produced `options`.
|
|
13
|
+
* @param base - The existing field metadata entry to extend.
|
|
14
|
+
* @param options - Display options as `label`/`value` pairs to render in the field.
|
|
15
|
+
* @param entries - Optional raw records the options were derived from, exposed alongside `options` for callers that need additional attributes.
|
|
16
|
+
* @returns A {@link FieldMetadataWithOptions} carrying the original metadata plus `options` and, when supplied, `entries`.
|
|
17
|
+
* @internal
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const typeOptions = PAYMENT_METHOD_TYPES.map(value => ({ value, label: value }))
|
|
22
|
+
* const fieldsMetadata = {
|
|
23
|
+
* type: withOptions(baseMetadata.type, typeOptions, [...PAYMENT_METHOD_TYPES]),
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
2
27
|
export declare function withOptions<TEntry = unknown>(base: FieldMetadata, options: Array<{
|
|
3
28
|
label: string;
|
|
4
29
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withOptions.js","sources":["../../../src/partner-hook-utils/form/withOptions.ts"],"sourcesContent":["import type { FieldMetadata, FieldMetadataWithOptions } from '../types'\n\nexport function withOptions<TEntry = unknown>(\n base: FieldMetadata,\n options: Array<{ label: string; value: string }>,\n entries?: readonly TEntry[],\n): FieldMetadataWithOptions<TEntry> {\n if (entries !== undefined) {\n return { ...base, options, entries }\n }\n return { ...base, options }\n}\n"],"names":["withOptions","base","options","entries"],"mappings":"
|
|
1
|
+
{"version":3,"file":"withOptions.js","sources":["../../../src/partner-hook-utils/form/withOptions.ts"],"sourcesContent":["import type { FieldMetadata, FieldMetadataWithOptions } from '../types'\n\n/**\n * Extends a {@link FieldMetadata} entry with the option list used to render a select-like field.\n *\n * @remarks\n * Use when building the `fieldsMetadata` returned by a custom form hook to\n * attach `label`/`value` pairs (and optionally the raw underlying records) to\n * a field's metadata entry. Hook field components for select-like inputs read\n * `options` and, when present, `entries` off the resulting\n * {@link FieldMetadataWithOptions}.\n *\n * @typeParam TEntry - Shape of the underlying records that produced `options`.\n * @param base - The existing field metadata entry to extend.\n * @param options - Display options as `label`/`value` pairs to render in the field.\n * @param entries - Optional raw records the options were derived from, exposed alongside `options` for callers that need additional attributes.\n * @returns A {@link FieldMetadataWithOptions} carrying the original metadata plus `options` and, when supplied, `entries`.\n * @internal\n *\n * @example\n * ```ts\n * const typeOptions = PAYMENT_METHOD_TYPES.map(value => ({ value, label: value }))\n * const fieldsMetadata = {\n * type: withOptions(baseMetadata.type, typeOptions, [...PAYMENT_METHOD_TYPES]),\n * }\n * ```\n */\nexport function withOptions<TEntry = unknown>(\n base: FieldMetadata,\n options: Array<{ label: string; value: string }>,\n entries?: readonly TEntry[],\n): FieldMetadataWithOptions<TEntry> {\n if (entries !== undefined) {\n return { ...base, options, entries }\n }\n return { ...base, options }\n}\n"],"names":["withOptions","base","options","entries"],"mappings":"AA2BO,SAASA,EACdC,GACAC,GACAC,GACkC;AAClC,SAAIA,MAAY,SACP,EAAE,GAAGF,GAAM,SAAAC,GAAS,SAAAC,EAAA,IAEtB,EAAE,GAAGF,GAAM,SAAAC,EAAA;AACpB;"}
|