@gusto/embedded-react-sdk 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -0
- package/README.md +3 -0
- package/dist/UNSTABLE_Hooks.js +2 -2
- package/dist/assets/icons/filter-funnel.svg.js +10 -0
- package/dist/assets/icons/filter-funnel.svg.js.map +1 -0
- package/dist/components/Base/createCompoundContext.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js +42 -36
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +17 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +100 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +10 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -0
- package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -0
- package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +40 -0
- package/dist/components/Common/DetailViewLayout/index.d.ts +3 -0
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +26 -24
- package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +32 -30
- package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -34
- package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -1
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +40 -38
- package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
- package/dist/components/Common/Fields/FileInputField/FileInputField.js +24 -22
- package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js +24 -22
- package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +27 -25
- package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +34 -32
- package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
- package/dist/components/Common/Fields/SelectField/SelectField.d.ts +1 -1
- package/dist/components/Common/Fields/SelectField/SelectField.js +34 -32
- package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
- package/dist/components/Common/Fields/SwitchField/SwitchField.js +26 -24
- package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.js +24 -22
- package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
- package/dist/components/Common/Fields/TextInputField/TextInputField.js +26 -24
- package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useField.d.ts +3 -2
- package/dist/components/Common/Fields/hooks/useField.js +37 -33
- package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +21 -20
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
- package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +5 -0
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +1 -1
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js +10 -8
- package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
- package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.js +10 -13
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +6 -8
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +11 -14
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +17 -17
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +5 -0
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
- package/dist/components/Common/UI/Button/Button.js +33 -29
- package/dist/components/Common/UI/Button/Button.js.map +1 -1
- package/dist/components/Common/UI/Button/Button.module.scss.js +5 -3
- package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -0
- package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.js +88 -69
- package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +13 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +74 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +30 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js.map +1 -0
- package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +14 -0
- package/dist/components/Common/UI/DateRangePicker/index.d.ts +2 -0
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +2 -2
- package/dist/components/Common/UI/Heading/Heading.d.ts +1 -1
- package/dist/components/Common/UI/Heading/Heading.js +11 -9
- package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
- package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +94 -80
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js +1 -1
- package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/Common/index.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -10
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -4
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -9
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -12
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -8
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +12 -13
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -4
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +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/Form.js +4 -6
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +2 -3
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +6 -7
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +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/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +10 -13
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +11 -14
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +6 -7
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +12 -15
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +4 -4
- package/dist/components/Company/Industry/Actions.js +7 -8
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +2 -4
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +6 -7
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +4 -6
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +14 -17
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +2 -3
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +9 -9
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -9
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +2 -3
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +8 -9
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -9
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +66 -65
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +18 -19
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +40 -37
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +8 -9
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +8 -8
- package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +2 -0
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +2 -5
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +2 -4
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +33 -33
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -12
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -4
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +10 -10
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +17 -18
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +15 -15
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +2 -3
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +42 -40
- 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 +45 -46
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Employee/Compensation/Actions.js +12 -13
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +49 -44
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +12 -12
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +6 -7
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +8 -11
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +6 -6
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +3 -4
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +9 -12
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +6 -7
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +2 -5
- package/dist/components/Employee/EmployeeList/EmployeeList.js +45 -95
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeListView.d.ts +15 -0
- package/dist/components/Employee/EmployeeList/EmployeeListView.js +132 -0
- package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.d.ts +9 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js +81 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +1 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.d.ts +17 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +195 -0
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -0
- package/dist/components/Employee/EmployeeList/index.d.ts +3 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +36 -23
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +114 -19
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/Actions.js +5 -6
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +4 -5
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +4 -4
- package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -0
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +14 -8
- package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +10 -11
- package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Actions.js +5 -6
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +2 -4
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +10 -10
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js +44 -43
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +5 -7
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +4 -4
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +1 -0
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/Actions.js +5 -6
- package/dist/components/Employee/Profile/Actions.js.map +1 -1
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +14 -15
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +8 -9
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +8 -10
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/Profile.js.map +1 -1
- package/dist/components/Employee/StateTaxes/Actions.js +5 -6
- package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +6 -7
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +4 -5
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +48 -48
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +6 -7
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +1 -0
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +38 -33
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.d.ts +1 -0
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js +57 -45
- package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +8 -9
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
- package/dist/components/Employee/index.d.ts +1 -0
- package/dist/components/Employee/index.js +38 -36
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/Flow.js +6 -7
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +1 -2
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +10 -11
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +0 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlow.js +14 -14
- package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +21 -20
- package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +2 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +57 -55
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +2 -3
- 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 +83 -71
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +7 -7
- package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +0 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlow.js +24 -18
- package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -0
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +28 -22
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +56 -53
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +17 -23
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +2 -2
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +2 -3
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +2 -3
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +194 -190
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +69 -69
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +102 -76
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +228 -231
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +7 -7
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +11 -0
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +60 -25
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +43 -41
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +62 -51
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js +13 -6
- package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +22 -20
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +35 -14
- package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +80 -69
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +0 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +59 -66
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +5 -4
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +96 -103
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +98 -64
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +9 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +211 -132
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +8 -6
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +55 -53
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +231 -222
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +7 -8
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -3
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +7 -8
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -3
- 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/TransitionFlow.js +29 -27
- package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
- package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -0
- package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -55
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +5 -0
- package/dist/components/Payroll/helpers.js +81 -74
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +6 -9
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +1 -2
- package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +24 -22
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js +22 -17
- package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +32 -30
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +26 -24
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +32 -30
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +24 -22
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +3 -2
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +29 -27
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/index.d.ts +3 -1
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +4 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +13 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +6 -6
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +2 -3
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +22 -0
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js +11 -0
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +2 -3
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +4 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +86 -89
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +10 -10
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +19 -19
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +15 -16
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js +27 -27
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +9 -9
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +15 -15
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +14 -15
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +5 -5
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +13 -13
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/index.d.ts +3 -3
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.d.ts +6 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js +50 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +50 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +46 -0
- package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +59 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js +25 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +29 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +98 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/index.d.ts +3 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +14 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +290 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTableTypes.d.ts +26 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/index.d.ts +4 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +5 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +35 -0
- package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/index.d.ts +25 -0
- package/dist/components/UNSTABLE_TimeOff/index.js +27 -0
- package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +48 -46
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +2 -3
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +10 -2
- package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
- package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
- package/dist/helpers/breadcrumbHelpers.d.ts +14 -0
- package/dist/helpers/breadcrumbHelpers.js +35 -26
- package/dist/helpers/breadcrumbHelpers.js.map +1 -1
- package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.d.ts +1 -1
- package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.js +1 -1
- package/dist/helpers/collectErrors.js.map +1 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +20 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js +38 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -0
- package/dist/hooks/useDateRangeFilter/useDateRangeFilter.test.d.ts +1 -0
- package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.d.ts +2 -2
- package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.js +1 -1
- package/dist/hooks/useErrorHandling.js.map +1 -0
- package/dist/hooks/useErrorHandling.test.d.ts +1 -0
- package/dist/hooks/usePagination/usePagination.d.ts +2 -0
- package/dist/hooks/usePagination/usePagination.js +32 -29
- package/dist/hooks/usePagination/usePagination.js.map +1 -1
- package/dist/i18n/I18n.js +24 -24
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.PaySchedule.json.js +6 -6
- package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +24 -0
- package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +32 -0
- package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +22 -0
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +32 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js +21 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
- package/dist/i18n/en/Employee.EmployeeList.json.js +22 -20
- package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -1
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +40 -0
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -0
- package/dist/i18n/en/Payroll.GrossUpModal.json.js +16 -14
- package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
- package/dist/i18n/en/Payroll.OffCycle.json.js +1 -1
- package/dist/i18n/en/Payroll.OffCycleTaxWithholding.json.js +5 -5
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +38 -34
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +29 -25
- package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +12 -12
- package/dist/i18n/en/Payroll.PayrollList.json.js +28 -20
- package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +64 -58
- package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
- package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/shared/constants.d.ts +46 -0
- package/dist/shared/constants.js +99 -74
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +495 -9
- package/dist/{components/UNSTABLE_Hooks/types.d.ts → types/sdkHooks.d.ts} +28 -2
- package/docs/reference/endpoint-inventory.json +563 -385
- package/package.json +27 -18
- package/dist/components/Employee/EmployeeList/Actions.d.ts +0 -1
- package/dist/components/Employee/EmployeeList/Actions.js +0 -16
- package/dist/components/Employee/EmployeeList/Actions.js.map +0 -1
- package/dist/components/Employee/EmployeeList/Head.d.ts +0 -1
- package/dist/components/Employee/EmployeeList/Head.js +0 -15
- package/dist/components/Employee/EmployeeList/Head.js.map +0 -1
- package/dist/components/Employee/EmployeeList/List.d.ts +0 -2
- package/dist/components/Employee/EmployeeList/List.js +0 -125
- package/dist/components/Employee/EmployeeList/List.js.map +0 -1
- package/dist/components/Employee/EmployeeList/List.module.scss.js +0 -8
- package/dist/components/Employee/EmployeeList/List.module.scss.js.map +0 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +0 -8
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/types.d.ts +0 -27
- package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +0 -1
- /package/dist/components/{UNSTABLE_Hooks/useErrorHandling.test.d.ts → UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts} +0 -0
|
@@ -1,335 +1,331 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useForm as
|
|
3
|
-
import { useRef as
|
|
4
|
-
import { PayrollEmployeeCompensationsTypePaymentMethod as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { z as
|
|
7
|
-
import { zodResolver as
|
|
8
|
-
import
|
|
9
|
-
import { TimeOffField as
|
|
10
|
-
import { Flex as
|
|
11
|
-
import { Grid as
|
|
1
|
+
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useForm as Q, useWatch as Z, FormProvider as J } from "react-hook-form";
|
|
3
|
+
import { useRef as ee, useMemo as ne } from "react";
|
|
4
|
+
import { PayrollEmployeeCompensationsTypePaymentMethod as I } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
|
|
5
|
+
import { useTranslation as te } from "react-i18next";
|
|
6
|
+
import { z as a } from "zod";
|
|
7
|
+
import { zodResolver as ie } from "@hookform/resolvers/zod";
|
|
8
|
+
import d from "./PayrollEditEmployeePresentation.module.scss.js";
|
|
9
|
+
import { TimeOffField as se, PayoutTimeOffField as oe } from "./TimeOffField.js";
|
|
10
|
+
import { Flex as T } from "../../Common/Flex/Flex.js";
|
|
11
|
+
import { Grid as _ } from "../../Common/Grid/Grid.js";
|
|
12
12
|
import { RadioGroupField as ae } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
|
|
13
|
-
import { TextInputField as
|
|
14
|
-
import { NumberInputField as w } from "../../Common/Fields/NumberInputField/NumberInputField.js";
|
|
13
|
+
import { TextInputField as D } from "../../Common/Fields/TextInputField/TextInputField.js";
|
|
15
14
|
import { useComponentContext as re } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
16
|
-
import { useI18n as
|
|
17
|
-
import { Form as
|
|
18
|
-
import { firstLastName as
|
|
15
|
+
import { useI18n as le } from "../../../i18n/I18n.js";
|
|
16
|
+
import { Form as me } from "../../Common/Form/Form.js";
|
|
17
|
+
import { firstLastName as ue, formatNumberAsCurrency as de } from "../../../helpers/formattedStrings.js";
|
|
19
18
|
import { getAdditionalEarningsCompensations as ce, getReimbursementCompensation as pe, calculateGrossPay as $ } from "../helpers.js";
|
|
20
|
-
import { PayrollCategory as
|
|
21
|
-
import { HOURS_COMPENSATION_NAMES as
|
|
22
|
-
import
|
|
23
|
-
const
|
|
24
|
-
hourlyCompensations:
|
|
25
|
-
timeOffCompensations:
|
|
26
|
-
finalPayoutCompensations:
|
|
27
|
-
fixedCompensations:
|
|
28
|
-
paymentMethod:
|
|
29
|
-
}),
|
|
30
|
-
const
|
|
31
|
-
...
|
|
19
|
+
import { PayrollCategory as A } from "../payrollTypes.js";
|
|
20
|
+
import { HOURS_COMPENSATION_NAMES as B, EXCLUDED_ADDITIONAL_EARNINGS as fe, COMPENSATION_NAME_DOUBLE_OVERTIME as he, COMPENSATION_NAME_OVERTIME as Ce, COMPENSATION_NAME_REGULAR_HOURS as Ne, COMPENSATION_NAME_REIMBURSEMENT as ge, COMPENSATION_NAME_CASH_TIPS as Ee, COMPENSATION_NAME_COMMISSION as be, COMPENSATION_NAME_CORRECTION_PAYMENT as Pe, COMPENSATION_NAME_PAYCHECK_TIPS as Oe, COMPENSATION_NAME_BONUS as Me } from "../../../shared/constants.js";
|
|
21
|
+
import Te from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
|
|
22
|
+
const ye = a.object({
|
|
23
|
+
hourlyCompensations: a.record(a.string(), a.record(a.string(), a.string().optional())),
|
|
24
|
+
timeOffCompensations: a.record(a.string(), a.string().optional()),
|
|
25
|
+
finalPayoutCompensations: a.record(a.string(), a.string().optional()),
|
|
26
|
+
fixedCompensations: a.record(a.string(), a.string().optional()),
|
|
27
|
+
paymentMethod: a.enum(I).optional()
|
|
28
|
+
}), q = (h, y, u, r, R = A.Regular) => {
|
|
29
|
+
const N = {
|
|
30
|
+
...y,
|
|
32
31
|
paymentMethod: h.paymentMethod
|
|
33
32
|
};
|
|
34
|
-
|
|
35
|
-
(
|
|
36
|
-
const
|
|
37
|
-
return
|
|
38
|
-
...
|
|
39
|
-
hours:
|
|
40
|
-
} :
|
|
33
|
+
N.hourlyCompensations = y?.hourlyCompensations?.map(
|
|
34
|
+
(s) => {
|
|
35
|
+
const o = s.jobUuid && s.name ? h.hourlyCompensations[s.jobUuid]?.[s.name] : void 0;
|
|
36
|
+
return o ? {
|
|
37
|
+
...s,
|
|
38
|
+
hours: o
|
|
39
|
+
} : s;
|
|
41
40
|
}
|
|
42
|
-
),
|
|
43
|
-
const
|
|
44
|
-
if (
|
|
45
|
-
const
|
|
41
|
+
), N.paidTimeOff = u.map((s) => {
|
|
42
|
+
const o = R === A.Dismissal, { finalPayoutUnusedHoursInput: P, ...x } = s;
|
|
43
|
+
if (o) {
|
|
44
|
+
const S = h.finalPayoutCompensations[s.name] ?? s.finalPayoutUnusedHoursInput;
|
|
46
45
|
return {
|
|
47
|
-
...
|
|
48
|
-
hours: h.timeOffCompensations[
|
|
49
|
-
...
|
|
46
|
+
...s,
|
|
47
|
+
hours: h.timeOffCompensations[s.name] || "0",
|
|
48
|
+
...S != null ? { finalPayoutUnusedHoursInput: S || "0" } : {}
|
|
50
49
|
};
|
|
51
50
|
}
|
|
52
51
|
return {
|
|
53
|
-
...
|
|
54
|
-
hours: h.timeOffCompensations[
|
|
52
|
+
...x,
|
|
53
|
+
hours: h.timeOffCompensations[s.name] || "0"
|
|
55
54
|
};
|
|
56
55
|
});
|
|
57
|
-
const
|
|
58
|
-
return Object.entries(h.fixedCompensations).forEach(([
|
|
59
|
-
const
|
|
60
|
-
(
|
|
56
|
+
const g = [];
|
|
57
|
+
return Object.entries(h.fixedCompensations).forEach(([s, o]) => {
|
|
58
|
+
const P = y?.fixedCompensations?.find(
|
|
59
|
+
(x) => x.name?.toLowerCase() === s.toLowerCase()
|
|
61
60
|
);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
}), g.fixedCompensations = b, g;
|
|
75
|
-
}, Ke = ({
|
|
61
|
+
o !== void 0 && o !== "" && (P ? g.push({
|
|
62
|
+
name: P.name,
|
|
63
|
+
jobUuid: P.jobUuid,
|
|
64
|
+
amount: o
|
|
65
|
+
}) : parseFloat(o) !== 0 && g.push({
|
|
66
|
+
name: s,
|
|
67
|
+
jobUuid: r,
|
|
68
|
+
amount: o
|
|
69
|
+
}));
|
|
70
|
+
}), N.fixedCompensations = g, N;
|
|
71
|
+
}, Ye = ({
|
|
76
72
|
onSave: h,
|
|
77
|
-
onCancel:
|
|
78
|
-
employee:
|
|
79
|
-
employeeCompensation:
|
|
73
|
+
onCancel: y,
|
|
74
|
+
employee: u,
|
|
75
|
+
employeeCompensation: r,
|
|
80
76
|
isPending: R = !1,
|
|
81
|
-
fixedCompensationTypes:
|
|
82
|
-
payPeriodStartDate:
|
|
83
|
-
paySchedule:
|
|
84
|
-
payrollCategory:
|
|
85
|
-
withReimbursements:
|
|
86
|
-
hasDirectDepositSetup:
|
|
77
|
+
fixedCompensationTypes: N,
|
|
78
|
+
payPeriodStartDate: g,
|
|
79
|
+
paySchedule: s,
|
|
80
|
+
payrollCategory: o = A.Regular,
|
|
81
|
+
withReimbursements: P = !0,
|
|
82
|
+
hasDirectDepositSetup: x = !0
|
|
87
83
|
}) => {
|
|
88
|
-
const { Button:
|
|
89
|
-
|
|
90
|
-
const p =
|
|
84
|
+
const { Button: S, Heading: c, Text: F } = re(), { t: n } = te("Payroll.PayrollEditEmployee");
|
|
85
|
+
le("Payroll.PayrollEditEmployee");
|
|
86
|
+
const p = u.jobs?.find((e) => e.primary), V = r?.hourlyCompensations?.some(
|
|
91
87
|
(e) => e.jobUuid === p?.uuid
|
|
92
|
-
), O = p &&
|
|
93
|
-
ref:
|
|
88
|
+
), O = p && V ? [p] : [], j = ee(null), f = Te({
|
|
89
|
+
ref: j
|
|
94
90
|
}).includes("small");
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
|
|
91
|
+
r?.hourlyCompensations?.forEach((e) => {
|
|
92
|
+
const t = u.jobs?.find((m) => m.uuid === e.jobUuid);
|
|
93
|
+
t && !O.find((m) => m.uuid === t.uuid) && O.push(t);
|
|
98
94
|
});
|
|
99
|
-
const E = (
|
|
95
|
+
const E = (r?.paidTimeOff || []).filter((e) => e.name), v = ce({
|
|
100
96
|
flsaStatus: p?.compensations?.[0]?.flsaStatus,
|
|
101
|
-
existingFixedCompensations:
|
|
97
|
+
existingFixedCompensations: r?.fixedCompensations || [],
|
|
102
98
|
primaryJobUuid: p?.uuid,
|
|
103
|
-
fixedCompensationTypes:
|
|
99
|
+
fixedCompensationTypes: N,
|
|
104
100
|
excludedTypes: fe
|
|
105
|
-
}),
|
|
106
|
-
|
|
107
|
-
|
|
101
|
+
}), M = P ? pe(
|
|
102
|
+
r?.fixedCompensations || [],
|
|
103
|
+
N,
|
|
108
104
|
p?.uuid
|
|
109
|
-
) : null,
|
|
110
|
-
(
|
|
111
|
-
),
|
|
105
|
+
) : null, L = (e, t) => r?.hourlyCompensations?.find(
|
|
106
|
+
(m) => m.jobUuid === e && m.name?.toLowerCase() === t.toLowerCase()
|
|
107
|
+
), W = (e) => {
|
|
112
108
|
switch (e) {
|
|
113
109
|
case Ne:
|
|
114
|
-
return
|
|
110
|
+
return n("compensationNames.regularHours");
|
|
115
111
|
case Ce:
|
|
116
|
-
return
|
|
112
|
+
return n("compensationNames.overtime");
|
|
117
113
|
case he:
|
|
118
|
-
return
|
|
114
|
+
return n("compensationNames.doubleOvertime");
|
|
119
115
|
default:
|
|
120
116
|
return e;
|
|
121
117
|
}
|
|
122
|
-
},
|
|
118
|
+
}, H = (e) => {
|
|
123
119
|
switch (e) {
|
|
124
|
-
case ye:
|
|
125
|
-
return t("fixedCompensationNames.bonus");
|
|
126
120
|
case Me:
|
|
127
|
-
return
|
|
121
|
+
return n("fixedCompensationNames.bonus");
|
|
122
|
+
case Oe:
|
|
123
|
+
return n("fixedCompensationNames.paycheckTips");
|
|
128
124
|
case Pe:
|
|
129
|
-
return
|
|
130
|
-
case Ee:
|
|
131
|
-
return t("fixedCompensationNames.commission");
|
|
125
|
+
return n("fixedCompensationNames.correctionPayment");
|
|
132
126
|
case be:
|
|
133
|
-
return
|
|
127
|
+
return n("fixedCompensationNames.commission");
|
|
128
|
+
case Ee:
|
|
129
|
+
return n("fixedCompensationNames.cashTips");
|
|
134
130
|
case ge:
|
|
135
|
-
return
|
|
131
|
+
return n("fixedCompensationNames.reimbursement");
|
|
136
132
|
default:
|
|
137
133
|
return e;
|
|
138
134
|
}
|
|
139
|
-
},
|
|
135
|
+
}, z = {
|
|
140
136
|
hourlyCompensations: (() => {
|
|
141
137
|
const e = {};
|
|
142
|
-
return O.forEach((
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
|
|
138
|
+
return O.forEach((t) => {
|
|
139
|
+
B.forEach((m) => {
|
|
140
|
+
const C = L(t.uuid, m);
|
|
141
|
+
C && (e[t.uuid] || (e[t.uuid] = {}), e[t.uuid][C.name] = C.hours ? parseFloat(C.hours).toString() : "");
|
|
146
142
|
});
|
|
147
143
|
}), e;
|
|
148
144
|
})(),
|
|
149
145
|
timeOffCompensations: (() => {
|
|
150
146
|
const e = {};
|
|
151
|
-
return E.forEach((
|
|
152
|
-
e[
|
|
147
|
+
return E.forEach((t) => {
|
|
148
|
+
e[t.name] = t.hours ? parseFloat(t.hours).toString() : "";
|
|
153
149
|
}), e;
|
|
154
150
|
})(),
|
|
155
151
|
finalPayoutCompensations: (() => {
|
|
156
152
|
const e = {};
|
|
157
|
-
return E.forEach((
|
|
158
|
-
e[
|
|
153
|
+
return E.forEach((t) => {
|
|
154
|
+
e[t.name] = t.finalPayoutUnusedHoursInput ?? "0";
|
|
159
155
|
}), e;
|
|
160
156
|
})(),
|
|
161
157
|
fixedCompensations: (() => {
|
|
162
158
|
const e = {};
|
|
163
|
-
return v.forEach((
|
|
164
|
-
e[
|
|
165
|
-
}),
|
|
159
|
+
return v.forEach((t) => {
|
|
160
|
+
e[t.name] = t.amount ?? "";
|
|
161
|
+
}), M && (e[M.name] = M.amount ?? ""), e;
|
|
166
162
|
})(),
|
|
167
|
-
paymentMethod:
|
|
168
|
-
}, U =
|
|
169
|
-
resolver:
|
|
170
|
-
defaultValues:
|
|
171
|
-
}),
|
|
163
|
+
paymentMethod: r?.paymentMethod || I.DirectDeposit
|
|
164
|
+
}, U = Q({
|
|
165
|
+
resolver: ie(ye),
|
|
166
|
+
defaultValues: z
|
|
167
|
+
}), b = Z({
|
|
172
168
|
control: U.control
|
|
173
|
-
}),
|
|
169
|
+
}), Y = ne(() => {
|
|
174
170
|
try {
|
|
175
171
|
const e = {};
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
b.hourlyCompensations && Object.entries(b.hourlyCompensations).forEach(([C, w]) => {
|
|
173
|
+
w && (e[C] = w);
|
|
178
174
|
});
|
|
179
|
-
const
|
|
175
|
+
const t = {
|
|
180
176
|
hourlyCompensations: e,
|
|
181
|
-
timeOffCompensations:
|
|
182
|
-
finalPayoutCompensations:
|
|
183
|
-
fixedCompensations:
|
|
184
|
-
paymentMethod:
|
|
185
|
-
},
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
(
|
|
177
|
+
timeOffCompensations: b.timeOffCompensations || {},
|
|
178
|
+
finalPayoutCompensations: b.finalPayoutCompensations || {},
|
|
179
|
+
fixedCompensations: b.fixedCompensations || {},
|
|
180
|
+
paymentMethod: b.paymentMethod
|
|
181
|
+
}, m = q(
|
|
182
|
+
t,
|
|
183
|
+
r,
|
|
184
|
+
(r?.paidTimeOff || []).filter((C) => C.name),
|
|
189
185
|
p?.uuid,
|
|
190
|
-
|
|
186
|
+
o
|
|
191
187
|
);
|
|
192
188
|
return $(
|
|
189
|
+
m,
|
|
193
190
|
u,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
o
|
|
197
|
-
r
|
|
191
|
+
g,
|
|
192
|
+
s,
|
|
193
|
+
o
|
|
198
194
|
);
|
|
199
195
|
} catch {
|
|
200
|
-
return
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
return r ? $(
|
|
197
|
+
r,
|
|
198
|
+
u,
|
|
199
|
+
g,
|
|
200
|
+
s,
|
|
201
|
+
o
|
|
206
202
|
) : 0;
|
|
207
203
|
}
|
|
208
204
|
}, [
|
|
209
|
-
M,
|
|
210
|
-
a,
|
|
211
|
-
p?.uuid,
|
|
212
|
-
d,
|
|
213
205
|
b,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
206
|
+
r,
|
|
207
|
+
p?.uuid,
|
|
208
|
+
u,
|
|
209
|
+
g,
|
|
210
|
+
s,
|
|
211
|
+
o
|
|
212
|
+
]), K = ue({
|
|
213
|
+
first_name: u.firstName,
|
|
214
|
+
last_name: u.lastName
|
|
215
|
+
}), X = (e) => {
|
|
216
|
+
const t = q(
|
|
221
217
|
e,
|
|
222
|
-
|
|
218
|
+
r,
|
|
223
219
|
E,
|
|
224
220
|
p?.uuid,
|
|
225
|
-
|
|
221
|
+
o
|
|
226
222
|
);
|
|
227
|
-
h(
|
|
228
|
-
},
|
|
229
|
-
|
|
223
|
+
h(t);
|
|
224
|
+
}, G = de(Y || 0), k = /* @__PURE__ */ l(
|
|
225
|
+
T,
|
|
230
226
|
{
|
|
231
227
|
flexDirection: f ? "row" : "column",
|
|
232
228
|
justifyContent: f ? "flex-end" : "normal",
|
|
233
229
|
alignItems: f ? "flex-start" : "stretch",
|
|
234
230
|
gap: 12,
|
|
235
231
|
children: [
|
|
236
|
-
/* @__PURE__ */
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
|
|
232
|
+
/* @__PURE__ */ i(S, { variant: "secondary", onClick: y, title: n("cancelCta"), children: n("cancelCta") }),
|
|
233
|
+
/* @__PURE__ */ i(
|
|
234
|
+
S,
|
|
239
235
|
{
|
|
240
|
-
onClick: U.handleSubmit(
|
|
241
|
-
title:
|
|
236
|
+
onClick: U.handleSubmit(X),
|
|
237
|
+
title: n("saveCta"),
|
|
242
238
|
isLoading: R,
|
|
243
|
-
children:
|
|
239
|
+
children: n("saveCta")
|
|
244
240
|
}
|
|
245
241
|
)
|
|
246
242
|
]
|
|
247
243
|
}
|
|
248
244
|
);
|
|
249
|
-
return /* @__PURE__ */
|
|
250
|
-
/* @__PURE__ */
|
|
245
|
+
return /* @__PURE__ */ l("div", { ref: j, className: d.container, children: [
|
|
246
|
+
/* @__PURE__ */ i(
|
|
251
247
|
"div",
|
|
252
248
|
{
|
|
253
|
-
className: `${
|
|
254
|
-
children: /* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
f ? /* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
] }) : /* @__PURE__ */
|
|
249
|
+
className: `${d.headerSection} ${f ? "" : d.headerSectionSticky}`,
|
|
250
|
+
children: /* @__PURE__ */ l(T, { justifyContent: "space-between", children: [
|
|
251
|
+
/* @__PURE__ */ l(T, { flexDirection: "column", gap: f ? 8 : 2, children: [
|
|
252
|
+
/* @__PURE__ */ i(c, { as: "h1", styledAs: f ? "h2" : "h4", children: n("pageTitle", { employeeName: K }) }),
|
|
253
|
+
f ? /* @__PURE__ */ l(T, { flexDirection: "column", gap: 6, children: [
|
|
254
|
+
/* @__PURE__ */ i(c, { as: "h2", styledAs: "h3", children: G }),
|
|
255
|
+
/* @__PURE__ */ i(F, { className: d.grossPayLabel, children: n("grossPayLabel") })
|
|
256
|
+
] }) : /* @__PURE__ */ i(c, { as: "h2", styledAs: "h6", className: d.grossPayLabel, children: n("grossPayLabelMobile", { grossPay: G }) })
|
|
261
257
|
] }),
|
|
262
|
-
f &&
|
|
258
|
+
f && k
|
|
263
259
|
] })
|
|
264
260
|
}
|
|
265
261
|
),
|
|
266
|
-
/* @__PURE__ */
|
|
267
|
-
/* @__PURE__ */
|
|
268
|
-
O.length > 0 && /* @__PURE__ */
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
-
O.map((e) => /* @__PURE__ */
|
|
271
|
-
O.length > 1 && /* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
273
|
-
const
|
|
262
|
+
/* @__PURE__ */ l(J, { ...U, children: [
|
|
263
|
+
/* @__PURE__ */ l(me, { children: [
|
|
264
|
+
O.length > 0 && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
265
|
+
/* @__PURE__ */ i(c, { as: "h3", children: n("regularHoursTitle") }),
|
|
266
|
+
O.map((e) => /* @__PURE__ */ l(T, { flexDirection: "column", gap: 8, children: [
|
|
267
|
+
O.length > 1 && /* @__PURE__ */ i(c, { as: "h4", children: e.title }),
|
|
268
|
+
/* @__PURE__ */ i(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: B.map((t) => {
|
|
269
|
+
const m = L(
|
|
274
270
|
e.uuid,
|
|
275
|
-
|
|
271
|
+
t
|
|
276
272
|
);
|
|
277
|
-
if (
|
|
278
|
-
return /* @__PURE__ */
|
|
279
|
-
|
|
273
|
+
if (m)
|
|
274
|
+
return /* @__PURE__ */ i(
|
|
275
|
+
D,
|
|
280
276
|
{
|
|
281
277
|
type: "number",
|
|
282
278
|
min: 0,
|
|
283
|
-
adornmentEnd:
|
|
279
|
+
adornmentEnd: n("hoursUnit"),
|
|
284
280
|
isRequired: !0,
|
|
285
|
-
label:
|
|
286
|
-
name: `hourlyCompensations.${e.uuid}.${
|
|
281
|
+
label: W(t),
|
|
282
|
+
name: `hourlyCompensations.${e.uuid}.${m.name}`
|
|
287
283
|
},
|
|
288
|
-
|
|
284
|
+
t
|
|
289
285
|
);
|
|
290
286
|
}) })
|
|
291
287
|
] }, e.uuid))
|
|
292
288
|
] }),
|
|
293
|
-
E.length > 0 && /* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
/* @__PURE__ */
|
|
296
|
-
|
|
289
|
+
E.length > 0 && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
290
|
+
/* @__PURE__ */ i(c, { as: "h4", children: o === A.Dismissal ? n("timeOffTitleDismissal") : n("timeOffTitle") }),
|
|
291
|
+
/* @__PURE__ */ i(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: E.map((e) => /* @__PURE__ */ i(
|
|
292
|
+
se,
|
|
297
293
|
{
|
|
298
294
|
timeOff: e,
|
|
299
|
-
employee:
|
|
295
|
+
employee: u
|
|
300
296
|
},
|
|
301
297
|
e.name
|
|
302
298
|
)) })
|
|
303
299
|
] }),
|
|
304
|
-
|
|
305
|
-
/* @__PURE__ */
|
|
306
|
-
|
|
307
|
-
|
|
300
|
+
o === A.Dismissal && E.length > 0 && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
301
|
+
/* @__PURE__ */ l(T, { flexDirection: "column", gap: 4, children: [
|
|
302
|
+
/* @__PURE__ */ i(c, { as: "h4", children: n("finalPayoutTitle") }),
|
|
303
|
+
/* @__PURE__ */ i(F, { variant: "supporting", children: n("finalPayoutDescription") })
|
|
304
|
+
] }),
|
|
305
|
+
/* @__PURE__ */ i(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: E.map((e) => /* @__PURE__ */ i(
|
|
306
|
+
oe,
|
|
308
307
|
{
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
min: 0,
|
|
312
|
-
adornmentEnd: t("hoursUnit"),
|
|
313
|
-
isRequired: !0,
|
|
314
|
-
label: e.name
|
|
308
|
+
timeOff: e,
|
|
309
|
+
employee: u
|
|
315
310
|
},
|
|
316
311
|
`payout-${e.name}`
|
|
317
312
|
)) })
|
|
318
313
|
] }),
|
|
319
|
-
v.length > 0 && /* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
/* @__PURE__ */
|
|
322
|
-
|
|
314
|
+
v.length > 0 && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
315
|
+
/* @__PURE__ */ i(c, { as: "h4", children: n("additionalEarningsTitle") }),
|
|
316
|
+
/* @__PURE__ */ i(
|
|
317
|
+
_,
|
|
323
318
|
{
|
|
324
319
|
gridTemplateColumns: { base: "1fr", small: [320, 320], large: [320, 320, 320] },
|
|
325
320
|
gap: 20,
|
|
326
|
-
children: v.map((e) => /* @__PURE__ */
|
|
327
|
-
|
|
321
|
+
children: v.map((e) => /* @__PURE__ */ i(
|
|
322
|
+
D,
|
|
328
323
|
{
|
|
329
|
-
|
|
324
|
+
type: "number",
|
|
330
325
|
min: 0,
|
|
326
|
+
adornmentStart: "$",
|
|
331
327
|
isRequired: !0,
|
|
332
|
-
label:
|
|
328
|
+
label: H(e.name),
|
|
333
329
|
name: `fixedCompensations.${e.name}`
|
|
334
330
|
},
|
|
335
331
|
e.name
|
|
@@ -337,48 +333,49 @@ const Te = i.object({
|
|
|
337
333
|
}
|
|
338
334
|
)
|
|
339
335
|
] }),
|
|
340
|
-
|
|
341
|
-
/* @__PURE__ */
|
|
342
|
-
/* @__PURE__ */
|
|
343
|
-
|
|
336
|
+
M && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
337
|
+
/* @__PURE__ */ i(c, { as: "h4", children: n("reimbursementTitle") }),
|
|
338
|
+
/* @__PURE__ */ i(_, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ i(
|
|
339
|
+
D,
|
|
344
340
|
{
|
|
345
|
-
|
|
341
|
+
type: "number",
|
|
346
342
|
min: 0,
|
|
343
|
+
adornmentStart: "$",
|
|
347
344
|
isRequired: !0,
|
|
348
|
-
label:
|
|
349
|
-
name: `fixedCompensations.${
|
|
345
|
+
label: H(M.name),
|
|
346
|
+
name: `fixedCompensations.${M.name}`
|
|
350
347
|
}
|
|
351
348
|
) })
|
|
352
349
|
] }),
|
|
353
|
-
|
|
354
|
-
/* @__PURE__ */
|
|
355
|
-
/* @__PURE__ */
|
|
350
|
+
x && /* @__PURE__ */ l("div", { className: d.fieldGroup, children: [
|
|
351
|
+
/* @__PURE__ */ i(c, { as: "h4", children: n("paymentMethodTitle") }),
|
|
352
|
+
/* @__PURE__ */ i(
|
|
356
353
|
ae,
|
|
357
354
|
{
|
|
358
355
|
name: "paymentMethod",
|
|
359
356
|
isRequired: !0,
|
|
360
|
-
label:
|
|
361
|
-
description:
|
|
357
|
+
label: n("paymentMethodLabel"),
|
|
358
|
+
description: n("paymentMethodDescription"),
|
|
362
359
|
options: [
|
|
363
360
|
{
|
|
364
|
-
value:
|
|
365
|
-
label:
|
|
361
|
+
value: I.DirectDeposit,
|
|
362
|
+
label: n("paymentMethodOptions.directDeposit")
|
|
366
363
|
},
|
|
367
364
|
{
|
|
368
|
-
value:
|
|
369
|
-
label:
|
|
365
|
+
value: I.Check,
|
|
366
|
+
label: n("paymentMethodOptions.check")
|
|
370
367
|
}
|
|
371
368
|
]
|
|
372
369
|
}
|
|
373
370
|
)
|
|
374
371
|
] })
|
|
375
372
|
] }),
|
|
376
|
-
!f &&
|
|
373
|
+
!f && k
|
|
377
374
|
] })
|
|
378
375
|
] });
|
|
379
376
|
};
|
|
380
377
|
export {
|
|
381
|
-
|
|
382
|
-
|
|
378
|
+
ye as PayrollEditEmployeeFormSchema,
|
|
379
|
+
Ye as PayrollEditEmployeePresentation
|
|
383
380
|
};
|
|
384
381
|
//# sourceMappingURL=PayrollEditEmployeePresentation.js.map
|