@gusto/embedded-react-sdk 0.55.4 → 0.55.6
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 +30 -0
- package/dist/components/Common/DataView/DataTable/DataTable.js +44 -41
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/RequirementsList/RequirementsList.js +21 -12
- package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +21 -15
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/TaxRateManagement/TaxRateHistorySection.js +1 -0
- package/dist/components/Company/StateTaxes/TaxRateManagement/TaxRateHistorySection.js.map +1 -1
- package/dist/components/Contractor/Compensation/management/CompensationEditForm.js +20 -17
- package/dist/components/Contractor/Compensation/management/CompensationEditForm.js.map +1 -1
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.d.ts +1 -0
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js +21 -17
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/contractorPaySchema.js.map +1 -1
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/fields.d.ts +7 -1
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/fields.js.map +1 -1
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/index.d.ts +1 -1
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js +112 -100
- package/dist/components/Contractor/ContractorList/management/ManagementContractorListView.js.map +1 -1
- package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js +46 -40
- package/dist/components/Contractor/ContractorList/onboarding/ContractorListView.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +10 -9
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js +22 -19
- package/dist/components/Contractor/Profile/onboarding/ContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.d.ts +1 -0
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js +34 -30
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.d.ts +7 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/index.d.ts +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js +32 -32
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js.map +1 -1
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +1 -0
- package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js +11 -10
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js.map +1 -1
- package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js +7 -6
- package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/onboarding/ListView.js +20 -19
- package/dist/components/Employee/PaymentMethod/onboarding/ListView.js.map +1 -1
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js +12 -10
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequests.js +63 -64
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +13 -12
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.module.scss.js +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +200 -195
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +93 -85
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.d.ts +50 -0
- package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js +52 -0
- package/dist/components/Payroll/PayrollConfiguration/useCalculationPoll.js.map +1 -0
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +52 -50
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +259 -255
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/fields.d.ts +278 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/index.d.ts +1 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.d.ts +108 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeHelpers.test.d.ts +1 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.d.ts +95 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/payrollEditEmployeeSchema.test.d.ts +1 -0
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.d.ts +126 -0
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +1 -0
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +191 -183
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +117 -107
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.d.ts +39 -0
- package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js +46 -0
- package/dist/components/Payroll/PayrollOverview/useSubmissionPoll.js.map +1 -0
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +40 -34
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +72 -87
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.d.ts +17 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js +55 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/useGenerationPoll.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.d.ts +13 -0
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js +58 -0
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.js.map +1 -0
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js +8 -0
- package/dist/components/Payroll/UNSTABLE_PayrollEditEmployee/UNSTABLE_PayrollEditEmployee.module.scss.js.map +1 -0
- package/dist/components/Payroll/helpers.d.ts +15 -0
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +35 -35
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.module.scss.js +4 -4
- package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.d.ts +2 -0
- package/dist/contexts/UnstableFeaturesProvider/useUnstableFeature.js.map +1 -1
- package/dist/hooks/usePollingTask/usePollingTask.d.ts +101 -0
- package/dist/hooks/usePollingTask/usePollingTask.js +50 -0
- package/dist/hooks/usePollingTask/usePollingTask.js.map +1 -0
- package/dist/hooks/usePollingTask/usePollingTask.test.d.ts +1 -0
- package/dist/i18n/I18n.js +147 -30
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Contractor.ContractorList.json.js +14 -12
- package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Management.Compensation.json.js +6 -6
- package/dist/i18n/en/Contractor.ManagementContractorList.json.js +8 -8
- package/dist/i18n/en/Contractor.Profile.json.js +5 -5
- package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +7 -5
- package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +8 -8
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +16 -16
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js +98 -0
- package/dist/i18n/en/Payroll.UNSTABLE_PayrollEditEmployee.json.js.map +1 -0
- package/dist/i18n/en/common.json.d.ts +1 -0
- package/dist/i18n/en/common.json.js +1 -1
- package/dist/i18n/es_US/Company.Addresses.json.js +8 -0
- package/dist/i18n/es_US/Company.Addresses.json.js.map +1 -0
- package/dist/i18n/es_US/Company.AssignSignatory.json.js +22 -0
- package/dist/i18n/es_US/Company.AssignSignatory.json.js.map +1 -0
- package/dist/i18n/es_US/Company.BankAccount.json.js +20 -0
- package/dist/i18n/es_US/Company.BankAccount.json.js.map +1 -0
- package/dist/i18n/es_US/Company.DocumentList.json.js +28 -0
- package/dist/i18n/es_US/Company.DocumentList.json.js.map +1 -0
- package/dist/i18n/es_US/Company.FederalTaxes.json.js +28 -0
- package/dist/i18n/es_US/Company.FederalTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Company.Industry.json.js +12 -0
- package/dist/i18n/es_US/Company.Industry.json.js.map +1 -0
- package/dist/i18n/es_US/Company.Locations.json.js +44 -0
- package/dist/i18n/es_US/Company.Locations.json.js.map +1 -0
- package/dist/i18n/es_US/Company.OnboardingOverview.json.js +24 -0
- package/dist/i18n/es_US/Company.OnboardingOverview.json.js.map +1 -0
- package/dist/i18n/es_US/Company.PaySchedule.json.js +36 -0
- package/dist/i18n/es_US/Company.PaySchedule.json.js.map +1 -0
- package/dist/i18n/es_US/Company.SignatureForm.json.js +20 -0
- package/dist/i18n/es_US/Company.SignatureForm.json.js.map +1 -0
- package/dist/i18n/es_US/Company.StateTaxes.json.js +12 -0
- package/dist/i18n/es_US/Company.StateTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.CreateTimeOffPolicy.json.js +18 -0
- package/dist/i18n/es_US/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.EmployeeTable.json.js +26 -0
- package/dist/i18n/es_US/Company.TimeOff.EmployeeTable.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.HolidayPolicy.json.js +26 -0
- package/dist/i18n/es_US/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.PolicyDetail.json.js +14 -0
- package/dist/i18n/es_US/Company.TimeOff.PolicyDetail.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.SelectEmployees.json.js +22 -0
- package/dist/i18n/es_US/Company.TimeOff.SelectEmployees.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.SelectPolicyType.json.js +26 -0
- package/dist/i18n/es_US/Company.TimeOff.SelectPolicyType.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicies.json.js +40 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffRequests.json.js +21 -0
- package/dist/i18n/es_US/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Address.json.js +22 -0
- package/dist/i18n/es_US/Contractor.Address.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.BankAccountFields.json.js +12 -0
- package/dist/i18n/es_US/Contractor.BankAccountFields.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.ContractorList.json.js +24 -0
- package/dist/i18n/es_US/Contractor.ContractorList.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Dashboard.json.js +14 -0
- package/dist/i18n/es_US/Contractor.Dashboard.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.DocumentsList.json.js +18 -0
- package/dist/i18n/es_US/Contractor.DocumentsList.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Landing.json.js +18 -0
- package/dist/i18n/es_US/Contractor.Landing.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Management.Address.json.js +14 -0
- package/dist/i18n/es_US/Contractor.Management.Address.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Management.Compensation.json.js +22 -0
- package/dist/i18n/es_US/Contractor.Management.Compensation.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Management.Documents.json.js +16 -0
- package/dist/i18n/es_US/Contractor.Management.Documents.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Management.PaymentMethod.json.js +24 -0
- package/dist/i18n/es_US/Contractor.Management.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Management.Profile.json.js +20 -0
- package/dist/i18n/es_US/Contractor.Management.Profile.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.ManagementContractorList.json.js +48 -0
- package/dist/i18n/es_US/Contractor.ManagementContractorList.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.NewHireReport.json.js +22 -0
- package/dist/i18n/es_US/Contractor.NewHireReport.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.OnboardingSummary.json.js +10 -0
- package/dist/i18n/es_US/Contractor.OnboardingSummary.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.PaymentMethod.json.js +20 -0
- package/dist/i18n/es_US/Contractor.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.CreateHistoricalPayment.json.js +34 -0
- package/dist/i18n/es_US/Contractor.Payments.CreateHistoricalPayment.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.CreatePayment.json.js +42 -0
- package/dist/i18n/es_US/Contractor.Payments.CreatePayment.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.HistoricalPaymentSummary.json.js +42 -0
- package/dist/i18n/es_US/Contractor.Payments.HistoricalPaymentSummary.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentHistory.json.js +26 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentHistory.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentStatement.json.js +22 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentStatement.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentSummary.json.js +54 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentSummary.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentsList.json.js +32 -0
- package/dist/i18n/es_US/Contractor.Payments.PaymentsList.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Profile.json.js +18 -0
- package/dist/i18n/es_US/Contractor.Profile.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.SelectContractors.json.js +18 -0
- package/dist/i18n/es_US/Contractor.SelectContractors.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.SignatureForm.json.js +34 -0
- package/dist/i18n/es_US/Contractor.SignatureForm.json.js.map +1 -0
- package/dist/i18n/es_US/Contractor.Submit.json.js +26 -0
- package/dist/i18n/es_US/Contractor.Submit.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.BankAccount.json.js +14 -0
- package/dist/i18n/es_US/Employee.BankAccount.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.BankFormBody.json.js +12 -0
- package/dist/i18n/es_US/Employee.BankFormBody.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Compensation.json.js +68 -0
- package/dist/i18n/es_US/Employee.Compensation.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Dashboard.json.js +12 -0
- package/dist/i18n/es_US/Employee.Dashboard.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Deductions.json.js +142 -0
- package/dist/i18n/es_US/Employee.Deductions.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.DeductionsForm.json.js +24 -0
- package/dist/i18n/es_US/Employee.DeductionsForm.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.DocumentManager.json.js +10 -0
- package/dist/i18n/es_US/Employee.DocumentManager.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.DocumentSigner.json.js +28 -0
- package/dist/i18n/es_US/Employee.DocumentSigner.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.EmployeeDocuments.json.js +10 -0
- package/dist/i18n/es_US/Employee.EmployeeDocuments.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.EmployeeList.json.js +30 -0
- package/dist/i18n/es_US/Employee.EmployeeList.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.EmploymentEligibility.json.js +22 -0
- package/dist/i18n/es_US/Employee.EmploymentEligibility.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.FederalTaxes.json.js +46 -0
- package/dist/i18n/es_US/Employee.FederalTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.FederalTaxesView.json.js +38 -0
- package/dist/i18n/es_US/Employee.FederalTaxesView.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.HomeAddress.json.js +24 -0
- package/dist/i18n/es_US/Employee.HomeAddress.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.I9SignatureForm.json.js +64 -0
- package/dist/i18n/es_US/Employee.I9SignatureForm.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Landing.json.js +16 -0
- package/dist/i18n/es_US/Employee.Landing.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.Compensation.json.js +66 -0
- package/dist/i18n/es_US/Employee.Management.Compensation.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.Deductions.json.js +26 -0
- package/dist/i18n/es_US/Employee.Management.Deductions.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.Documents.json.js +18 -0
- package/dist/i18n/es_US/Employee.Management.Documents.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.FederalTaxes.json.js +42 -0
- package/dist/i18n/es_US/Employee.Management.FederalTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.HomeAddress.json.js +56 -0
- package/dist/i18n/es_US/Employee.Management.HomeAddress.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethod.json.js +24 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethodBankForm.json.js +12 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethodBankForm.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethodSplitForm.json.js +22 -0
- package/dist/i18n/es_US/Employee.Management.PaymentMethodSplitForm.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.Paystubs.json.js +28 -0
- package/dist/i18n/es_US/Employee.Management.Paystubs.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.Profile.json.js +16 -0
- package/dist/i18n/es_US/Employee.Management.Profile.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.StateTaxes.json.js +16 -0
- package/dist/i18n/es_US/Employee.Management.StateTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Management.WorkAddress.json.js +52 -0
- package/dist/i18n/es_US/Employee.Management.WorkAddress.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.ManagementEmployeeList.json.js +26 -0
- package/dist/i18n/es_US/Employee.ManagementEmployeeList.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.OnboardingSummary.json.js +22 -0
- package/dist/i18n/es_US/Employee.OnboardingSummary.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.PaySchedules.json.js +12 -0
- package/dist/i18n/es_US/Employee.PaySchedules.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.PaymentMethod.json.js +68 -0
- package/dist/i18n/es_US/Employee.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Profile.json.js +32 -0
- package/dist/i18n/es_US/Employee.Profile.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.SplitPaycheck.json.js +26 -0
- package/dist/i18n/es_US/Employee.SplitPaycheck.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.SplitPaymentsFormBody.json.js +22 -0
- package/dist/i18n/es_US/Employee.SplitPaymentsFormBody.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.StateTaxes.json.js +14 -0
- package/dist/i18n/es_US/Employee.StateTaxes.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.StateTaxesView.json.js +12 -0
- package/dist/i18n/es_US/Employee.StateTaxesView.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminateEmployee.json.js +18 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminateEmployee.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminationFlow.json.js +12 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminationFlow.json.js.map +1 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminationSummary.json.js +20 -0
- package/dist/i18n/es_US/Employee.Terminations.TerminationSummary.json.js.map +1 -0
- package/dist/i18n/es_US/InformationRequests.InformationRequestForm.json.js +20 -0
- package/dist/i18n/es_US/InformationRequests.InformationRequestForm.json.js.map +1 -0
- package/dist/i18n/es_US/InformationRequests.InformationRequestList.json.js +18 -0
- package/dist/i18n/es_US/InformationRequests.InformationRequestList.json.js.map +1 -0
- package/dist/i18n/es_US/InformationRequests.json.js +8 -0
- package/dist/i18n/es_US/InformationRequests.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.Common.json.js +8 -0
- package/dist/i18n/es_US/Payroll.Common.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.ConfirmWireDetailsBanner.json.js +14 -0
- package/dist/i18n/es_US/Payroll.ConfirmWireDetailsBanner.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.ConfirmWireDetailsForm.json.js +26 -0
- package/dist/i18n/es_US/Payroll.ConfirmWireDetailsForm.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.Dismissal.json.js +16 -0
- package/dist/i18n/es_US/Payroll.Dismissal.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.EmployeeSelection.json.js +8 -0
- package/dist/i18n/es_US/Payroll.EmployeeSelection.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.GrossUpModal.json.js +26 -0
- package/dist/i18n/es_US/Payroll.GrossUpModal.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCycle.json.js +8 -0
- package/dist/i18n/es_US/Payroll.OffCycle.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCycleCreation.json.js +16 -0
- package/dist/i18n/es_US/Payroll.OffCycleCreation.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCycleDeductionsSetting.json.js +8 -0
- package/dist/i18n/es_US/Payroll.OffCycleDeductionsSetting.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCyclePayPeriodDateForm.json.js +14 -0
- package/dist/i18n/es_US/Payroll.OffCyclePayPeriodDateForm.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCycleReasonSelection.json.js +12 -0
- package/dist/i18n/es_US/Payroll.OffCycleReasonSelection.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.OffCycleTaxWithholding.json.js +16 -0
- package/dist/i18n/es_US/Payroll.OffCycleTaxWithholding.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollBlocker.json.js +34 -0
- package/dist/i18n/es_US/Payroll.PayrollBlocker.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollConfiguration.json.js +44 -0
- package/dist/i18n/es_US/Payroll.PayrollConfiguration.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollEditEmployee.json.js +66 -0
- package/dist/i18n/es_US/Payroll.PayrollEditEmployee.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollHistory.json.js +22 -0
- package/dist/i18n/es_US/Payroll.PayrollHistory.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollLanding.json.js +16 -0
- package/dist/i18n/es_US/Payroll.PayrollLanding.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollList.json.js +38 -0
- package/dist/i18n/es_US/Payroll.PayrollList.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollOverview.json.js +70 -0
- package/dist/i18n/es_US/Payroll.PayrollOverview.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.PayrollReceipts.json.js +20 -0
- package/dist/i18n/es_US/Payroll.PayrollReceipts.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.RecoveryCasesList.json.js +20 -0
- package/dist/i18n/es_US/Payroll.RecoveryCasesList.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.RecoveryCasesResubmit.json.js +8 -0
- package/dist/i18n/es_US/Payroll.RecoveryCasesResubmit.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.Transition.json.js +8 -0
- package/dist/i18n/es_US/Payroll.Transition.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.TransitionCreation.json.js +20 -0
- package/dist/i18n/es_US/Payroll.TransitionCreation.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.TransitionPayrollAlert.json.js +18 -0
- package/dist/i18n/es_US/Payroll.TransitionPayrollAlert.json.js.map +1 -0
- package/dist/i18n/es_US/Payroll.WireInstructions.json.js +30 -0
- package/dist/i18n/es_US/Payroll.WireInstructions.json.js.map +1 -0
- package/dist/i18n/es_US/common.json.js +44 -0
- package/dist/i18n/es_US/common.json.js.map +1 -0
- package/dist/i18n/types.d.ts +262 -6
- package/dist/index.d.ts +2 -2
- package/dist/models/external.d.ts +23 -0
- package/dist/style.css +1 -1
- package/docs/guides/endpoint-inventory.json +5 -0
- package/package.json +10 -10
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useForm as J, useFieldArray as Te, useWatch as
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { useForm as J, useFieldArray as Te, useWatch as Ae, FormProvider as ee } from "react-hook-form";
|
|
3
3
|
import { useRef as Me, useMemo as w, useState as Oe } from "react";
|
|
4
|
-
import { PayrollEmployeeCompensationsTypePaymentMethod as
|
|
5
|
-
import { useTranslation as
|
|
4
|
+
import { PayrollEmployeeCompensationsTypePaymentMethod as M } from "@gusto/embedded-api/models/components/payrollemployeecompensationstype";
|
|
5
|
+
import { useTranslation as ve } from "react-i18next";
|
|
6
6
|
import { z as s } from "zod";
|
|
7
7
|
import { zodResolver as ne } from "@hookform/resolvers/zod";
|
|
8
|
-
import
|
|
9
|
-
import { TimeOffField as Re, PayoutTimeOffField as
|
|
10
|
-
import { Flex as
|
|
11
|
-
import { Grid as
|
|
8
|
+
import p from "./PayrollEditEmployeePresentation.module.scss.js";
|
|
9
|
+
import { TimeOffField as Re, PayoutTimeOffField as xe } from "./TimeOffField.js";
|
|
10
|
+
import { Flex as P } from "../../Common/Flex/Flex.js";
|
|
11
|
+
import { Grid as x } from "../../Common/Grid/Grid.js";
|
|
12
12
|
import { EmptyData as Se } from "../../Common/EmptyData/EmptyData.js";
|
|
13
|
-
import { useComponentContext as
|
|
14
|
-
import { useI18n as
|
|
15
|
-
import { Form as
|
|
16
|
-
import { formatNumberAsCurrency as
|
|
17
|
-
import { getAdditionalEarningsCompensations as
|
|
18
|
-
import { PayrollCategory as
|
|
19
|
-
import { COMPENSATION_NAME_REIMBURSEMENT as S, HOURS_COMPENSATION_NAMES as re, EXCLUDED_ADDITIONAL_EARNINGS as
|
|
20
|
-
import
|
|
13
|
+
import { useComponentContext as Fe } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
14
|
+
import { useI18n as Ie } from "../../../i18n/I18n.js";
|
|
15
|
+
import { Form as De } from "../../Common/Form/Form.js";
|
|
16
|
+
import { formatNumberAsCurrency as te, firstLastName as _e } from "../../../helpers/formattedStrings.js";
|
|
17
|
+
import { getAdditionalEarningsCompensations as Le, calculateGrossPay as ie } from "../helpers.js";
|
|
18
|
+
import { PayrollCategory as D, isOffCyclePayroll as ae } from "../payrollTypes.js";
|
|
19
|
+
import { COMPENSATION_NAME_REIMBURSEMENT as S, HOURS_COMPENSATION_NAMES as re, EXCLUDED_ADDITIONAL_EARNINGS as ke, COMPENSATION_NAME_DOUBLE_OVERTIME as Ue, COMPENSATION_NAME_OVERTIME as je, COMPENSATION_NAME_REGULAR_HOURS as Ge, COMPENSATION_NAME_CASH_TIPS as He, COMPENSATION_NAME_COMMISSION as we, COMPENSATION_NAME_CORRECTION_PAYMENT as $e, COMPENSATION_NAME_PAYCHECK_TIPS as Ve, COMPENSATION_NAME_BONUS as Be } from "../../../shared/constants.js";
|
|
20
|
+
import qe from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
|
|
21
21
|
import se from "../../../assets/icons/plus-circle.svg.js";
|
|
22
|
-
import
|
|
23
|
-
import { TextInputField as
|
|
24
|
-
import { RadioGroupField as
|
|
25
|
-
import { useDataView as
|
|
26
|
-
import { DataView as
|
|
27
|
-
const
|
|
22
|
+
import ze from "../../../assets/icons/trashcan.svg.js";
|
|
23
|
+
import { TextInputField as I } from "../../Common/Fields/TextInputField/TextInputField.js";
|
|
24
|
+
import { RadioGroupField as We } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
|
|
25
|
+
import { useDataView as Ye } from "../../Common/DataView/useDataView.js";
|
|
26
|
+
import { DataView as Ke } from "../../Common/DataView/DataView.js";
|
|
27
|
+
const Xe = s.object({
|
|
28
28
|
uuid: s.string().nullable().optional(),
|
|
29
29
|
description: s.string(),
|
|
30
30
|
amount: s.string(),
|
|
31
31
|
recurring: s.boolean().optional()
|
|
32
|
-
}),
|
|
32
|
+
}), Qe = s.object({
|
|
33
33
|
description: s.string(),
|
|
34
34
|
amount: s.string().refine(
|
|
35
|
-
(
|
|
36
|
-
const g = parseFloat(
|
|
35
|
+
(m) => {
|
|
36
|
+
const g = parseFloat(m);
|
|
37
37
|
return !Number.isNaN(g) && g > 0;
|
|
38
38
|
},
|
|
39
39
|
{ message: "validations.reimbursementAmount" }
|
|
40
40
|
)
|
|
41
|
-
}),
|
|
41
|
+
}), Ze = s.string().optional().refine((m) => !m || parseFloat(m) >= 0, { message: "validations.negativeAmount" }), Je = s.object({
|
|
42
42
|
hourlyCompensations: s.record(s.string(), s.record(s.string(), s.string().optional())),
|
|
43
43
|
timeOffCompensations: s.record(s.string(), s.string().optional()),
|
|
44
44
|
finalPayoutCompensations: s.record(s.string(), s.string().optional()),
|
|
45
|
-
fixedCompensations: s.record(s.string(),
|
|
46
|
-
reimbursements: s.array(
|
|
47
|
-
paymentMethod: s.enum(
|
|
48
|
-
}),
|
|
49
|
-
const
|
|
45
|
+
fixedCompensations: s.record(s.string(), Ze),
|
|
46
|
+
reimbursements: s.array(Xe),
|
|
47
|
+
paymentMethod: s.enum(M).optional()
|
|
48
|
+
}), oe = (m, g, f, a, _ = D.Regular) => {
|
|
49
|
+
const y = {
|
|
50
50
|
...g,
|
|
51
|
-
paymentMethod:
|
|
51
|
+
paymentMethod: m.paymentMethod
|
|
52
52
|
};
|
|
53
|
-
|
|
53
|
+
y.hourlyCompensations = g?.hourlyCompensations?.map(
|
|
54
54
|
(r) => {
|
|
55
|
-
const
|
|
56
|
-
return
|
|
55
|
+
const c = r.jobUuid && r.name ? m.hourlyCompensations[r.jobUuid]?.[r.name] : void 0;
|
|
56
|
+
return c ? {
|
|
57
57
|
...r,
|
|
58
|
-
hours:
|
|
58
|
+
hours: c
|
|
59
59
|
} : r;
|
|
60
60
|
}
|
|
61
|
-
),
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
64
|
-
const
|
|
61
|
+
), y.paidTimeOff = f.map((r) => {
|
|
62
|
+
const c = _ === D.Dismissal, { finalPayoutUnusedHoursInput: F, ...u } = r;
|
|
63
|
+
if (c) {
|
|
64
|
+
const h = m.finalPayoutCompensations[r.name] ?? r.finalPayoutUnusedHoursInput;
|
|
65
65
|
return {
|
|
66
66
|
...r,
|
|
67
|
-
hours:
|
|
68
|
-
...
|
|
67
|
+
hours: m.timeOffCompensations[r.name] || "0",
|
|
68
|
+
...h != null ? { finalPayoutUnusedHoursInput: h || "0" } : {}
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
return {
|
|
72
|
-
...
|
|
73
|
-
hours:
|
|
72
|
+
...u,
|
|
73
|
+
hours: m.timeOffCompensations[r.name] || "0"
|
|
74
74
|
};
|
|
75
75
|
});
|
|
76
|
-
const
|
|
77
|
-
return Object.entries(
|
|
78
|
-
if (r.toLowerCase() === S.toLowerCase() &&
|
|
76
|
+
const O = !ae(_), T = [];
|
|
77
|
+
return Object.entries(m.fixedCompensations).forEach(([r, c]) => {
|
|
78
|
+
if (r.toLowerCase() === S.toLowerCase() && O)
|
|
79
79
|
return;
|
|
80
|
-
const
|
|
81
|
-
(
|
|
82
|
-
);
|
|
83
|
-
|
|
84
|
-
name:
|
|
85
|
-
jobUuid:
|
|
86
|
-
amount:
|
|
87
|
-
}) : parseFloat(
|
|
80
|
+
const u = g?.fixedCompensations?.find(
|
|
81
|
+
(l) => l.name?.toLowerCase() === r.toLowerCase()
|
|
82
|
+
), h = c === "" && u ? "0" : c;
|
|
83
|
+
h !== void 0 && h !== "" && (u ? T.push({
|
|
84
|
+
name: u.name,
|
|
85
|
+
jobUuid: u.jobUuid,
|
|
86
|
+
amount: h
|
|
87
|
+
}) : parseFloat(h) !== 0 && T.push({
|
|
88
88
|
name: r,
|
|
89
|
-
jobUuid:
|
|
90
|
-
amount:
|
|
89
|
+
jobUuid: a,
|
|
90
|
+
amount: h
|
|
91
91
|
}));
|
|
92
|
-
}),
|
|
92
|
+
}), y.fixedCompensations = T, O ? y.reimbursements = m.reimbursements.map((r) => ({
|
|
93
93
|
amount: r.amount,
|
|
94
94
|
description: r.description.trim() === "" ? null : r.description.trim(),
|
|
95
95
|
uuid: r.uuid ?? null,
|
|
96
96
|
recurring: r.recurring
|
|
97
|
-
})) :
|
|
97
|
+
})) : y.reimbursements = [], y;
|
|
98
98
|
}, Rn = ({
|
|
99
|
-
onSave:
|
|
99
|
+
onSave: m,
|
|
100
100
|
onCancel: g,
|
|
101
|
-
employee:
|
|
102
|
-
employeeCompensation:
|
|
103
|
-
isPending:
|
|
104
|
-
fixedCompensationTypes:
|
|
105
|
-
payPeriodStartDate:
|
|
101
|
+
employee: f,
|
|
102
|
+
employeeCompensation: a,
|
|
103
|
+
isPending: _ = !1,
|
|
104
|
+
fixedCompensationTypes: y,
|
|
105
|
+
payPeriodStartDate: O,
|
|
106
106
|
paySchedule: T,
|
|
107
|
-
payrollCategory: r =
|
|
108
|
-
withReimbursements:
|
|
109
|
-
hasDirectDepositSetup:
|
|
107
|
+
payrollCategory: r = D.Regular,
|
|
108
|
+
withReimbursements: c = !0,
|
|
109
|
+
hasDirectDepositSetup: F = !0
|
|
110
110
|
}) => {
|
|
111
|
-
const { Button:
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
(e) => e.jobUuid ===
|
|
115
|
-
),
|
|
111
|
+
const { Button: u, ButtonIcon: h, Heading: l, Text: $ } = Fe(), { t: n } = ve("Payroll.PayrollEditEmployee");
|
|
112
|
+
Ie("Payroll.PayrollEditEmployee");
|
|
113
|
+
const b = f.jobs?.find((e) => e.primary), me = a?.hourlyCompensations?.some(
|
|
114
|
+
(e) => e.jobUuid === b?.uuid
|
|
115
|
+
), v = b && me ? [b] : [], V = Me(null), C = qe({
|
|
116
116
|
ref: V
|
|
117
117
|
}).includes("small");
|
|
118
|
-
|
|
119
|
-
const
|
|
120
|
-
|
|
118
|
+
a?.hourlyCompensations?.forEach((e) => {
|
|
119
|
+
const i = f.jobs?.find((d) => d.uuid === e.jobUuid);
|
|
120
|
+
i && !v.find((d) => d.uuid === i.uuid) && v.push(i);
|
|
121
121
|
});
|
|
122
|
-
const
|
|
123
|
-
flsaStatus:
|
|
124
|
-
existingFixedCompensations:
|
|
125
|
-
primaryJobUuid:
|
|
126
|
-
fixedCompensationTypes:
|
|
127
|
-
excludedTypes:
|
|
128
|
-
}),
|
|
129
|
-
() =>
|
|
130
|
-
[
|
|
122
|
+
const A = (a?.paidTimeOff || []).filter((e) => e.name), U = Le({
|
|
123
|
+
flsaStatus: b?.compensations?.[0]?.flsaStatus,
|
|
124
|
+
existingFixedCompensations: a?.fixedCompensations || [],
|
|
125
|
+
primaryJobUuid: b?.uuid,
|
|
126
|
+
fixedCompensationTypes: y,
|
|
127
|
+
excludedTypes: ke
|
|
128
|
+
}), L = !ae(r), ue = w(
|
|
129
|
+
() => c && L ? a?.reimbursements ?? [] : [],
|
|
130
|
+
[c, L, a?.reimbursements]
|
|
131
131
|
), le = w(
|
|
132
|
-
() =>
|
|
132
|
+
() => a?.fixedCompensations?.find(
|
|
133
133
|
(e) => e.name?.toLowerCase() === S.toLowerCase()
|
|
134
134
|
),
|
|
135
|
-
[
|
|
136
|
-
), B =
|
|
137
|
-
(
|
|
135
|
+
[a?.fixedCompensations]
|
|
136
|
+
), B = c && !L && !!b?.uuid, q = (e, i) => a?.hourlyCompensations?.find(
|
|
137
|
+
(d) => d.jobUuid === e && d.name?.toLowerCase() === i.toLowerCase()
|
|
138
138
|
), de = (e) => {
|
|
139
139
|
switch (e) {
|
|
140
|
-
case
|
|
140
|
+
case Ge:
|
|
141
141
|
return n("compensationNames.regularHours");
|
|
142
|
-
case
|
|
142
|
+
case je:
|
|
143
143
|
return n("compensationNames.overtime");
|
|
144
144
|
case Ue:
|
|
145
145
|
return n("compensationNames.doubleOvertime");
|
|
@@ -148,47 +148,50 @@ const Ke = s.object({
|
|
|
148
148
|
}
|
|
149
149
|
}, z = (e) => {
|
|
150
150
|
switch (e) {
|
|
151
|
-
case
|
|
151
|
+
case Be:
|
|
152
152
|
return n("fixedCompensationNames.bonus");
|
|
153
|
-
case
|
|
153
|
+
case Ve:
|
|
154
154
|
return n("fixedCompensationNames.paycheckTips");
|
|
155
|
-
case
|
|
155
|
+
case $e:
|
|
156
156
|
return n("fixedCompensationNames.correctionPayment");
|
|
157
|
-
case
|
|
157
|
+
case we:
|
|
158
158
|
return n("fixedCompensationNames.commission");
|
|
159
|
-
case
|
|
159
|
+
case He:
|
|
160
160
|
return n("fixedCompensationNames.cashTips");
|
|
161
161
|
case S:
|
|
162
162
|
return n("fixedCompensationNames.reimbursement");
|
|
163
163
|
default:
|
|
164
164
|
return e;
|
|
165
165
|
}
|
|
166
|
-
}, ce = {
|
|
166
|
+
}, ce = () => {
|
|
167
|
+
const e = a?.paymentMethod;
|
|
168
|
+
return e ? !F && e === M.DirectDeposit ? M.Check : e : F ? M.DirectDeposit : M.Check;
|
|
169
|
+
}, pe = {
|
|
167
170
|
hourlyCompensations: (() => {
|
|
168
171
|
const e = {};
|
|
169
|
-
return
|
|
170
|
-
re.forEach((
|
|
171
|
-
const R = q(
|
|
172
|
-
R && (e[
|
|
172
|
+
return v.forEach((i) => {
|
|
173
|
+
re.forEach((d) => {
|
|
174
|
+
const R = q(i.uuid, d);
|
|
175
|
+
R && (e[i.uuid] || (e[i.uuid] = {}), e[i.uuid][R.name] = R.hours ? parseFloat(R.hours).toString() : "");
|
|
173
176
|
});
|
|
174
177
|
}), e;
|
|
175
178
|
})(),
|
|
176
179
|
timeOffCompensations: (() => {
|
|
177
180
|
const e = {};
|
|
178
|
-
return
|
|
179
|
-
e[
|
|
181
|
+
return A.forEach((i) => {
|
|
182
|
+
e[i.name] = i.hours ? parseFloat(i.hours).toString() : "";
|
|
180
183
|
}), e;
|
|
181
184
|
})(),
|
|
182
185
|
finalPayoutCompensations: (() => {
|
|
183
186
|
const e = {};
|
|
184
|
-
return
|
|
185
|
-
e[
|
|
187
|
+
return A.forEach((i) => {
|
|
188
|
+
e[i.name] = i.finalPayoutUnusedHoursInput ?? "0";
|
|
186
189
|
}), e;
|
|
187
190
|
})(),
|
|
188
191
|
fixedCompensations: (() => {
|
|
189
192
|
const e = {};
|
|
190
|
-
return
|
|
191
|
-
e[
|
|
193
|
+
return U.forEach((i) => {
|
|
194
|
+
e[i.name] = i.amount ?? "";
|
|
192
195
|
}), B && (e[S] = le?.amount ?? "0.00"), e;
|
|
193
196
|
})(),
|
|
194
197
|
reimbursements: ue.map((e) => ({
|
|
@@ -197,35 +200,35 @@ const Ke = s.object({
|
|
|
197
200
|
amount: e.amount,
|
|
198
201
|
recurring: e.recurring ?? !1
|
|
199
202
|
})),
|
|
200
|
-
paymentMethod:
|
|
201
|
-
},
|
|
202
|
-
resolver: ne(
|
|
203
|
-
defaultValues:
|
|
203
|
+
paymentMethod: ce()
|
|
204
|
+
}, k = J({
|
|
205
|
+
resolver: ne(Je),
|
|
206
|
+
defaultValues: pe
|
|
204
207
|
}), {
|
|
205
208
|
fields: W,
|
|
206
|
-
append:
|
|
207
|
-
remove:
|
|
208
|
-
update:
|
|
209
|
+
append: fe,
|
|
210
|
+
remove: he,
|
|
211
|
+
update: be
|
|
209
212
|
} = Te({
|
|
210
|
-
control:
|
|
213
|
+
control: k.control,
|
|
211
214
|
name: "reimbursements"
|
|
212
|
-
}),
|
|
213
|
-
const
|
|
214
|
-
|
|
215
|
-
}, j = W.map((e,
|
|
216
|
-
resolver: ne(
|
|
215
|
+
}), Ce = (e) => {
|
|
216
|
+
const i = W[e];
|
|
217
|
+
i && (i.uuid ? be(e, { ...i, amount: "0" }) : he(e));
|
|
218
|
+
}, j = W.map((e, i) => ({ ...e, originalIndex: i })).filter((e) => parseFloat(e.amount || "0") !== 0), [Y, G] = Oe(!1), H = J({
|
|
219
|
+
resolver: ne(Qe),
|
|
217
220
|
defaultValues: { description: "", amount: "" }
|
|
218
221
|
}), K = () => {
|
|
219
222
|
G(!1), H.reset();
|
|
220
223
|
}, ge = (e) => {
|
|
221
|
-
const
|
|
222
|
-
|
|
224
|
+
const i = parseFloat(e.amount);
|
|
225
|
+
fe({
|
|
223
226
|
uuid: null,
|
|
224
227
|
description: e.description.trim(),
|
|
225
|
-
amount:
|
|
228
|
+
amount: i.toFixed(2),
|
|
226
229
|
recurring: !1
|
|
227
230
|
}), K();
|
|
228
|
-
},
|
|
231
|
+
}, ye = Ye({
|
|
229
232
|
data: j,
|
|
230
233
|
columns: [
|
|
231
234
|
{
|
|
@@ -236,7 +239,8 @@ const Ke = s.object({
|
|
|
236
239
|
{
|
|
237
240
|
key: "amount",
|
|
238
241
|
title: n("reimbursementAmountColumn"),
|
|
239
|
-
|
|
242
|
+
justify: "end",
|
|
243
|
+
render: (e) => te(parseFloat(e.amount || "0"))
|
|
240
244
|
},
|
|
241
245
|
{
|
|
242
246
|
key: "recurring",
|
|
@@ -246,192 +250,192 @@ const Ke = s.object({
|
|
|
246
250
|
],
|
|
247
251
|
itemMenu: (e) => {
|
|
248
252
|
if (e.recurring) return null;
|
|
249
|
-
const
|
|
250
|
-
return /* @__PURE__ */
|
|
251
|
-
|
|
253
|
+
const i = e.description.trim() || n("reimbursementUnnamedFallback");
|
|
254
|
+
return /* @__PURE__ */ t(
|
|
255
|
+
h,
|
|
252
256
|
{
|
|
253
257
|
variant: "tertiary",
|
|
254
258
|
onClick: () => {
|
|
255
|
-
|
|
259
|
+
Ce(e.originalIndex);
|
|
256
260
|
},
|
|
257
|
-
"aria-label": n("removeReimbursementLabel", { description:
|
|
258
|
-
children: /* @__PURE__ */
|
|
261
|
+
"aria-label": n("removeReimbursementLabel", { description: i }),
|
|
262
|
+
children: /* @__PURE__ */ t(ze, { "aria-hidden": !0 })
|
|
259
263
|
}
|
|
260
264
|
);
|
|
261
265
|
},
|
|
262
|
-
emptyState: () => /* @__PURE__ */
|
|
263
|
-
|
|
266
|
+
emptyState: () => /* @__PURE__ */ t(Se, { title: n("reimbursementEmptyTitle"), children: /* @__PURE__ */ t(
|
|
267
|
+
u,
|
|
264
268
|
{
|
|
265
269
|
variant: "secondary",
|
|
266
270
|
onClick: () => {
|
|
267
271
|
G(!0);
|
|
268
272
|
},
|
|
269
|
-
icon: /* @__PURE__ */
|
|
273
|
+
icon: /* @__PURE__ */ t(se, { "aria-hidden": !0 }),
|
|
270
274
|
children: n("addReimbursementCta")
|
|
271
275
|
}
|
|
272
276
|
) })
|
|
273
|
-
}),
|
|
274
|
-
control:
|
|
275
|
-
}),
|
|
277
|
+
}), N = Ae({
|
|
278
|
+
control: k.control
|
|
279
|
+
}), Ne = w(() => {
|
|
276
280
|
try {
|
|
277
281
|
const e = {};
|
|
278
|
-
|
|
279
|
-
Z && (e[
|
|
282
|
+
N.hourlyCompensations && Object.entries(N.hourlyCompensations).forEach(([E, Z]) => {
|
|
283
|
+
Z && (e[E] = Z);
|
|
280
284
|
});
|
|
281
|
-
const
|
|
282
|
-
uuid:
|
|
283
|
-
description:
|
|
284
|
-
amount:
|
|
285
|
-
recurring:
|
|
286
|
-
})),
|
|
285
|
+
const i = (N.reimbursements ?? []).map((E) => ({
|
|
286
|
+
uuid: E.uuid ?? null,
|
|
287
|
+
description: E.description ?? "",
|
|
288
|
+
amount: E.amount ?? "0",
|
|
289
|
+
recurring: E.recurring
|
|
290
|
+
})), d = {
|
|
287
291
|
hourlyCompensations: e,
|
|
288
|
-
timeOffCompensations:
|
|
289
|
-
finalPayoutCompensations:
|
|
290
|
-
fixedCompensations:
|
|
291
|
-
reimbursements:
|
|
292
|
-
paymentMethod:
|
|
293
|
-
}, R =
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
(
|
|
297
|
-
|
|
292
|
+
timeOffCompensations: N.timeOffCompensations || {},
|
|
293
|
+
finalPayoutCompensations: N.finalPayoutCompensations || {},
|
|
294
|
+
fixedCompensations: N.fixedCompensations || {},
|
|
295
|
+
reimbursements: i,
|
|
296
|
+
paymentMethod: N.paymentMethod
|
|
297
|
+
}, R = oe(
|
|
298
|
+
d,
|
|
299
|
+
a,
|
|
300
|
+
(a?.paidTimeOff || []).filter((E) => E.name),
|
|
301
|
+
b?.uuid,
|
|
298
302
|
r
|
|
299
303
|
);
|
|
300
|
-
return
|
|
304
|
+
return ie(
|
|
301
305
|
R,
|
|
302
|
-
|
|
303
|
-
|
|
306
|
+
f,
|
|
307
|
+
O,
|
|
304
308
|
T,
|
|
305
309
|
r
|
|
306
310
|
);
|
|
307
311
|
} catch {
|
|
308
|
-
return
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
+
return a ? ie(
|
|
313
|
+
a,
|
|
314
|
+
f,
|
|
315
|
+
O,
|
|
312
316
|
T,
|
|
313
317
|
r
|
|
314
318
|
) : 0;
|
|
315
319
|
}
|
|
316
320
|
}, [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
321
|
+
N,
|
|
322
|
+
a,
|
|
323
|
+
b?.uuid,
|
|
324
|
+
f,
|
|
325
|
+
O,
|
|
322
326
|
T,
|
|
323
327
|
r
|
|
324
|
-
]),
|
|
325
|
-
first_name:
|
|
326
|
-
last_name:
|
|
327
|
-
}),
|
|
328
|
-
const
|
|
328
|
+
]), Ee = _e({
|
|
329
|
+
first_name: f.firstName,
|
|
330
|
+
last_name: f.lastName
|
|
331
|
+
}), Pe = (e) => {
|
|
332
|
+
const i = oe(
|
|
329
333
|
e,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
334
|
+
a,
|
|
335
|
+
A,
|
|
336
|
+
b?.uuid,
|
|
333
337
|
r
|
|
334
338
|
);
|
|
335
|
-
|
|
336
|
-
}, X =
|
|
337
|
-
|
|
339
|
+
m(i);
|
|
340
|
+
}, X = te(Ne || 0), Q = /* @__PURE__ */ o(
|
|
341
|
+
P,
|
|
338
342
|
{
|
|
339
|
-
flexDirection:
|
|
340
|
-
justifyContent:
|
|
341
|
-
alignItems:
|
|
343
|
+
flexDirection: C ? "row" : "column",
|
|
344
|
+
justifyContent: C ? "flex-end" : "normal",
|
|
345
|
+
alignItems: C ? "flex-start" : "stretch",
|
|
342
346
|
gap: 12,
|
|
343
347
|
children: [
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
|
|
348
|
+
/* @__PURE__ */ t(u, { variant: "secondary", onClick: g, title: n("cancelCta"), children: n("cancelCta") }),
|
|
349
|
+
/* @__PURE__ */ t(
|
|
350
|
+
u,
|
|
347
351
|
{
|
|
348
|
-
onClick:
|
|
352
|
+
onClick: k.handleSubmit(Pe),
|
|
349
353
|
title: n("saveCta"),
|
|
350
|
-
isLoading:
|
|
354
|
+
isLoading: _,
|
|
351
355
|
children: n("saveCta")
|
|
352
356
|
}
|
|
353
357
|
)
|
|
354
358
|
]
|
|
355
359
|
}
|
|
356
360
|
);
|
|
357
|
-
return /* @__PURE__ */
|
|
358
|
-
/* @__PURE__ */
|
|
361
|
+
return /* @__PURE__ */ o("div", { ref: V, className: p.container, children: [
|
|
362
|
+
/* @__PURE__ */ t(
|
|
359
363
|
"div",
|
|
360
364
|
{
|
|
361
|
-
className: `${
|
|
362
|
-
children: /* @__PURE__ */
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
/* @__PURE__ */
|
|
368
|
-
] }) : /* @__PURE__ */
|
|
365
|
+
className: `${p.headerSection} ${C ? "" : p.headerSectionSticky}`,
|
|
366
|
+
children: /* @__PURE__ */ o(P, { justifyContent: "space-between", children: [
|
|
367
|
+
/* @__PURE__ */ o(P, { flexDirection: "column", gap: C ? 8 : 2, children: [
|
|
368
|
+
/* @__PURE__ */ t(l, { as: "h1", styledAs: C ? "h2" : "h4", children: n("pageTitle", { employeeName: Ee }) }),
|
|
369
|
+
C ? /* @__PURE__ */ o(P, { flexDirection: "column", gap: 6, children: [
|
|
370
|
+
/* @__PURE__ */ t(l, { as: "h2", styledAs: "h3", children: X }),
|
|
371
|
+
/* @__PURE__ */ t($, { className: p.grossPayLabel, children: n("grossPayLabel") })
|
|
372
|
+
] }) : /* @__PURE__ */ t(l, { as: "h2", styledAs: "h6", className: p.grossPayLabel, children: n("grossPayLabelMobile", { grossPay: X }) })
|
|
369
373
|
] }),
|
|
370
|
-
|
|
374
|
+
C && Q
|
|
371
375
|
] })
|
|
372
376
|
}
|
|
373
377
|
),
|
|
374
|
-
/* @__PURE__ */
|
|
375
|
-
/* @__PURE__ */
|
|
376
|
-
|
|
377
|
-
/* @__PURE__ */
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
/* @__PURE__ */
|
|
381
|
-
const
|
|
378
|
+
/* @__PURE__ */ o(ee, { ...k, children: [
|
|
379
|
+
/* @__PURE__ */ o(De, { children: [
|
|
380
|
+
v.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
381
|
+
/* @__PURE__ */ t(l, { as: "h3", children: n("regularHoursTitle") }),
|
|
382
|
+
v.map((e) => /* @__PURE__ */ o(P, { flexDirection: "column", gap: 8, children: [
|
|
383
|
+
v.length > 1 && /* @__PURE__ */ t(l, { as: "h4", children: e.title }),
|
|
384
|
+
/* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: re.map((i) => {
|
|
385
|
+
const d = q(
|
|
382
386
|
e.uuid,
|
|
383
|
-
|
|
387
|
+
i
|
|
384
388
|
);
|
|
385
|
-
if (
|
|
386
|
-
return /* @__PURE__ */
|
|
387
|
-
|
|
389
|
+
if (d)
|
|
390
|
+
return /* @__PURE__ */ t(
|
|
391
|
+
I,
|
|
388
392
|
{
|
|
389
393
|
type: "number",
|
|
390
394
|
min: 0,
|
|
391
395
|
adornmentEnd: n("hoursUnit"),
|
|
392
396
|
isRequired: !0,
|
|
393
|
-
label: de(
|
|
394
|
-
name: `hourlyCompensations.${e.uuid}.${
|
|
397
|
+
label: de(i),
|
|
398
|
+
name: `hourlyCompensations.${e.uuid}.${d.name}`
|
|
395
399
|
},
|
|
396
|
-
|
|
400
|
+
i
|
|
397
401
|
);
|
|
398
402
|
}) })
|
|
399
403
|
] }, e.uuid))
|
|
400
404
|
] }),
|
|
401
|
-
|
|
402
|
-
/* @__PURE__ */
|
|
403
|
-
/* @__PURE__ */
|
|
405
|
+
A.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
406
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: r === D.Dismissal ? n("timeOffTitleDismissal") : n("timeOffTitle") }),
|
|
407
|
+
/* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: A.map((e) => /* @__PURE__ */ t(
|
|
404
408
|
Re,
|
|
405
409
|
{
|
|
406
410
|
timeOff: e,
|
|
407
|
-
employee:
|
|
411
|
+
employee: f
|
|
408
412
|
},
|
|
409
413
|
e.name
|
|
410
414
|
)) })
|
|
411
415
|
] }),
|
|
412
|
-
r ===
|
|
413
|
-
/* @__PURE__ */
|
|
414
|
-
/* @__PURE__ */
|
|
415
|
-
/* @__PURE__ */
|
|
416
|
+
r === D.Dismissal && A.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
417
|
+
/* @__PURE__ */ o(P, { flexDirection: "column", gap: 4, children: [
|
|
418
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("finalPayoutTitle") }),
|
|
419
|
+
/* @__PURE__ */ t($, { variant: "supporting", children: n("finalPayoutDescription") })
|
|
416
420
|
] }),
|
|
417
|
-
/* @__PURE__ */
|
|
418
|
-
|
|
421
|
+
/* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: A.map((e) => /* @__PURE__ */ t(
|
|
422
|
+
xe,
|
|
419
423
|
{
|
|
420
424
|
timeOff: e,
|
|
421
|
-
employee:
|
|
425
|
+
employee: f
|
|
422
426
|
},
|
|
423
427
|
`payout-${e.name}`
|
|
424
428
|
)) })
|
|
425
429
|
] }),
|
|
426
|
-
|
|
427
|
-
/* @__PURE__ */
|
|
428
|
-
/* @__PURE__ */
|
|
429
|
-
|
|
430
|
+
U.length > 0 && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
431
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("additionalEarningsTitle") }),
|
|
432
|
+
/* @__PURE__ */ t(
|
|
433
|
+
x,
|
|
430
434
|
{
|
|
431
435
|
gridTemplateColumns: { base: "1fr", small: [320, 320], large: [320, 320, 320] },
|
|
432
436
|
gap: 20,
|
|
433
|
-
children:
|
|
434
|
-
|
|
437
|
+
children: U.map((e) => /* @__PURE__ */ t(
|
|
438
|
+
I,
|
|
435
439
|
{
|
|
436
440
|
type: "number",
|
|
437
441
|
min: 0,
|
|
@@ -446,10 +450,10 @@ const Ke = s.object({
|
|
|
446
450
|
}
|
|
447
451
|
)
|
|
448
452
|
] }),
|
|
449
|
-
B && /* @__PURE__ */
|
|
450
|
-
/* @__PURE__ */
|
|
451
|
-
/* @__PURE__ */
|
|
452
|
-
|
|
453
|
+
B && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
454
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
|
|
455
|
+
/* @__PURE__ */ t(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: /* @__PURE__ */ t(
|
|
456
|
+
I,
|
|
453
457
|
{
|
|
454
458
|
type: "number",
|
|
455
459
|
min: 0,
|
|
@@ -461,21 +465,21 @@ const Ke = s.object({
|
|
|
461
465
|
}
|
|
462
466
|
) })
|
|
463
467
|
] }),
|
|
464
|
-
|
|
465
|
-
/* @__PURE__ */
|
|
466
|
-
!(j.length === 0 && Y) && /* @__PURE__ */
|
|
467
|
-
Y ? /* @__PURE__ */
|
|
468
|
-
/* @__PURE__ */
|
|
469
|
-
/* @__PURE__ */
|
|
470
|
-
|
|
468
|
+
c && L && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
469
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("reimbursementTitle") }),
|
|
470
|
+
!(j.length === 0 && Y) && /* @__PURE__ */ t(Ke, { label: n("reimbursementsTableLabel"), ...ye }),
|
|
471
|
+
Y ? /* @__PURE__ */ t(ee, { ...H, children: /* @__PURE__ */ o(P, { flexDirection: "column", gap: 12, children: [
|
|
472
|
+
/* @__PURE__ */ o(x, { gridTemplateColumns: { base: "1fr", small: [320, 320] }, gap: 20, children: [
|
|
473
|
+
/* @__PURE__ */ t(
|
|
474
|
+
I,
|
|
471
475
|
{
|
|
472
476
|
name: "description",
|
|
473
477
|
label: n("reimbursementDescriptionLabel"),
|
|
474
478
|
placeholder: n("reimbursementDescriptionPlaceholder")
|
|
475
479
|
}
|
|
476
480
|
),
|
|
477
|
-
/* @__PURE__ */
|
|
478
|
-
|
|
481
|
+
/* @__PURE__ */ t(
|
|
482
|
+
I,
|
|
479
483
|
{
|
|
480
484
|
name: "amount",
|
|
481
485
|
type: "number",
|
|
@@ -487,27 +491,27 @@ const Ke = s.object({
|
|
|
487
491
|
}
|
|
488
492
|
)
|
|
489
493
|
] }),
|
|
490
|
-
/* @__PURE__ */
|
|
491
|
-
/* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ o(P, { gap: 12, children: [
|
|
495
|
+
/* @__PURE__ */ t(u, { onClick: H.handleSubmit(ge), children: n("saveReimbursementCta") }),
|
|
496
|
+
/* @__PURE__ */ t(u, { variant: "secondary", onClick: K, children: n("cancelReimbursementCta") })
|
|
493
497
|
] })
|
|
494
|
-
] }) }) : j.length > 0 && /* @__PURE__ */
|
|
495
|
-
|
|
498
|
+
] }) }) : j.length > 0 && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
499
|
+
u,
|
|
496
500
|
{
|
|
497
501
|
variant: "secondary",
|
|
498
502
|
onClick: () => {
|
|
499
503
|
G(!0);
|
|
500
504
|
},
|
|
501
505
|
title: n("addReimbursementLink"),
|
|
502
|
-
icon: /* @__PURE__ */
|
|
506
|
+
icon: /* @__PURE__ */ t(se, { "aria-hidden": !0 }),
|
|
503
507
|
children: n("addReimbursementLink")
|
|
504
508
|
}
|
|
505
509
|
) })
|
|
506
510
|
] }),
|
|
507
|
-
|
|
508
|
-
/* @__PURE__ */
|
|
509
|
-
/* @__PURE__ */
|
|
510
|
-
|
|
511
|
+
F && /* @__PURE__ */ o("div", { className: p.fieldGroup, children: [
|
|
512
|
+
/* @__PURE__ */ t(l, { as: "h3", styledAs: "h4", children: n("paymentMethodTitle") }),
|
|
513
|
+
/* @__PURE__ */ t(
|
|
514
|
+
We,
|
|
511
515
|
{
|
|
512
516
|
name: "paymentMethod",
|
|
513
517
|
isRequired: !0,
|
|
@@ -515,11 +519,11 @@ const Ke = s.object({
|
|
|
515
519
|
description: n("paymentMethodDescription"),
|
|
516
520
|
options: [
|
|
517
521
|
{
|
|
518
|
-
value:
|
|
522
|
+
value: M.DirectDeposit,
|
|
519
523
|
label: n("paymentMethodOptions.directDeposit")
|
|
520
524
|
},
|
|
521
525
|
{
|
|
522
|
-
value:
|
|
526
|
+
value: M.Check,
|
|
523
527
|
label: n("paymentMethodOptions.check")
|
|
524
528
|
}
|
|
525
529
|
]
|
|
@@ -527,7 +531,7 @@ const Ke = s.object({
|
|
|
527
531
|
)
|
|
528
532
|
] })
|
|
529
533
|
] }),
|
|
530
|
-
!
|
|
534
|
+
!C && Q
|
|
531
535
|
] })
|
|
532
536
|
] });
|
|
533
537
|
};
|