@gusto/embedded-react-sdk 0.48.2 → 0.48.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/components/Company/AssignSignatory/AssignSignatory.d.ts +33 -2
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.d.ts +23 -2
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.d.ts +2 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/Schema.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/index.d.ts +2 -2
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.d.ts +10 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +4 -5
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/Head.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/Head.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.d.ts +24 -2
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.d.ts +3 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/index.d.ts +2 -2
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.d.ts +6 -0
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +4 -5
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/SignatoryForm.d.ts +1 -0
- package/dist/components/Company/AssignSignatory/SignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.d.ts +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/index.d.ts +2 -5
- package/dist/components/Company/AssignSignatory/useAssignSignatory.d.ts +9 -0
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +6 -7
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccount.d.ts +26 -0
- package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountComponents.d.ts +8 -0
- package/dist/components/Company/BankAccount/BankAccountComponents.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.d.ts +3 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountForm/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +4 -5
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/AccountView.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountList/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.d.ts +3 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.d.ts +1 -0
- package/dist/components/Company/BankAccount/BankAccountVerify/Head.js.map +1 -1
- package/dist/components/Company/BankAccount/stateMachine.d.ts +1 -0
- package/dist/components/Company/BankAccount/stateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +21 -0
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Head.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/DocumentList/Head.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/List.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/ManageSignatories.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/DocumentList/ManageSignatories.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +4 -5
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentSigner.d.ts +37 -0
- package/dist/components/Company/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.d.ts +31 -2
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/assignSignatoryState.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/assignSignatoryState.js.map +1 -1
- package/dist/components/Company/DocumentSigner/documentSignerStateMachine.d.ts +4 -0
- package/dist/components/Company/DocumentSigner/documentSignerStateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.d.ts +41 -0
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/signCompanyFormSchema.d.ts +40 -10
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/signCompanyFormSchema.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.d.ts +111 -0
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/stateMachine.d.ts +1 -0
- package/dist/components/Company/DocumentSigner/stateMachine.js.map +1 -1
- package/dist/components/Company/DocumentSigner/useDocumentSigner.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Actions.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.d.ts +13 -0
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Head.d.ts +1 -0
- package/dist/components/Company/FederalTaxes/Head.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.d.ts +3 -0
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +9 -10
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.d.ts +1 -0
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +7 -8
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.d.ts +3 -0
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Industry/Head.d.ts +1 -0
- package/dist/components/Company/Industry/Head.js.map +1 -1
- package/dist/components/Company/Industry/Industry.d.ts +21 -0
- package/dist/components/Company/Industry/Industry.js.map +1 -1
- package/dist/components/Company/Industry/IndustrySelect.d.ts +1 -0
- package/dist/components/Company/Industry/IndustrySelect.js.map +1 -1
- package/dist/components/Company/Industry/index.d.ts +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.d.ts +1 -0
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.d.ts +3 -0
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Head.d.ts +1 -0
- package/dist/components/Company/Locations/LocationForm/Head.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.d.ts +16 -0
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +4 -5
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/Locations.d.ts +26 -0
- package/dist/components/Company/Locations/Locations.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Head.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/Head.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.d.ts +23 -2
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/index.d.ts +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +4 -5
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/Locations/locationsStateMachine.d.ts +4 -0
- package/dist/components/Company/Locations/locationsStateMachine.js.map +1 -1
- package/dist/components/Company/Locations/stateMachine.d.ts +1 -1
- package/dist/components/Company/Locations/stateMachine.js +0 -1
- package/dist/components/Company/Locations/stateMachine.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.d.ts +25 -0
- package/dist/components/Company/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.d.ts +19 -1
- package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.d.ts +1 -0
- package/dist/components/Company/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.d.ts +1 -0
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.d.ts +1 -0
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.d.ts +18 -0
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +4 -5
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.d.ts +36 -3
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleComponents.d.ts +3 -0
- package/dist/components/Company/PaySchedule/PayScheduleComponents.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleForm.d.ts +1 -0
- package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleList.d.ts +1 -0
- package/dist/components/Company/PaySchedule/PayScheduleList.js.map +1 -1
- package/dist/components/Company/PaySchedule/payScheduleStateMachine.d.ts +1 -0
- package/dist/components/Company/PaySchedule/payScheduleStateMachine.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +136 -0
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/index.d.ts +2 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.d.ts +48 -26
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +134 -0
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxes.d.ts +25 -0
- package/dist/components/Company/StateTaxes/StateTaxes.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesComponents.d.ts +6 -0
- package/dist/components/Company/StateTaxes/StateTaxesComponents.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.d.ts +1 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js +16 -18
- package/dist/components/Company/StateTaxes/StateTaxesForm/Form.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/Head.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.d.ts +31 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +4 -5
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/rhfKey.d.ts +2 -0
- package/dist/components/Company/StateTaxes/StateTaxesForm/rhfKey.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/Head.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.d.ts +1 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.d.ts +16 -0
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +4 -5
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.d.ts +1 -0
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -1
- package/dist/components/Company/exports/companyOnboarding.d.ts +7 -6
- package/dist/components/Company/exports/companyOnboarding.js +18 -16
- package/dist/components/Company/exports/companyOnboarding.js.map +1 -1
- package/dist/components/Company/index.d.ts +1 -17
- package/dist/components/Contractor/Address/Actions.d.ts +1 -0
- package/dist/components/Contractor/Address/Actions.js.map +1 -1
- package/dist/components/Contractor/Address/Address.d.ts +36 -1
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.d.ts +1 -0
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/Address/Head.d.ts +1 -0
- package/dist/components/Contractor/Address/Head.js.map +1 -1
- package/dist/components/Contractor/Address/index.d.ts +1 -1
- package/dist/components/Contractor/Address/useAddress.d.ts +8 -1
- package/dist/components/Contractor/Address/useAddress.js +6 -7
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.d.ts +22 -9
- package/dist/components/Contractor/ContractorList/index.js +1 -3
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/ContractorList/useContractorList.d.ts +3 -5
- package/dist/components/Contractor/ContractorList/useContractorList.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.d.ts +33 -9
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/types.d.ts +7 -0
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +58 -0
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +28 -2
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.d.ts +1 -0
- package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.d.ts +1 -0
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.d.ts +33 -16
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.d.ts +1 -9
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +11 -15
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/types.d.ts +7 -0
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.d.ts +40 -3
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +1 -2
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentFormSchema.d.ts +4 -18
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentFormSchema.js +0 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentFormSchema.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/helpers.d.ts +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/helpers.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlow.d.ts +40 -0
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlow.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.d.ts +13 -0
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/paymentStateMachine.d.ts +2 -0
- package/dist/components/Contractor/Payments/PaymentFlow/paymentStateMachine.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.d.ts +30 -3
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +1 -2
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.d.ts +15 -3
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +1 -2
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.d.ts +25 -2
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/index.d.ts +1 -2
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.d.ts +28 -3
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +1 -2
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +1 -0
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/types.d.ts +8 -4
- package/dist/components/Contractor/Profile/ContractorProfile.d.ts +30 -6
- package/dist/components/Contractor/Profile/ContractorProfile.js +5 -9
- package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfileForm.d.ts +2 -0
- package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
- package/dist/components/Contractor/Profile/index.d.ts +1 -2
- package/dist/components/Contractor/Profile/useContractorProfile.d.ts +16 -2
- package/dist/components/Contractor/Profile/useContractorProfile.js +28 -26
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.d.ts +21 -1
- package/dist/components/Contractor/Submit/Submit.js +1 -2
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Contractor/Submit/SubmitDone.d.ts +1 -0
- package/dist/components/Contractor/Submit/SubmitDone.js.map +1 -1
- package/dist/components/Contractor/exports/contractorManagement.d.ts +6 -6
- package/dist/components/Contractor/exports/contractorOnboarding.d.ts +9 -4
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.d.ts +29 -61
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.d.ts +19 -23
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js +5 -0
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js.map +1 -1
- package/dist/components/Employee/Deductions/onboarding/Deductions.d.ts +1 -3
- package/dist/components/Employee/Deductions/onboarding/Deductions.js +21 -26
- package/dist/components/Employee/Deductions/onboarding/Deductions.js.map +1 -1
- package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js +55 -50
- package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.d.ts +0 -4
- package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js +33 -43
- package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js.map +1 -1
- package/dist/components/Employee/Deductions/onboarding/stateMachine.d.ts +0 -1
- package/dist/components/Employee/Deductions/onboarding/stateMachine.js +36 -60
- package/dist/components/Employee/Deductions/onboarding/stateMachine.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js +63 -61
- package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.d.ts +1 -18
- package/dist/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.d.ts +2 -25
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +4 -5
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +1 -4
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/signEmployeeFormSchema.d.ts +2 -48
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.d.ts +22 -14
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.d.ts +3 -20
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankFormSchema.d.ts +3 -15
- package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodFormSchema.d.ts +3 -12
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsFormSchema.d.ts +2 -11
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +3 -22
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.d.ts +3 -17
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/workAddressSchema.d.ts +3 -10
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +3 -2
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +2 -18
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +144 -131
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +3 -3
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +167 -167
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +40 -35
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +3 -4
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +1 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +90 -82
- package/dist/index.js.map +1 -1
- package/dist/partner-hook-utils/form/buildFormSchema.d.ts +27 -4
- package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
- package/dist/shared/constants.d.ts +0 -4
- package/dist/shared/constants.js +0 -2
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/docs/reference/endpoint-inventory.json +11 -4
- package/package.json +6 -6
- package/dist/components/Contractor/index.d.ts +0 -14
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.d.ts +0 -8
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.js +0 -44
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.js.map +0 -1
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.module.scss.js +0 -12
- package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.module.scss.js.map +0 -1
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { jsx as a, jsxs as o, Fragment as
|
|
2
|
-
import { useTranslation as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { isDismissalPayroll as
|
|
5
|
-
import { PayrollOverviewStatus as
|
|
6
|
-
import
|
|
1
|
+
import { jsx as a, jsxs as o, Fragment as C } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation as Pe, Trans as xe } from "react-i18next";
|
|
3
|
+
import { useState as re, useRef as ke } from "react";
|
|
4
|
+
import { isDismissalPayroll as Ce, getPayrollTypeLabel as Se, calculateTotalPayroll as we, getReimbursements as B } from "../helpers.js";
|
|
5
|
+
import { PayrollOverviewStatus as p } from "./PayrollOverviewTypes.js";
|
|
6
|
+
import ne from "./PayrollOverviewPresentation.module.scss.js";
|
|
7
7
|
import { Flex as s } from "../../Common/Flex/Flex.js";
|
|
8
|
-
import { Grid as
|
|
9
|
-
import { useComponentContext as
|
|
10
|
-
import
|
|
11
|
-
import { useI18n as
|
|
12
|
-
import { useDateFormatter as
|
|
13
|
-
import
|
|
14
|
-
import { firstLastName as
|
|
15
|
-
import { PAYMENT_METHODS as
|
|
16
|
-
import
|
|
17
|
-
import { PayrollLoading as
|
|
18
|
-
import { FastAchSubmissionBlockerBanner as
|
|
19
|
-
import { GenericBlocker as
|
|
8
|
+
import { Grid as Ne } from "../../Common/Grid/Grid.js";
|
|
9
|
+
import { useComponentContext as _e } from "../../../contexts/ComponentAdapter/useComponentContext.js";
|
|
10
|
+
import ve from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
|
|
11
|
+
import { useI18n as Le } from "../../../i18n/I18n.js";
|
|
12
|
+
import { useDateFormatter as Ee } from "../../../hooks/useDateFormatter.js";
|
|
13
|
+
import Oe from "../../../hooks/useNumberFormatter.js";
|
|
14
|
+
import { firstLastName as W } from "../../../helpers/formattedStrings.js";
|
|
15
|
+
import { PAYMENT_METHODS as Ae, FlsaStatus as le, compensationTypeLabels as V, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as ie } from "../../../shared/constants.js";
|
|
16
|
+
import oe from "../../../assets/icons/download-cloud.svg.js";
|
|
17
|
+
import { PayrollLoading as se } from "../../Common/PayrollLoading/PayrollLoading.js";
|
|
18
|
+
import { FastAchSubmissionBlockerBanner as Be } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
|
|
19
|
+
import { GenericBlocker as We } from "./SubmissionBlockers/GenericBlocker.js";
|
|
20
20
|
import { DataView as c } from "../../Common/DataView/DataView.js";
|
|
21
|
-
const
|
|
22
|
-
onEdit:
|
|
23
|
-
onSubmit:
|
|
24
|
-
onCancel:
|
|
25
|
-
onPayrollReceipt:
|
|
21
|
+
const Ve = (u, S) => u?.startDate && u.endDate ? S.formatPayPeriod(u.startDate, u.endDate) : { startDate: "", endDate: "" }, lt = ({
|
|
22
|
+
onEdit: u,
|
|
23
|
+
onSubmit: S,
|
|
24
|
+
onCancel: de,
|
|
25
|
+
onPayrollReceipt: ce,
|
|
26
26
|
onPaystubDownload: Y,
|
|
27
|
-
employeeDetails: ue,
|
|
28
27
|
payrollData: n,
|
|
29
|
-
bankAccount:
|
|
30
|
-
taxes:
|
|
31
|
-
status:
|
|
32
|
-
isProcessed:
|
|
33
|
-
canCancel:
|
|
28
|
+
bankAccount: M,
|
|
29
|
+
taxes: w,
|
|
30
|
+
status: f = p.Viewing,
|
|
31
|
+
isProcessed: h,
|
|
32
|
+
canCancel: me = !1,
|
|
34
33
|
alerts: I = [],
|
|
35
|
-
submissionBlockers:
|
|
36
|
-
selectedUnblockOptions:
|
|
34
|
+
submissionBlockers: b = [],
|
|
35
|
+
selectedUnblockOptions: N = {},
|
|
37
36
|
onUnblockOptionChange: F,
|
|
38
|
-
wireInConfirmationRequest:
|
|
39
|
-
withReimbursements:
|
|
40
|
-
paymentSpeed:
|
|
37
|
+
wireInConfirmationRequest: ue,
|
|
38
|
+
withReimbursements: g = !0,
|
|
39
|
+
paymentSpeed: be,
|
|
40
|
+
pagination: _
|
|
41
41
|
}) => {
|
|
42
|
-
const { Alert: v, Badge: L, Button:
|
|
43
|
-
|
|
44
|
-
const d =
|
|
45
|
-
|
|
42
|
+
const { Alert: v, Badge: L, Button: T, ButtonIcon: R, Dialog: ye, Heading: j, Text: y, Tabs: pe } = _e();
|
|
43
|
+
Le("Payroll.PayrollOverview");
|
|
44
|
+
const d = Ee(), { t } = Pe("Payroll.PayrollOverview"), l = Oe("currency"), [fe, he] = re("companyPays"), [U, G] = re(!1), E = ke(null), D = ve({ ref: E }).includes("small"), H = f === p.Submitting || f === p.Cancelling, $ = /* @__PURE__ */ a(j, { as: "h1", children: t(h ? "summaryTitle" : "overviewTitle") }), z = Ce(n.offCycleReason), K = /* @__PURE__ */ a(y, { children: /* @__PURE__ */ a(
|
|
45
|
+
xe,
|
|
46
46
|
{
|
|
47
|
-
i18nKey:
|
|
47
|
+
i18nKey: z ? "pageSubtitleDismissal" : "pageSubtitle",
|
|
48
48
|
t,
|
|
49
|
-
components: { dateWrapper: /* @__PURE__ */ a(
|
|
49
|
+
components: { dateWrapper: /* @__PURE__ */ a(y, { weight: "bold", as: "span" }) },
|
|
50
50
|
values: {
|
|
51
|
-
...
|
|
52
|
-
payrollType:
|
|
51
|
+
...Ve(n.payPeriod, d),
|
|
52
|
+
payrollType: Se(n)
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
) });
|
|
56
|
-
if (
|
|
57
|
-
return /* @__PURE__ */ a("div", { ref: E, className:
|
|
56
|
+
if (f === p.Cancelled)
|
|
57
|
+
return /* @__PURE__ */ a("div", { ref: E, className: ne.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
|
|
58
58
|
/* @__PURE__ */ a(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: /* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
$,
|
|
60
|
+
K
|
|
61
61
|
] }) }),
|
|
62
62
|
/* @__PURE__ */ a(v, { status: "info", label: t("cancelledEmptyState") })
|
|
63
63
|
] }) });
|
|
64
|
-
const
|
|
64
|
+
const P = we(n), ge = n.payrollStatusMeta?.expectedDebitTime ?? n.payrollDeadline, X = (e) => e.taxes?.reduce(
|
|
65
65
|
(r, i) => i.employer ? r + i.amount : r,
|
|
66
66
|
0
|
|
67
|
-
) ?? 0,
|
|
67
|
+
) ?? 0, q = (e) => e.benefits?.reduce(
|
|
68
68
|
(r, i) => i.companyContribution ? r + i.companyContribution : r,
|
|
69
69
|
0
|
|
70
|
-
) ?? 0,
|
|
70
|
+
) ?? 0, Te = (e) => e.grossPay + B(e) + X(e) + q(e), O = b.find(
|
|
71
71
|
(e) => e.blockerType === "fast_ach_threshold_exceeded" || e.blockerType === "needs_earned_access_for_fast_ach"
|
|
72
|
-
), A = O ?
|
|
72
|
+
), A = O ? N[O.blockerType || ""] : void 0, m = O?.unblockOptions?.find(
|
|
73
73
|
(e) => e.unblockType === A
|
|
74
|
-
),
|
|
74
|
+
), J = A === "wire_in", Q = A === "move_to_four_day", x = (e) => e.hourlyCompensations?.reduce(
|
|
75
75
|
(r, i) => {
|
|
76
76
|
if (typeof i.name > "u")
|
|
77
77
|
return r;
|
|
78
|
-
const
|
|
79
|
-
return r[
|
|
78
|
+
const k = i.name.toLowerCase(), He = r[k] ?? 0;
|
|
79
|
+
return r[k] = He + Number(i.hours || 0), r;
|
|
80
80
|
},
|
|
81
81
|
{}
|
|
82
|
-
) || {},
|
|
83
|
-
(e, r) => !r.excluded && r.paymentMethod ===
|
|
82
|
+
) || {}, Z = (e) => e.paidTimeOff?.reduce((r, i) => r + Number(i.hours || 0), 0) ?? 0, ee = n.employeeCompensations?.reduce(
|
|
83
|
+
(e, r) => !r.excluded && r.paymentMethod === Ae.check ? e + 1 : e,
|
|
84
84
|
0
|
|
85
|
-
) ?? 0,
|
|
85
|
+
) ?? 0, te = [
|
|
86
86
|
{
|
|
87
87
|
key: "employeeName",
|
|
88
88
|
title: t("tableHeaders.employees"),
|
|
89
89
|
render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
|
|
90
|
-
|
|
91
|
-
first_name:
|
|
92
|
-
last_name:
|
|
90
|
+
W({
|
|
91
|
+
first_name: e.firstName,
|
|
92
|
+
last_name: e.lastName
|
|
93
93
|
}),
|
|
94
94
|
e.excluded && /* @__PURE__ */ a(L, { status: "warning", children: t("skippedBadge") })
|
|
95
95
|
] })
|
|
@@ -99,30 +99,30 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
99
99
|
title: t("tableHeaders.grossPay"),
|
|
100
100
|
render: (e) => l(e.grossPay)
|
|
101
101
|
},
|
|
102
|
-
...
|
|
102
|
+
...g ? [
|
|
103
103
|
{
|
|
104
104
|
key: "reimbursements",
|
|
105
105
|
title: t("tableHeaders.reimbursements"),
|
|
106
|
-
render: (e) => l(
|
|
106
|
+
render: (e) => l(B(e))
|
|
107
107
|
}
|
|
108
108
|
] : [],
|
|
109
109
|
{
|
|
110
110
|
key: "companyTaxes",
|
|
111
111
|
title: t("tableHeaders.companyTaxes"),
|
|
112
|
-
render: (e) => l(
|
|
112
|
+
render: (e) => l(X(e))
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
key: "companyBenefits",
|
|
116
116
|
title: t("tableHeaders.companyBenefits"),
|
|
117
|
-
render: (e) => l(
|
|
117
|
+
render: (e) => l(q(e))
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
key: "companyPays",
|
|
121
121
|
title: t("tableHeaders.companyPays"),
|
|
122
|
-
render: (e) => l(
|
|
122
|
+
render: (e) => l(Te(e))
|
|
123
123
|
}
|
|
124
124
|
];
|
|
125
|
-
|
|
125
|
+
h && D && te.push({
|
|
126
126
|
key: "paystubs",
|
|
127
127
|
title: t("tableHeaders.paystub"),
|
|
128
128
|
render: (e) => /* @__PURE__ */ a(s, { justifyContent: "flex-end", children: /* @__PURE__ */ a(
|
|
@@ -133,11 +133,11 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
133
133
|
onClick: () => {
|
|
134
134
|
e.employeeUuid && Y(e.employeeUuid);
|
|
135
135
|
},
|
|
136
|
-
children: /* @__PURE__ */ a(
|
|
136
|
+
children: /* @__PURE__ */ a(oe, {})
|
|
137
137
|
}
|
|
138
138
|
) })
|
|
139
139
|
});
|
|
140
|
-
const
|
|
140
|
+
const De = [
|
|
141
141
|
{
|
|
142
142
|
id: "companyPays",
|
|
143
143
|
label: t("dataViews.companyPaysTab"),
|
|
@@ -145,9 +145,10 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
145
145
|
c,
|
|
146
146
|
{
|
|
147
147
|
label: t("dataViews.companyPaysTable"),
|
|
148
|
-
columns:
|
|
148
|
+
columns: te,
|
|
149
149
|
data: n.employeeCompensations,
|
|
150
|
-
|
|
150
|
+
pagination: _,
|
|
151
|
+
itemMenu: h && !D ? (e) => /* @__PURE__ */ a(
|
|
151
152
|
R,
|
|
152
153
|
{
|
|
153
154
|
"aria-label": t("downloadPaystubLabel"),
|
|
@@ -155,21 +156,21 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
155
156
|
onClick: () => {
|
|
156
157
|
e.employeeUuid && Y(e.employeeUuid);
|
|
157
158
|
},
|
|
158
|
-
children: /* @__PURE__ */ a(
|
|
159
|
+
children: /* @__PURE__ */ a(oe, {})
|
|
159
160
|
}
|
|
160
161
|
) : void 0,
|
|
161
162
|
footer: () => ({
|
|
162
|
-
employeeName: /* @__PURE__ */ o(
|
|
163
|
+
employeeName: /* @__PURE__ */ o(C, { children: [
|
|
163
164
|
t("tableHeaders.footerTotalsLabel"),
|
|
164
|
-
/* @__PURE__ */ a(
|
|
165
|
+
/* @__PURE__ */ a(y, { variant: "supporting", size: "sm", children: t("tableHeaders.footerTotalsDescription") })
|
|
165
166
|
] }),
|
|
166
167
|
grossPay: l(Number(n.totals?.grossPay ?? 0)),
|
|
167
|
-
...
|
|
168
|
+
...g ? {
|
|
168
169
|
reimbursements: l(Number(n.totals?.reimbursements ?? 0))
|
|
169
170
|
} : {},
|
|
170
171
|
companyTaxes: l(Number(n.totals?.employerTaxes ?? 0)),
|
|
171
172
|
companyBenefits: l(Number(n.totals?.benefits ?? 0)),
|
|
172
|
-
companyPays: l(
|
|
173
|
+
companyPays: l(P)
|
|
173
174
|
})
|
|
174
175
|
}
|
|
175
176
|
)
|
|
@@ -185,57 +186,55 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
185
186
|
{
|
|
186
187
|
title: t("tableHeaders.employees"),
|
|
187
188
|
render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
|
|
188
|
-
|
|
189
|
-
first_name:
|
|
190
|
-
last_name:
|
|
189
|
+
W({
|
|
190
|
+
first_name: e.firstName,
|
|
191
|
+
last_name: e.lastName
|
|
191
192
|
}),
|
|
192
193
|
e.excluded && /* @__PURE__ */ a(L, { status: "warning", children: t("skippedBadge") })
|
|
193
194
|
] })
|
|
194
195
|
},
|
|
195
196
|
{
|
|
196
197
|
title: t("tableHeaders.compensationType"),
|
|
197
|
-
render: (e) =>
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
return b ?? "";
|
|
209
|
-
}
|
|
198
|
+
render: (e) => {
|
|
199
|
+
const r = e.hourlyCompensations?.find(
|
|
200
|
+
(i) => i.flsaStatus
|
|
201
|
+
)?.flsaStatus;
|
|
202
|
+
switch (r) {
|
|
203
|
+
case le.EXEMPT:
|
|
204
|
+
return t("compensationTypeLabels.exempt");
|
|
205
|
+
case le.NONEXEMPT:
|
|
206
|
+
return t("compensationTypeLabels.nonexempt");
|
|
207
|
+
default:
|
|
208
|
+
return r ?? "";
|
|
210
209
|
}
|
|
211
|
-
|
|
212
|
-
}, "")
|
|
210
|
+
}
|
|
213
211
|
},
|
|
214
212
|
{
|
|
215
213
|
title: t("tableHeaders.regular"),
|
|
216
|
-
render: (e) =>
|
|
214
|
+
render: (e) => x(e)[V.REGULAR_HOURS_NAME] || 0
|
|
217
215
|
},
|
|
218
216
|
{
|
|
219
217
|
title: t("tableHeaders.overtime"),
|
|
220
|
-
render: (e) =>
|
|
218
|
+
render: (e) => x(e)[V.OVERTIME_NAME] || 0
|
|
221
219
|
},
|
|
222
220
|
{
|
|
223
221
|
title: t("tableHeaders.doubleOT"),
|
|
224
|
-
render: (e) =>
|
|
222
|
+
render: (e) => x(e)[V.DOUBLE_OVERTIME_NAME] || 0
|
|
225
223
|
},
|
|
226
224
|
{
|
|
227
225
|
title: t("tableHeaders.timeOff"),
|
|
228
|
-
render: (e) =>
|
|
226
|
+
render: (e) => Z(e)
|
|
229
227
|
},
|
|
230
228
|
{
|
|
231
229
|
title: t("tableHeaders.totalHours"),
|
|
232
|
-
render: (e) => Object.values(
|
|
230
|
+
render: (e) => Object.values(x(e)).reduce(
|
|
233
231
|
(r, i) => r + i,
|
|
234
232
|
0
|
|
235
|
-
) +
|
|
233
|
+
) + Z(e)
|
|
236
234
|
}
|
|
237
235
|
],
|
|
238
|
-
data: n.employeeCompensations
|
|
236
|
+
data: n.employeeCompensations,
|
|
237
|
+
pagination: _
|
|
239
238
|
}
|
|
240
239
|
)
|
|
241
240
|
},
|
|
@@ -250,9 +249,9 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
250
249
|
{
|
|
251
250
|
title: t("tableHeaders.employees"),
|
|
252
251
|
render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
|
|
253
|
-
|
|
254
|
-
first_name:
|
|
255
|
-
last_name:
|
|
252
|
+
W({
|
|
253
|
+
first_name: e.firstName,
|
|
254
|
+
last_name: e.lastName
|
|
256
255
|
}),
|
|
257
256
|
e.excluded && /* @__PURE__ */ a(L, { status: "warning", children: t("skippedBadge") })
|
|
258
257
|
] })
|
|
@@ -274,10 +273,10 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
274
273
|
) ?? 0
|
|
275
274
|
)
|
|
276
275
|
},
|
|
277
|
-
...
|
|
276
|
+
...g ? [
|
|
278
277
|
{
|
|
279
278
|
title: t("tableHeaders.reimbursements"),
|
|
280
|
-
render: (e) => l(
|
|
279
|
+
render: (e) => l(B(e))
|
|
281
280
|
}
|
|
282
281
|
] : [],
|
|
283
282
|
{
|
|
@@ -303,7 +302,8 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
303
302
|
render: (e) => l(e.netPay ?? 0)
|
|
304
303
|
}
|
|
305
304
|
],
|
|
306
|
-
data: n.employeeCompensations
|
|
305
|
+
data: n.employeeCompensations,
|
|
306
|
+
pagination: _
|
|
307
307
|
}
|
|
308
308
|
)
|
|
309
309
|
},
|
|
@@ -324,20 +324,20 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
324
324
|
{
|
|
325
325
|
key: "byYourEmployees",
|
|
326
326
|
title: t("tableHeaders.byYourEmployees"),
|
|
327
|
-
render: (e) => l(
|
|
327
|
+
render: (e) => l(w[e]?.employee ?? 0)
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
key: "byYourCompany",
|
|
331
331
|
title: t("tableHeaders.byYourCompany"),
|
|
332
|
-
render: (e) => l(
|
|
332
|
+
render: (e) => l(w[e]?.employer ?? 0)
|
|
333
333
|
}
|
|
334
334
|
],
|
|
335
335
|
footer: () => ({
|
|
336
|
-
taxDescription: /* @__PURE__ */ a(
|
|
336
|
+
taxDescription: /* @__PURE__ */ a(y, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
|
|
337
337
|
byYourEmployees: l(Number(n.totals?.employeeTaxes ?? 0)),
|
|
338
338
|
byYourCompany: l(Number(n.totals?.employerTaxes ?? 0))
|
|
339
339
|
}),
|
|
340
|
-
data: Object.keys(
|
|
340
|
+
data: Object.keys(w)
|
|
341
341
|
}
|
|
342
342
|
),
|
|
343
343
|
/* @__PURE__ */ a(
|
|
@@ -356,7 +356,7 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
356
356
|
],
|
|
357
357
|
data: [
|
|
358
358
|
{ label: t("directDepositLabel"), value: n.totals?.netPayDebit || "0" },
|
|
359
|
-
...
|
|
359
|
+
...g ? [
|
|
360
360
|
{
|
|
361
361
|
label: t("reimbursementLabel"),
|
|
362
362
|
value: n.totals?.reimbursementDebit || "0"
|
|
@@ -372,45 +372,45 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
372
372
|
)
|
|
373
373
|
] })
|
|
374
374
|
}
|
|
375
|
-
],
|
|
376
|
-
/* @__PURE__ */ a(
|
|
377
|
-
|
|
378
|
-
|
|
375
|
+
], ae = h ? /* @__PURE__ */ o(C, { children: [
|
|
376
|
+
/* @__PURE__ */ a(T, { onClick: ce, variant: "secondary", isDisabled: H, children: t("payrollReceiptCta") }),
|
|
377
|
+
me && /* @__PURE__ */ a(
|
|
378
|
+
T,
|
|
379
379
|
{
|
|
380
380
|
onClick: () => {
|
|
381
|
-
|
|
381
|
+
G(!0);
|
|
382
382
|
},
|
|
383
383
|
variant: "error",
|
|
384
|
-
isDisabled:
|
|
384
|
+
isDisabled: H,
|
|
385
385
|
children: t("cancelCta")
|
|
386
386
|
}
|
|
387
387
|
)
|
|
388
|
-
] }) : /* @__PURE__ */ o(
|
|
389
|
-
/* @__PURE__ */ a(
|
|
388
|
+
] }) : /* @__PURE__ */ o(C, { children: [
|
|
389
|
+
/* @__PURE__ */ a(T, { onClick: u, variant: "secondary", isDisabled: H, children: t("editCta") }),
|
|
390
390
|
/* @__PURE__ */ a(
|
|
391
|
-
|
|
391
|
+
T,
|
|
392
392
|
{
|
|
393
|
-
onClick:
|
|
394
|
-
isDisabled:
|
|
395
|
-
(e) => !
|
|
396
|
-
) ||
|
|
397
|
-
(e) => !
|
|
393
|
+
onClick: S,
|
|
394
|
+
isDisabled: H || b.length > 0 && (b.some(
|
|
395
|
+
(e) => !ie.includes(e.blockerType || "")
|
|
396
|
+
) || b.some(
|
|
397
|
+
(e) => !N[e.blockerType || ""]
|
|
398
398
|
)),
|
|
399
399
|
children: t("submitCta")
|
|
400
400
|
}
|
|
401
401
|
)
|
|
402
402
|
] });
|
|
403
|
-
return /* @__PURE__ */ a("div", { ref: E, className:
|
|
403
|
+
return /* @__PURE__ */ a("div", { ref: E, className: ne.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
|
|
404
404
|
/* @__PURE__ */ o(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: [
|
|
405
405
|
/* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
|
|
406
|
-
|
|
407
|
-
|
|
406
|
+
$,
|
|
407
|
+
K
|
|
408
408
|
] }),
|
|
409
|
-
|
|
409
|
+
D && /* @__PURE__ */ a(s, { gap: 8, justifyContent: "flex-end", children: ae })
|
|
410
410
|
] }),
|
|
411
|
-
!
|
|
412
|
-
|
|
413
|
-
|
|
411
|
+
!D && /* @__PURE__ */ a(Ne, { gridTemplateColumns: "1fr", gap: 8, children: ae }),
|
|
412
|
+
f === p.Cancelling ? /* @__PURE__ */ a(se, { title: t("cancellingTitle") }) : f === p.Submitting ? /* @__PURE__ */ a(se, { title: t("loadingTitle"), description: t("loadingDescription") }) : /* @__PURE__ */ o(C, { children: [
|
|
413
|
+
ue,
|
|
414
414
|
I.length > 0 && /* @__PURE__ */ a(s, { flexDirection: "column", gap: 16, children: I.map((e, r) => /* @__PURE__ */ a(
|
|
415
415
|
v,
|
|
416
416
|
{
|
|
@@ -421,58 +421,58 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
421
421
|
},
|
|
422
422
|
`${e.type}-${e.title}`
|
|
423
423
|
)) }),
|
|
424
|
-
|
|
424
|
+
b.length > 0 && F && b.map((e) => {
|
|
425
425
|
const r = e.blockerType || "";
|
|
426
|
-
return
|
|
427
|
-
|
|
426
|
+
return ie.includes(r) ? /* @__PURE__ */ a(
|
|
427
|
+
Be,
|
|
428
428
|
{
|
|
429
429
|
blocker: e,
|
|
430
|
-
selectedValue:
|
|
430
|
+
selectedValue: N[r],
|
|
431
431
|
onUnblockOptionChange: F,
|
|
432
|
-
paymentSpeed:
|
|
432
|
+
paymentSpeed: be
|
|
433
433
|
},
|
|
434
434
|
r
|
|
435
|
-
) : /* @__PURE__ */ a(
|
|
435
|
+
) : /* @__PURE__ */ a(We, { blocker: e }, r);
|
|
436
436
|
}),
|
|
437
|
-
/* @__PURE__ */ a(j, { as: "h3", children: t(
|
|
438
|
-
|
|
437
|
+
/* @__PURE__ */ a(j, { as: "h3", children: t(J ? "payrollSummaryTitleWire" : Q ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
|
|
438
|
+
J ? /* @__PURE__ */ a(
|
|
439
439
|
c,
|
|
440
440
|
{
|
|
441
441
|
label: t("payrollSummaryLabel"),
|
|
442
442
|
columns: [
|
|
443
443
|
{
|
|
444
444
|
title: t("tableHeaders.totalPayroll"),
|
|
445
|
-
render: () => l(
|
|
445
|
+
render: () => l(P)
|
|
446
446
|
},
|
|
447
447
|
{
|
|
448
448
|
title: t("tableHeaders.wireAmount"),
|
|
449
449
|
render: () => {
|
|
450
|
-
const r =
|
|
450
|
+
const r = m?.metadata?.wire_in_amount;
|
|
451
451
|
return r ? l(Number(r)) : "-";
|
|
452
452
|
}
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
455
|
title: t("tableHeaders.wireTransferDeadline"),
|
|
456
456
|
render: () => {
|
|
457
|
-
const r =
|
|
458
|
-
return r ? `${i.time} on ${
|
|
457
|
+
const r = m?.metadata?.wire_in_deadline, i = d.formatWithTime(r), k = d.formatShortWithYear(r);
|
|
458
|
+
return r ? `${i.time} on ${k}` : "-";
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
462
|
title: t("tableHeaders.employeePayDate"),
|
|
463
|
-
render: () =>
|
|
463
|
+
render: () => m?.checkDate ? d.formatShortWithYear(m.checkDate) : "-"
|
|
464
464
|
}
|
|
465
465
|
],
|
|
466
466
|
data: [{}]
|
|
467
467
|
}
|
|
468
|
-
) :
|
|
468
|
+
) : Q ? /* @__PURE__ */ a(
|
|
469
469
|
c,
|
|
470
470
|
{
|
|
471
471
|
label: t("payrollSummaryLabel"),
|
|
472
472
|
columns: [
|
|
473
473
|
{
|
|
474
474
|
title: t("tableHeaders.totalPayroll"),
|
|
475
|
-
render: () => l(
|
|
475
|
+
render: () => l(P)
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
478
|
title: t("tableHeaders.debitAmount"),
|
|
@@ -483,18 +483,18 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
483
483
|
},
|
|
484
484
|
{
|
|
485
485
|
title: t("tableHeaders.debitAccount"),
|
|
486
|
-
render: () =>
|
|
486
|
+
render: () => M?.hiddenAccountNumber ?? ""
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
489
|
title: t("tableHeaders.debitDate"),
|
|
490
490
|
render: () => {
|
|
491
|
-
const r =
|
|
491
|
+
const r = m?.metadata?.debit_date;
|
|
492
492
|
return d.formatShortWithYear(r);
|
|
493
493
|
}
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
496
|
title: t("tableHeaders.employeePayDate"),
|
|
497
|
-
render: () =>
|
|
497
|
+
render: () => m?.checkDate ? d.formatShortWithYear(m.checkDate) : "-"
|
|
498
498
|
}
|
|
499
499
|
],
|
|
500
500
|
data: [{}]
|
|
@@ -506,7 +506,7 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
506
506
|
columns: [
|
|
507
507
|
{
|
|
508
508
|
title: t("tableHeaders.totalPayroll"),
|
|
509
|
-
render: () => l(
|
|
509
|
+
render: () => l(P)
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
512
|
title: t("tableHeaders.debitAmount"),
|
|
@@ -514,11 +514,11 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
title: t("tableHeaders.debitAccount"),
|
|
517
|
-
render: () =>
|
|
517
|
+
render: () => M?.hiddenAccountNumber ?? ""
|
|
518
518
|
},
|
|
519
519
|
{
|
|
520
520
|
title: t("tableHeaders.debitDate"),
|
|
521
|
-
render: () => d.formatShortWithYear(
|
|
521
|
+
render: () => d.formatShortWithYear(ge)
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
524
|
title: t("tableHeaders.employeePayDate"),
|
|
@@ -528,42 +528,42 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
528
528
|
data: [{}]
|
|
529
529
|
}
|
|
530
530
|
),
|
|
531
|
-
|
|
531
|
+
ee > 0 && /* @__PURE__ */ a(
|
|
532
532
|
v,
|
|
533
533
|
{
|
|
534
534
|
status: "warning",
|
|
535
|
-
label: t("alerts.checkPaymentWarning", { count:
|
|
535
|
+
label: t("alerts.checkPaymentWarning", { count: ee }),
|
|
536
536
|
children: t("alerts.checkPaymentWarningDescription")
|
|
537
537
|
}
|
|
538
538
|
),
|
|
539
539
|
/* @__PURE__ */ a(
|
|
540
|
-
|
|
540
|
+
pe,
|
|
541
541
|
{
|
|
542
|
-
onSelectionChange:
|
|
543
|
-
selectedId:
|
|
542
|
+
onSelectionChange: he,
|
|
543
|
+
selectedId: fe,
|
|
544
544
|
"aria-label": t("dataViews.label"),
|
|
545
|
-
tabs:
|
|
545
|
+
tabs: De
|
|
546
546
|
}
|
|
547
547
|
),
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
U && /* @__PURE__ */ a(
|
|
549
|
+
ye,
|
|
550
550
|
{
|
|
551
|
-
isOpen:
|
|
551
|
+
isOpen: U,
|
|
552
552
|
onClose: () => {
|
|
553
|
-
|
|
553
|
+
G(!1);
|
|
554
554
|
},
|
|
555
|
-
onPrimaryActionClick:
|
|
555
|
+
onPrimaryActionClick: de,
|
|
556
556
|
shouldCloseOnBackdropClick: !0,
|
|
557
557
|
primaryActionLabel: t("confirmCancelCta"),
|
|
558
558
|
isDestructive: !0,
|
|
559
559
|
closeActionLabel: t("declineCancelCta"),
|
|
560
|
-
title: t(
|
|
560
|
+
title: t(z ? "cancelDialogTitleDismissal" : "cancelDialogTitle", {
|
|
561
561
|
startDate: d.formatLong(n.payPeriod?.startDate),
|
|
562
562
|
endDate: d.formatLongWithYear(n.payPeriod?.endDate)
|
|
563
563
|
}),
|
|
564
564
|
children: /* @__PURE__ */ o(s, { gap: 14, flexDirection: "column", children: [
|
|
565
|
-
/* @__PURE__ */ a(
|
|
566
|
-
|
|
565
|
+
/* @__PURE__ */ a(y, { children: t("cancelDialogDescription") }),
|
|
566
|
+
Number(n.totals?.netPayDebit ?? 0) > 0 && /* @__PURE__ */ a(y, { children: t("cancelDialogDescriptionDeadline", {
|
|
567
567
|
deadline: d.formatWithTime(n.payrollDeadline).time
|
|
568
568
|
}) })
|
|
569
569
|
] })
|
|
@@ -573,6 +573,6 @@ const Ye = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
|
|
|
573
573
|
] }) });
|
|
574
574
|
};
|
|
575
575
|
export {
|
|
576
|
-
|
|
576
|
+
lt as PayrollOverviewPresentation
|
|
577
577
|
};
|
|
578
578
|
//# sourceMappingURL=PayrollOverviewPresentation.js.map
|