@gusto/embedded-react-sdk 0.46.3 → 0.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +67 -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 +2 -1
- package/dist/components/Common/ActionsLayout/ActionsLayout.js.map +1 -1
- package/dist/components/Common/Alert/Alert.d.ts +3 -1
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +3 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +3 -1
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +3 -1
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +4 -0
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/DataView/useSelectionState.d.ts +1 -0
- package/dist/components/Common/DataView/useSelectionState.js.map +1 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +2 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -1
- package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -1
- package/dist/components/Common/DetailViewLayout/DetailViewLayout.js.map +1 -1
- package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +1 -0
- package/dist/components/Common/DocumentList/DocumentList.d.ts +7 -1
- package/dist/components/Common/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +2 -1
- package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.d.ts +2 -1
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
- package/dist/components/Common/FadeIn/FadeIn.d.ts +1 -0
- package/dist/components/Common/FadeIn/FadeIn.js.map +1 -1
- package/dist/components/Common/FieldCaption/FieldCaption.d.ts +8 -0
- package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
- package/dist/components/Common/FieldDescription/FieldDescription.d.ts +5 -0
- package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -1
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.d.ts +6 -1
- package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.js.map +1 -1
- package/dist/components/Common/FieldLayout/FieldLayout.d.ts +5 -0
- package/dist/components/Common/FieldLayout/FieldLayout.js.map +1 -1
- package/dist/components/Common/FieldLayout/FieldLayoutTypes.d.ts +15 -0
- 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/Fieldset/Fieldset.d.ts +2 -0
- package/dist/components/Common/Fieldset/Fieldset.js.map +1 -1
- package/dist/components/Common/Flex/Flex.d.ts +6 -2
- package/dist/components/Common/Flex/Flex.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.d.ts +21 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +33 -7
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +16 -0
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
- package/dist/components/Common/Form/Form.d.ts +3 -1
- package/dist/components/Common/Form/Form.js.map +1 -1
- package/dist/components/Common/Grid/Grid.d.ts +3 -1
- package/dist/components/Common/Grid/Grid.js.map +1 -1
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.d.ts +8 -1
- package/dist/components/Common/HamburgerMenu/HamburgerMenu.js.map +1 -1
- package/dist/components/Common/HamburgerMenu/HamburgerMenuTypes.d.ts +11 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.d.ts +7 -0
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js.map +1 -1
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +14 -0
- package/dist/components/Common/InlineSpinner/InlineSpinner.d.ts +2 -1
- package/dist/components/Common/InlineSpinner/InlineSpinner.js.map +1 -1
- package/dist/components/Common/InternalError/InternalError.d.ts +2 -1
- package/dist/components/Common/InternalError/InternalError.js.map +1 -1
- package/dist/components/Common/Loading/Loading.d.ts +3 -1
- package/dist/components/Common/Loading/Loading.js.map +1 -1
- package/dist/components/Common/OnboardingStatusBadge/index.d.ts +8 -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/DropZone.d.ts +1 -0
- package/dist/components/Common/ReorderableList/DropZone.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableItem.d.ts +1 -3
- package/dist/components/Common/ReorderableList/ReorderableItem.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableList.d.ts +2 -1
- package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableListTypes.d.ts +4 -0
- package/dist/components/Common/ReorderableList/constants.d.ts +1 -3
- package/dist/components/Common/ReorderableList/constants.js.map +1 -1
- package/dist/components/Common/RequirementsList/RequirementsList.d.ts +2 -1
- package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -1
- package/dist/components/Common/TaxInputs/TaxInputs.d.ts +16 -9
- package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
- package/dist/components/Common/Toast/Toast.d.ts +2 -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 +3 -1
- package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +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 +6 -8
- 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 +8 -10
- 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 +9 -11
- 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 +6 -8
- 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 +9 -11
- 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 +11 -13
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- 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 +8 -9
- 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 +9 -11
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- 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 +10 -12
- 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 +11 -13
- 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 +5 -7
- 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 +9 -11
- 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 +7 -9
- 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 +4 -6
- 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 +14 -16
- 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 +5 -7
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +12 -14
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.d.ts +1 -1
- package/dist/components/Company/Industry/Edit.js +10 -12
- 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 -8
- 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 +9 -11
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- 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 -8
- 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 -9
- 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 +9 -11
- 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 +9 -11
- 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 +5 -7
- 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 +9 -11
- 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 +6 -8
- 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 +9 -11
- 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/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 +11 -13
- 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 -8
- 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 +9 -11
- 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 +8 -8
- 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 +58 -53
- 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 +70 -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 +1 -1
- 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 -10
- 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 +9 -11
- 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 -9
- package/dist/components/Employee/exports/employeeManagement.js +74 -26
- package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
- package/dist/components/Employee/exports/employeeOnboarding.d.ts +2 -0
- package/dist/components/Employee/exports/employeeOnboarding.js +19 -15
- 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 +10 -12
- 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 -8
- 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 -5
- 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 +16 -18
- 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 -4
- 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 +28 -30
- 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/GustoProvider.d.ts +34 -1
- package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +42 -2
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -12
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/GustoProvider/SDKI18next.d.ts +1 -1
- package/dist/contexts/GustoProvider/SDKI18next.js.map +1 -1
- package/dist/contexts/GustoProvider/index.d.ts +0 -2
- 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/ThemeProvider.d.ts +5 -1
- package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/contexts/ThemeProvider/customRender.d.ts +1 -0
- package/dist/contexts/ThemeProvider/index.d.ts +0 -1
- package/dist/contexts/ThemeProvider/test-utils.d.ts +1 -1
- package/dist/contexts/ThemeProvider/theme.d.ts +7 -101
- package/dist/contexts/ThemeProvider/theme.js +58 -64
- package/dist/contexts/ThemeProvider/theme.js.map +1 -1
- package/dist/contexts/ThemeProvider/types.d.ts +181 -0
- package/dist/contexts/ThemeProvider/useTheme.d.ts +4 -0
- package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
- package/dist/contexts/index.d.ts +2 -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/index.d.ts +3 -2
- package/dist/index.js +145 -141
- 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 +8 -10
- 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 +12 -14
- 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 +13 -15
- 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 -12
- 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 +14 -16
- 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 +8 -10
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/index.d.ts +2 -0
- 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 +2 -9
- 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 +103 -117
- package/package.json +26 -22
- 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gusto/embedded-react-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.1",
|
|
4
4
|
"homepage": "https://github.com/Gusto/embedded-react-sdk",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/Gusto/embedded-react-sdk/issues"
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "npm run build:clean && npm run i18n:generate && vite build && npm run endpoints:derive",
|
|
35
|
+
"api-report:derive": "api-extractor run --local --config .reports/config/api-extractor.json",
|
|
35
36
|
"endpoints:derive": "npx tsx ./build/deriveEndpointInventory.ts",
|
|
36
37
|
"endpoints:verify": "npx tsx ./build/deriveEndpointInventory.ts --verify",
|
|
37
38
|
"build:ci": "npm run build && npm run lint:check && npm run format:check && npm run test:ci",
|
|
@@ -88,15 +89,16 @@
|
|
|
88
89
|
"sdk-app:analyze-props": "npx tsx sdk-app/scripts/analyze-component-props.ts"
|
|
89
90
|
},
|
|
90
91
|
"devDependencies": {
|
|
91
|
-
"@commitlint/cli": "^21.0.
|
|
92
|
+
"@commitlint/cli": "^21.0.2",
|
|
92
93
|
"@commitlint/config-conventional": "^21.0.2",
|
|
93
94
|
"@eslint/js": "^9.39.2",
|
|
95
|
+
"@microsoft/api-extractor": "^7.58.8",
|
|
94
96
|
"@playwright/test": "^1.60.0",
|
|
95
97
|
"@release-it/conventional-changelog": "^11.0.1",
|
|
96
|
-
"@storybook/addon-a11y": "^10.4.
|
|
97
|
-
"@storybook/addon-docs": "^10.4.
|
|
98
|
-
"@storybook/addon-onboarding": "^10.4.
|
|
99
|
-
"@storybook/react-vite": "^10.4.
|
|
98
|
+
"@storybook/addon-a11y": "^10.4.2",
|
|
99
|
+
"@storybook/addon-docs": "^10.4.2",
|
|
100
|
+
"@storybook/addon-onboarding": "^10.4.2",
|
|
101
|
+
"@storybook/react-vite": "^10.4.2",
|
|
100
102
|
"@storybook/test-runner": "^0.24.4",
|
|
101
103
|
"@testing-library/jest-dom": "^6.9.1",
|
|
102
104
|
"@testing-library/react": "^16.3.2",
|
|
@@ -105,14 +107,15 @@
|
|
|
105
107
|
"@types/jest": "^30.0.0",
|
|
106
108
|
"@types/jest-axe": "^3.5.9",
|
|
107
109
|
"@types/pngjs": "^6.0.5",
|
|
108
|
-
"@types/react": "^19.2.
|
|
110
|
+
"@types/react": "^19.2.16",
|
|
109
111
|
"@types/react-dom": "^19.2.3",
|
|
110
|
-
"@typescript-eslint/
|
|
111
|
-
"@typescript-eslint/
|
|
112
|
+
"@typescript-eslint/parser": "^8.61.0",
|
|
113
|
+
"@typescript-eslint/rule-tester": "^8.61.0",
|
|
114
|
+
"@typescript-eslint/utils": "^8.61.0",
|
|
112
115
|
"@vitejs/plugin-react-swc": "^4.3.1",
|
|
113
|
-
"@vitest/coverage-v8": "^4.1.
|
|
116
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
114
117
|
"ajv": "^8.20.0",
|
|
115
|
-
"axe-core": "^4.
|
|
118
|
+
"axe-core": "^4.12.0",
|
|
116
119
|
"dotenv": "^17.4.2",
|
|
117
120
|
"eslint": "^9.39.4",
|
|
118
121
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -120,9 +123,9 @@
|
|
|
120
123
|
"eslint-plugin-react": "^7.37.5",
|
|
121
124
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
122
125
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
123
|
-
"eslint-plugin-storybook": "^10.4.
|
|
126
|
+
"eslint-plugin-storybook": "^10.4.2",
|
|
124
127
|
"eslint-plugin-tsdoc": "^0.5.2",
|
|
125
|
-
"fuse.js": "^7.
|
|
128
|
+
"fuse.js": "^7.4.2",
|
|
126
129
|
"globals": "^17.6.0",
|
|
127
130
|
"husky": "^9.1.7",
|
|
128
131
|
"jest-axe": "^9.0.0",
|
|
@@ -138,15 +141,15 @@
|
|
|
138
141
|
"prism-react-renderer": "^2.4.1",
|
|
139
142
|
"react-dnd": "^16.0.1",
|
|
140
143
|
"react-dnd-html5-backend": "^16.0.1",
|
|
141
|
-
"react-router-dom": "^7.
|
|
144
|
+
"react-router-dom": "^7.17.0",
|
|
142
145
|
"release-it": "^20.2.0",
|
|
143
146
|
"sass-embedded": "^1.100.0",
|
|
144
147
|
"storybook": "^10.3.4",
|
|
145
148
|
"stylelint-config-standard": "^40.0.0",
|
|
146
149
|
"ts-morph": "^28.0.0",
|
|
147
|
-
"tsx": "^4.22.
|
|
148
|
-
"typescript-eslint": "^8.
|
|
149
|
-
"vite": "^6.4.
|
|
150
|
+
"tsx": "^4.22.4",
|
|
151
|
+
"typescript-eslint": "^8.61.0",
|
|
152
|
+
"vite": "^6.4.3",
|
|
150
153
|
"vite-plugin-checker": "^0.14.1",
|
|
151
154
|
"vite-plugin-circular-dependency": "^0.6.0",
|
|
152
155
|
"vite-plugin-dts": "^4.5.3",
|
|
@@ -162,19 +165,19 @@
|
|
|
162
165
|
"typescript": "^5.8.3"
|
|
163
166
|
},
|
|
164
167
|
"dependencies": {
|
|
165
|
-
"@gusto/embedded-api": "0.
|
|
168
|
+
"@gusto/embedded-api-v-2025-11-15": "^0.0.2",
|
|
166
169
|
"@hookform/error-message": "^2.0.1",
|
|
167
170
|
"@hookform/resolvers": "^5.4.0",
|
|
168
171
|
"@internationalized/date": "^3.12.2",
|
|
169
172
|
"@internationalized/number": "^3.6.7",
|
|
170
173
|
"classnames": "^2.5.1",
|
|
171
174
|
"deepmerge": "^4.3.1",
|
|
172
|
-
"dompurify": "^3.4.
|
|
173
|
-
"i18next": "^26.3.
|
|
175
|
+
"dompurify": "^3.4.8",
|
|
176
|
+
"i18next": "^26.3.1",
|
|
174
177
|
"react-aria": "^3.47.0",
|
|
175
178
|
"react-aria-components": "1.16.0",
|
|
176
179
|
"react-error-boundary": "^6.1.2",
|
|
177
|
-
"react-hook-form": "^7.
|
|
180
|
+
"react-hook-form": "^7.78.0",
|
|
178
181
|
"react-i18next": "^17.0.8",
|
|
179
182
|
"react-robot": "^1.2.1",
|
|
180
183
|
"robot3": "^1.2.0",
|
|
@@ -189,7 +192,8 @@
|
|
|
189
192
|
"msw": {
|
|
190
193
|
"workerDirectory": [
|
|
191
194
|
"e2e",
|
|
192
|
-
"e2e/public"
|
|
195
|
+
"e2e/public",
|
|
196
|
+
"sdk-app/public"
|
|
193
197
|
]
|
|
194
198
|
}
|
|
195
199
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CommonComponentInterface } from '../../../../Base';
|
|
2
|
-
import { OnEventType } from '../../../../Base/useBase';
|
|
3
|
-
import { EventType } from '../../../../../shared/constants';
|
|
4
|
-
export interface AddAnotherJobProps extends CommonComponentInterface<'Employee.Compensation'> {
|
|
5
|
-
employeeId: string;
|
|
6
|
-
onCancel?: () => void;
|
|
7
|
-
onEvent: OnEventType<EventType, unknown>;
|
|
8
|
-
}
|
|
9
|
-
export declare function AddAnotherJob({ dictionary, ...props }: AddAnotherJobProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as y } from "react";
|
|
3
|
-
import D from "classnames";
|
|
4
|
-
import { useTranslation as I } from "react-i18next";
|
|
5
|
-
import { useJobForm as J } from "../../shared/useJobForm/useJobForm.js";
|
|
6
|
-
import { useCompensationForm as L } from "../../shared/useCompensationForm/useCompensationForm.js";
|
|
7
|
-
import { AddCompensationFormBody as R } from "../../shared/AddCompensationFormBody.js";
|
|
8
|
-
import S from "./AddAnotherJob.module.scss.js";
|
|
9
|
-
import { BaseBoundaries as j, BaseLayout as p } from "../../../../Base/Base.js";
|
|
10
|
-
import "../../../../Base/useBase.js";
|
|
11
|
-
import { Form as A } from "../../../../Common/Form/Form.js";
|
|
12
|
-
import { useComponentDictionary as P, useI18n as T } from "../../../../../i18n/I18n.js";
|
|
13
|
-
import { composeErrorHandler as c } from "../../../../../partner-hook-utils/composeErrorHandler.js";
|
|
14
|
-
import { composeSubmitHandler as H } from "../../../../../partner-hook-utils/form/composeSubmitHandler.js";
|
|
15
|
-
import { componentEvents as l } from "../../../../../shared/constants.js";
|
|
16
|
-
function W({ dictionary: n, ...r }) {
|
|
17
|
-
return P("Employee.Compensation", n), /* @__PURE__ */ e(j, { componentName: "Employee.Compensation", children: /* @__PURE__ */ e(N, { ...r }) });
|
|
18
|
-
}
|
|
19
|
-
function N({
|
|
20
|
-
employeeId: n,
|
|
21
|
-
onCancel: r,
|
|
22
|
-
className: f,
|
|
23
|
-
onEvent: s
|
|
24
|
-
}) {
|
|
25
|
-
T("Employee.Compensation");
|
|
26
|
-
const { t: a } = I("Employee.Compensation"), [m, b] = y(void 0), t = J({
|
|
27
|
-
employeeId: n,
|
|
28
|
-
jobId: m,
|
|
29
|
-
withHireDateField: !1,
|
|
30
|
-
optionalFieldsToRequire: { update: ["title"] },
|
|
31
|
-
shouldFocusError: !1
|
|
32
|
-
}), E = t.isLoading ? void 0 : t.data.currentJob?.currentCompensationUuid ?? void 0, i = L({
|
|
33
|
-
employeeId: n,
|
|
34
|
-
jobId: m,
|
|
35
|
-
compensationId: E,
|
|
36
|
-
withEffectiveDateField: !0,
|
|
37
|
-
optionalFieldsToRequire: { update: ["flsaStatus", "rate", "paymentUnit"] },
|
|
38
|
-
shouldFocusError: !1
|
|
39
|
-
});
|
|
40
|
-
if (t.isLoading || i.isLoading) {
|
|
41
|
-
const o = c([t, i]);
|
|
42
|
-
return /* @__PURE__ */ e(p, { isLoading: !0, error: o.errors });
|
|
43
|
-
}
|
|
44
|
-
const C = t.data.jobs?.find((o) => o.primary)?.hireDate ?? void 0, d = H([t, i], async () => {
|
|
45
|
-
const o = await t.actions.onSubmit({ employeeId: n, hireDate: C });
|
|
46
|
-
if (!o) return;
|
|
47
|
-
s(l.EMPLOYEE_JOB_CREATED, o.data);
|
|
48
|
-
const F = o.data.compensations?.find(
|
|
49
|
-
(g) => g.uuid === o.data.currentCompensationUuid
|
|
50
|
-
), u = await i.actions.onSubmit({
|
|
51
|
-
jobId: o.data.uuid,
|
|
52
|
-
compensationId: o.data.currentCompensationUuid ?? void 0,
|
|
53
|
-
compensationVersion: F?.version ?? void 0
|
|
54
|
-
});
|
|
55
|
-
if (!u) {
|
|
56
|
-
b(o.data.uuid);
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
s(l.EMPLOYEE_COMPENSATION_UPDATED, u.data);
|
|
60
|
-
}), h = c([d]), v = t.status.isPending || i.status.isPending;
|
|
61
|
-
return /* @__PURE__ */ e("section", { className: D(S.container, f), children: /* @__PURE__ */ e(p, { error: h.errors, children: /* @__PURE__ */ e(A, { onSubmit: d.handleSubmit, children: /* @__PURE__ */ e(
|
|
62
|
-
R,
|
|
63
|
-
{
|
|
64
|
-
jobForm: t,
|
|
65
|
-
compensationForm: i,
|
|
66
|
-
title: a("addAnotherJobTitle"),
|
|
67
|
-
submitCtaLabel: a("saveNewJobCta"),
|
|
68
|
-
isPending: v,
|
|
69
|
-
onCancel: r
|
|
70
|
-
}
|
|
71
|
-
) }) }) });
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
W as AddAnotherJob
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=AddAnotherJob.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddAnotherJob.js","sources":["../../../../../../src/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.tsx"],"sourcesContent":["import { useState } from 'react'\nimport classNames from 'classnames'\nimport { useTranslation } from 'react-i18next'\nimport { useJobForm } from '../../shared/useJobForm'\nimport { useCompensationForm } from '../../shared/useCompensationForm'\nimport { AddCompensationFormBody } from '../../shared/AddCompensationFormBody'\nimport styles from './AddAnotherJob.module.scss'\nimport { BaseBoundaries, BaseLayout, type CommonComponentInterface } from '@/components/Base'\nimport type { OnEventType } from '@/components/Base/useBase'\nimport { Form } from '@/components/Common/Form'\nimport { useComponentDictionary, useI18n } from '@/i18n'\nimport { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler'\nimport { composeSubmitHandler } from '@/partner-hook-utils/form/composeSubmitHandler'\nimport { componentEvents, type EventType } from '@/shared/constants'\n\nexport interface AddAnotherJobProps extends CommonComponentInterface<'Employee.Compensation'> {\n employeeId: string\n onCancel?: () => void\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport function AddAnotherJob({ dictionary, ...props }: AddAnotherJobProps) {\n useComponentDictionary('Employee.Compensation', dictionary)\n return (\n <BaseBoundaries componentName=\"Employee.Compensation\">\n <Root {...props} />\n </BaseBoundaries>\n )\n}\n\nfunction Root({\n employeeId,\n onCancel,\n className,\n onEvent,\n}: Omit<AddAnotherJobProps, 'dictionary'>) {\n useI18n('Employee.Compensation')\n const { t } = useTranslation('Employee.Compensation')\n\n // Track jobId locally so a partial-failure submit chain (job POST succeeds,\n // comp PUT fails) doesn't re-POST and create a duplicate job on retry.\n const [resolvedJobId, setResolvedJobId] = useState<string | undefined>(undefined)\n\n const jobForm = useJobForm({\n employeeId,\n jobId: resolvedJobId,\n withHireDateField: false,\n optionalFieldsToRequire: { update: ['title'] },\n shouldFocusError: false,\n })\n\n const resolvedCompensationId = jobForm.isLoading\n ? undefined\n : (jobForm.data.currentJob?.currentCompensationUuid ?? undefined)\n\n const compensationForm = useCompensationForm({\n employeeId,\n jobId: resolvedJobId,\n compensationId: resolvedCompensationId,\n withEffectiveDateField: true,\n optionalFieldsToRequire: { update: ['flsaStatus', 'rate', 'paymentUnit'] },\n shouldFocusError: false,\n })\n\n if (jobForm.isLoading || compensationForm.isLoading) {\n const loadingErrorHandling = composeErrorHandler([jobForm, compensationForm])\n return <BaseLayout isLoading error={loadingErrorHandling.errors} />\n }\n\n // The API defaults a secondary job's hire_date to the primary job's hire_date\n // when omitted. We pass it explicitly to satisfy the SDK hook's requirement\n // and mirror the API's own default behavior. React Query dedupes this query\n // since useJobForm has already loaded it.\n const primaryHireDate = jobForm.data.jobs?.find(j => j.primary)?.hireDate ?? undefined\n\n const submitResult = composeSubmitHandler([jobForm, compensationForm], async () => {\n const jobResult = await jobForm.actions.onSubmit({ employeeId, hireDate: primaryHireDate })\n if (!jobResult) return\n\n onEvent(componentEvents.EMPLOYEE_JOB_CREATED, jobResult.data)\n\n const stubCompensation = jobResult.data.compensations?.find(\n c => c.uuid === jobResult.data.currentCompensationUuid,\n )\n\n const compensationResult = await compensationForm.actions.onSubmit({\n jobId: jobResult.data.uuid,\n compensationId: jobResult.data.currentCompensationUuid ?? undefined,\n compensationVersion: stubCompensation?.version ?? undefined,\n })\n if (!compensationResult) {\n setResolvedJobId(jobResult.data.uuid)\n return\n }\n\n onEvent(componentEvents.EMPLOYEE_COMPENSATION_UPDATED, compensationResult.data)\n })\n\n const errorHandling = composeErrorHandler([submitResult])\n const isPending = jobForm.status.isPending || compensationForm.status.isPending\n\n return (\n <section className={classNames(styles.container, className)}>\n <BaseLayout error={errorHandling.errors}>\n <Form onSubmit={submitResult.handleSubmit}>\n <AddCompensationFormBody\n jobForm={jobForm}\n compensationForm={compensationForm}\n title={t('addAnotherJobTitle')}\n submitCtaLabel={t('saveNewJobCta')}\n isPending={isPending}\n onCancel={onCancel}\n />\n </Form>\n </BaseLayout>\n </section>\n )\n}\n"],"names":["AddAnotherJob","dictionary","props","useComponentDictionary","jsx","BaseBoundaries","Root","employeeId","onCancel","className","onEvent","useI18n","t","useTranslation","resolvedJobId","setResolvedJobId","useState","jobForm","useJobForm","resolvedCompensationId","compensationForm","useCompensationForm","loadingErrorHandling","composeErrorHandler","BaseLayout","primaryHireDate","j","submitResult","composeSubmitHandler","jobResult","componentEvents","stubCompensation","c","compensationResult","errorHandling","isPending","classNames","styles","Form","AddCompensationFormBody"],"mappings":";;;;;;;;;;;;;;;AAqBO,SAASA,EAAc,EAAE,YAAAC,GAAY,GAAGC,KAA6B;AAC1E,SAAAC,EAAuB,yBAAyBF,CAAU,GAExD,gBAAAG,EAACC,KAAe,eAAc,yBAC5B,4BAACC,GAAA,EAAM,GAAGJ,GAAO,EAAA,CACnB;AAEJ;AAEA,SAASI,EAAK;AAAA,EACZ,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AACF,GAA2C;AACzC,EAAAC,EAAQ,uBAAuB;AAC/B,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,uBAAuB,GAI9C,CAACC,GAAeC,CAAgB,IAAIC,EAA6B,MAAS,GAE1EC,IAAUC,EAAW;AAAA,IACzB,YAAAX;AAAA,IACA,OAAOO;AAAA,IACP,mBAAmB;AAAA,IACnB,yBAAyB,EAAE,QAAQ,CAAC,OAAO,EAAA;AAAA,IAC3C,kBAAkB;AAAA,EAAA,CACnB,GAEKK,IAAyBF,EAAQ,YACnC,SACCA,EAAQ,KAAK,YAAY,2BAA2B,QAEnDG,IAAmBC,EAAoB;AAAA,IAC3C,YAAAd;AAAA,IACA,OAAOO;AAAA,IACP,gBAAgBK;AAAA,IAChB,wBAAwB;AAAA,IACxB,yBAAyB,EAAE,QAAQ,CAAC,cAAc,QAAQ,aAAa,EAAA;AAAA,IACvE,kBAAkB;AAAA,EAAA,CACnB;AAED,MAAIF,EAAQ,aAAaG,EAAiB,WAAW;AACnD,UAAME,IAAuBC,EAAoB,CAACN,GAASG,CAAgB,CAAC;AAC5E,6BAAQI,GAAA,EAAW,WAAS,IAAC,OAAOF,EAAqB,QAAQ;AAAA,EACnE;AAMA,QAAMG,IAAkBR,EAAQ,KAAK,MAAM,KAAK,CAAAS,MAAKA,EAAE,OAAO,GAAG,YAAY,QAEvEC,IAAeC,EAAqB,CAACX,GAASG,CAAgB,GAAG,YAAY;AACjF,UAAMS,IAAY,MAAMZ,EAAQ,QAAQ,SAAS,EAAE,YAAAV,GAAY,UAAUkB,GAAiB;AAC1F,QAAI,CAACI,EAAW;AAEhB,IAAAnB,EAAQoB,EAAgB,sBAAsBD,EAAU,IAAI;AAE5D,UAAME,IAAmBF,EAAU,KAAK,eAAe;AAAA,MACrD,CAAAG,MAAKA,EAAE,SAASH,EAAU,KAAK;AAAA,IAAA,GAG3BI,IAAqB,MAAMb,EAAiB,QAAQ,SAAS;AAAA,MACjE,OAAOS,EAAU,KAAK;AAAA,MACtB,gBAAgBA,EAAU,KAAK,2BAA2B;AAAA,MAC1D,qBAAqBE,GAAkB,WAAW;AAAA,IAAA,CACnD;AACD,QAAI,CAACE,GAAoB;AACvB,MAAAlB,EAAiBc,EAAU,KAAK,IAAI;AACpC;AAAA,IACF;AAEA,IAAAnB,EAAQoB,EAAgB,+BAA+BG,EAAmB,IAAI;AAAA,EAChF,CAAC,GAEKC,IAAgBX,EAAoB,CAACI,CAAY,CAAC,GAClDQ,IAAYlB,EAAQ,OAAO,aAAaG,EAAiB,OAAO;AAEtE,2BACG,WAAA,EAAQ,WAAWgB,EAAWC,EAAO,WAAW5B,CAAS,GACxD,UAAA,gBAAAL,EAACoB,GAAA,EAAW,OAAOU,EAAc,QAC/B,4BAACI,GAAA,EAAK,UAAUX,EAAa,cAC3B,UAAA,gBAAAvB;AAAA,IAACmC;AAAA,IAAA;AAAA,MACC,SAAAtB;AAAA,MACA,kBAAAG;AAAA,MACA,OAAOR,EAAE,oBAAoB;AAAA,MAC7B,gBAAgBA,EAAE,eAAe;AAAA,MACjC,WAAAuB;AAAA,MACA,UAAA3B;AAAA,IAAA;AAAA,EAAA,EACF,CACF,GACF,GACF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddAnotherJob.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CommonComponentInterface } from '../../../../Base';
|
|
2
|
-
import { OnEventType } from '../../../../Base/useBase';
|
|
3
|
-
import { EventType } from '../../../../../shared/constants';
|
|
4
|
-
export interface EditCompensationProps extends CommonComponentInterface<'Employee.Compensation'> {
|
|
5
|
-
employeeId: string;
|
|
6
|
-
jobId: string;
|
|
7
|
-
onCancel?: () => void;
|
|
8
|
-
/** Called with `EMPLOYEE_COMPENSATION_UPDATED` then `EMPLOYEE_COMPENSATION_DONE` on a successful save. Use `EMPLOYEE_COMPENSATION_DONE` to trigger navigation. */
|
|
9
|
-
onEvent: OnEventType<EventType, unknown>;
|
|
10
|
-
}
|
|
11
|
-
export declare function EditCompensation({ dictionary, ...props }: EditCompensationProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import C from "classnames";
|
|
3
|
-
import { useTranslation as F } from "react-i18next";
|
|
4
|
-
import { useJobsAndCompensationsGetJobs as L } from "@gusto/embedded-api/react-query/jobsAndCompensationsGetJobs";
|
|
5
|
-
import { useJobForm as h } from "../../shared/useJobForm/useJobForm.js";
|
|
6
|
-
import { useCompensationForm as D } from "../../shared/useCompensationForm/useCompensationForm.js";
|
|
7
|
-
import { ManagementCompensationFormBody as P } from "../ManagementCompensationFormBody.js";
|
|
8
|
-
import y from "./EditCompensation.module.scss.js";
|
|
9
|
-
import { BaseBoundaries as M, BaseLayout as c } from "../../../../Base/Base.js";
|
|
10
|
-
import "../../../../Base/useBase.js";
|
|
11
|
-
import { Form as N } from "../../../../Common/Form/Form.js";
|
|
12
|
-
import { useComponentDictionary as O, useI18n as S } from "../../../../../i18n/I18n.js";
|
|
13
|
-
import { composeErrorHandler as p } from "../../../../../partner-hook-utils/composeErrorHandler.js";
|
|
14
|
-
import { composeSubmitHandler as T } from "../../../../../partner-hook-utils/form/composeSubmitHandler.js";
|
|
15
|
-
import { componentEvents as l } from "../../../../../shared/constants.js";
|
|
16
|
-
function k({ dictionary: n, ...r }) {
|
|
17
|
-
return O("Employee.Compensation", n), /* @__PURE__ */ e(M, { componentName: "Employee.Compensation.Management", children: /* @__PURE__ */ e(_, { ...r }) });
|
|
18
|
-
}
|
|
19
|
-
function _({
|
|
20
|
-
employeeId: n,
|
|
21
|
-
jobId: r,
|
|
22
|
-
defaultValues: f,
|
|
23
|
-
...u
|
|
24
|
-
}) {
|
|
25
|
-
const a = L({ employeeId: n }, { enabled: !!n });
|
|
26
|
-
if (a.isLoading || !a.data) {
|
|
27
|
-
const o = p([a]);
|
|
28
|
-
return /* @__PURE__ */ e(c, { isLoading: !0, error: o.errors });
|
|
29
|
-
}
|
|
30
|
-
const s = a.data.jobs?.find((o) => o.uuid === r), t = s?.compensations?.find((o) => o.uuid === s.currentCompensationUuid), i = t ? {
|
|
31
|
-
// Title lives on compensation in the API — `job.title` can lag
|
|
32
|
-
// behind comp-level edits on secondaries, so seed directly from
|
|
33
|
-
// the comp.
|
|
34
|
-
title: t.title ?? void 0,
|
|
35
|
-
flsaStatus: t.flsaStatus ?? void 0,
|
|
36
|
-
rate: Number(t.rate),
|
|
37
|
-
paymentUnit: t.paymentUnit ?? void 0,
|
|
38
|
-
adjustForMinimumWage: t.adjustForMinimumWage ?? !1,
|
|
39
|
-
minimumWageId: t.minimumWages?.[0]?.uuid ?? ""
|
|
40
|
-
// effectiveDate intentionally omitted — user must choose a future date
|
|
41
|
-
} : void 0;
|
|
42
|
-
return /* @__PURE__ */ e(j, { employeeId: n, jobId: r, defaultValues: i, ...u });
|
|
43
|
-
}
|
|
44
|
-
function j({ employeeId: n, jobId: r, defaultValues: f, onCancel: u, className: a, onEvent: s }) {
|
|
45
|
-
S("Employee.Compensation");
|
|
46
|
-
const { t } = F("Employee.Compensation"), i = h({
|
|
47
|
-
employeeId: n,
|
|
48
|
-
jobId: r,
|
|
49
|
-
withTitleField: !1,
|
|
50
|
-
withHireDateField: !1,
|
|
51
|
-
shouldFocusError: !1
|
|
52
|
-
}), o = D({
|
|
53
|
-
employeeId: n,
|
|
54
|
-
jobId: r,
|
|
55
|
-
defaultValues: f,
|
|
56
|
-
withEffectiveDateField: !0,
|
|
57
|
-
optionalFieldsToRequire: {
|
|
58
|
-
create: ["title"]
|
|
59
|
-
},
|
|
60
|
-
shouldFocusError: !1
|
|
61
|
-
});
|
|
62
|
-
if (i.isLoading || o.isLoading) {
|
|
63
|
-
const m = p([i, o]);
|
|
64
|
-
return /* @__PURE__ */ e(c, { isLoading: !0, error: m.errors });
|
|
65
|
-
}
|
|
66
|
-
const E = T([i, o], async () => {
|
|
67
|
-
const m = await i.actions.onSubmit();
|
|
68
|
-
if (!m) return;
|
|
69
|
-
s(l.EMPLOYEE_JOB_UPDATED, m.data);
|
|
70
|
-
const d = await o.actions.onSubmit();
|
|
71
|
-
d && (s(l.EMPLOYEE_COMPENSATION_UPDATED, d.data), s(l.EMPLOYEE_COMPENSATION_DONE, d.data));
|
|
72
|
-
}), g = p([E]), b = i.status.isPending || o.status.isPending;
|
|
73
|
-
return /* @__PURE__ */ e("section", { className: C(y.container, a), children: /* @__PURE__ */ e(c, { error: g.errors, children: /* @__PURE__ */ e(N, { onSubmit: E.handleSubmit, children: /* @__PURE__ */ e(
|
|
74
|
-
P,
|
|
75
|
-
{
|
|
76
|
-
jobForm: i,
|
|
77
|
-
compensationForm: o,
|
|
78
|
-
title: t("management.editCompensationTitle"),
|
|
79
|
-
submitCtaLabel: t("management.saveCta"),
|
|
80
|
-
isPending: b,
|
|
81
|
-
onCancel: u
|
|
82
|
-
}
|
|
83
|
-
) }) }) });
|
|
84
|
-
}
|
|
85
|
-
export {
|
|
86
|
-
k as EditCompensation
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=EditCompensation.js.map
|
package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditCompensation.js","sources":["../../../../../../src/components/Employee/Compensation/management/EditCompensation/EditCompensation.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport { useTranslation } from 'react-i18next'\nimport { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api/react-query/jobsAndCompensationsGetJobs'\nimport { useJobForm } from '../../shared/useJobForm'\nimport { useCompensationForm, type CompensationFormData } from '../../shared/useCompensationForm'\nimport { ManagementCompensationFormBody } from '../ManagementCompensationFormBody'\nimport styles from './EditCompensation.module.scss'\nimport { BaseBoundaries, BaseLayout, type CommonComponentInterface } from '@/components/Base'\nimport type { OnEventType } from '@/components/Base/useBase'\nimport { Form } from '@/components/Common/Form'\nimport { useComponentDictionary, useI18n } from '@/i18n'\nimport { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler'\nimport { composeSubmitHandler } from '@/partner-hook-utils/form/composeSubmitHandler'\nimport { componentEvents, type EventType } from '@/shared/constants'\n\nexport interface EditCompensationProps extends CommonComponentInterface<'Employee.Compensation'> {\n employeeId: string\n jobId: string\n onCancel?: () => void\n /** Called with `EMPLOYEE_COMPENSATION_UPDATED` then `EMPLOYEE_COMPENSATION_DONE` on a successful save. Use `EMPLOYEE_COMPENSATION_DONE` to trigger navigation. */\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport function EditCompensation({ dictionary, ...props }: EditCompensationProps) {\n useComponentDictionary('Employee.Compensation', dictionary)\n return (\n <BaseBoundaries componentName=\"Employee.Compensation.Management\">\n <CompensationDefaultsLoader {...props} />\n </BaseBoundaries>\n )\n}\n\ntype LoaderProps = Omit<EditCompensationProps, 'dictionary'>\n\n// Fetches the current job's compensation data to pre-populate the form as\n// defaultValues before rendering Root. Uses the same non-suspense query that\n// useCompensationForm uses internally — React Query dedupes the request so no\n// extra network call is made once Root mounts.\n// defaultValues from CommonComponentInterface (unknown) is excluded from the\n// spread so it doesn't conflict with Root's typed defaultValues prop.\nfunction CompensationDefaultsLoader({\n employeeId,\n jobId,\n defaultValues: _baseDefaults,\n ...rest\n}: LoaderProps) {\n const jobsQuery = useJobsAndCompensationsGetJobs({ employeeId }, { enabled: !!employeeId })\n\n if (jobsQuery.isLoading || !jobsQuery.data) {\n const errorHandling = composeErrorHandler([jobsQuery])\n return <BaseLayout isLoading error={errorHandling.errors} />\n }\n\n const job = jobsQuery.data.jobs?.find(j => j.uuid === jobId)\n const currentComp = job?.compensations?.find(c => c.uuid === job.currentCompensationUuid)\n\n const defaultValues: Partial<CompensationFormData> | undefined = currentComp\n ? {\n // Title lives on compensation in the API — `job.title` can lag\n // behind comp-level edits on secondaries, so seed directly from\n // the comp.\n title: currentComp.title ?? undefined,\n flsaStatus: currentComp.flsaStatus ?? undefined,\n rate: Number(currentComp.rate),\n paymentUnit: currentComp.paymentUnit ?? undefined,\n adjustForMinimumWage: currentComp.adjustForMinimumWage ?? false,\n minimumWageId: currentComp.minimumWages?.[0]?.uuid ?? '',\n // effectiveDate intentionally omitted — user must choose a future date\n }\n : undefined\n\n return <Root employeeId={employeeId} jobId={jobId} defaultValues={defaultValues} {...rest} />\n}\n\ninterface RootProps extends LoaderProps {\n defaultValues?: Partial<CompensationFormData>\n}\n\nfunction Root({ employeeId, jobId, defaultValues, onCancel, className, onEvent }: RootProps) {\n useI18n('Employee.Compensation')\n const { t } = useTranslation('Employee.Compensation')\n\n // Job form handles the non-effective-dated fields: 2% shareholder + WA WC.\n // Title is suppressed here because the compensation form owns title\n // (effective-dated alongside rate/unit/FLSA on the future-dated row).\n // Hire-date is suppressed because this surface never edits it.\n const jobForm = useJobForm({\n employeeId,\n jobId,\n withTitleField: false,\n withHireDateField: false,\n shouldFocusError: false,\n })\n\n // Compensation form runs in create mode (no compensationId) → POST\n // /v1/jobs/:jobId/compensations, creating a new future-dated compensation.\n // The form is pre-populated with the current comp's values via defaultValues\n // (fetched by CompensationDefaultsLoader) so the user can edit from the\n // current state, and picks a future effectiveDate to schedule the change.\n const compensationForm = useCompensationForm({\n employeeId,\n jobId,\n defaultValues,\n withEffectiveDateField: true,\n optionalFieldsToRequire: {\n create: ['title'],\n },\n shouldFocusError: false,\n })\n\n if (jobForm.isLoading || compensationForm.isLoading) {\n const loadingErrorHandling = composeErrorHandler([jobForm, compensationForm])\n return <BaseLayout isLoading error={loadingErrorHandling.errors} />\n }\n\n // PUT job first (immediate mutation of 2% shareholder / WC), then POST\n // the new compensation (the future-dated change). composeSubmitHandler\n // validates both forms in parallel and short-circuits before any network\n // I/O if either fails.\n const submitResult = composeSubmitHandler([jobForm, compensationForm], async () => {\n const jobResult = await jobForm.actions.onSubmit()\n if (!jobResult) return\n\n onEvent(componentEvents.EMPLOYEE_JOB_UPDATED, jobResult.data)\n\n const compensationResult = await compensationForm.actions.onSubmit()\n if (!compensationResult) return\n\n onEvent(componentEvents.EMPLOYEE_COMPENSATION_UPDATED, compensationResult.data)\n onEvent(componentEvents.EMPLOYEE_COMPENSATION_DONE, compensationResult.data)\n })\n\n const errorHandling = composeErrorHandler([submitResult])\n const isPending = jobForm.status.isPending || compensationForm.status.isPending\n\n return (\n <section className={classNames(styles.container, className)}>\n <BaseLayout error={errorHandling.errors}>\n <Form onSubmit={submitResult.handleSubmit}>\n <ManagementCompensationFormBody\n jobForm={jobForm}\n compensationForm={compensationForm}\n title={t('management.editCompensationTitle')}\n submitCtaLabel={t('management.saveCta')}\n isPending={isPending}\n onCancel={onCancel}\n />\n </Form>\n </BaseLayout>\n </section>\n )\n}\n"],"names":["EditCompensation","dictionary","props","useComponentDictionary","jsx","BaseBoundaries","CompensationDefaultsLoader","employeeId","jobId","_baseDefaults","rest","jobsQuery","useJobsAndCompensationsGetJobs","errorHandling","composeErrorHandler","BaseLayout","job","j","currentComp","c","defaultValues","Root","onCancel","className","onEvent","useI18n","useTranslation","jobForm","useJobForm","compensationForm","useCompensationForm","loadingErrorHandling","submitResult","composeSubmitHandler","jobResult","componentEvents","compensationResult","isPending","classNames","styles","Form","ManagementCompensationFormBody"],"mappings":";;;;;;;;;;;;;;;AAuBO,SAASA,EAAiB,EAAE,YAAAC,GAAY,GAAGC,KAAgC;AAChF,SAAAC,EAAuB,yBAAyBF,CAAU,GAExD,gBAAAG,EAACC,KAAe,eAAc,oCAC5B,4BAACC,GAAA,EAA4B,GAAGJ,GAAO,EAAA,CACzC;AAEJ;AAUA,SAASI,EAA2B;AAAA,EAClC,YAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAeC;AAAA,EACf,GAAGC;AACL,GAAgB;AACd,QAAMC,IAAYC,EAA+B,EAAE,YAAAL,EAAA,GAAc,EAAE,SAAS,CAAC,CAACA,GAAY;AAE1F,MAAII,EAAU,aAAa,CAACA,EAAU,MAAM;AAC1C,UAAME,IAAgBC,EAAoB,CAACH,CAAS,CAAC;AACrD,6BAAQI,GAAA,EAAW,WAAS,IAAC,OAAOF,EAAc,QAAQ;AAAA,EAC5D;AAEA,QAAMG,IAAML,EAAU,KAAK,MAAM,KAAK,CAAAM,MAAKA,EAAE,SAAST,CAAK,GACrDU,IAAcF,GAAK,eAAe,KAAK,OAAKG,EAAE,SAASH,EAAI,uBAAuB,GAElFI,IAA2DF,IAC7D;AAAA;AAAA;AAAA;AAAA,IAIE,OAAOA,EAAY,SAAS;AAAA,IAC5B,YAAYA,EAAY,cAAc;AAAA,IACtC,MAAM,OAAOA,EAAY,IAAI;AAAA,IAC7B,aAAaA,EAAY,eAAe;AAAA,IACxC,sBAAsBA,EAAY,wBAAwB;AAAA,IAC1D,eAAeA,EAAY,eAAe,CAAC,GAAG,QAAQ;AAAA;AAAA,EAAA,IAGxD;AAEJ,2BAAQG,GAAA,EAAK,YAAAd,GAAwB,OAAAC,GAAc,eAAAY,GAA+B,GAAGV,GAAM;AAC7F;AAMA,SAASW,EAAK,EAAE,YAAAd,GAAY,OAAAC,GAAO,eAAAY,GAAe,UAAAE,GAAU,WAAAC,GAAW,SAAAC,KAAsB;AAC3F,EAAAC,EAAQ,uBAAuB;AAC/B,QAAM,EAAE,EAAA,IAAMC,EAAe,uBAAuB,GAM9CC,IAAUC,EAAW;AAAA,IACzB,YAAArB;AAAA,IACA,OAAAC;AAAA,IACA,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,EAAA,CACnB,GAOKqB,IAAmBC,EAAoB;AAAA,IAC3C,YAAAvB;AAAA,IACA,OAAAC;AAAA,IACA,eAAAY;AAAA,IACA,wBAAwB;AAAA,IACxB,yBAAyB;AAAA,MACvB,QAAQ,CAAC,OAAO;AAAA,IAAA;AAAA,IAElB,kBAAkB;AAAA,EAAA,CACnB;AAED,MAAIO,EAAQ,aAAaE,EAAiB,WAAW;AACnD,UAAME,IAAuBjB,EAAoB,CAACa,GAASE,CAAgB,CAAC;AAC5E,6BAAQd,GAAA,EAAW,WAAS,IAAC,OAAOgB,EAAqB,QAAQ;AAAA,EACnE;AAMA,QAAMC,IAAeC,EAAqB,CAACN,GAASE,CAAgB,GAAG,YAAY;AACjF,UAAMK,IAAY,MAAMP,EAAQ,QAAQ,SAAA;AACxC,QAAI,CAACO,EAAW;AAEhB,IAAAV,EAAQW,EAAgB,sBAAsBD,EAAU,IAAI;AAE5D,UAAME,IAAqB,MAAMP,EAAiB,QAAQ,SAAA;AAC1D,IAAKO,MAELZ,EAAQW,EAAgB,+BAA+BC,EAAmB,IAAI,GAC9EZ,EAAQW,EAAgB,4BAA4BC,EAAmB,IAAI;AAAA,EAC7E,CAAC,GAEKvB,IAAgBC,EAAoB,CAACkB,CAAY,CAAC,GAClDK,IAAYV,EAAQ,OAAO,aAAaE,EAAiB,OAAO;AAEtE,2BACG,WAAA,EAAQ,WAAWS,EAAWC,EAAO,WAAWhB,CAAS,GACxD,UAAA,gBAAAnB,EAACW,GAAA,EAAW,OAAOF,EAAc,QAC/B,4BAAC2B,GAAA,EAAK,UAAUR,EAAa,cAC3B,UAAA,gBAAA5B;AAAA,IAACqC;AAAA,IAAA;AAAA,MACC,SAAAd;AAAA,MACA,kBAAAE;AAAA,MACA,OAAO,EAAE,kCAAkC;AAAA,MAC3C,gBAAgB,EAAE,oBAAoB;AAAA,MACtC,WAAAQ;AAAA,MACA,UAAAf;AAAA,IAAA;AAAA,EAAA,EACF,CACF,GACF,GACF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditCompensation.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import O from "classnames";
|
|
3
|
-
import { useTranslation as N } from "react-i18next";
|
|
4
|
-
import { useJobForm as S } from "../../shared/useJobForm/useJobForm.js";
|
|
5
|
-
import { useCompensationForm as T } from "../../shared/useCompensationForm/useCompensationForm.js";
|
|
6
|
-
import { ManagementCompensationFormBody as v } from "../ManagementCompensationFormBody.js";
|
|
7
|
-
import L from "./EditPendingCompensation.module.scss.js";
|
|
8
|
-
import { BaseBoundaries as M, BaseLayout as f } from "../../../../Base/Base.js";
|
|
9
|
-
import "../../../../Base/useBase.js";
|
|
10
|
-
import { Form as w } from "../../../../Common/Form/Form.js";
|
|
11
|
-
import { useComponentDictionary as R, useI18n as _ } from "../../../../../i18n/I18n.js";
|
|
12
|
-
import { composeErrorHandler as E } from "../../../../../partner-hook-utils/composeErrorHandler.js";
|
|
13
|
-
import { composeSubmitHandler as B } from "../../../../../partner-hook-utils/form/composeSubmitHandler.js";
|
|
14
|
-
import { componentEvents as p } from "../../../../../shared/constants.js";
|
|
15
|
-
function W({ dictionary: n, ...r }) {
|
|
16
|
-
return R("Employee.Compensation", n), /* @__PURE__ */ e(M, { componentName: "Employee.Compensation.Management", children: /* @__PURE__ */ e(H, { ...r }) });
|
|
17
|
-
}
|
|
18
|
-
function H({
|
|
19
|
-
employeeId: n,
|
|
20
|
-
jobId: r,
|
|
21
|
-
compensationId: u,
|
|
22
|
-
isNewJob: h,
|
|
23
|
-
isPrimaryJob: g,
|
|
24
|
-
onCancel: C,
|
|
25
|
-
className: F,
|
|
26
|
-
onEvent: s
|
|
27
|
-
}) {
|
|
28
|
-
_("Employee.Compensation");
|
|
29
|
-
const { t: c } = N("Employee.Compensation"), i = h && g, o = S({
|
|
30
|
-
employeeId: n,
|
|
31
|
-
jobId: r,
|
|
32
|
-
withTitleField: !1,
|
|
33
|
-
withHireDateField: i,
|
|
34
|
-
optionalFieldsToRequire: i ? { update: ["hireDate"] } : void 0,
|
|
35
|
-
shouldFocusError: !1
|
|
36
|
-
}), t = T({
|
|
37
|
-
employeeId: n,
|
|
38
|
-
jobId: r,
|
|
39
|
-
compensationId: u,
|
|
40
|
-
// Primary new job: comp date is set via jobForm's hire date on submit —
|
|
41
|
-
// hide it here to avoid showing two date fields.
|
|
42
|
-
withEffectiveDateField: !i,
|
|
43
|
-
optionalFieldsToRequire: {
|
|
44
|
-
update: i ? ["title", "flsaStatus", "rate", "paymentUnit"] : ["title", "flsaStatus", "rate", "paymentUnit", "effectiveDate"]
|
|
45
|
-
},
|
|
46
|
-
shouldFocusError: !1
|
|
47
|
-
});
|
|
48
|
-
if (o.isLoading || t.isLoading) {
|
|
49
|
-
const a = E([o, t]);
|
|
50
|
-
return /* @__PURE__ */ e(f, { isLoading: !0, error: a.errors });
|
|
51
|
-
}
|
|
52
|
-
const d = B([o, t], async () => {
|
|
53
|
-
const a = i ? o.form.hookFormInternals.formMethods.getValues("hireDate") ?? void 0 : void 0, m = await o.actions.onSubmit();
|
|
54
|
-
if (!m) return;
|
|
55
|
-
s(p.EMPLOYEE_JOB_UPDATED, m.data);
|
|
56
|
-
const b = m.data.compensations?.find(
|
|
57
|
-
(y) => y.uuid === u
|
|
58
|
-
)?.version, l = await t.actions.onSubmit({
|
|
59
|
-
...a ? { effectiveDate: a } : {},
|
|
60
|
-
compensationVersion: b
|
|
61
|
-
});
|
|
62
|
-
l && (s(p.EMPLOYEE_COMPENSATION_UPDATED, l.data), s(p.EMPLOYEE_COMPENSATION_DONE, l.data));
|
|
63
|
-
}), D = E([d]), P = o.status.isPending || t.status.isPending;
|
|
64
|
-
return /* @__PURE__ */ e("section", { className: O(L.container, F), children: /* @__PURE__ */ e(f, { error: D.errors, children: /* @__PURE__ */ e(w, { onSubmit: d.handleSubmit, children: /* @__PURE__ */ e(
|
|
65
|
-
v,
|
|
66
|
-
{
|
|
67
|
-
jobForm: o,
|
|
68
|
-
compensationForm: t,
|
|
69
|
-
title: c("management.editCompensationTitle"),
|
|
70
|
-
submitCtaLabel: c("management.saveCta"),
|
|
71
|
-
isPending: P,
|
|
72
|
-
onCancel: C
|
|
73
|
-
}
|
|
74
|
-
) }) }) });
|
|
75
|
-
}
|
|
76
|
-
export {
|
|
77
|
-
W as EditPendingCompensation
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=EditPendingCompensation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditPendingCompensation.js","sources":["../../../../../../src/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.tsx"],"sourcesContent":["import classNames from 'classnames'\nimport { useTranslation } from 'react-i18next'\nimport { useJobForm } from '../../shared/useJobForm'\nimport { useCompensationForm } from '../../shared/useCompensationForm'\nimport { ManagementCompensationFormBody } from '../ManagementCompensationFormBody'\nimport styles from './EditPendingCompensation.module.scss'\nimport { BaseBoundaries, BaseLayout, type CommonComponentInterface } from '@/components/Base'\nimport type { OnEventType } from '@/components/Base/useBase'\nimport { Form } from '@/components/Common/Form'\nimport { useComponentDictionary, useI18n } from '@/i18n'\nimport { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler'\nimport { composeSubmitHandler } from '@/partner-hook-utils/form/composeSubmitHandler'\nimport { componentEvents, type EventType } from '@/shared/constants'\n\nexport interface EditPendingCompensationProps extends CommonComponentInterface<'Employee.Compensation'> {\n employeeId: string\n jobId: string\n /** The UUID of the pending (future-dated) compensation to update. Always required — this\n * component only operates in update mode. */\n compensationId: string\n /**\n * True when the job has no current (on-or-before-today) compensation — i.e. it hasn't\n * started yet. Drives which date field is shown and how the submit syncs hire_date.\n */\n isNewJob: boolean\n /**\n * True when this is the employee's primary job. Combined with `isNewJob`, determines\n * whether to show a Hire date field (primary) or Effective date field (secondary/change).\n */\n isPrimaryJob: boolean\n onCancel?: () => void\n /** Called with `EMPLOYEE_COMPENSATION_UPDATED` then `EMPLOYEE_COMPENSATION_DONE` on a\n * successful save. Use `EMPLOYEE_COMPENSATION_DONE` to trigger navigation. */\n onEvent: OnEventType<EventType, unknown>\n}\n\nexport function EditPendingCompensation({ dictionary, ...props }: EditPendingCompensationProps) {\n useComponentDictionary('Employee.Compensation', dictionary)\n return (\n <BaseBoundaries componentName=\"Employee.Compensation.Management\">\n <Root {...props} />\n </BaseBoundaries>\n )\n}\n\ntype RootProps = Omit<EditPendingCompensationProps, 'dictionary'>\n\nfunction Root({\n employeeId,\n jobId,\n compensationId,\n isNewJob,\n isPrimaryJob,\n onCancel,\n className,\n onEvent,\n}: RootProps) {\n useI18n('Employee.Compensation')\n const { t } = useTranslation('Employee.Compensation')\n\n // For a primary new job (hire date in the future, no current comp), the hire\n // date field is shown instead of the effective date field. This keeps\n // hire_date and comp effective_date in sync so the API doesn't auto-create a\n // second compensation when the initial comp moves off the hire date.\n const isPrimaryNewJob = isNewJob && isPrimaryJob\n\n // Title is owned by `useCompensationForm` here: title is stored on\n // compensation in the API (job.title is just a denormalized snapshot of\n // the primary comp's title), so writing it via PUT /v1/compensations is\n // the direct path. The dashboard row reads the title off the comp pointed\n // to by `currentCompensationUuid`, so the change surfaces immediately\n // whether the job is in effect today or still pending.\n const jobForm = useJobForm({\n employeeId,\n jobId,\n withTitleField: false,\n withHireDateField: isPrimaryNewJob,\n optionalFieldsToRequire: isPrimaryNewJob ? { update: ['hireDate'] } : undefined,\n shouldFocusError: false,\n })\n\n const compensationForm = useCompensationForm({\n employeeId,\n jobId,\n compensationId,\n // Primary new job: comp date is set via jobForm's hire date on submit —\n // hide it here to avoid showing two date fields.\n withEffectiveDateField: !isPrimaryNewJob,\n optionalFieldsToRequire: {\n update: isPrimaryNewJob\n ? ['title', 'flsaStatus', 'rate', 'paymentUnit']\n : ['title', 'flsaStatus', 'rate', 'paymentUnit', 'effectiveDate'],\n },\n shouldFocusError: false,\n })\n\n if (jobForm.isLoading || compensationForm.isLoading) {\n const loadingErrorHandling = composeErrorHandler([jobForm, compensationForm])\n return <BaseLayout isLoading error={loadingErrorHandling.errors} />\n }\n\n const submitResult = composeSubmitHandler([jobForm, compensationForm], async () => {\n // For a primary new job, the user edits the hire date field. We read it\n // back here and pass it to the comp submit so both the job's hire_date and\n // the comp's effective_date land on the same value — preventing the API\n // from auto-creating a second compensation to fill the gap at the old date.\n const hireDateOverride = isPrimaryNewJob\n ? (jobForm.form.hookFormInternals.formMethods.getValues('hireDate') ?? undefined)\n : undefined\n\n const jobResult = await jobForm.actions.onSubmit()\n if (!jobResult) return\n\n onEvent(componentEvents.EMPLOYEE_JOB_UPDATED, jobResult.data)\n\n // When the hire date moves forward, the API auto-syncs the compensation's\n // effective_date to the new hire_date as part of the job PUT, which bumps\n // the compensation's version. Read it from the job response so the\n // subsequent compensation PUT doesn't send a stale version.\n const freshCompVersion = jobResult.data.compensations?.find(\n c => c.uuid === compensationId,\n )?.version\n\n const compensationResult = await compensationForm.actions.onSubmit({\n ...(hireDateOverride ? { effectiveDate: hireDateOverride } : {}),\n compensationVersion: freshCompVersion,\n })\n if (!compensationResult) return\n\n onEvent(componentEvents.EMPLOYEE_COMPENSATION_UPDATED, compensationResult.data)\n onEvent(componentEvents.EMPLOYEE_COMPENSATION_DONE, compensationResult.data)\n })\n\n const errorHandling = composeErrorHandler([submitResult])\n const isPending = jobForm.status.isPending || compensationForm.status.isPending\n\n return (\n <section className={classNames(styles.container, className)}>\n <BaseLayout error={errorHandling.errors}>\n <Form onSubmit={submitResult.handleSubmit}>\n <ManagementCompensationFormBody\n jobForm={jobForm}\n compensationForm={compensationForm}\n title={t('management.editCompensationTitle')}\n submitCtaLabel={t('management.saveCta')}\n isPending={isPending}\n onCancel={onCancel}\n />\n </Form>\n </BaseLayout>\n </section>\n )\n}\n"],"names":["EditPendingCompensation","dictionary","props","useComponentDictionary","jsx","BaseBoundaries","Root","employeeId","jobId","compensationId","isNewJob","isPrimaryJob","onCancel","className","onEvent","useI18n","t","useTranslation","isPrimaryNewJob","jobForm","useJobForm","compensationForm","useCompensationForm","loadingErrorHandling","composeErrorHandler","BaseLayout","submitResult","composeSubmitHandler","hireDateOverride","jobResult","componentEvents","freshCompVersion","c","compensationResult","errorHandling","isPending","classNames","styles","Form","ManagementCompensationFormBody"],"mappings":";;;;;;;;;;;;;;AAoCO,SAASA,EAAwB,EAAE,YAAAC,GAAY,GAAGC,KAAuC;AAC9F,SAAAC,EAAuB,yBAAyBF,CAAU,GAExD,gBAAAG,EAACC,KAAe,eAAc,oCAC5B,4BAACC,GAAA,EAAM,GAAGJ,GAAO,EAAA,CACnB;AAEJ;AAIA,SAASI,EAAK;AAAA,EACZ,YAAAC;AAAA,EACA,OAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,SAAAC;AACF,GAAc;AACZ,EAAAC,EAAQ,uBAAuB;AAC/B,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,uBAAuB,GAM9CC,IAAkBR,KAAYC,GAQ9BQ,IAAUC,EAAW;AAAA,IACzB,YAAAb;AAAA,IACA,OAAAC;AAAA,IACA,gBAAgB;AAAA,IAChB,mBAAmBU;AAAA,IACnB,yBAAyBA,IAAkB,EAAE,QAAQ,CAAC,UAAU,MAAM;AAAA,IACtE,kBAAkB;AAAA,EAAA,CACnB,GAEKG,IAAmBC,EAAoB;AAAA,IAC3C,YAAAf;AAAA,IACA,OAAAC;AAAA,IACA,gBAAAC;AAAA;AAAA;AAAA,IAGA,wBAAwB,CAACS;AAAA,IACzB,yBAAyB;AAAA,MACvB,QAAQA,IACJ,CAAC,SAAS,cAAc,QAAQ,aAAa,IAC7C,CAAC,SAAS,cAAc,QAAQ,eAAe,eAAe;AAAA,IAAA;AAAA,IAEpE,kBAAkB;AAAA,EAAA,CACnB;AAED,MAAIC,EAAQ,aAAaE,EAAiB,WAAW;AACnD,UAAME,IAAuBC,EAAoB,CAACL,GAASE,CAAgB,CAAC;AAC5E,6BAAQI,GAAA,EAAW,WAAS,IAAC,OAAOF,EAAqB,QAAQ;AAAA,EACnE;AAEA,QAAMG,IAAeC,EAAqB,CAACR,GAASE,CAAgB,GAAG,YAAY;AAKjF,UAAMO,IAAmBV,IACpBC,EAAQ,KAAK,kBAAkB,YAAY,UAAU,UAAU,KAAK,SACrE,QAEEU,IAAY,MAAMV,EAAQ,QAAQ,SAAA;AACxC,QAAI,CAACU,EAAW;AAEhB,IAAAf,EAAQgB,EAAgB,sBAAsBD,EAAU,IAAI;AAM5D,UAAME,IAAmBF,EAAU,KAAK,eAAe;AAAA,MACrD,CAAAG,MAAKA,EAAE,SAASvB;AAAA,IAAA,GACf,SAEGwB,IAAqB,MAAMZ,EAAiB,QAAQ,SAAS;AAAA,MACjE,GAAIO,IAAmB,EAAE,eAAeA,EAAA,IAAqB,CAAA;AAAA,MAC7D,qBAAqBG;AAAA,IAAA,CACtB;AACD,IAAKE,MAELnB,EAAQgB,EAAgB,+BAA+BG,EAAmB,IAAI,GAC9EnB,EAAQgB,EAAgB,4BAA4BG,EAAmB,IAAI;AAAA,EAC7E,CAAC,GAEKC,IAAgBV,EAAoB,CAACE,CAAY,CAAC,GAClDS,IAAYhB,EAAQ,OAAO,aAAaE,EAAiB,OAAO;AAEtE,2BACG,WAAA,EAAQ,WAAWe,EAAWC,EAAO,WAAWxB,CAAS,GACxD,UAAA,gBAAAT,EAACqB,GAAA,EAAW,OAAOS,EAAc,QAC/B,4BAACI,GAAA,EAAK,UAAUZ,EAAa,cAC3B,UAAA,gBAAAtB;AAAA,IAACmC;AAAA,IAAA;AAAA,MACC,SAAApB;AAAA,MACA,kBAAAE;AAAA,MACA,OAAOL,EAAE,kCAAkC;AAAA,MAC3C,gBAAgBA,EAAE,oBAAoB;AAAA,MACtC,WAAAmB;AAAA,MACA,UAAAvB;AAAA,IAAA;AAAA,EAAA,EACF,CACF,GACF,GACF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditPendingCompensation.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Form } from '@gusto/embedded-api/models/components/form';
|
|
2
|
-
export interface DocumentsViewProps {
|
|
3
|
-
forms?: Form[];
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
onViewForm?: (formUuid: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export interface DocumentsViewWithDataProps {
|
|
8
|
-
employeeId: string;
|
|
9
|
-
onViewForm?: (formUuid: string) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Tab-mounted container for the Documents tab. Owns the
|
|
13
|
-
* `useEmployeeForms` fetch so the request only fires when the user
|
|
14
|
-
* actually opens this tab (or whatever the parent chooses to mount).
|
|
15
|
-
* The presentational `DocumentsView` stays pure for testing/stories.
|
|
16
|
-
*/
|
|
17
|
-
export declare function DocumentsViewWithData({ employeeId, onViewForm }: DocumentsViewWithDataProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare function DocumentsView({ forms, isLoading, onViewForm }: DocumentsViewProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as u } from "react-i18next";
|
|
3
|
-
import { Flex as d } from "../../Common/Flex/Flex.js";
|
|
4
|
-
import { useComponentContext as c } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
5
|
-
import "classnames";
|
|
6
|
-
import "../../../shared/constants.js";
|
|
7
|
-
import { Loading as l } from "../../Common/Loading/Loading.js";
|
|
8
|
-
import { EmptyData as f } from "../../Common/EmptyData/EmptyData.js";
|
|
9
|
-
import { BaseLayout as p } from "../../Base/Base.js";
|
|
10
|
-
import { useEmployeeForms as g } from "./hooks/useEmployeeForms.js";
|
|
11
|
-
import { useDataView as y } from "../../Common/DataView/useDataView.js";
|
|
12
|
-
import { DataView as h } from "../../Common/DataView/DataView.js";
|
|
13
|
-
function v({ employeeId: i, onViewForm: s }) {
|
|
14
|
-
const n = g({ employeeId: i });
|
|
15
|
-
return /* @__PURE__ */ e(p, { error: n.errorHandling.errors, children: /* @__PURE__ */ e(
|
|
16
|
-
S,
|
|
17
|
-
{
|
|
18
|
-
forms: n.data.formList,
|
|
19
|
-
isLoading: n.status.isFormsLoading,
|
|
20
|
-
onViewForm: s
|
|
21
|
-
}
|
|
22
|
-
) });
|
|
23
|
-
}
|
|
24
|
-
function S({ forms: i = [], isLoading: s = !1, onViewForm: n }) {
|
|
25
|
-
const { t } = u("Employee.Dashboard"), o = c(), m = [
|
|
26
|
-
{
|
|
27
|
-
key: "title",
|
|
28
|
-
title: t("documents.columns.title"),
|
|
29
|
-
render: (r) => r.title || "-"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
key: "year",
|
|
33
|
-
title: t("documents.columns.year"),
|
|
34
|
-
render: (r) => r.year ? String(r.year) : "-"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
key: "status",
|
|
38
|
-
title: t("documents.columns.status"),
|
|
39
|
-
render: (r) => r.draft ? t("documents.status.draft") : t("documents.status.final")
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
key: "requiresSigning",
|
|
43
|
-
title: t("documents.columns.requiresSigning"),
|
|
44
|
-
render: (r) => r.requiresSigning ? /* @__PURE__ */ e(o.Badge, { status: "warning", children: t("documents.signingStatus.notSigned") }) : /* @__PURE__ */ e(o.Badge, { status: "success", children: t("documents.signingStatus.signed") })
|
|
45
|
-
}
|
|
46
|
-
], a = y({
|
|
47
|
-
data: i,
|
|
48
|
-
columns: m,
|
|
49
|
-
itemMenu: (r) => /* @__PURE__ */ e(o.Button, { variant: "secondary", onClick: () => n?.(r.uuid), children: t("documents.viewCta") }),
|
|
50
|
-
emptyState: () => /* @__PURE__ */ e(
|
|
51
|
-
f,
|
|
52
|
-
{
|
|
53
|
-
title: t("documents.emptyState.title"),
|
|
54
|
-
description: t("documents.emptyState.description")
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
});
|
|
58
|
-
return /* @__PURE__ */ e(d, { flexDirection: "column", gap: 24, children: /* @__PURE__ */ e(
|
|
59
|
-
o.Box,
|
|
60
|
-
{
|
|
61
|
-
withPadding: !1,
|
|
62
|
-
header: /* @__PURE__ */ e(o.BoxHeader, { title: t("documents.title") }),
|
|
63
|
-
children: s ? /* @__PURE__ */ e(l, {}) : /* @__PURE__ */ e(h, { label: t("documents.listLabel"), isWithinBox: !0, ...a })
|
|
64
|
-
}
|
|
65
|
-
) });
|
|
66
|
-
}
|
|
67
|
-
export {
|
|
68
|
-
S as DocumentsView,
|
|
69
|
-
v as DocumentsViewWithData
|
|
70
|
-
};
|
|
71
|
-
//# sourceMappingURL=DocumentsView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentsView.js","sources":["../../../../src/components/Employee/Dashboard/DocumentsView.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { Form } from '@gusto/embedded-api/models/components/form'\nimport { useEmployeeForms } from './hooks'\nimport { Flex } from '@/components/Common/Flex/Flex'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\nimport { DataView, useDataView, EmptyData, Loading } from '@/components/Common'\nimport { BaseLayout } from '@/components/Base/Base'\n\nexport interface DocumentsViewProps {\n forms?: Form[]\n isLoading?: boolean\n onViewForm?: (formUuid: string) => void\n}\n\nexport interface DocumentsViewWithDataProps {\n employeeId: string\n onViewForm?: (formUuid: string) => void\n}\n\n/**\n * Tab-mounted container for the Documents tab. Owns the\n * `useEmployeeForms` fetch so the request only fires when the user\n * actually opens this tab (or whatever the parent chooses to mount).\n * The presentational `DocumentsView` stays pure for testing/stories.\n */\nexport function DocumentsViewWithData({ employeeId, onViewForm }: DocumentsViewWithDataProps) {\n const forms = useEmployeeForms({ employeeId })\n\n return (\n <BaseLayout error={forms.errorHandling.errors}>\n <DocumentsView\n forms={forms.data.formList}\n isLoading={forms.status.isFormsLoading}\n onViewForm={onViewForm}\n />\n </BaseLayout>\n )\n}\n\nexport function DocumentsView({ forms = [], isLoading = false, onViewForm }: DocumentsViewProps) {\n const { t } = useTranslation('Employee.Dashboard')\n const Components = useComponentContext()\n\n const formsColumns = [\n {\n key: 'title',\n title: t('documents.columns.title'),\n render: (form: Form) => form.title || '-',\n },\n {\n key: 'year',\n title: t('documents.columns.year'),\n render: (form: Form) => {\n if (form.year) return String(form.year)\n return '-'\n },\n },\n {\n key: 'status',\n title: t('documents.columns.status'),\n render: (form: Form) => {\n if (form.draft) return t('documents.status.draft')\n return t('documents.status.final')\n },\n },\n {\n key: 'requiresSigning',\n title: t('documents.columns.requiresSigning'),\n render: (form: Form) => {\n if (form.requiresSigning) {\n return (\n <Components.Badge status=\"warning\">\n {t('documents.signingStatus.notSigned')}\n </Components.Badge>\n )\n }\n return (\n <Components.Badge status=\"success\">\n {t('documents.signingStatus.signed')}\n </Components.Badge>\n )\n },\n },\n ]\n\n const formsDataView = useDataView({\n data: forms,\n columns: formsColumns,\n itemMenu: (form: Form) => (\n <Components.Button variant=\"secondary\" onClick={() => onViewForm?.(form.uuid)}>\n {t('documents.viewCta')}\n </Components.Button>\n ),\n emptyState: () => (\n <EmptyData\n title={t('documents.emptyState.title')}\n description={t('documents.emptyState.description')}\n />\n ),\n })\n\n return (\n <Flex flexDirection=\"column\" gap={24}>\n <Components.Box\n withPadding={false}\n header={<Components.BoxHeader title={t('documents.title')} />}\n >\n {isLoading ? (\n <Loading />\n ) : (\n <DataView label={t('documents.listLabel')} isWithinBox {...formsDataView} />\n )}\n </Components.Box>\n </Flex>\n )\n}\n"],"names":["DocumentsViewWithData","employeeId","onViewForm","forms","useEmployeeForms","jsx","BaseLayout","DocumentsView","isLoading","useTranslation","Components","useComponentContext","formsColumns","form","formsDataView","useDataView","EmptyData","Flex","Loading","DataView"],"mappings":";;;;;;;;;;;;AAyBO,SAASA,EAAsB,EAAE,YAAAC,GAAY,YAAAC,KAA0C;AAC5F,QAAMC,IAAQC,EAAiB,EAAE,YAAAH,GAAY;AAE7C,SACE,gBAAAI,EAACC,GAAA,EAAW,OAAOH,EAAM,cAAc,QACrC,UAAA,gBAAAE;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,OAAOJ,EAAM,KAAK;AAAA,MAClB,WAAWA,EAAM,OAAO;AAAA,MACxB,YAAAD;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AAEO,SAASK,EAAc,EAAE,OAAAJ,IAAQ,CAAA,GAAI,WAAAK,IAAY,IAAO,YAAAN,KAAkC;AAC/F,QAAM,EAAE,EAAA,IAAMO,EAAe,oBAAoB,GAC3CC,IAAaC,EAAA,GAEbC,IAAe;AAAA,IACnB;AAAA,MACE,KAAK;AAAA,MACL,OAAO,EAAE,yBAAyB;AAAA,MAClC,QAAQ,CAACC,MAAeA,EAAK,SAAS;AAAA,IAAA;AAAA,IAExC;AAAA,MACE,KAAK;AAAA,MACL,OAAO,EAAE,wBAAwB;AAAA,MACjC,QAAQ,CAACA,MACHA,EAAK,OAAa,OAAOA,EAAK,IAAI,IAC/B;AAAA,IACT;AAAA,IAEF;AAAA,MACE,KAAK;AAAA,MACL,OAAO,EAAE,0BAA0B;AAAA,MACnC,QAAQ,CAACA,MACHA,EAAK,QAAc,EAAE,wBAAwB,IAC1C,EAAE,wBAAwB;AAAA,IACnC;AAAA,IAEF;AAAA,MACE,KAAK;AAAA,MACL,OAAO,EAAE,mCAAmC;AAAA,MAC5C,QAAQ,CAACA,MACHA,EAAK,kBAEL,gBAAAR,EAACK,EAAW,OAAX,EAAiB,QAAO,WACtB,UAAA,EAAE,mCAAmC,GACxC,IAIF,gBAAAL,EAACK,EAAW,OAAX,EAAiB,QAAO,WACtB,UAAA,EAAE,gCAAgC,GACrC;AAAA,IAEJ;AAAA,EACF,GAGII,IAAgBC,EAAY;AAAA,IAChC,MAAMZ;AAAA,IACN,SAASS;AAAA,IACT,UAAU,CAACC,MACT,gBAAAR,EAACK,EAAW,QAAX,EAAkB,SAAQ,aAAY,SAAS,MAAMR,IAAaW,EAAK,IAAI,GACzE,UAAA,EAAE,mBAAmB,GACxB;AAAA,IAEF,YAAY,MACV,gBAAAR;AAAA,MAACW;AAAA,MAAA;AAAA,QACC,OAAO,EAAE,4BAA4B;AAAA,QACrC,aAAa,EAAE,kCAAkC;AAAA,MAAA;AAAA,IAAA;AAAA,EACnD,CAEH;AAED,SACE,gBAAAX,EAACY,GAAA,EAAK,eAAc,UAAS,KAAK,IAChC,UAAA,gBAAAZ;AAAA,IAACK,EAAW;AAAA,IAAX;AAAA,MACC,aAAa;AAAA,MACb,0BAASA,EAAW,WAAX,EAAqB,OAAO,EAAE,iBAAiB,GAAG;AAAA,MAE1D,UAAAF,IACC,gBAAAH,EAACa,GAAA,CAAA,CAAQ,IAET,gBAAAb,EAACc,GAAA,EAAS,OAAO,EAAE,qBAAqB,GAAG,aAAW,IAAE,GAAGL,EAAA,CAAe;AAAA,IAAA;AAAA,EAAA,GAGhF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JobAndPayView.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|