@gusto/embedded-react-sdk 0.24.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +118 -0
- package/dist/assets/icons/icon-file-jpg.svg.js +10 -0
- package/dist/assets/icons/icon-file-jpg.svg.js.map +1 -0
- package/dist/assets/icons/icon-file-pdf.svg.js +10 -0
- package/dist/assets/icons/icon-file-pdf.svg.js.map +1 -0
- package/dist/assets/icons/icon-file-png.svg.js +10 -0
- package/dist/assets/icons/icon-file-png.svg.js.map +1 -0
- package/dist/assets/icons/icon-trashcan.svg.js +10 -0
- package/dist/assets/icons/icon-trashcan.svg.js.map +1 -0
- package/dist/assets/icons/slash-circle.svg.js +10 -0
- package/dist/assets/icons/slash-circle.svg.js.map +1 -0
- package/dist/components/Base/Base.d.ts +1 -1
- package/dist/components/Base/Base.js +12 -13
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/Fields/FileInputField/FileInputField.d.ts +5 -0
- package/dist/components/Common/Fields/FileInputField/FileInputField.js +34 -0
- package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -0
- package/dist/components/Common/Fields/FileInputField/index.d.ts +2 -0
- package/dist/components/Common/PaginationControl/PaginationControl.js +41 -40
- package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +1 -0
- package/dist/components/Common/SignatureForm/SignatureForm.js +2 -3
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +3 -4
- package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormFields.js +6 -7
- package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.js +10 -10
- package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
- package/dist/components/Common/UI/Alert/Alert.module.scss.js +14 -14
- package/dist/components/Common/UI/Badge/Badge.module.scss.js +1 -1
- package/dist/components/Common/UI/Banner/Banner.module.scss.js +4 -4
- package/dist/components/Common/UI/ComboBox/ComboBox.module.scss.js +6 -6
- package/dist/components/Common/UI/FileInput/FileInput.d.ts +2 -0
- package/dist/components/Common/UI/FileInput/FileInput.js +150 -0
- package/dist/components/Common/UI/FileInput/FileInput.js.map +1 -0
- package/dist/components/Common/UI/FileInput/FileInput.module.scss.js +36 -0
- package/dist/components/Common/UI/FileInput/FileInput.module.scss.js.map +1 -0
- package/dist/components/Common/UI/FileInput/FileInputTypes.d.ts +45 -0
- package/dist/components/Common/UI/FileInput/FileInputTypes.js +8 -0
- package/dist/components/Common/UI/FileInput/FileInputTypes.js.map +1 -0
- package/dist/components/Common/UI/FileInput/index.d.ts +4 -0
- package/dist/components/Common/UI/Input/Input.module.scss.js +7 -7
- package/dist/components/Common/UI/List/List.module.scss.js +1 -1
- package/dist/components/Common/UI/Modal/Modal.js +41 -40
- package/dist/components/Common/UI/Modal/Modal.js.map +1 -1
- package/dist/components/Common/UI/Modal/Modal.module.scss.js +4 -4
- package/dist/components/Common/UI/Select/Select.module.scss.js +6 -6
- package/dist/components/Common/UI/TextArea/TextArea.module.scss.js +4 -4
- package/dist/components/Common/UI/TextInput/TextInput.js +27 -23
- package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +1 -1
- package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatory.js +2 -3
- package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -3
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +5 -6
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +4 -5
- package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +3 -4
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -6
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +4 -5
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -4
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +2 -3
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +6 -7
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -5
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +8 -9
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -4
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +2 -3
- package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +5 -4
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +6 -7
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +2 -3
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +2 -3
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -9
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +7 -8
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +8 -7
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +2 -3
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +6 -7
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Form.js +4 -5
- package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +2 -3
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -4
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +2 -3
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +31 -30
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +29 -29
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.d.ts +1 -0
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -4
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +10 -11
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +6 -7
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -7
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +5 -4
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +2 -3
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +2 -3
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +9 -10
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +8 -9
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +5 -6
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/PaySchedule/usePaySchedule.js +7 -6
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -4
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +3 -4
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +6 -7
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +7 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +24 -24
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +13 -14
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -11
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +2 -3
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +108 -92
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +33 -32
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +25 -7
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +8 -0
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +58 -0
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.d.ts +6 -0
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.js +18 -0
- package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.js.map +1 -0
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +5 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +84 -52
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.d.ts +4 -0
- package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.js +32 -13
- 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 +100 -53
- package/dist/components/Contractor/Payments/PaymentFlow/paymentStateMachine.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.d.ts +1 -2
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +46 -21
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +6 -15
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +115 -100
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.module.scss.js +8 -0
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.module.scss.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.d.ts +8 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +51 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +11 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +155 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js +22 -0
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.d.ts +8 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js +45 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.d.ts +15 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +125 -0
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -0
- package/dist/components/Contractor/Payments/PaymentSummary/index.d.ts +3 -0
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +37 -28
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +5 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +61 -60
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +1 -1
- package/dist/components/Contractor/Submit/Submit.js +19 -20
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Employee/Compensation/Actions.js +12 -13
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Edit.js +2 -3
- package/dist/components/Employee/Compensation/Edit.js.map +1 -1
- package/dist/components/Employee/Compensation/List.js +22 -23
- package/dist/components/Employee/Compensation/List.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +4 -3
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +4 -3
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +4 -3
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +2 -3
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +2 -3
- package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +2 -3
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -3
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +5 -4
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +2 -3
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +5 -4
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Actions.js +6 -7
- package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.js +55 -54
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/Head.js +5 -6
- package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
- package/dist/components/Employee/EmployeeList/List.js +32 -31
- package/dist/components/Employee/EmployeeList/List.js.map +1 -1
- package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +1 -0
- package/dist/components/Employee/EmployeeList/useEmployeeList.js +5 -4
- package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
- package/dist/components/Employee/EmploymentEligibility/EmploymentEligibility.d.ts +3 -0
- package/dist/components/Employee/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +37 -0
- package/dist/components/Employee/EmploymentEligibility/index.d.ts +4 -0
- package/dist/components/Employee/FederalTaxes/Actions.js +5 -6
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +4 -5
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +5 -4
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +2 -3
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Actions.js +5 -6
- package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +2 -3
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js +2 -3
- package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +5 -6
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +2 -3
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +7 -6
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/Actions.js +5 -6
- package/dist/components/Employee/Profile/Actions.js.map +1 -1
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +4 -5
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/HomeAddress.js +8 -9
- package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +8 -9
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
- package/dist/components/Employee/Profile/useProfile.js +5 -4
- package/dist/components/Employee/Profile/useProfile.js.map +1 -1
- package/dist/components/Employee/StateTaxes/Actions.js +5 -6
- package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/StateTaxes/useStateTaxes.js +5 -4
- package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +6 -7
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +6 -7
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/useTaxes.js +5 -4
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Flow/Flow.js +7 -8
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +15 -0
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +162 -0
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -0
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.module.scss.js +20 -0
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.module.scss.js.map +1 -0
- package/dist/components/InformationRequests/InformationRequestForm/index.d.ts +2 -0
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +8 -0
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +96 -0
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -0
- package/dist/components/InformationRequests/InformationRequestList/index.d.ts +2 -0
- package/dist/components/InformationRequests/InformationRequests.d.ts +7 -0
- package/dist/components/InformationRequests/InformationRequests.js +68 -0
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -0
- package/dist/components/InformationRequests/InformationRequestsComponents.d.ts +19 -0
- package/dist/components/InformationRequests/InformationRequestsComponents.js +20 -0
- package/dist/components/InformationRequests/InformationRequestsComponents.js.map +1 -0
- package/dist/components/InformationRequests/index.d.ts +4 -0
- package/dist/components/InformationRequests/index.js +9 -0
- package/dist/components/InformationRequests/index.js.map +1 -0
- package/dist/components/InformationRequests/informationRequestsStateMachine.d.ts +13 -0
- package/dist/components/InformationRequests/informationRequestsStateMachine.js +47 -0
- package/dist/components/InformationRequests/informationRequestsStateMachine.js.map +1 -0
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +69 -59
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +0 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js +61 -52
- package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +17 -18
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +5 -13
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +102 -27
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/index.d.ts +0 -1
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +14 -14
- package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +116 -130
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +6 -3
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +165 -156
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.module.scss.js +2 -4
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +21 -0
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +105 -0
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -0
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +41 -37
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +5 -4
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +151 -146
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +6 -6
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +45 -38
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +2 -0
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +179 -97
- package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +28 -28
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +2 -2
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +86 -106
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +2 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +28 -22
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +4 -0
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +74 -47
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.d.ts +2 -0
- package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js +159 -57
- package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +14 -17
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +1 -2
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +137 -132
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +8 -4
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +102 -96
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +7 -5
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +253 -250
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.d.ts +6 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.js +5 -0
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.js.map +1 -0
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +2 -2
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +2 -3
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +2 -2
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCaseErrorCode.module.scss.js +8 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCaseErrorCode.module.scss.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.d.ts +6 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.js +55 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCases.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +19 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.js +19 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +7 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +104 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.module.scss.js +8 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.module.scss.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/index.d.ts +2 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +14 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +69 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/index.d.ts +2 -0
- package/dist/components/Payroll/RecoveryCases/index.d.ts +3 -0
- package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.d.ts +13 -0
- package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.js +47 -0
- package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.js.map +1 -0
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.d.ts +7 -0
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +65 -0
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -0
- package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationContext.d.ts +1 -1
- package/dist/components/Payroll/UNSTABLE_PayrollHooks/PayrollConfiguration/PayrollConfigurationContext.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +12 -0
- package/dist/components/Payroll/helpers.js +129 -117
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/index.d.ts +2 -1
- package/dist/components/Payroll/index.js +12 -10
- package/dist/components/Payroll/index.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +5 -2
- package/dist/components/Payroll/usePreparedPayrollData.js +44 -32
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +27 -25
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
- package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +5 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +17 -15
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js +3 -3
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +1 -1
- package/dist/contexts/ThemeProvider/theme.js +5 -5
- package/dist/contexts/ThemeProvider/theme.js.map +1 -1
- package/dist/helpers/dateFormatting.d.ts +1 -0
- package/dist/helpers/dateFormatting.js +1 -0
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/formattedStrings.d.ts +1 -0
- package/dist/helpers/formattedStrings.js +27 -21
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/helpers/responsive.js +1 -1
- package/dist/helpers/responsive.js.map +1 -1
- package/dist/i18n/I18n.js +9 -9
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js +44 -36
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Payments.PaymentHistory.json.js +11 -11
- package/dist/i18n/en/Contractor.Payments.PaymentStatement.json.js +28 -0
- package/dist/i18n/en/Contractor.Payments.PaymentStatement.json.js.map +1 -0
- package/dist/i18n/en/Contractor.Payments.PaymentSummary.json.js +58 -0
- package/dist/i18n/en/Contractor.Payments.PaymentSummary.json.js.map +1 -0
- package/dist/i18n/en/Contractor.Payments.PaymentsList.json.js +14 -14
- package/dist/i18n/en/Employee.EmploymentEligibility.json.js +28 -0
- package/dist/i18n/en/Employee.EmploymentEligibility.json.js.map +1 -0
- package/dist/i18n/en/InformationRequests.InformationRequestForm.json.js +20 -0
- package/dist/i18n/en/InformationRequests.InformationRequestForm.json.js.map +1 -0
- package/dist/i18n/en/InformationRequests.InformationRequestList.json.js +18 -0
- package/dist/i18n/en/InformationRequests.InformationRequestList.json.js.map +1 -0
- package/dist/i18n/en/Payroll.ConfirmWireDetailsBanner.json.js +1 -1
- package/dist/i18n/en/Payroll.PayrollBlocker.json.js +24 -20
- package/dist/i18n/en/Payroll.PayrollBlocker.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +27 -21
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +6 -6
- package/dist/i18n/en/Payroll.PayrollLanding.json.js +7 -3
- package/dist/i18n/en/Payroll.PayrollLanding.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +32 -28
- package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
- package/dist/i18n/en/Payroll.RecoveryCasesList.json.js +18 -0
- package/dist/i18n/en/Payroll.RecoveryCasesList.json.js.map +1 -0
- package/dist/i18n/en/Payroll.RecoveryCasesResubmit.json.js +10 -0
- package/dist/i18n/en/Payroll.RecoveryCasesResubmit.json.js.map +1 -0
- package/dist/i18n/en/Payroll.WireInstructions.json.js +20 -16
- package/dist/i18n/en/Payroll.WireInstructions.json.js.map +1 -1
- package/dist/i18n/en/common.json.d.ts +5 -0
- package/dist/i18n/en/common.json.js +4 -2
- package/dist/i18n/en/common.json.js.map +1 -1
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/shared/constants.d.ts +30 -0
- package/dist/shared/constants.js +73 -54
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +321 -3
- package/package.json +32 -21
- package/dist/components/Payroll/PayrollBlocker/PayrollBlocker.d.ts +0 -6
- package/dist/components/Payroll/PayrollBlocker/PayrollBlocker.js +0 -32
- package/dist/components/Payroll/PayrollBlocker/PayrollBlocker.js.map +0 -1
package/dist/types/i18next.d.ts
CHANGED
|
@@ -415,6 +415,8 @@ export interface ContractorPaymentMethod{
|
|
|
415
415
|
};
|
|
416
416
|
export interface ContractorPaymentsCreatePayment{
|
|
417
417
|
"title":string;
|
|
418
|
+
"emptyTableTitle":string;
|
|
419
|
+
"emptyTableDescription":string;
|
|
418
420
|
"breadcrumbLabel":string;
|
|
419
421
|
"paymentSpeedNotice":string;
|
|
420
422
|
"dateLabel":string;
|
|
@@ -469,6 +471,20 @@ export interface ContractorPaymentsCreatePayment{
|
|
|
469
471
|
"historicalPayment":string;
|
|
470
472
|
};
|
|
471
473
|
};
|
|
474
|
+
"wireDetailsBanner":{
|
|
475
|
+
"title":string;
|
|
476
|
+
"titleFallback":string;
|
|
477
|
+
"description":string;
|
|
478
|
+
"startWireTransferCta":string;
|
|
479
|
+
"confirmationDescription":string;
|
|
480
|
+
};
|
|
481
|
+
"successState":{
|
|
482
|
+
"title":string;
|
|
483
|
+
"message":string;
|
|
484
|
+
"message_other":string;
|
|
485
|
+
"doneCta":string;
|
|
486
|
+
"wireDetailsSubmittedTitle":string;
|
|
487
|
+
};
|
|
472
488
|
"previewPresentation":{
|
|
473
489
|
"breadcrumbLabel":string;
|
|
474
490
|
"reviewAndSubmitTitle":string;
|
|
@@ -508,6 +524,27 @@ export interface ContractorPaymentsCreatePayment{
|
|
|
508
524
|
"alerts":{
|
|
509
525
|
"submitPaymentsDeadline":string;
|
|
510
526
|
};
|
|
527
|
+
"naDebitAccount":string;
|
|
528
|
+
"submissionBlockers":{
|
|
529
|
+
"genericBlockerTitle":string;
|
|
530
|
+
"genericBlockerMessage":string;
|
|
531
|
+
"fastAchOptions":{
|
|
532
|
+
"description":string;
|
|
533
|
+
"fundingOptionsLabel":string;
|
|
534
|
+
"wireLabel":string;
|
|
535
|
+
"wireFastestBadge":string;
|
|
536
|
+
"wireDescription":string;
|
|
537
|
+
"directDepositLabel":string;
|
|
538
|
+
"directDepositDescription":string;
|
|
539
|
+
"contractorPayDate":string;
|
|
540
|
+
};
|
|
541
|
+
"fast_ach_threshold_exceeded":{
|
|
542
|
+
"title":string;
|
|
543
|
+
};
|
|
544
|
+
"needs_earned_access_for_fast_ach":{
|
|
545
|
+
"title":string;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
511
548
|
};
|
|
512
549
|
};
|
|
513
550
|
export interface ContractorPaymentsPaymentHistory{
|
|
@@ -517,7 +554,6 @@ export interface ContractorPaymentsPaymentHistory{
|
|
|
517
554
|
"breadcrumbLabel":string;
|
|
518
555
|
"noPaymentsFound":string;
|
|
519
556
|
"noPaymentsDescription":string;
|
|
520
|
-
"backButton":string;
|
|
521
557
|
"tableHeaders":{
|
|
522
558
|
"contractor":string;
|
|
523
559
|
"wageType":string;
|
|
@@ -533,6 +569,64 @@ export interface ContractorPaymentsPaymentHistory{
|
|
|
533
569
|
"view":string;
|
|
534
570
|
"cancel":string;
|
|
535
571
|
};
|
|
572
|
+
"errors":{
|
|
573
|
+
"paymentGroupNotFound":string;
|
|
574
|
+
};
|
|
575
|
+
};
|
|
576
|
+
export interface ContractorPaymentsPaymentStatement{
|
|
577
|
+
"title":string;
|
|
578
|
+
"breadcrumbLabel":string;
|
|
579
|
+
"debitedColumn":string;
|
|
580
|
+
"amountColumn":string;
|
|
581
|
+
"hoursLabel":string;
|
|
582
|
+
"hoursAmount":string;
|
|
583
|
+
"wageLabel":string;
|
|
584
|
+
"bonus":string;
|
|
585
|
+
"reimbursement":string;
|
|
586
|
+
"receipt":{
|
|
587
|
+
"totalLabel":string;
|
|
588
|
+
"detailsLabel":string;
|
|
589
|
+
"from":string;
|
|
590
|
+
"to":string;
|
|
591
|
+
"debitDate":string;
|
|
592
|
+
"disclaimer":string;
|
|
593
|
+
};
|
|
594
|
+
"errors":{
|
|
595
|
+
"paymentGroupNotFound":string;
|
|
596
|
+
"paymentNotFound":string;
|
|
597
|
+
"contractorNotFound":string;
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
export interface ContractorPaymentsPaymentSummary{
|
|
601
|
+
"breadcrumbLabel":string;
|
|
602
|
+
"successTitle":string;
|
|
603
|
+
"successMessage_one":string;
|
|
604
|
+
"successMessage_other":string;
|
|
605
|
+
"summaryTitle":string;
|
|
606
|
+
"summarySubtitle":string;
|
|
607
|
+
"doneCta":string;
|
|
608
|
+
"wireDetailsSubmittedTitle":string;
|
|
609
|
+
"paymentSummaryTitle":string;
|
|
610
|
+
"totalAmount":string;
|
|
611
|
+
"debitAmount":string;
|
|
612
|
+
"debitAccount":string;
|
|
613
|
+
"debitDate":string;
|
|
614
|
+
"contractorPayDate":string;
|
|
615
|
+
"contractorPaymentsTitle":string;
|
|
616
|
+
"contractor":string;
|
|
617
|
+
"wageType":string;
|
|
618
|
+
"paymentMethod":string;
|
|
619
|
+
"paymentMethods":{
|
|
620
|
+
"directDeposit":string;
|
|
621
|
+
"check":string;
|
|
622
|
+
};
|
|
623
|
+
"hours":string;
|
|
624
|
+
"wage":string;
|
|
625
|
+
"bonus":string;
|
|
626
|
+
"reimbursement":string;
|
|
627
|
+
"total":string;
|
|
628
|
+
"totalsLabel":string;
|
|
629
|
+
"notAvailable":string;
|
|
536
630
|
};
|
|
537
631
|
export interface ContractorPaymentsPaymentsList{
|
|
538
632
|
"title":string;
|
|
@@ -551,6 +645,7 @@ export interface ContractorPaymentsPaymentsList{
|
|
|
551
645
|
"alerts":{
|
|
552
646
|
"paymentCreatedSuccessfully_one":string;
|
|
553
647
|
"paymentCreatedSuccessfully_other":string;
|
|
648
|
+
"paymentCancelledSuccessfully":string;
|
|
554
649
|
};
|
|
555
650
|
"dateRanges":{
|
|
556
651
|
"last3Months":string;
|
|
@@ -861,6 +956,57 @@ export interface EmployeeEmployeeList{
|
|
|
861
956
|
"statusLabel":string;
|
|
862
957
|
"title":string;
|
|
863
958
|
};
|
|
959
|
+
export interface EmployeeEmploymentEligibility{
|
|
960
|
+
"title":string;
|
|
961
|
+
"subtitle":string;
|
|
962
|
+
"select":{
|
|
963
|
+
"label":string;
|
|
964
|
+
"description":string;
|
|
965
|
+
"placeholder":string;
|
|
966
|
+
"options":{
|
|
967
|
+
"citizen":string;
|
|
968
|
+
"lawfulPermanentResident":string;
|
|
969
|
+
"noncitizen":string;
|
|
970
|
+
"noncitizen_authorized":string;
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
"statusDescriptions":{
|
|
974
|
+
"citizen":string;
|
|
975
|
+
"lawfulPermanentResident":string;
|
|
976
|
+
"noncitizen":string;
|
|
977
|
+
"noncitizen_authorized":string;
|
|
978
|
+
};
|
|
979
|
+
"authorizedToWorkUntil":{
|
|
980
|
+
"label":string;
|
|
981
|
+
"error":{
|
|
982
|
+
"futureDate":string;
|
|
983
|
+
};
|
|
984
|
+
};
|
|
985
|
+
"authorizationDocument":{
|
|
986
|
+
"label":string;
|
|
987
|
+
"options":{
|
|
988
|
+
"uscis":string;
|
|
989
|
+
"i94":string;
|
|
990
|
+
"foreignPassport":string;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
"uscisNumber":{
|
|
994
|
+
"label":string;
|
|
995
|
+
"description":string;
|
|
996
|
+
};
|
|
997
|
+
"i94AdmissionNumber":{
|
|
998
|
+
"label":string;
|
|
999
|
+
"description":string;
|
|
1000
|
+
};
|
|
1001
|
+
"foreignPassport":{
|
|
1002
|
+
"label":string;
|
|
1003
|
+
};
|
|
1004
|
+
"countryOfIssuance":{
|
|
1005
|
+
"label":string;
|
|
1006
|
+
"description":string;
|
|
1007
|
+
};
|
|
1008
|
+
"submit":string;
|
|
1009
|
+
};
|
|
864
1010
|
export interface EmployeeFederalTaxes{
|
|
865
1011
|
"additionalWithholding":string;
|
|
866
1012
|
"deductions":string;
|
|
@@ -1114,6 +1260,69 @@ export interface EmployeeTaxes{
|
|
|
1114
1260
|
"federalTwoJobs":string;
|
|
1115
1261
|
};
|
|
1116
1262
|
};
|
|
1263
|
+
export interface InformationRequestsInformationRequestForm{
|
|
1264
|
+
"title":string;
|
|
1265
|
+
"blockingAlert":{
|
|
1266
|
+
"title":string;
|
|
1267
|
+
"description":string;
|
|
1268
|
+
};
|
|
1269
|
+
"questionTypes":{
|
|
1270
|
+
"document":string;
|
|
1271
|
+
"answer":string;
|
|
1272
|
+
};
|
|
1273
|
+
"fields":{
|
|
1274
|
+
"textAnswer":{
|
|
1275
|
+
"label":string;
|
|
1276
|
+
"placeholder":string;
|
|
1277
|
+
};
|
|
1278
|
+
"fileUpload":{
|
|
1279
|
+
"label":string;
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
"validation":{
|
|
1283
|
+
"required":string;
|
|
1284
|
+
"fileRequired":string;
|
|
1285
|
+
};
|
|
1286
|
+
"cta":{
|
|
1287
|
+
"cancel":string;
|
|
1288
|
+
"submit":string;
|
|
1289
|
+
"close":string;
|
|
1290
|
+
};
|
|
1291
|
+
"unsupported":{
|
|
1292
|
+
"persona":{
|
|
1293
|
+
"title":string;
|
|
1294
|
+
"description":string;
|
|
1295
|
+
};
|
|
1296
|
+
"generic":{
|
|
1297
|
+
"title":string;
|
|
1298
|
+
"description":string;
|
|
1299
|
+
};
|
|
1300
|
+
"contactSupport":string;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
export interface InformationRequestsInformationRequestList{
|
|
1304
|
+
"title":string;
|
|
1305
|
+
"description":string;
|
|
1306
|
+
"columns":{
|
|
1307
|
+
"type":string;
|
|
1308
|
+
"status":string;
|
|
1309
|
+
};
|
|
1310
|
+
"types":{
|
|
1311
|
+
"companyOnboarding":string;
|
|
1312
|
+
"accountProtection":string;
|
|
1313
|
+
"paymentRequest":string;
|
|
1314
|
+
"paymentError":string;
|
|
1315
|
+
"unknown":string;
|
|
1316
|
+
};
|
|
1317
|
+
"status":{
|
|
1318
|
+
"incomplete":string;
|
|
1319
|
+
"underReview":string;
|
|
1320
|
+
"payrollBlocking":string;
|
|
1321
|
+
};
|
|
1322
|
+
"cta":{
|
|
1323
|
+
"respond":string;
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1117
1326
|
export interface PayrollCommon{
|
|
1118
1327
|
"status":{
|
|
1119
1328
|
"processed":string;
|
|
@@ -1144,6 +1353,8 @@ export interface PayrollConfirmWireDetailsBanner{
|
|
|
1144
1353
|
"titleWithPayroll":string;
|
|
1145
1354
|
"titleMultiple":string;
|
|
1146
1355
|
"description":string;
|
|
1356
|
+
"requestLabelPayroll":string;
|
|
1357
|
+
"requestLabelContractorPaymentGroup":string;
|
|
1147
1358
|
};
|
|
1148
1359
|
"cta":{
|
|
1149
1360
|
"startWireTransfer":string;
|
|
@@ -1178,12 +1389,23 @@ export interface PayrollConfirmWireDetailsForm{
|
|
|
1178
1389
|
};
|
|
1179
1390
|
export interface PayrollPayrollBlocker{
|
|
1180
1391
|
"breadcrumbLabel":string;
|
|
1392
|
+
"alerts":{
|
|
1393
|
+
"recoveryCaseResubmitted":{
|
|
1394
|
+
"title":string;
|
|
1395
|
+
"description":string;
|
|
1396
|
+
};
|
|
1397
|
+
"informationRequestResponded":{
|
|
1398
|
+
"title":string;
|
|
1399
|
+
"description":string;
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1181
1402
|
"exitFlowCta":string;
|
|
1182
1403
|
"multipleIssuesTitle":string;
|
|
1183
1404
|
"viewAllBlockers":string;
|
|
1184
1405
|
"blockersListTitle":string;
|
|
1185
1406
|
"blockerSectionLabel":string;
|
|
1186
1407
|
"blockersListDescription":string;
|
|
1408
|
+
"noBlockersMessage":string;
|
|
1187
1409
|
"estimatedTime":string;
|
|
1188
1410
|
"defaultBlockerDescription":string;
|
|
1189
1411
|
"defaultBlockerHelp":string;
|
|
@@ -1347,6 +1569,8 @@ export interface PayrollPayrollConfiguration{
|
|
|
1347
1569
|
"progressSaved":string;
|
|
1348
1570
|
"directDepositDeadline":string;
|
|
1349
1571
|
"directDepositDeadlineText":string;
|
|
1572
|
+
"payrollLate":string;
|
|
1573
|
+
"payrollLateText":string;
|
|
1350
1574
|
"payrollDeadline":{
|
|
1351
1575
|
"label":string;
|
|
1352
1576
|
"message":string;
|
|
@@ -1361,6 +1585,9 @@ export interface PayrollPayrollConfiguration{
|
|
|
1361
1585
|
};
|
|
1362
1586
|
"loadingTitle":string;
|
|
1363
1587
|
"loadingDescription":string;
|
|
1588
|
+
"calculatingTitle":string;
|
|
1589
|
+
"calculatingDescription":string;
|
|
1590
|
+
"calculatingPayroll":string;
|
|
1364
1591
|
};
|
|
1365
1592
|
export interface PayrollPayrollEditEmployee{
|
|
1366
1593
|
"pageTitle":string;
|
|
@@ -1451,7 +1678,14 @@ export interface PayrollPayrollLanding{
|
|
|
1451
1678
|
};
|
|
1452
1679
|
"labels":{
|
|
1453
1680
|
"loading":string;
|
|
1454
|
-
|
|
1681
|
+
};
|
|
1682
|
+
"breadcrumbs":{
|
|
1683
|
+
"landing":string;
|
|
1684
|
+
"overview":string;
|
|
1685
|
+
"receipt":string;
|
|
1686
|
+
};
|
|
1687
|
+
"alerts":{
|
|
1688
|
+
"payrollCancelled":string;
|
|
1455
1689
|
};
|
|
1456
1690
|
};
|
|
1457
1691
|
export interface PayrollPayrollList{
|
|
@@ -1501,6 +1735,8 @@ export interface PayrollPayrollOverview{
|
|
|
1501
1735
|
"downloadPaystubLabel":string;
|
|
1502
1736
|
"loadingTitle":string;
|
|
1503
1737
|
"loadingDescription":string;
|
|
1738
|
+
"cancellingTitle":string;
|
|
1739
|
+
"cancelledEmptyState":string;
|
|
1504
1740
|
"alerts":{
|
|
1505
1741
|
"payrollNotCalculated":string;
|
|
1506
1742
|
"directDepositDeadline":string;
|
|
@@ -1643,10 +1879,87 @@ export interface PayrollPayrollReceipts{
|
|
|
1643
1879
|
"totalEmployees_other":string;
|
|
1644
1880
|
};
|
|
1645
1881
|
};
|
|
1882
|
+
export interface PayrollRecoveryCasesList{
|
|
1883
|
+
"title":string;
|
|
1884
|
+
"description":string;
|
|
1885
|
+
"labels":{
|
|
1886
|
+
"noLatestErrorCode":string;
|
|
1887
|
+
"noLatestErrorCodeAriaLabel":string;
|
|
1888
|
+
};
|
|
1889
|
+
"columns":{
|
|
1890
|
+
"originalDebitDate":string;
|
|
1891
|
+
"totalAmount":string;
|
|
1892
|
+
"amountOutstanding":string;
|
|
1893
|
+
"latestErrorCode":string;
|
|
1894
|
+
"status":string;
|
|
1895
|
+
};
|
|
1896
|
+
"status":{
|
|
1897
|
+
"open":string;
|
|
1898
|
+
"redebit_initiated":string;
|
|
1899
|
+
"wire_initiated":string;
|
|
1900
|
+
"recovered":string;
|
|
1901
|
+
"lost":string;
|
|
1902
|
+
};
|
|
1903
|
+
"cta":{
|
|
1904
|
+
"resolve":string;
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
export interface PayrollRecoveryCasesResubmit{
|
|
1908
|
+
"cta":{
|
|
1909
|
+
"cancel":string;
|
|
1910
|
+
"resubmit":string;
|
|
1911
|
+
};
|
|
1912
|
+
"errorCodes":{
|
|
1913
|
+
"R01":{
|
|
1914
|
+
"title":string;
|
|
1915
|
+
"subtitle":string;
|
|
1916
|
+
"body":string;
|
|
1917
|
+
"instruction":string;
|
|
1918
|
+
};
|
|
1919
|
+
"R02":{
|
|
1920
|
+
"title":string;
|
|
1921
|
+
"subtitle":string;
|
|
1922
|
+
"body":string;
|
|
1923
|
+
"instruction":string;
|
|
1924
|
+
};
|
|
1925
|
+
"R16":{
|
|
1926
|
+
"title":string;
|
|
1927
|
+
"subtitle":string;
|
|
1928
|
+
"body":string;
|
|
1929
|
+
"instruction":string;
|
|
1930
|
+
};
|
|
1931
|
+
"R29":{
|
|
1932
|
+
"title":string;
|
|
1933
|
+
"subtitle":string;
|
|
1934
|
+
"body":string;
|
|
1935
|
+
"listDescription":string;
|
|
1936
|
+
"achCodes":{
|
|
1937
|
+
"0":string;
|
|
1938
|
+
"1":string;
|
|
1939
|
+
"2":string;
|
|
1940
|
+
"3":string;
|
|
1941
|
+
"4":string;
|
|
1942
|
+
"5":string;
|
|
1943
|
+
"6":string;
|
|
1944
|
+
"7":string;
|
|
1945
|
+
"8":string;
|
|
1946
|
+
};
|
|
1947
|
+
"instruction":string;
|
|
1948
|
+
};
|
|
1949
|
+
"bankError":{
|
|
1950
|
+
"title":string;
|
|
1951
|
+
"subtitle":string;
|
|
1952
|
+
"body":string;
|
|
1953
|
+
"instruction":string;
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1646
1957
|
export interface PayrollWireInstructions{
|
|
1647
1958
|
"title":string;
|
|
1648
1959
|
"subtitle":string;
|
|
1649
1960
|
"selectLabel":string;
|
|
1961
|
+
"selectLabelPayroll":string;
|
|
1962
|
+
"selectLabelContractorPaymentGroup":string;
|
|
1650
1963
|
"selectFallback":string;
|
|
1651
1964
|
"requirementsTitle":string;
|
|
1652
1965
|
"requirements":{
|
|
@@ -1831,6 +2144,11 @@ export interface common{
|
|
|
1831
2144
|
"partner":string;
|
|
1832
2145
|
"member":string;
|
|
1833
2146
|
};
|
|
2147
|
+
"fileInput":{
|
|
2148
|
+
"uploadInstructions":string;
|
|
2149
|
+
"acceptedTypes":string;
|
|
2150
|
+
"removeFile":string;
|
|
2151
|
+
};
|
|
1834
2152
|
"reorderableList":{
|
|
1835
2153
|
"itemMovedDown":string;
|
|
1836
2154
|
"itemMovedUp":string;
|
|
@@ -1853,6 +2171,6 @@ export interface common{
|
|
|
1853
2171
|
|
|
1854
2172
|
interface CustomTypeOptions {
|
|
1855
2173
|
defaultNS: 'common';
|
|
1856
|
-
resources: { 'Company.Addresses': CompanyAddresses, 'Company.AssignSignatory': CompanyAssignSignatory, 'Company.BankAccount': CompanyBankAccount, 'Company.DocumentList': CompanyDocumentList, 'Company.FederalTaxes': CompanyFederalTaxes, 'Company.Industry': CompanyIndustry, 'Company.Locations': CompanyLocations, 'Company.OnboardingOverview': CompanyOnboardingOverview, 'Company.PaySchedule': CompanyPaySchedule, 'Company.SignatureForm': CompanySignatureForm, 'Company.StateTaxes': CompanyStateTaxes, 'Contractor.Address': ContractorAddress, 'Contractor.ContractorList': ContractorContractorList, 'Contractor.NewHireReport': ContractorNewHireReport, 'Contractor.PaymentMethod': ContractorPaymentMethod, 'Contractor.Payments.CreatePayment': ContractorPaymentsCreatePayment, 'Contractor.Payments.PaymentHistory': ContractorPaymentsPaymentHistory, 'Contractor.Payments.PaymentsList': ContractorPaymentsPaymentsList, 'Contractor.Profile': ContractorProfile, 'Contractor.Submit': ContractorSubmit, 'Employee.BankAccount': EmployeeBankAccount, 'Employee.Compensation': EmployeeCompensation, 'Employee.Deductions': EmployeeDeductions, 'Employee.DocumentSigner': EmployeeDocumentSigner, 'Employee.EmployeeList': EmployeeEmployeeList, 'Employee.FederalTaxes': EmployeeFederalTaxes, 'Employee.HomeAddress': EmployeeHomeAddress, 'Employee.Landing': EmployeeLanding, 'Employee.OnboardingSummary': EmployeeOnboardingSummary, 'Employee.PaySchedules': EmployeePaySchedules, 'Employee.PaymentMethod': EmployeePaymentMethod, 'Employee.Profile': EmployeeProfile, 'Employee.SplitPaycheck': EmployeeSplitPaycheck, 'Employee.StateTaxes': EmployeeStateTaxes, 'Employee.Taxes': EmployeeTaxes, 'Payroll.Common': PayrollCommon, 'Payroll.ConfirmWireDetailsBanner': PayrollConfirmWireDetailsBanner, 'Payroll.ConfirmWireDetailsForm': PayrollConfirmWireDetailsForm, 'Payroll.PayrollBlocker': PayrollPayrollBlocker, 'Payroll.PayrollConfiguration': PayrollPayrollConfiguration, 'Payroll.PayrollEditEmployee': PayrollPayrollEditEmployee, 'Payroll.PayrollFlow': PayrollPayrollFlow, 'Payroll.PayrollHistory': PayrollPayrollHistory, 'Payroll.PayrollLanding': PayrollPayrollLanding, 'Payroll.PayrollList': PayrollPayrollList, 'Payroll.PayrollOverview': PayrollPayrollOverview, 'Payroll.PayrollReceipts': PayrollPayrollReceipts, 'Payroll.WireInstructions': PayrollWireInstructions, 'common': common, }
|
|
2174
|
+
resources: { 'Company.Addresses': CompanyAddresses, 'Company.AssignSignatory': CompanyAssignSignatory, 'Company.BankAccount': CompanyBankAccount, 'Company.DocumentList': CompanyDocumentList, 'Company.FederalTaxes': CompanyFederalTaxes, 'Company.Industry': CompanyIndustry, 'Company.Locations': CompanyLocations, 'Company.OnboardingOverview': CompanyOnboardingOverview, 'Company.PaySchedule': CompanyPaySchedule, 'Company.SignatureForm': CompanySignatureForm, 'Company.StateTaxes': CompanyStateTaxes, 'Contractor.Address': ContractorAddress, 'Contractor.ContractorList': ContractorContractorList, 'Contractor.NewHireReport': ContractorNewHireReport, 'Contractor.PaymentMethod': ContractorPaymentMethod, 'Contractor.Payments.CreatePayment': ContractorPaymentsCreatePayment, 'Contractor.Payments.PaymentHistory': ContractorPaymentsPaymentHistory, 'Contractor.Payments.PaymentStatement': ContractorPaymentsPaymentStatement, 'Contractor.Payments.PaymentSummary': ContractorPaymentsPaymentSummary, 'Contractor.Payments.PaymentsList': ContractorPaymentsPaymentsList, 'Contractor.Profile': ContractorProfile, 'Contractor.Submit': ContractorSubmit, 'Employee.BankAccount': EmployeeBankAccount, 'Employee.Compensation': EmployeeCompensation, 'Employee.Deductions': EmployeeDeductions, 'Employee.DocumentSigner': EmployeeDocumentSigner, 'Employee.EmployeeList': EmployeeEmployeeList, 'Employee.EmploymentEligibility': EmployeeEmploymentEligibility, 'Employee.FederalTaxes': EmployeeFederalTaxes, 'Employee.HomeAddress': EmployeeHomeAddress, 'Employee.Landing': EmployeeLanding, 'Employee.OnboardingSummary': EmployeeOnboardingSummary, 'Employee.PaySchedules': EmployeePaySchedules, 'Employee.PaymentMethod': EmployeePaymentMethod, 'Employee.Profile': EmployeeProfile, 'Employee.SplitPaycheck': EmployeeSplitPaycheck, 'Employee.StateTaxes': EmployeeStateTaxes, 'Employee.Taxes': EmployeeTaxes, 'InformationRequests.InformationRequestForm': InformationRequestsInformationRequestForm, 'InformationRequests.InformationRequestList': InformationRequestsInformationRequestList, 'Payroll.Common': PayrollCommon, 'Payroll.ConfirmWireDetailsBanner': PayrollConfirmWireDetailsBanner, 'Payroll.ConfirmWireDetailsForm': PayrollConfirmWireDetailsForm, 'Payroll.PayrollBlocker': PayrollPayrollBlocker, 'Payroll.PayrollConfiguration': PayrollPayrollConfiguration, 'Payroll.PayrollEditEmployee': PayrollPayrollEditEmployee, 'Payroll.PayrollFlow': PayrollPayrollFlow, 'Payroll.PayrollHistory': PayrollPayrollHistory, 'Payroll.PayrollLanding': PayrollPayrollLanding, 'Payroll.PayrollList': PayrollPayrollList, 'Payroll.PayrollOverview': PayrollPayrollOverview, 'Payroll.PayrollReceipts': PayrollPayrollReceipts, 'Payroll.RecoveryCasesList': PayrollRecoveryCasesList, 'Payroll.RecoveryCasesResubmit': PayrollRecoveryCasesResubmit, 'Payroll.WireInstructions': PayrollWireInstructions, 'common': common, }
|
|
1857
2175
|
};
|
|
1858
2176
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gusto/embedded-react-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"homepage": "https://github.com/Gusto/embedded-react-sdk",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/Gusto/embedded-react-sdk/issues"
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
"docs:publish": "npx tsx .docs/src/publish/readmePublisher.ts",
|
|
51
51
|
"format": "prettier . --write --log-level warn",
|
|
52
52
|
"format:check": "prettier . --check --log-level warn",
|
|
53
|
-
"ladle": "ladle serve",
|
|
54
53
|
"i18n:generate": "node ./build/interface.js",
|
|
55
54
|
"lint": "npm run lint:check -- --fix",
|
|
56
55
|
"lint:check": "eslint .",
|
|
@@ -61,52 +60,64 @@
|
|
|
61
60
|
"preversion": "npm test",
|
|
62
61
|
"test": "vitest",
|
|
63
62
|
"test:ci": "vitest --coverage",
|
|
64
|
-
"tsc": "tsc --pretty"
|
|
63
|
+
"tsc": "tsc --pretty",
|
|
64
|
+
"storybook": "storybook dev -p 6006",
|
|
65
|
+
"build-storybook": "storybook build"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
|
-
"@commitlint/cli": "^20.
|
|
68
|
-
"@commitlint/config-conventional": "^20.
|
|
68
|
+
"@commitlint/cli": "^20.4.1",
|
|
69
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
69
70
|
"@eslint/js": "^9.39.2",
|
|
70
|
-
"@
|
|
71
|
+
"@playwright/test": "^1.58.1",
|
|
72
|
+
"@storybook/addon-a11y": "^10.2.7",
|
|
73
|
+
"@storybook/addon-docs": "^10.2.7",
|
|
74
|
+
"@storybook/addon-onboarding": "^10.2.7",
|
|
75
|
+
"@storybook/react-vite": "^10.2.7",
|
|
76
|
+
"@storybook/test-runner": "^0.24.2",
|
|
71
77
|
"@testing-library/jest-dom": "^6.9.1",
|
|
72
|
-
"@testing-library/react": "^16.3.
|
|
78
|
+
"@testing-library/react": "^16.3.2",
|
|
73
79
|
"@testing-library/user-event": "^14.6.1",
|
|
74
80
|
"@types/jest": "^30.0.0",
|
|
75
81
|
"@types/jest-axe": "^3.5.9",
|
|
76
82
|
"@types/js-yaml": "^4.0.9",
|
|
77
|
-
"@types/
|
|
83
|
+
"@types/pngjs": "^6.0.5",
|
|
84
|
+
"@types/react": "^19.2.13",
|
|
78
85
|
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
79
86
|
"@vitest/coverage-v8": "^3.2.4",
|
|
80
|
-
"axe-core": "^4.11.
|
|
81
|
-
"dotenv": "^17.2.
|
|
87
|
+
"axe-core": "^4.11.1",
|
|
88
|
+
"dotenv": "^17.2.4",
|
|
82
89
|
"eslint": "^9.39.2",
|
|
83
90
|
"eslint-plugin-import": "^2.31.0",
|
|
84
91
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
85
92
|
"eslint-plugin-react": "^7.37.5",
|
|
86
93
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
87
94
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
88
|
-
"
|
|
95
|
+
"eslint-plugin-storybook": "^10.2.7",
|
|
96
|
+
"globals": "^17.3.0",
|
|
89
97
|
"husky": "^9.1.7",
|
|
90
98
|
"jest-axe": "^9.0.0",
|
|
91
99
|
"js-yaml": "^4.1.1",
|
|
92
100
|
"jsdom": "^26.1.0",
|
|
93
101
|
"jsdom-testing-mocks": "^1.16.0",
|
|
94
102
|
"lint-staged": "^16.2.7",
|
|
95
|
-
"msw": "^2.12.
|
|
103
|
+
"msw": "^2.12.8",
|
|
96
104
|
"npm-run-all": "^4.1.5",
|
|
97
|
-
"
|
|
105
|
+
"pixelmatch": "^7.1.0",
|
|
106
|
+
"pngjs": "^7.0.0",
|
|
107
|
+
"prettier": "^3.8.1",
|
|
98
108
|
"react-dnd": "^16.0.1",
|
|
99
109
|
"react-dnd-html5-backend": "^16.0.1",
|
|
100
|
-
"sass-embedded": "^1.97.
|
|
110
|
+
"sass-embedded": "^1.97.3",
|
|
111
|
+
"storybook": "^10.1.11",
|
|
101
112
|
"ts-morph": "^27.0.2",
|
|
102
113
|
"tsx": "^4.21.0",
|
|
103
|
-
"typescript-eslint": "^8.
|
|
114
|
+
"typescript-eslint": "^8.54.0",
|
|
104
115
|
"vite": "^6.4.1",
|
|
105
116
|
"vite-plugin-checker": "^0.12.0",
|
|
106
117
|
"vite-plugin-circular-dependency": "^0.5.0",
|
|
107
118
|
"vite-plugin-dts": "^4.5.3",
|
|
108
119
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
109
|
-
"vite-plugin-stylelint": "^6.0.
|
|
120
|
+
"vite-plugin-stylelint": "^6.0.4",
|
|
110
121
|
"vite-plugin-svgr": "^4.3.0",
|
|
111
122
|
"vitest": "^3.2.4"
|
|
112
123
|
},
|
|
@@ -117,7 +128,7 @@
|
|
|
117
128
|
"typescript": "^5.8.3"
|
|
118
129
|
},
|
|
119
130
|
"dependencies": {
|
|
120
|
-
"@gusto/embedded-api": "^0.11.
|
|
131
|
+
"@gusto/embedded-api": "^0.11.11",
|
|
121
132
|
"@hookform/error-message": "^2.0.1",
|
|
122
133
|
"@hookform/resolvers": "^5.2.2",
|
|
123
134
|
"@internationalized/date": "^3.10.0",
|
|
@@ -125,12 +136,12 @@
|
|
|
125
136
|
"classnames": "^2.5.1",
|
|
126
137
|
"deepmerge": "^4.3.1",
|
|
127
138
|
"dompurify": "^3.3.1",
|
|
128
|
-
"i18next": "^25.
|
|
139
|
+
"i18next": "^25.8.4",
|
|
129
140
|
"react-aria": "^3.44.0",
|
|
130
141
|
"react-aria-components": "1.13.0",
|
|
131
|
-
"react-error-boundary": "^6.
|
|
132
|
-
"react-hook-form": "^7.
|
|
133
|
-
"react-i18next": "^16.5.
|
|
142
|
+
"react-error-boundary": "^6.1.0",
|
|
143
|
+
"react-hook-form": "^7.71.1",
|
|
144
|
+
"react-i18next": "^16.5.4",
|
|
134
145
|
"react-robot": "^1.2.0",
|
|
135
146
|
"robot3": "^1.2.0",
|
|
136
147
|
"zod": "^3.25.17"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseComponentInterface } from '../../Base/Base';
|
|
2
|
-
interface PayrollBlockerProps extends BaseComponentInterface<'Payroll.PayrollBlocker'> {
|
|
3
|
-
companyId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function PayrollBlocker(props: PayrollBlockerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { useTranslation as u } from "react-i18next";
|
|
3
|
-
import { usePayrollsGetBlockersSuspense as k } from "@gusto/embedded-api/react-query/payrollsGetBlockers";
|
|
4
|
-
import { PayrollBlockerList as f } from "./components/PayrollBlockerList.js";
|
|
5
|
-
import { getBlockerTranslationKeys as B } from "./payrollHelpers.js";
|
|
6
|
-
import { BaseComponent as d } from "../../Base/Base.js";
|
|
7
|
-
import { useComponentDictionary as P, useI18n as g } from "../../../i18n/I18n.js";
|
|
8
|
-
function U(o) {
|
|
9
|
-
return /* @__PURE__ */ l(d, { ...o, children: /* @__PURE__ */ l(K, { ...o, children: o.children }) });
|
|
10
|
-
}
|
|
11
|
-
function K({ className: o, dictionary: c, companyId: i }) {
|
|
12
|
-
P("Payroll.PayrollBlocker", c), g("Payroll.PayrollBlocker");
|
|
13
|
-
const { t: r } = u("Payroll.PayrollBlocker"), { data: s } = k({
|
|
14
|
-
companyUuid: i
|
|
15
|
-
}), t = (s.payrollBlockerList ?? []).map((n) => {
|
|
16
|
-
const e = n.key ?? "unknown", a = B(e), y = r(a.titleKey, {
|
|
17
|
-
defaultValue: e.replace(/_/g, " ").replace(/\b\w/g, (p) => p.toUpperCase())
|
|
18
|
-
}), m = r(a.descriptionKey, {
|
|
19
|
-
defaultValue: n.message || r("defaultBlockerDescription")
|
|
20
|
-
});
|
|
21
|
-
return {
|
|
22
|
-
id: e,
|
|
23
|
-
title: y,
|
|
24
|
-
description: m
|
|
25
|
-
};
|
|
26
|
-
});
|
|
27
|
-
return t.length === 0 ? null : /* @__PURE__ */ l(f, { className: o, blockers: t });
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
U as PayrollBlocker
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=PayrollBlocker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PayrollBlocker.js","sources":["../../../../src/components/Payroll/PayrollBlocker/PayrollBlocker.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api/react-query/payrollsGetBlockers'\nimport { PayrollBlockerList, type PayrollBlocker } from './components/PayrollBlockerList'\nimport { getBlockerTranslationKeys } from './payrollHelpers'\nimport { BaseComponent, type BaseComponentInterface } from '@/components/Base/Base'\nimport { useComponentDictionary, useI18n } from '@/i18n'\n\ninterface PayrollBlockerProps extends BaseComponentInterface<'Payroll.PayrollBlocker'> {\n companyId: string\n}\n\nexport function PayrollBlocker(props: PayrollBlockerProps) {\n return (\n <BaseComponent {...props}>\n <Root {...props}>{props.children}</Root>\n </BaseComponent>\n )\n}\n\nfunction Root({ className, dictionary, companyId }: PayrollBlockerProps) {\n useComponentDictionary('Payroll.PayrollBlocker', dictionary)\n useI18n('Payroll.PayrollBlocker')\n const { t } = useTranslation('Payroll.PayrollBlocker')\n\n const { data } = usePayrollsGetBlockersSuspense({\n companyUuid: companyId,\n })\n\n const payrollBlockerList = data.payrollBlockerList ?? []\n\n const blockers: PayrollBlocker[] = payrollBlockerList.map(blocker => {\n const blockerKey = blocker.key ?? 'unknown'\n const translationKeys = getBlockerTranslationKeys(blockerKey)\n\n const title = t(translationKeys.titleKey, {\n defaultValue: blockerKey.replace(/_/g, ' ').replace(/\\b\\w/g, letter => letter.toUpperCase()),\n })\n\n const description = t(translationKeys.descriptionKey, {\n defaultValue: blocker.message || t('defaultBlockerDescription'),\n })\n\n return {\n id: blockerKey,\n title,\n description,\n }\n })\n\n if (blockers.length === 0) {\n return null\n }\n\n return <PayrollBlockerList className={className} blockers={blockers} />\n}\n"],"names":["PayrollBlocker","props","jsx","BaseComponent","Root","className","dictionary","companyId","useComponentDictionary","useI18n","t","useTranslation","data","usePayrollsGetBlockersSuspense","blockers","blocker","blockerKey","translationKeys","getBlockerTranslationKeys","title","letter","description","PayrollBlockerList"],"mappings":";;;;;;;AAWO,SAASA,EAAeC,GAA4B;AACzD,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,UAAA,gBAAAC,EAACE,KAAM,GAAGH,GAAQ,UAAAA,EAAM,SAAA,CAAS,EAAA,CACnC;AAEJ;AAEA,SAASG,EAAK,EAAE,WAAAC,GAAW,YAAAC,GAAY,WAAAC,KAAkC;AACvE,EAAAC,EAAuB,0BAA0BF,CAAU,GAC3DG,EAAQ,wBAAwB;AAChC,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,wBAAwB,GAE/C,EAAE,MAAAC,EAAA,IAASC,EAA+B;AAAA,IAC9C,aAAaN;AAAA,EAAA,CACd,GAIKO,KAFqBF,EAAK,sBAAsB,CAAA,GAEA,IAAI,CAAAG,MAAW;AACnE,UAAMC,IAAaD,EAAQ,OAAO,WAC5BE,IAAkBC,EAA0BF,CAAU,GAEtDG,IAAQT,EAAEO,EAAgB,UAAU;AAAA,MACxC,cAAcD,EAAW,QAAQ,MAAM,GAAG,EAAE,QAAQ,SAAS,CAAAI,MAAUA,EAAO,YAAA,CAAa;AAAA,IAAA,CAC5F,GAEKC,IAAcX,EAAEO,EAAgB,gBAAgB;AAAA,MACpD,cAAcF,EAAQ,WAAWL,EAAE,2BAA2B;AAAA,IAAA,CAC/D;AAED,WAAO;AAAA,MACL,IAAIM;AAAA,MACJ,OAAAG;AAAA,MACA,aAAAE;AAAA,IAAA;AAAA,EAEJ,CAAC;AAED,SAAIP,EAAS,WAAW,IACf,OAGF,gBAAAZ,EAACoB,GAAA,EAAmB,WAAAjB,GAAsB,UAAAS,EAAA,CAAoB;AACvE;"}
|