@gusto/embedded-react-sdk 0.56.1 → 0.56.3
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 +36 -0
- package/dist/components/Common/FieldCaption/FieldCaption.js +18 -24
- package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
- package/dist/components/Common/FieldCaption/FieldCaption.module.scss.js +3 -5
- package/dist/components/Common/FieldCaption/FieldCaption.module.scss.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControl.js +66 -62
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PaySchedule.js +60 -0
- package/dist/components/Company/PaySchedule/management/PaySchedule.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentReviewStepPresentation.js +67 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentReviewStepPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js +59 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js +57 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js +46 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js +101 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js +81 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/stripNullAssignmentPreviewFields.js +18 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/stripNullAssignmentPreviewFields.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleManagementComponents.js +56 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleManagementComponents.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js +34 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.js +77 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.module.scss.js +10 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.module.scss.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/payScheduleManagementStateMachine.js +66 -0
- package/dist/components/Company/PaySchedule/management/payScheduleManagementStateMachine.js.map +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +75 -57
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/shared/requirementSetError.js +15 -0
- package/dist/components/Company/StateTaxes/shared/requirementSetError.js.map +1 -0
- package/dist/components/Company/exports/companyManagement.js +7 -0
- package/dist/components/Company/exports/companyManagement.js.map +1 -0
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +24 -24
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +51 -58
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +12 -7
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +87 -85
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +55 -54
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +81 -67
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +129 -125
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +30 -27
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js +41 -30
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js +159 -152
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +61 -59
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +32 -31
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +16 -16
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +61 -61
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +192 -193
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlow.js +27 -22
- package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +55 -53
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -41
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +48 -47
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/helpers.js +72 -67
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +37 -28
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/contexts/ApiProvider/ApiProvider.js +23 -22
- package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
- package/dist/contexts/ApiProvider/informationRequestEnumHook.js +30 -0
- package/dist/contexts/ApiProvider/informationRequestEnumHook.js.map +1 -0
- package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/formattedStrings.js +9 -8
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/i18n/I18n.js +2 -0
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.Management.PaySchedule.json.js +24 -0
- package/dist/i18n/en/Company.Management.PaySchedule.json.js.map +1 -0
- package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js +18 -0
- package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js.map +1 -0
- package/dist/i18n/en/Company.StateTaxes.json.js +1 -1
- package/dist/i18n/en/Payroll.GrossUpModal.json.js +12 -14
- package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +1 -1
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +52 -50
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +1 -1
- package/dist/i18n/en/common.json.js +36 -38
- package/dist/i18n/en/common.json.js.map +1 -1
- package/dist/index.js +137 -135
- package/dist/index.js.map +1 -1
- package/dist/package.json.js +1 -1
- package/dist/shared/constants.js +39 -31
- package/dist/shared/constants.js.map +1 -1
- package/dist/src/components/Common/ActionsLayout/ActionsLayout.d.ts +1 -1
- package/dist/src/components/Common/Alert/Alert.d.ts +1 -1
- package/dist/src/components/Common/DataView/DataCards/DataCards.d.ts +1 -1
- package/dist/src/components/Common/DataView/DataTable/DataTable.d.ts +1 -1
- package/dist/src/components/Common/DataView/DataView.d.ts +1 -1
- package/dist/src/components/Common/DateRangeFilter/DateRangeFilter.d.ts +1 -1
- package/dist/src/components/Common/DetailViewLayout/DetailViewLayout.d.ts +1 -1
- package/dist/src/components/Common/DocumentList/DocumentList.d.ts +1 -1
- package/dist/src/components/Common/DocumentViewer/DocumentViewer.d.ts +1 -1
- package/dist/src/components/Common/EmptyData/EmptyData.d.ts +1 -1
- package/dist/src/components/Common/FieldCaption/FieldCaption.d.ts +1 -1
- package/dist/src/components/Common/FieldErrorMessage/FieldErrorMessage.d.ts +1 -1
- package/dist/src/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
- package/dist/src/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
- package/dist/src/components/Common/Fields/PercentageField/PercentageField.d.ts +1 -1
- package/dist/src/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
- package/dist/src/components/Common/Fields/SelectField/SelectField.d.ts +1 -1
- package/dist/src/components/Common/Fields/hooks/FieldElementRegistryProvider.d.ts +1 -1
- package/dist/src/components/Common/Flex/Flex.d.ts +2 -2
- package/dist/src/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.d.ts +1 -1
- package/dist/src/components/Common/Form/Form.d.ts +1 -1
- package/dist/src/components/Common/Grid/Grid.d.ts +1 -1
- package/dist/src/components/Common/HamburgerMenu/HamburgerMenu.d.ts +1 -1
- package/dist/src/components/Common/InlineSpinner/InlineSpinner.d.ts +1 -1
- package/dist/src/components/Common/InternalError/InternalError.d.ts +1 -1
- package/dist/src/components/Common/Loading/Loading.d.ts +1 -1
- package/dist/src/components/Common/OnboardingStatusBadge/index.d.ts +3 -3
- package/dist/src/components/Common/PaginationControl/PaginationControl.d.ts +1 -1
- package/dist/src/components/Common/PayrollLoading/PayrollLoading.d.ts +1 -1
- package/dist/src/components/Common/ReorderableList/ReorderableList.d.ts +1 -1
- package/dist/src/components/Common/RequirementsList/RequirementsList.d.ts +1 -1
- package/dist/src/components/Common/TaxInputs/TaxInputs.d.ts +7 -7
- package/dist/src/components/Common/Toast/Toast.d.ts +1 -1
- package/dist/src/components/Common/UI/Alert/Alert.d.ts +1 -1
- package/dist/src/components/Common/UI/Box/Box.d.ts +1 -1
- package/dist/src/components/Common/UI/BoxHeader/BoxHeader.d.ts +1 -1
- package/dist/src/components/Common/UI/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/src/components/Common/UI/Button/Button.d.ts +1 -1
- package/dist/src/components/Common/UI/Button/ButtonIcon.d.ts +1 -1
- package/dist/src/components/Common/UI/CalendarPreview/CalendarLegend.d.ts +1 -1
- package/dist/src/components/Common/UI/CalendarPreview/CalendarPreview.d.ts +1 -1
- package/dist/src/components/Common/UI/Card/Card.d.ts +1 -1
- package/dist/src/components/Common/UI/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/components/Common/UI/ComboBox/ComboBox.d.ts +1 -1
- package/dist/src/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
- package/dist/src/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/src/components/Common/UI/DescriptionList/DescriptionList.d.ts +1 -1
- package/dist/src/components/Common/UI/Dialog/Dialog.d.ts +1 -1
- package/dist/src/components/Common/UI/FileInput/FileInput.d.ts +1 -1
- package/dist/src/components/Common/UI/FormBox/FormBox.d.ts +1 -1
- package/dist/src/components/Common/UI/FormBoxHeader/FormBoxHeader.d.ts +1 -1
- package/dist/src/components/Common/UI/Heading/Heading.d.ts +1 -1
- package/dist/src/components/Common/UI/Input/Input.d.ts +1 -1
- package/dist/src/components/Common/UI/Link/Link.d.ts +1 -1
- package/dist/src/components/Common/UI/List/OrderedList.d.ts +1 -1
- package/dist/src/components/Common/UI/List/UnorderedList.d.ts +1 -1
- package/dist/src/components/Common/UI/Menu/Menu.d.ts +1 -1
- package/dist/src/components/Common/UI/Modal/Modal.d.ts +1 -1
- package/dist/src/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.d.ts +1 -1
- package/dist/src/components/Common/UI/NumberInput/NumberInput.d.ts +1 -1
- package/dist/src/components/Common/UI/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/src/components/Common/UI/Radio/Radio.d.ts +1 -1
- package/dist/src/components/Common/UI/Select/Select.d.ts +1 -1
- package/dist/src/components/Common/UI/Switch/Switch.d.ts +1 -1
- package/dist/src/components/Common/UI/Table/Table.d.ts +1 -1
- package/dist/src/components/Common/UI/Tabs/Tabs.d.ts +1 -1
- package/dist/src/components/Common/UI/Text/Text.d.ts +1 -1
- package/dist/src/components/Common/UI/TextArea/TextArea.d.ts +1 -1
- package/dist/src/components/Common/UI/TextInput/TextInput.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/AssignSignatory.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/AssignSignatorySelection.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/CreateSignatory/Actions.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/Head.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/InviteSignatory/Actions.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/SignatoryForm.d.ts +1 -1
- package/dist/src/components/Company/AssignSignatory/TitleSelect.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccount.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountComponents.d.ts +3 -3
- package/dist/src/components/Company/BankAccount/BankAccountForm/Actions.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountForm/BankAccountForm.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountForm/Form.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountForm/Head.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountList/AccountView.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountList/Actions.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountList/BankAccountList.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountList/Head.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountVerify/Actions.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountVerify/Form.d.ts +1 -1
- package/dist/src/components/Company/BankAccount/BankAccountVerify/Head.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentList/Actions.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentList/Head.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentList/List.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentList/ManageSignatories.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/DocumentSigner.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/SignatureForm/SignatureForm.d.ts +1 -1
- package/dist/src/components/Company/DocumentSigner/documentSignerStateMachine.d.ts +3 -3
- package/dist/src/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.d.ts +2 -2
- package/dist/src/components/Company/FederalTaxes/Actions.d.ts +1 -1
- package/dist/src/components/Company/FederalTaxes/FederalTaxes.d.ts +1 -1
- package/dist/src/components/Company/FederalTaxes/Form.d.ts +1 -1
- package/dist/src/components/Company/FederalTaxes/Head.d.ts +1 -1
- package/dist/src/components/Company/Industry/Actions.d.ts +1 -1
- package/dist/src/components/Company/Industry/Edit.d.ts +1 -1
- package/dist/src/components/Company/Industry/Head.d.ts +1 -1
- package/dist/src/components/Company/Industry/Industry.d.ts +1 -1
- package/dist/src/components/Company/Industry/IndustrySelect.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationForm/Actions.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationForm/Form.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationForm/Head.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationForm/LocationForm.d.ts +1 -1
- package/dist/src/components/Company/Locations/Locations.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationsList/Actions.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationsList/Head.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationsList/List.d.ts +1 -1
- package/dist/src/components/Company/Locations/LocationsList/LocationsList.d.ts +1 -1
- package/dist/src/components/Company/Locations/locationsStateMachine.d.ts +2 -2
- package/dist/src/components/Company/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/src/components/Company/OnboardingFlow/OnboardingFlowComponents.d.ts +9 -9
- package/dist/src/components/Company/OnboardingOverview/Completed.d.ts +1 -1
- package/dist/src/components/Company/OnboardingOverview/MissingRequirements.d.ts +1 -1
- package/dist/src/components/Company/OnboardingOverview/OnboardingOverview.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/PaySchedule.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/PayScheduleComponents.d.ts +2 -2
- package/dist/src/components/Company/PaySchedule/PayScheduleForm.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/PayScheduleList.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/PaySchedule.d.ts +24 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentReviewStepPresentation.d.ts +10 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.d.ts +11 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.d.ts +9 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.d.ts +35 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.d.ts +29 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/index.d.ts +1 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.d.ts +7 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/stripNullAssignmentPreviewFields.d.ts +12 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/usePayScheduleAssignment.d.ts +9 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleManagementComponents.d.ts +20 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleOverview.d.ts +11 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.d.ts +18 -0
- package/dist/src/components/Company/PaySchedule/management/index.d.ts +1 -0
- package/dist/src/components/Company/PaySchedule/management/payScheduleManagementStateMachine.d.ts +12 -0
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +8 -8
- package/dist/src/components/Company/StateTaxes/StateTaxes.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesComponents.d.ts +3 -3
- package/dist/src/components/Company/StateTaxes/StateTaxesForm/Actions.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesForm/Form.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesForm/Head.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesList/Actions.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesList/Head.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesList/List.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/StateTaxesList/StateTaxesList.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/TaxRateManagement/AddRateAction.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/TaxRateManagement/AddTaxRateDialog.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/TaxRateManagement/TaxRateHistorySection.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/TaxRateManagement/TaxRateManagement.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/shared/RequirementFields.d.ts +1 -1
- package/dist/src/components/Company/StateTaxes/shared/requirementSetError.d.ts +18 -0
- package/dist/src/components/Company/StateTaxes/shared/requirementSetError.test.d.ts +1 -0
- package/dist/src/components/Company/exports/companyManagement.d.ts +2 -0
- package/dist/src/components/Contractor/Address/management/Address.d.ts +1 -1
- package/dist/src/components/Contractor/Address/management/AddressCard/AddressCard.d.ts +1 -1
- package/dist/src/components/Contractor/Address/management/AddressComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Address/management/AddressEditForm.d.ts +1 -1
- package/dist/src/components/Contractor/Address/shared/useContractorAddressForm/fields.d.ts +5 -5
- package/dist/src/components/Contractor/Compensation/management/Compensation.d.ts +1 -1
- package/dist/src/components/Contractor/Compensation/management/CompensationCard/CompensationCard.d.ts +1 -1
- package/dist/src/components/Contractor/Compensation/management/CompensationComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Compensation/management/CompensationEditForm.d.ts +1 -1
- package/dist/src/components/Contractor/Compensation/shared/useContractorPayForm/fields.d.ts +2 -2
- package/dist/src/components/Contractor/ContractorList/management/ManagementContractorList.d.ts +1 -1
- package/dist/src/components/Contractor/ContractorList/management/ManagementContractorListView.d.ts +1 -1
- package/dist/src/components/Contractor/ContractorList/onboarding/ContractorList.d.ts +1 -1
- package/dist/src/components/Contractor/ContractorList/onboarding/ContractorListView.d.ts +1 -1
- package/dist/src/components/Contractor/ContractorListFlow/ContractorListFlow.d.ts +1 -1
- package/dist/src/components/Contractor/ContractorListFlow/ContractorListFlowComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Dashboard/Dashboard.d.ts +1 -1
- package/dist/src/components/Contractor/Dashboard/DashboardComponents.d.ts +5 -5
- package/dist/src/components/Contractor/Dashboard/DashboardFlow.d.ts +1 -1
- package/dist/src/components/Contractor/Dashboard/DetailsView.d.ts +1 -1
- package/dist/src/components/Contractor/Dashboard/PayView.d.ts +1 -1
- package/dist/src/components/Contractor/Documents/management/DocumentsCard/DocumentsCard.d.ts +1 -1
- package/dist/src/components/Contractor/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +1 -1
- package/dist/src/components/Contractor/Documents/onboarding/DocumentSigner/documentSignerStateMachine.d.ts +2 -2
- package/dist/src/components/Contractor/Documents/onboarding/DocumentsList/DocumentsList.d.ts +1 -1
- package/dist/src/components/Contractor/Documents/shared/SignatureForm/SignatureForm.d.ts +1 -1
- package/dist/src/components/Contractor/Documents/shared/SignatureForm/useContractorSignatureForm/fields.d.ts +19 -19
- package/dist/src/components/Contractor/Landing/Landing.d.ts +1 -1
- package/dist/src/components/Contractor/NewHireReport/NewHireReport.d.ts +1 -1
- package/dist/src/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/src/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +7 -7
- package/dist/src/components/Contractor/OnboardingSummary/OnboardingSummary.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/management/PaymentMethod.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/management/PaymentMethodCard/PaymentMethodCard.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/management/PaymentMethodComponents.d.ts +2 -2
- package/dist/src/components/Contractor/PaymentMethod/management/PaymentMethodEditForm.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/onboarding/PaymentMethod.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/shared/ContractorBankAccountFields/ContractorBankAccountFields.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/shared/ContractorBankAccountFormBody/ContractorBankAccountFormBody.d.ts +1 -1
- package/dist/src/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/fields.d.ts +4 -4
- package/dist/src/components/Contractor/PaymentMethod/shared/useContractorPaymentMethodForm/fields.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/CreatePayment.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/GenericBlocker.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/CreatePaymentFlow/CreatePaymentFlow.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/CreatePaymentFlow/CreatePaymentFlowComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/HistoricalPaymentFlow/HistoricalPaymentFlow.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/HistoricalPaymentFlow/HistoricalPaymentFlowComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentFlow/PaymentFlow.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.d.ts +5 -5
- package/dist/src/components/Contractor/Payments/PaymentHistory/PaymentHistory.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentStatement/PaymentStatement.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentSummary/PaymentSummary.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/PaymentsList/PaymentsList.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/ViewPaymentFlow/ViewPaymentFlow.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/ViewPaymentFlow/ViewPaymentFlowComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Payments/shared/PaymentSummaryBlock/PaymentSummaryBlock.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/shared/SetPaymentAmounts/EditContractorPaymentPresentation.d.ts +1 -1
- package/dist/src/components/Contractor/Payments/shared/SetPaymentAmounts/SetPaymentAmounts.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/management/Profile.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/management/ProfileCard/ProfileCard.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/management/ProfileComponents.d.ts +2 -2
- package/dist/src/components/Contractor/Profile/management/ProfileEditForm.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/onboarding/BusinessSelfOnboardingProfile.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/onboarding/ContractorProfile.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/onboarding/IndividualSelfOnboardingProfile.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/onboarding/SelfOnboardingContractorProfile.d.ts +1 -1
- package/dist/src/components/Contractor/Profile/shared/useContractorDetailsForm/fields.d.ts +14 -14
- package/dist/src/components/Contractor/SelfOnboardingFlow/SelfOnboardingComponents.d.ts +6 -6
- package/dist/src/components/Contractor/SelfOnboardingFlow/SelfOnboardingFlow.d.ts +1 -1
- package/dist/src/components/Contractor/Submit/Submit.d.ts +1 -1
- package/dist/src/components/Contractor/Submit/SubmitDone.d.ts +1 -1
- package/dist/src/components/Contractor/shared/SelectContractors/SelectContractors.d.ts +1 -1
- package/dist/src/components/Contractor/shared/SelectContractors/SelectContractorsPresentation.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/Compensation.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationCard/CompensationCard.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationComponents.d.ts +4 -4
- package/dist/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/onboarding/Compensation.d.ts +2 -2
- package/dist/src/components/Employee/Compensation/onboarding/CompensationFlowComponents.d.ts +3 -3
- package/dist/src/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/onboarding/JobsList/JobsList.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/shared/PendingChangesReviewModal.d.ts +1 -1
- package/dist/src/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +7 -7
- package/dist/src/components/Employee/Compensation/shared/useJobForm/fields.d.ts +5 -5
- package/dist/src/components/Employee/Dashboard/BasicDetailsView.d.ts +1 -1
- package/dist/src/components/Employee/Dashboard/Dashboard.d.ts +1 -1
- package/dist/src/components/Employee/Dashboard/DashboardComponents.d.ts +13 -13
- package/dist/src/components/Employee/Dashboard/DashboardFlow.d.ts +1 -1
- package/dist/src/components/Employee/Dashboard/JobAndPayView.d.ts +1 -1
- package/dist/src/components/Employee/Dashboard/TaxesView.d.ts +2 -2
- package/dist/src/components/Employee/Deductions/management/Deductions.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/management/DeductionsComponents.d.ts +2 -2
- package/dist/src/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/onboarding/Deductions.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/onboarding/deductionsContextualComponents.d.ts +2 -2
- package/dist/src/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/shared/DeleteDeductionDialog.d.ts +1 -1
- package/dist/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.d.ts +8 -8
- package/dist/src/components/Employee/Deductions/shared/useDeductionForm/fields.d.ts +7 -7
- package/dist/src/components/Employee/Documents/management/DocumentManager.d.ts +1 -1
- package/dist/src/components/Employee/Documents/management/Documents.d.ts +1 -1
- package/dist/src/components/Employee/Documents/management/DocumentsCard/DocumentsCard.d.ts +1 -1
- package/dist/src/components/Employee/Documents/management/DocumentsComponents.d.ts +2 -2
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Head.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.d.ts +1 -1
- package/dist/src/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.d.ts +4 -4
- package/dist/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.d.ts +2 -2
- package/dist/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +1 -1
- package/dist/src/components/Employee/Documents/shared/SignatureForm/SignatureForm.d.ts +1 -1
- package/dist/src/components/Employee/Documents/shared/useSignEmployeeForm/fields.d.ts +39 -39
- package/dist/src/components/Employee/EmployeeList/management/ManagementEmployeeList.d.ts +1 -1
- package/dist/src/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -1
- package/dist/src/components/Employee/EmployeeList/onboarding/EmployeeList.d.ts +1 -1
- package/dist/src/components/Employee/EmployeeList/onboarding/EmployeeListView.d.ts +1 -1
- package/dist/src/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +1 -1
- package/dist/src/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +4 -4
- package/dist/src/components/Employee/FederalTaxes/management/FederalTaxes.d.ts +1 -1
- package/dist/src/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.d.ts +1 -1
- package/dist/src/components/Employee/FederalTaxes/management/FederalTaxesComponents.d.ts +2 -2
- package/dist/src/components/Employee/FederalTaxes/management/FederalTaxesEditForm.d.ts +1 -1
- package/dist/src/components/Employee/FederalTaxes/onboarding/FederalTaxes.d.ts +1 -1
- package/dist/src/components/Employee/FederalTaxes/shared/FederalTaxesView.d.ts +1 -1
- package/dist/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.d.ts +6 -6
- package/dist/src/components/Employee/HomeAddress/management/HomeAddress.d.ts +1 -1
- package/dist/src/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.d.ts +1 -1
- package/dist/src/components/Employee/HomeAddress/management/HomeAddressComponents.d.ts +2 -2
- package/dist/src/components/Employee/HomeAddress/management/HomeAddressEditForm.d.ts +1 -1
- package/dist/src/components/Employee/HomeAddress/management/HomeAddressView.d.ts +1 -1
- package/dist/src/components/Employee/Landing/Landing.d.ts +1 -1
- package/dist/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.d.ts +1 -1
- package/dist/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.d.ts +3 -3
- package/dist/src/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.d.ts +1 -1
- package/dist/src/components/Employee/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/src/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +2 -2
- package/dist/src/components/Employee/OnboardingSummary/OnboardingSummary.d.ts +2 -2
- package/dist/src/components/Employee/PaymentMethod/management/PaymentMethod.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/management/PaymentMethodBankForm.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/management/PaymentMethodCard.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/management/PaymentMethodComponents.d.ts +3 -3
- package/dist/src/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/onboarding/BankForm.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/onboarding/ListView.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/onboarding/PaymentMethod.d.ts +2 -2
- package/dist/src/components/Employee/PaymentMethod/onboarding/PaymentMethodComponents.d.ts +3 -3
- package/dist/src/components/Employee/PaymentMethod/onboarding/SplitView.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/shared/useBankForm/fields.d.ts +4 -4
- package/dist/src/components/Employee/PaymentMethod/shared/usePaymentMethodForm/fields.d.ts +1 -1
- package/dist/src/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/fields.d.ts +1 -1
- package/dist/src/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.d.ts +1 -1
- package/dist/src/components/Employee/Profile/management/Profile.d.ts +1 -1
- package/dist/src/components/Employee/Profile/management/ProfileCard/ProfileCard.d.ts +1 -1
- package/dist/src/components/Employee/Profile/management/ProfileComponents.d.ts +2 -2
- package/dist/src/components/Employee/Profile/management/ProfileEditForm.d.ts +1 -1
- package/dist/src/components/Employee/Profile/onboarding/AdminProfile.d.ts +1 -1
- package/dist/src/components/Employee/Profile/onboarding/EmployeeProfile.d.ts +1 -1
- package/dist/src/components/Employee/Profile/onboarding/Profile.d.ts +2 -2
- package/dist/src/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.d.ts +7 -7
- package/dist/src/components/Employee/Profile/shared/useHomeAddressForm/fields.d.ts +7 -7
- package/dist/src/components/Employee/Profile/shared/useWorkAddressForm/fields.d.ts +2 -2
- package/dist/src/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.d.ts +7 -7
- package/dist/src/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/management/StateTaxes.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/management/StateTaxesComponents.d.ts +2 -2
- package/dist/src/components/Employee/StateTaxes/management/StateTaxesEditForm.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/onboarding/StateTaxes.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.d.ts +1 -1
- package/dist/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.d.ts +6 -6
- package/dist/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.d.ts +1 -1
- package/dist/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +1 -1
- package/dist/src/components/Employee/Terminations/TerminationFlow/TerminationFlow.d.ts +1 -1
- package/dist/src/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +4 -4
- package/dist/src/components/Employee/Terminations/TerminationSummary/TerminationSummary.d.ts +1 -1
- package/dist/src/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +1 -1
- package/dist/src/components/Employee/WorkAddress/management/WorkAddress.d.ts +1 -1
- package/dist/src/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.d.ts +1 -1
- package/dist/src/components/Employee/WorkAddress/management/WorkAddressComponents.d.ts +2 -2
- package/dist/src/components/Employee/WorkAddress/management/WorkAddressEditForm.d.ts +1 -1
- package/dist/src/components/Employee/WorkAddress/management/WorkAddressView.d.ts +1 -1
- package/dist/src/components/Flow/Flow.d.ts +1 -1
- package/dist/src/components/Flow/FlowHeader.d.ts +1 -1
- package/dist/src/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +2 -2
- package/dist/src/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +1 -1
- package/dist/src/components/InformationRequests/InformationRequests.d.ts +1 -1
- package/dist/src/components/InformationRequests/InformationRequestsComponents.d.ts +1 -1
- package/dist/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.d.ts +1 -1
- package/dist/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.d.ts +1 -1
- package/dist/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.d.ts +2 -2
- package/dist/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.d.ts +1 -1
- package/dist/src/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.d.ts +1 -1
- package/dist/src/components/Payroll/Dismissal/DismissalFlow.d.ts +1 -1
- package/dist/src/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
- package/dist/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +1 -1
- package/dist/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +3 -3
- package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreation.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.d.ts +1 -1
- package/dist/src/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.d.ts +1 -1
- package/dist/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +12 -0
- package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +6 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollFlow/PayrollFlow.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +7 -7
- package/dist/src/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollHistory/PayrollHistory.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollLanding/PayrollLanding.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +3 -3
- package/dist/src/components/Payroll/PayrollList/PayrollList.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollList/PayrollListPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollOverview/PayrollOverview.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.d.ts +1 -1
- package/dist/src/components/Payroll/PrintChecks/PrintChecks.d.ts +1 -1
- package/dist/src/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.d.ts +1 -1
- package/dist/src/components/Payroll/PrintChecks/PrintChecksComponents.d.ts +3 -3
- package/dist/src/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.d.ts +1 -1
- package/dist/src/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.d.ts +1 -1
- package/dist/src/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.d.ts +1 -1
- package/dist/src/components/Payroll/RecoveryCases/RecoveryCases.d.ts +1 -1
- package/dist/src/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +1 -1
- package/dist/src/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +1 -1
- package/dist/src/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +1 -1
- package/dist/src/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
- package/dist/src/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -1
- package/dist/src/components/Payroll/TransitionCreation/TransitionCreation.d.ts +1 -1
- package/dist/src/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/TransitionPayroll/TransitionPayroll.d.ts +1 -1
- package/dist/src/components/Payroll/TransitionPayroll/TransitionPayrollComponents.d.ts +2 -2
- package/dist/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +6 -1
- package/dist/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +7 -1
- package/dist/src/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts +1 -1
- package/dist/src/components/Payroll/helpers.d.ts +34 -0
- package/dist/src/components/Payroll/usePreparedPayrollData.d.ts +6 -1
- package/dist/src/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +1 -1
- package/dist/src/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +1 -1
- package/dist/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyList/PolicyList.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicySettings/PolicySettings.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +1 -1
- package/dist/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffFlow/TimeOffFlow.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +12 -12
- package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +1 -1
- package/dist/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +1 -1
- package/dist/src/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +1 -1
- package/dist/src/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +1 -1
- package/dist/src/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +1 -1
- package/dist/src/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
- package/dist/src/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -1
- package/dist/src/components/index.d.ts +12 -0
- package/dist/src/contexts/ApiProvider/ApiProvider.d.ts +1 -1
- package/dist/src/contexts/ApiProvider/informationRequestEnumHook.d.ts +14 -0
- package/dist/src/contexts/ApiProvider/informationRequestEnumHook.test.d.ts +1 -0
- package/dist/src/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.d.ts +1 -1
- package/dist/src/contexts/LocaleProvider/LocaleProvider.d.ts +1 -1
- package/dist/src/contexts/ObservabilityProvider/ObservabilityProvider.d.ts +1 -1
- package/dist/src/contexts/ThemeProvider/customRender.d.ts +1 -1
- package/dist/src/contexts/UnstableFeaturesProvider/UnstableFeaturesProvider.d.ts +1 -1
- package/dist/src/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +2 -0
- package/dist/src/helpers/dateFormatting.d.ts +2 -2
- package/dist/src/helpers/formattedStrings.d.ts +15 -0
- package/dist/src/i18n/en/common.json.d.ts +0 -1
- package/dist/src/i18n/types.d.ts +99 -7
- package/dist/src/models/external.d.ts +12 -0
- package/dist/src/partner-hook-utils/form/FormFieldsMetadataProvider.d.ts +1 -1
- package/dist/src/partner-hook-utils/form/SDKFormProvider.d.ts +1 -1
- package/dist/src/shared/constants.d.ts +16 -0
- package/dist/src/test-utils/renderWithProviders.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/types/sdkError.js +32 -21
- package/dist/types/sdkError.js.map +1 -1
- package/docs/guides/endpoint-inventory.json +59 -10
- package/package.json +11 -11
|
@@ -29,4 +29,4 @@ export interface LocationsProps extends BaseComponentInterface<'Company.Location
|
|
|
29
29
|
* @returns The Locations flow element.
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
export declare function Locations({ companyId, onEvent, dictionary }: LocationsProps): import(
|
|
32
|
+
export declare function Locations({ companyId, onEvent, dictionary }: LocationsProps): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Actions(): import(
|
|
2
|
+
export declare function Actions(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Head(): import(
|
|
2
|
+
export declare function Head(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare const List: () => import(
|
|
2
|
+
export declare const List: () => import('react').JSX.Element;
|
|
@@ -25,4 +25,4 @@ export interface LocationsListProps extends BaseComponentInterface<'Company.Loca
|
|
|
25
25
|
* @returns The rendered locations list section.
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
|
-
export declare function LocationsList(props: LocationsListProps): import(
|
|
28
|
+
export declare function LocationsList(props: LocationsListProps): import('react').JSX.Element;
|
|
@@ -14,6 +14,6 @@ export interface LocationsContextInterface extends FlowContextInterface {
|
|
|
14
14
|
locationId?: string;
|
|
15
15
|
}
|
|
16
16
|
/** @internal */
|
|
17
|
-
export declare function LocationsListContextual(): import(
|
|
17
|
+
export declare function LocationsListContextual(): import('react').JSX.Element;
|
|
18
18
|
/** @internal */
|
|
19
|
-
export declare function LocationFormContextual(): import(
|
|
19
|
+
export declare function LocationFormContextual(): import('react').JSX.Element;
|
|
@@ -61,4 +61,4 @@ export type { OnboardingFlowProps, OnboardingFlowDefaultValues } from './Onboard
|
|
|
61
61
|
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
export declare const OnboardingFlow: ({ companyId, signatoryId, onEvent, defaultValues, }: OnboardingFlowProps) => import(
|
|
64
|
+
export declare const OnboardingFlow: ({ companyId, signatoryId, onEvent, defaultValues, }: OnboardingFlowProps) => import('react').JSX.Element;
|
|
@@ -44,20 +44,20 @@ export interface OnboardingFlowContextInterface extends FlowContextInterface {
|
|
|
44
44
|
defaultValues?: OnboardingFlowDefaultValues;
|
|
45
45
|
}
|
|
46
46
|
/** @internal */
|
|
47
|
-
export declare function LocationsContextual(): import(
|
|
47
|
+
export declare function LocationsContextual(): import('react').JSX.Element;
|
|
48
48
|
/** @internal */
|
|
49
|
-
export declare function FederalTaxesContextual(): import(
|
|
49
|
+
export declare function FederalTaxesContextual(): import('react').JSX.Element;
|
|
50
50
|
/** @internal */
|
|
51
|
-
export declare function IndustryContextual(): import(
|
|
51
|
+
export declare function IndustryContextual(): import('react').JSX.Element;
|
|
52
52
|
/** @internal */
|
|
53
|
-
export declare function BankAccountContextual(): import(
|
|
53
|
+
export declare function BankAccountContextual(): import('react').JSX.Element;
|
|
54
54
|
/** @internal */
|
|
55
|
-
export declare function EmployeesContextual(): import(
|
|
55
|
+
export declare function EmployeesContextual(): import('react').JSX.Element;
|
|
56
56
|
/** @internal */
|
|
57
|
-
export declare function PayScheduleContextual(): import(
|
|
57
|
+
export declare function PayScheduleContextual(): import('react').JSX.Element;
|
|
58
58
|
/** @internal */
|
|
59
|
-
export declare function StateTaxesContextual(): import(
|
|
59
|
+
export declare function StateTaxesContextual(): import('react').JSX.Element;
|
|
60
60
|
/** @internal */
|
|
61
|
-
export declare function DocumentSignerContextual(): import(
|
|
61
|
+
export declare function DocumentSignerContextual(): import('react').JSX.Element;
|
|
62
62
|
/** @internal */
|
|
63
|
-
export declare function OnboardingOverviewContextual(): import(
|
|
63
|
+
export declare function OnboardingOverviewContextual(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare const Completed: () => import(
|
|
2
|
+
export declare const Completed: () => import('react').JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare const MissingRequirements: () => import(
|
|
2
|
+
export declare const MissingRequirements: () => import('react').JSX.Element | null;
|
|
@@ -27,4 +27,4 @@ export interface OnboardingOverviewProps extends BaseComponentInterface<'Company
|
|
|
27
27
|
* @returns The rendered onboarding overview section.
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export declare function OnboardingOverview(props: OnboardingOverviewProps): import(
|
|
30
|
+
export declare function OnboardingOverview(props: OnboardingOverviewProps): import('react').JSX.Element;
|
|
@@ -52,4 +52,4 @@ export interface PayScheduleProps extends BaseComponentInterface<'Company.PaySch
|
|
|
52
52
|
* @returns The pay schedule list or form depending on whether any schedules exist.
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export declare const PaySchedule: ({ companyId, defaultValues, disableWorkweekStartDayEditing, dictionary, ...props }: PayScheduleProps) => import(
|
|
55
|
+
export declare const PaySchedule: ({ companyId, defaultValues, disableWorkweekStartDayEditing, dictionary, ...props }: PayScheduleProps) => import('react').JSX.Element;
|
|
@@ -9,6 +9,6 @@ export interface PayScheduleContextInterface extends FlowContextInterface {
|
|
|
9
9
|
component: React.ComponentType | null;
|
|
10
10
|
}
|
|
11
11
|
/** @internal */
|
|
12
|
-
export declare function PayScheduleListContextual(): import(
|
|
12
|
+
export declare function PayScheduleListContextual(): import('react').JSX.Element;
|
|
13
13
|
/** @internal */
|
|
14
|
-
export declare function PayScheduleFormContextual(): import(
|
|
14
|
+
export declare function PayScheduleFormContextual(): import('react').JSX.Element;
|
|
@@ -8,5 +8,5 @@ interface PayScheduleFormProps extends UsePayScheduleFormProps {
|
|
|
8
8
|
LoaderComponent?: LoaderComponentType;
|
|
9
9
|
}
|
|
10
10
|
/** @internal */
|
|
11
|
-
export declare function PayScheduleForm({ onEvent, LoaderComponent, ...hookProps }: PayScheduleFormProps): import(
|
|
11
|
+
export declare function PayScheduleForm({ onEvent, LoaderComponent, ...hookProps }: PayScheduleFormProps): import('react').JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -5,5 +5,5 @@ interface PayScheduleListProps {
|
|
|
5
5
|
onEvent: OnEventType<EventType, unknown>;
|
|
6
6
|
}
|
|
7
7
|
/** @internal */
|
|
8
|
-
export declare function PayScheduleList({ companyId, onEvent }: PayScheduleListProps): import(
|
|
8
|
+
export declare function PayScheduleList({ companyId, onEvent }: PayScheduleListProps): import('react').JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseComponentInterface } from '../../../Base';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link PaySchedule}.
|
|
4
|
+
*
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export interface PayScheduleProps extends BaseComponentInterface<'Company.Management.PaySchedule'> {
|
|
8
|
+
/** Company whose pay schedule is managed. */
|
|
9
|
+
companyId: string;
|
|
10
|
+
/** Shows the AutoPilot row and its Edit action. */
|
|
11
|
+
enableAutoPilot?: boolean;
|
|
12
|
+
/** Shows the Manage action. */
|
|
13
|
+
enableMultipleSchedules?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Manages a company's pay schedule after onboarding.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Renders the overview when the company already has a pay schedule, or the create form
|
|
20
|
+
* directly when it doesn't.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*/
|
|
24
|
+
export declare const PaySchedule: ({ companyId, enableAutoPilot, enableMultipleSchedules, dictionary, ...props }: PayScheduleProps) => import('react').JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PayScheduleAssignmentEmployeeChange } from '@gusto/embedded-api/models/components/payscheduleassignmentemployeechange';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface AssignmentReviewStepPresentationProps {
|
|
4
|
+
employeeChanges: PayScheduleAssignmentEmployeeChange[];
|
|
5
|
+
isSubmitting: boolean;
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
onSubmit: () => void;
|
|
8
|
+
}
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare function AssignmentReviewStepPresentation({ employeeChanges, isSubmitting, onBack, onSubmit, }: AssignmentReviewStepPresentationProps): import('react').JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface AssignmentScheduleStepPresentationProps {
|
|
4
|
+
schedules: PayScheduleShow[];
|
|
5
|
+
defaultPayScheduleUuid?: string;
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
onAddPaySchedule: () => void;
|
|
8
|
+
onContinue: (defaultPayScheduleUuid: string) => void;
|
|
9
|
+
}
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare function AssignmentScheduleStepPresentation({ schedules, defaultPayScheduleUuid, onBack, onAddPaySchedule, onContinue, }: AssignmentScheduleStepPresentationProps): import('react').JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PayScheduleAssignmentBodyType } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface AssignmentTypeStepPresentationProps {
|
|
4
|
+
defaultType?: typeof PayScheduleAssignmentBodyType.Single;
|
|
5
|
+
onBack: () => void;
|
|
6
|
+
onContinue: (type: PayScheduleAssignmentBodyType) => void;
|
|
7
|
+
}
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare function AssignmentTypeStepPresentation({ defaultType, onBack, onContinue, }: AssignmentTypeStepPresentationProps): import('react').JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BaseComponentInterface } from '../../../../Base';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link PayScheduleAssignment}.
|
|
4
|
+
*
|
|
5
|
+
* @alpha
|
|
6
|
+
*/
|
|
7
|
+
export interface PayScheduleAssignmentProps extends BaseComponentInterface<'Company.Management.PayScheduleAssignment'> {
|
|
8
|
+
/** Company whose pay schedule assignment is managed. */
|
|
9
|
+
companyId: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Assigns a company's employees to a pay schedule.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Walks through choosing an assignment type, picking (or creating) a pay schedule, and reviewing
|
|
16
|
+
* the employees and transition payrolls affected before submitting. Only the single-schedule
|
|
17
|
+
* assignment type is currently supported. Can be mounted directly or launched from
|
|
18
|
+
* `CompanyManagement.PaySchedule`'s Manage action.
|
|
19
|
+
*
|
|
20
|
+
* The internal step-to-step selection events (assignment type chosen, schedule picked) also
|
|
21
|
+
* bubble through `onEvent` as a side effect of how the underlying `Flow` re-emits every event —
|
|
22
|
+
* they carry no information a host needs mid-flow, since `assigned` reports the final outcome,
|
|
23
|
+
* so they're intentionally left out of the table below.
|
|
24
|
+
*
|
|
25
|
+
* @events
|
|
26
|
+
* | Event | Description | Data |
|
|
27
|
+
* | ----- | ----------- | ---- |
|
|
28
|
+
* | `paySchedule/create` | The user chose to add a new pay schedule from the picker step | — |
|
|
29
|
+
* | `paySchedule/created` | A new pay schedule was created from the picker step | `{ paySchedule: PayScheduleShow }` |
|
|
30
|
+
* | `paySchedule/management/assignment/cancel` | The user backed out of the flow entirely, from the first step | — |
|
|
31
|
+
* | `paySchedule/management/assignment/assigned` | The assignment was submitted successfully | `{ type: PayScheduleAssignmentBodyType; defaultPayScheduleUuid: string; employeeChanges: PayScheduleAssignmentEmployeeChange[] }` |
|
|
32
|
+
*
|
|
33
|
+
* @alpha
|
|
34
|
+
*/
|
|
35
|
+
export declare const PayScheduleAssignment: ({ companyId, dictionary, ...props }: PayScheduleAssignmentProps) => import('react').JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PayScheduleAssignmentBodyType } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
|
|
2
|
+
import { PayScheduleAssignmentEmployeeChange } from '@gusto/embedded-api/models/components/payscheduleassignmentemployeechange';
|
|
3
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow';
|
|
4
|
+
import { componentEvents } from '../../../../../shared/constants';
|
|
5
|
+
/** @internal */
|
|
6
|
+
export type EventPayloads = {
|
|
7
|
+
[componentEvents.PAY_SCHEDULE_ASSIGNMENT_TYPE_SELECTED]: {
|
|
8
|
+
type: PayScheduleAssignmentBodyType;
|
|
9
|
+
};
|
|
10
|
+
[componentEvents.PAY_SCHEDULE_ASSIGNMENT_SCHEDULE_SELECTED]: {
|
|
11
|
+
defaultPayScheduleUuid: string;
|
|
12
|
+
};
|
|
13
|
+
[componentEvents.PAY_SCHEDULE_CREATED]: {
|
|
14
|
+
paySchedule: PayScheduleShow;
|
|
15
|
+
};
|
|
16
|
+
[componentEvents.PAY_SCHEDULE_ASSIGNED]: {
|
|
17
|
+
type: PayScheduleAssignmentBodyType;
|
|
18
|
+
defaultPayScheduleUuid: string;
|
|
19
|
+
employeeChanges: PayScheduleAssignmentEmployeeChange[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare function AssignmentTypeStep(): import('react').JSX.Element;
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare function AssignmentScheduleStep(): import('react').JSX.Element;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare function AssignmentCreateScheduleStep(): import('react').JSX.Element;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare function AssignmentReviewStep(): import('react').JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PayScheduleAssignment, type PayScheduleAssignmentProps } from './PayScheduleAssignment';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const payScheduleAssignmentStateMachine: {
|
|
3
|
+
assignmentType: import('robot3').MachineState<any>;
|
|
4
|
+
assignmentSchedule: import('robot3').MachineState<any>;
|
|
5
|
+
assignmentCreateSchedule: import('robot3').MachineState<any>;
|
|
6
|
+
assignmentReview: import('robot3').MachineState<any>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterSuccessHook } from '../../../../../types/hooks';
|
|
2
|
+
/**
|
|
3
|
+
* Temporary workaround for a Gusto-Partner-API spec gap: `transition_pay_period` and
|
|
4
|
+
* `first_pay_period` on `Pay-Schedule-Assignment-Employee-Change` are bare `$ref`s with no
|
|
5
|
+
* nullable branch, so the generated Zod schema rejects the `null` the backend legitimately
|
|
6
|
+
* returns for an employee with no transition period. Strips those keys when null so the SDK's
|
|
7
|
+
* response validation never sees them. Scoped to the assignment-preview operation only.
|
|
8
|
+
* Remove once the OAS is fixed upstream or we use a client with lax mode.
|
|
9
|
+
*
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export declare const stripNullAssignmentPreviewFields: AfterSuccessHook;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PayScheduleAssignmentBodyType } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
|
|
2
|
+
import { FlowContextInterface } from '../../../../Flow/useFlow';
|
|
3
|
+
/** @internal */
|
|
4
|
+
export interface PayScheduleAssignmentContextInterface extends FlowContextInterface {
|
|
5
|
+
companyId: string;
|
|
6
|
+
assignmentType?: PayScheduleAssignmentBodyType;
|
|
7
|
+
defaultPayScheduleUuid?: string;
|
|
8
|
+
component: React.ComponentType | null;
|
|
9
|
+
}
|
package/dist/src/components/Company/PaySchedule/management/PayScheduleManagementComponents.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayScheduleDefaultValues } from '../PaySchedule';
|
|
2
|
+
import { FlowContextInterface } from '../../../Flow/useFlow';
|
|
3
|
+
/** @internal */
|
|
4
|
+
export type PayScheduleManagementSuccessAlertCode = 'assignmentUpdated';
|
|
5
|
+
/** @internal */
|
|
6
|
+
export interface PayScheduleManagementContextInterface extends FlowContextInterface {
|
|
7
|
+
companyId: string;
|
|
8
|
+
payScheduleId?: string;
|
|
9
|
+
defaultValues?: PayScheduleDefaultValues;
|
|
10
|
+
enableAutoPilot?: boolean;
|
|
11
|
+
enableMultipleSchedules?: boolean;
|
|
12
|
+
successAlert?: PayScheduleManagementSuccessAlertCode | null;
|
|
13
|
+
component: React.ComponentType | null;
|
|
14
|
+
}
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare function PayScheduleOverviewContextual(): import('react').JSX.Element;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare function PayScheduleAssignmentContextual(): import('react').JSX.Element;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare function PayScheduleEditFormContextual(): import('react').JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventType } from '../../../../shared/constants';
|
|
2
|
+
import { OnEventType } from '../../../Base/useBase';
|
|
3
|
+
/** @internal */
|
|
4
|
+
export interface PayScheduleOverviewProps {
|
|
5
|
+
companyId: string;
|
|
6
|
+
onEvent: OnEventType<EventType, unknown>;
|
|
7
|
+
enableAutoPilot?: boolean;
|
|
8
|
+
enableMultipleSchedules?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare function PayScheduleOverview({ companyId, onEvent, enableAutoPilot, enableMultipleSchedules, }: PayScheduleOverviewProps): import('react').JSX.Element;
|
package/dist/src/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface PayScheduleOverviewPresentationProps {
|
|
4
|
+
/** The company's single pay schedule. */
|
|
5
|
+
schedule: PayScheduleShow;
|
|
6
|
+
/** Shows the AutoPilot row and its Edit action when `true`. */
|
|
7
|
+
enableAutoPilot?: boolean;
|
|
8
|
+
/** Shows the Manage action when `true`. */
|
|
9
|
+
enableMultipleSchedules?: boolean;
|
|
10
|
+
/** Fired when the user clicks Edit on the pay schedule row. */
|
|
11
|
+
onEditSchedule: () => void;
|
|
12
|
+
/** Fired when the user clicks Manage. */
|
|
13
|
+
onManageAssignment: () => void;
|
|
14
|
+
/** Fired when the user clicks Edit on the AutoPilot row. */
|
|
15
|
+
onEditAutoPilot: () => void;
|
|
16
|
+
}
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare function PayScheduleOverviewPresentation({ schedule, enableAutoPilot, enableMultipleSchedules, onEditSchedule, onManageAssignment, onEditAutoPilot, }: PayScheduleOverviewPresentationProps): import('react').JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PaySchedule, type PayScheduleProps } from './PaySchedule';
|
package/dist/src/components/Company/PaySchedule/management/payScheduleManagementStateMachine.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** @internal */
|
|
2
|
+
export declare const payScheduleManagementStateMachine: {
|
|
3
|
+
overview: import('robot3').MachineState<any>;
|
|
4
|
+
editSchedule: import('robot3').MachineState<any>;
|
|
5
|
+
/**
|
|
6
|
+
* Entered directly from PaySchedule.tsx's initial routing when the company has no pay
|
|
7
|
+
* schedules yet — there's no overview to fall back to, so CANCEL isn't handled here; it
|
|
8
|
+
* still bubbles to the host via Flow's onEvent re-emit.
|
|
9
|
+
*/
|
|
10
|
+
createSchedule: import('robot3').MachineState<any>;
|
|
11
|
+
manageAssignment: import('robot3').MachineState<any>;
|
|
12
|
+
};
|
|
@@ -32,7 +32,7 @@ export type DayValidation = (typeof PayScheduleErrorCodes)['REQUIRED' | 'DAY_RAN
|
|
|
32
32
|
*/
|
|
33
33
|
export type CustomNameFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
|
|
34
34
|
/** @internal */
|
|
35
|
-
export declare function CustomNameField(props: CustomNameFieldProps): import(
|
|
35
|
+
export declare function CustomNameField(props: CustomNameFieldProps): import('react').JSX.Element;
|
|
36
36
|
/**
|
|
37
37
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.Frequency` component.
|
|
38
38
|
*
|
|
@@ -40,7 +40,7 @@ export declare function CustomNameField(props: CustomNameFieldProps): import("re
|
|
|
40
40
|
*/
|
|
41
41
|
export type FrequencyFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation, PayScheduleFrequency>>;
|
|
42
42
|
/** @internal */
|
|
43
|
-
export declare function FrequencyField(props: FrequencyFieldProps): import(
|
|
43
|
+
export declare function FrequencyField(props: FrequencyFieldProps): import('react').JSX.Element;
|
|
44
44
|
/**
|
|
45
45
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.CustomTwicePerMonth` component.
|
|
46
46
|
*
|
|
@@ -48,7 +48,7 @@ export declare function FrequencyField(props: FrequencyFieldProps): import("reac
|
|
|
48
48
|
*/
|
|
49
49
|
export type CustomTwicePerMonthFieldProps = HookFieldProps<RadioGroupHookFieldProps<RequiredValidation, string>>;
|
|
50
50
|
/** @internal */
|
|
51
|
-
export declare function CustomTwicePerMonthField(props: CustomTwicePerMonthFieldProps): import(
|
|
51
|
+
export declare function CustomTwicePerMonthField(props: CustomTwicePerMonthFieldProps): import('react').JSX.Element;
|
|
52
52
|
/**
|
|
53
53
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.AnchorPayDate` component.
|
|
54
54
|
*
|
|
@@ -56,7 +56,7 @@ export declare function CustomTwicePerMonthField(props: CustomTwicePerMonthField
|
|
|
56
56
|
*/
|
|
57
57
|
export type AnchorPayDateFieldProps = HookFieldProps<DatePickerHookFieldProps<RequiredValidation>>;
|
|
58
58
|
/** @internal */
|
|
59
|
-
export declare function AnchorPayDateField(props: AnchorPayDateFieldProps): import(
|
|
59
|
+
export declare function AnchorPayDateField(props: AnchorPayDateFieldProps): import('react').JSX.Element;
|
|
60
60
|
/**
|
|
61
61
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.AnchorEndOfPayPeriod` component.
|
|
62
62
|
*
|
|
@@ -64,7 +64,7 @@ export declare function AnchorPayDateField(props: AnchorPayDateFieldProps): impo
|
|
|
64
64
|
*/
|
|
65
65
|
export type AnchorEndOfPayPeriodFieldProps = HookFieldProps<DatePickerHookFieldProps<RequiredValidation>>;
|
|
66
66
|
/** @internal */
|
|
67
|
-
export declare function AnchorEndOfPayPeriodField(props: AnchorEndOfPayPeriodFieldProps): import(
|
|
67
|
+
export declare function AnchorEndOfPayPeriodField(props: AnchorEndOfPayPeriodFieldProps): import('react').JSX.Element;
|
|
68
68
|
/**
|
|
69
69
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.Day1` component.
|
|
70
70
|
*
|
|
@@ -72,7 +72,7 @@ export declare function AnchorEndOfPayPeriodField(props: AnchorEndOfPayPeriodFie
|
|
|
72
72
|
*/
|
|
73
73
|
export type Day1FieldProps = HookFieldProps<NumberInputHookFieldProps<DayValidation>>;
|
|
74
74
|
/** @internal */
|
|
75
|
-
export declare function Day1Field(props: Day1FieldProps): import(
|
|
75
|
+
export declare function Day1Field(props: Day1FieldProps): import('react').JSX.Element;
|
|
76
76
|
/**
|
|
77
77
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.Day2` component.
|
|
78
78
|
*
|
|
@@ -80,7 +80,7 @@ export declare function Day1Field(props: Day1FieldProps): import("react").JSX.El
|
|
|
80
80
|
*/
|
|
81
81
|
export type Day2FieldProps = HookFieldProps<NumberInputHookFieldProps<DayValidation>>;
|
|
82
82
|
/** @internal */
|
|
83
|
-
export declare function Day2Field(props: Day2FieldProps): import(
|
|
83
|
+
export declare function Day2Field(props: Day2FieldProps): import('react').JSX.Element;
|
|
84
84
|
/**
|
|
85
85
|
* Props accepted by {@link usePayScheduleForm}'s `Fields.WorkweekStartDay` component.
|
|
86
86
|
*
|
|
@@ -88,4 +88,4 @@ export declare function Day2Field(props: Day2FieldProps): import("react").JSX.El
|
|
|
88
88
|
*/
|
|
89
89
|
export type WorkweekStartDayFieldProps = HookFieldProps<SelectHookFieldProps<never, PayScheduleWorkweekStartDay>>;
|
|
90
90
|
/** @internal */
|
|
91
|
-
export declare function WorkweekStartDayField(props: WorkweekStartDayFieldProps): import(
|
|
91
|
+
export declare function WorkweekStartDayField(props: WorkweekStartDayFieldProps): import('react').JSX.Element;
|
|
@@ -38,4 +38,4 @@ export interface StateTaxesProps extends BaseComponentInterface<'Company.StateTa
|
|
|
38
38
|
* @returns The rendered state taxes flow.
|
|
39
39
|
* @public
|
|
40
40
|
*/
|
|
41
|
-
export declare function StateTaxes({ companyId, onEvent, dictionary, showContinueButton, }: StateTaxesProps): import(
|
|
41
|
+
export declare function StateTaxes({ companyId, onEvent, dictionary, showContinueButton, }: StateTaxesProps): import('react').JSX.Element;
|
|
@@ -11,8 +11,8 @@ export interface StateTaxesContextInterface extends FlowContextInterface {
|
|
|
11
11
|
showContinueButton: boolean;
|
|
12
12
|
}
|
|
13
13
|
/** @internal */
|
|
14
|
-
export declare function StateTaxesListContextual(): import(
|
|
14
|
+
export declare function StateTaxesListContextual(): import('react').JSX.Element;
|
|
15
15
|
/** @internal */
|
|
16
|
-
export declare function StateTaxesFormContextual(): import(
|
|
16
|
+
export declare function StateTaxesFormContextual(): import('react').JSX.Element;
|
|
17
17
|
/** @internal */
|
|
18
|
-
export declare function TaxRateManagementContextual(): import(
|
|
18
|
+
export declare function TaxRateManagementContextual(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Actions(): import(
|
|
2
|
+
export declare function Actions(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Head(): import(
|
|
2
|
+
export declare function Head(): import('react').JSX.Element;
|
|
@@ -42,4 +42,4 @@ export interface StateTaxesFormProps extends BaseComponentInterface<'Company.Sta
|
|
|
42
42
|
* }
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
export declare function StateTaxesForm(props: StateTaxesFormProps): import(
|
|
45
|
+
export declare function StateTaxesForm(props: StateTaxesFormProps): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Actions(): import(
|
|
2
|
+
export declare function Actions(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function Head(): import(
|
|
2
|
+
export declare function Head(): import('react').JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare const List: () => import(
|
|
2
|
+
export declare const List: () => import('react').JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface StateTaxesListProps extends BaseComponentInterface<'Company.Sta
|
|
|
34
34
|
* @returns The rendered state taxes list section.
|
|
35
35
|
* @public
|
|
36
36
|
*/
|
|
37
|
-
export declare function StateTaxesList(props: StateTaxesListProps): import(
|
|
37
|
+
export declare function StateTaxesList(props: StateTaxesListProps): import('react').JSX.Element;
|
|
@@ -8,5 +8,5 @@ interface AddRateActionProps {
|
|
|
8
8
|
*
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
|
-
export declare function AddRateAction({ state, group }: AddRateActionProps): import(
|
|
11
|
+
export declare function AddRateAction({ state, group }: AddRateActionProps): import('react').JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -6,5 +6,5 @@ interface AddTaxRateDialogProps {
|
|
|
6
6
|
onClose: () => void;
|
|
7
7
|
}
|
|
8
8
|
/** @internal */
|
|
9
|
-
export declare function AddTaxRateDialog({ isOpen, state, group, onClose }: AddTaxRateDialogProps): import(
|
|
9
|
+
export declare function AddTaxRateDialog({ isOpen, state, group, onClose }: AddTaxRateDialogProps): import('react').JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -14,5 +14,5 @@ interface TaxRateHistorySectionProps {
|
|
|
14
14
|
showHeader?: boolean;
|
|
15
15
|
}
|
|
16
16
|
/** @internal */
|
|
17
|
-
export declare function TaxRateHistorySection({ group, showHeader }: TaxRateHistorySectionProps): import(
|
|
17
|
+
export declare function TaxRateHistorySection({ group, showHeader }: TaxRateHistorySectionProps): import('react').JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -44,4 +44,4 @@ export interface TaxRateManagementProps extends BaseComponentInterface<'Company.
|
|
|
44
44
|
* }
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
|
-
export declare function TaxRateManagement(props: TaxRateManagementProps): import(
|
|
47
|
+
export declare function TaxRateManagement(props: TaxRateManagementProps): import('react').JSX.Element;
|
|
@@ -17,5 +17,5 @@ interface RequirementFieldsProps {
|
|
|
17
17
|
*
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
export declare function RequirementFields({ requirements, requirementSetKey }: RequirementFieldsProps): import(
|
|
20
|
+
export declare function RequirementFields({ requirements, requirementSetKey }: RequirementFieldsProps): import('react').JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `{ key, state }` identifying which requirement set an incomplete-requirement-set error targets.
|
|
3
|
+
*
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface RequirementSetError {
|
|
7
|
+
key: string;
|
|
8
|
+
state?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Extracts `{ key, state }` from a tax-requirements-update error shaped as
|
|
12
|
+
* `{ errorKey: "requirement_sets", category: "nested_errors", metadata: { key, state } }` —
|
|
13
|
+
* the update endpoint's response when a requirement set (e.g. "registrations") was submitted
|
|
14
|
+
* incomplete. Returns `null` for any other error shape.
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare function parseRequirementSetError(error: unknown): RequirementSetError | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -27,4 +27,4 @@ export interface AddressProps extends BaseComponentInterface<'Contractor.Managem
|
|
|
27
27
|
* @returns The contractor address management surface.
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export declare function Address({ dictionary, FallbackComponent, LoaderComponent, ...props }: AddressProps): import(
|
|
30
|
+
export declare function Address({ dictionary, FallbackComponent, LoaderComponent, ...props }: AddressProps): import('react').JSX.Element;
|
|
@@ -32,4 +32,4 @@ export interface AddressCardProps {
|
|
|
32
32
|
* @returns The contractor address card.
|
|
33
33
|
* @public
|
|
34
34
|
*/
|
|
35
|
-
export declare function AddressCard({ LoaderComponent, ...props }: AddressCardProps): import(
|
|
35
|
+
export declare function AddressCard({ LoaderComponent, ...props }: AddressCardProps): import('react').JSX.Element;
|
|
@@ -6,7 +6,7 @@ export interface AddressContextInterface extends FlowContextInterface {
|
|
|
6
6
|
successAlert?: AddressSuccessAlertCode | null;
|
|
7
7
|
}
|
|
8
8
|
/** @internal */
|
|
9
|
-
export declare function CardContextual(): import(
|
|
9
|
+
export declare function CardContextual(): import('react').JSX.Element;
|
|
10
10
|
/** @internal */
|
|
11
|
-
export declare function AddressEditFormContextual(): import(
|
|
11
|
+
export declare function AddressEditFormContextual(): import('react').JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -26,4 +26,4 @@ export interface AddressEditFormProps extends BaseComponentInterface<'Contractor
|
|
|
26
26
|
* @returns The contractor address edit form.
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
|
-
export declare function AddressEditForm({ FallbackComponent, LoaderComponent, ...props }: AddressEditFormProps): import(
|
|
29
|
+
export declare function AddressEditForm({ FallbackComponent, LoaderComponent, ...props }: AddressEditFormProps): import('react').JSX.Element;
|