@gusto/embedded-react-sdk 0.38.0 → 0.39.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 +115 -0
- package/dist/UNSTABLE_Hooks.d.ts +1 -1
- package/dist/UNSTABLE_Hooks.js +64 -46
- package/dist/UNSTABLE_Hooks.js.map +1 -1
- package/dist/assets/icons/percent-circle.svg.js +10 -0
- package/dist/assets/icons/percent-circle.svg.js.map +1 -0
- package/dist/assets/icons/plus-circle.svg.js +1 -1
- package/dist/assets/icons/plus-circle.svg.js.map +1 -1
- package/dist/components/Base/Base.js +2 -3
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +5 -3
- package/dist/components/Common/DataView/DataCards/DataCards.js +59 -46
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +9 -7
- package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +4 -2
- package/dist/components/Common/DataView/DataTable/DataTable.js +95 -76
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +4 -3
- package/dist/components/Common/DataView/DataView.js +24 -22
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +33 -6
- package/dist/components/Common/DataView/useDataView.js +23 -20
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Common/DataView/useSelectionState.d.ts +5 -0
- package/dist/components/Common/DataView/useSelectionState.js +8 -0
- package/dist/components/Common/DataView/useSelectionState.js.map +1 -0
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +3 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +65 -71
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +10 -6
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.d.ts +2 -1
- package/dist/components/Common/EmptyData/EmptyData.js +15 -13
- package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js +6 -4
- package/dist/components/Common/EmptyData/EmptyData.module.scss.js.map +1 -1
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.d.ts +2 -2
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js +2 -2
- package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureForm.js +4 -6
- package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Common/SignatureForm/SignatureFormActions.js +5 -6
- 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/Box/Box.d.ts +1 -1
- package/dist/components/Common/UI/Box/Box.js +9 -8
- package/dist/components/Common/UI/Box/Box.js.map +1 -1
- package/dist/components/Common/UI/Box/Box.module.scss.js +12 -8
- package/dist/components/Common/UI/Box/Box.module.scss.js.map +1 -1
- package/dist/components/Common/UI/Box/BoxTypes.d.ts +2 -9
- package/dist/components/Common/UI/BoxHeader/BoxHeader.d.ts +2 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.js +23 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.module.scss.js +8 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeader.module.scss.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +10 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js +7 -0
- package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -0
- package/dist/components/Common/UI/BoxHeader/index.d.ts +2 -0
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/components/Common/UI/Button/Button.module.scss.js +2 -2
- package/dist/components/Common/UI/Checkbox/Checkbox.js +60 -49
- package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js +10 -6
- package/dist/components/Common/UI/Checkbox/Checkbox.module.scss.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +1 -1
- package/dist/components/Common/UI/DatePicker/DatePicker.module.scss.js +6 -6
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +34 -36
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +12 -12
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js +19 -12
- package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +6 -4
- package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js.map +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +6 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js +4 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
- package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
- package/dist/components/Common/UI/Heading/Heading.module.scss.js +15 -15
- package/dist/components/Common/UI/Input/Input.js.map +1 -1
- package/dist/components/Common/UI/Menu/Menu.module.scss.js +5 -5
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +1 -1
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Select/Select.js +22 -22
- package/dist/components/Common/UI/Select/Select.js.map +1 -1
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +1 -1
- package/dist/components/Common/UI/Table/Table.js +12 -12
- package/dist/components/Common/UI/Table/Table.js.map +1 -1
- package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
- package/dist/components/Common/UI/Table/TableTypes.d.ts +3 -3
- package/dist/components/Common/UI/Table/TableTypes.js +3 -3
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/TextArea/TextArea.js +1 -1
- package/dist/components/Common/UI/TextArea/TextArea.js.map +1 -1
- package/dist/components/Common/UI/TextInput/TextInput.js +13 -13
- package/dist/components/Common/UI/TextInput/TextInput.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 +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -5
- 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 +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -5
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -3
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -7
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +2 -3
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
- package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -5
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +8 -9
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +7 -8
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
- package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -3
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +8 -9
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -5
- 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 +3 -5
- package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +5 -6
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/FederalTaxes.js +17 -18
- package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Form.js +4 -6
- package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +8 -10
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +2 -3
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +6 -8
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +4 -5
- 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 +1 -1
- package/dist/components/Company/Locations/LocationForm/LocationForm.js +3 -4
- package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -5
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +6 -7
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +6 -7
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/LocationsList.js +2 -3
- package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -5
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
- package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js +5 -7
- package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +2 -3
- package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +3 -5
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PaySchedule.js +70 -68
- package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Actions.js +7 -8
- package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Edit.js +40 -35
- package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/Head.js +8 -10
- package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
- package/dist/components/Company/PaySchedule/_parts/List.js +13 -15
- package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
- package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +5 -6
- package/dist/components/Company/PaySchedule/usePaySchedule.js +5 -7
- package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +33 -33
- package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -5
- 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 +5 -6
- package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +14 -14
- package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.d.ts +2 -2
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -5
- 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/useAddress.js +5 -7
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.js +19 -20
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +2 -3
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +5 -6
- 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 +135 -126
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +77 -76
- package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +10 -10
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +5 -7
- package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +2 -1
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +83 -84
- package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +2 -4
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +10 -10
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +67 -79
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js +10 -12
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.module.scss.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +47 -49
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +63 -65
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.module.scss.js +4 -4
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
- package/dist/components/Contractor/Profile/useContractorProfile.js +33 -35
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.js +7 -8
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Employee/Compensation/Actions.js +4 -5
- package/dist/components/Employee/Compensation/Actions.js.map +1 -1
- package/dist/components/Employee/Compensation/Compensation.js +80 -77
- package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
- package/dist/components/Employee/Compensation/Edit.js +27 -28
- 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/Dashboard/BasicDetailsView.d.ts +13 -0
- package/dist/components/Employee/Dashboard/BasicDetailsView.js +107 -0
- package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -0
- package/dist/components/Employee/Dashboard/Dashboard.d.ts +5 -0
- package/dist/components/Employee/Dashboard/Dashboard.js +146 -0
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +5 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.js +12 -0
- package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.d.ts +5 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.js +25 -0
- package/dist/components/Employee/Dashboard/DashboardFlow.js.map +1 -0
- package/dist/components/Employee/Dashboard/DocumentsView.d.ts +7 -0
- package/dist/components/Employee/Dashboard/DocumentsView.js +51 -0
- package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.d.ts +22 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.js +211 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -0
- package/dist/components/Employee/Dashboard/TaxesView.d.ts +13 -0
- package/dist/components/Employee/Dashboard/TaxesView.js +97 -0
- package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.d.ts +3 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js +8 -0
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/index.d.ts +9 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +20 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +29 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +30 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +52 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +16 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +22 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +1 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +20 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +24 -0
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +1 -0
- package/dist/components/Employee/Dashboard/index.d.ts +14 -0
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +10 -12
- package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +17 -19
- package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +11 -13
- package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +7 -8
- package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -7
- package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +5 -6
- package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
- package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +3 -5
- package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +22 -22
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +24 -26
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +11 -12
- package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +7 -8
- package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +3 -5
- package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +2 -4
- package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +2 -3
- package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/EmployeeListView.js +40 -42
- package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +7 -9
- package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/Actions.js +6 -7
- package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/FederalForm.js +10 -11
- package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +3 -5
- package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +14 -15
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
- 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 +5 -6
- 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 +6 -7
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +10 -11
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +5 -7
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/Actions.js +6 -7
- 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 +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +1 -1
- package/dist/components/Employee/Profile/useProfile.js +3 -5
- package/dist/components/Employee/Profile/useProfile.js.map +1 -1
- package/dist/components/Employee/StateTaxes/Actions.js +7 -8
- package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
- package/dist/components/Employee/StateTaxes/useStateTaxes.js +3 -5
- package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
- package/dist/components/Employee/Taxes/Actions.js +8 -9
- package/dist/components/Employee/Taxes/Actions.js.map +1 -1
- package/dist/components/Employee/Taxes/FederalForm.js +10 -11
- package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
- package/dist/components/Employee/Taxes/useTaxes.js +3 -5
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +14 -16
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +12 -13
- package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +2 -4
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
- package/dist/components/Employee/index.d.ts +2 -0
- package/dist/components/Employee/index.js +28 -26
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/Flow.js +16 -18
- package/dist/components/Flow/Flow.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +28 -29
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.module.scss.js +14 -14
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +11 -12
- package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
- package/dist/components/InformationRequests/InformationRequests.js +3 -4
- package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +10 -11
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +8 -10
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +12 -14
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +74 -69
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +30 -32
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +0 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.d.ts +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +19 -19
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +3 -3
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +13 -13
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -7
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +12 -13
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -13
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
- package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +12 -12
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -2
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +16 -16
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +28 -28
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +22 -24
- package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +78 -79
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -2
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +224 -201
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +8 -8
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +79 -80
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +2 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +18 -18
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +2 -1
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +2 -4
- package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +103 -114
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js +16 -18
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -3
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +6 -7
- package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -4
- package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +67 -63
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +8 -10
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js +5 -5
- package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +13 -13
- package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
- package/dist/components/Payroll/helpers.d.ts +1 -1
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.d.ts +2 -2
- package/dist/components/Payroll/usePreparedPayrollData.js +7 -9
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +3 -3
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.d.ts +48 -0
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js +94 -0
- package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +9 -10
- package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +10 -11
- package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +9 -10
- package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +12 -13
- package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +13 -14
- package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +3 -3
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +14 -15
- package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/index.d.ts +2 -4
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.d.ts +3 -0
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.js +15 -0
- package/dist/components/UNSTABLE_Hooks/form/preprocessors.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +8 -7
- package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.d.ts +17 -0
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js +21 -0
- package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +7 -7
- package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +3 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +48 -42
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +73 -101
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchemaParity.test.d.ts +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/index.d.ts +2 -2
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +4 -6
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +111 -112
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +3 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +13 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js +31 -25
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +4 -3
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/index.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +5 -19
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +83 -86
- package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js +172 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js +14 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.d.ts +23 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.js +37 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/index.d.ts +7 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.d.ts +55 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.js +54 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.d.ts +69 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.js +180 -0
- package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js +69 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.d.ts +9 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.js +14 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/index.d.ts +7 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.d.ts +25 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.js +24 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.d.ts +57 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.js +101 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js +71 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.d.ts +5 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js +179 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.d.ts +53 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.js +164 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/index.d.ts +9 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.d.ts +150 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.js +152 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.d.ts +151 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.js +172 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -0
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +6 -7
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/index.d.ts +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +4 -5
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +85 -83
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.d.ts +8 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js +18 -17
- package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/index.d.ts +7 -4
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +45 -42
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +55 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +25 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +1 -1
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +69 -46
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js +122 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js +8 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListTypes.d.ts +17 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +3 -1
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +25 -55
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +66 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +6 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +1 -1
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +71 -66
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +5 -5
- package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +8 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +71 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js +12 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.module.scss.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +206 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +20 -0
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/PolicyConfigurationForm/index.d.ts +6 -0
- package/dist/components/UNSTABLE_TimeOff/index.d.ts +2 -2
- package/dist/components/UNSTABLE_TimeOff/index.js +20 -20
- package/dist/components/UNSTABLE_TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
- package/dist/components/UNSTABLE_TimeOff/{TimeOffManagement/shared → shared}/EmployeeTable/EmployeeTableTypes.d.ts +3 -3
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.d.ts +30 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.js +97 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.js.map +1 -0
- package/dist/components/UNSTABLE_TimeOff/shared/holidayHelpers.test.d.ts +1 -0
- package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +52 -50
- 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 +10 -0
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +28 -21
- package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -11
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/ThemeProvider/theme.d.ts +2 -0
- package/dist/contexts/ThemeProvider/theme.js +4 -2
- package/dist/contexts/ThemeProvider/theme.js.map +1 -1
- package/dist/helpers/buildQueryErrorHandling.d.ts +22 -0
- package/dist/helpers/buildQueryErrorHandling.js +11 -0
- package/dist/helpers/buildQueryErrorHandling.js.map +1 -0
- package/dist/helpers/dateFormatting.d.ts +2 -0
- package/dist/helpers/dateFormatting.js +38 -33
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/helpers/formattedStrings.js +40 -33
- package/dist/helpers/formattedStrings.js.map +1 -1
- package/dist/hooks/useCompanyPaymentSpeed.d.ts +6 -0
- package/dist/hooks/useCompanyPaymentSpeed.js +19 -0
- package/dist/hooks/useCompanyPaymentSpeed.js.map +1 -0
- package/dist/hooks/useCompanyPaymentSpeed.test.d.ts +1 -0
- package/dist/i18n/I18n.js +9 -9
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +9 -9
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +18 -12
- package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js +28 -0
- package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js.map +1 -0
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +32 -26
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js +36 -34
- package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js.map +1 -1
- package/dist/i18n/en/Employee.Dashboard.json.js +26 -0
- package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -0
- package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +5 -5
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +2 -2
- package/dist/i18n/en/Payroll.PayrollList.json.js +15 -15
- package/dist/i18n/en/Payroll.TransitionCreation.json.js +9 -9
- package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js +24 -0
- package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js +20 -0
- package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js +22 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js.map +1 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js +70 -0
- package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js.map +1 -0
- package/dist/i18n/en/common.json.d.ts +3 -1
- package/dist/i18n/en/common.json.js +5 -5
- package/dist/shared/constants.d.ts +10 -0
- package/dist/shared/constants.js +15 -10
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +348 -29
- package/dist/types/sdkHooks.d.ts +2 -4
- package/docs/reference/endpoint-inventory.json +119 -29
- package/package.json +19 -19
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.d.ts +0 -26
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js +0 -24
- package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +0 -3
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js +0 -14
- package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.d.ts +0 -6
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js +0 -14
- package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js.map +0 -1
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +0 -4
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +0 -8
- package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +0 -1
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.d.ts +0 -6
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js +0 -50
- package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js.map +0 -1
- package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts +0 -2
- package/dist/helpers/requiredIf.d.ts +0 -13
- package/dist/helpers/requiredIf.js +0 -8
- package/dist/helpers/requiredIf.js.map +0 -1
- /package/dist/components/UNSTABLE_Hooks/form/{deriveFieldsMetadata.test.d.ts → buildFormSchema.test.d.ts} +0 -0
- /package/dist/components/UNSTABLE_TimeOff/{TimeOffManagement/shared → shared}/EmployeeTable/index.d.ts +0 -0
|
@@ -203,15 +203,10 @@
|
|
|
203
203
|
{
|
|
204
204
|
"method": "POST",
|
|
205
205
|
"path": "/v1/companies/:companyId/pay_schedules"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"method": "GET",
|
|
209
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
210
206
|
}
|
|
211
207
|
],
|
|
212
208
|
"variables": [
|
|
213
209
|
"companyId",
|
|
214
|
-
"companyUuid",
|
|
215
210
|
"payScheduleId"
|
|
216
211
|
]
|
|
217
212
|
},
|
|
@@ -442,10 +437,6 @@
|
|
|
442
437
|
{
|
|
443
438
|
"method": "GET",
|
|
444
439
|
"path": "/v1/companies/:companyId/bank_accounts"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"method": "GET",
|
|
448
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
449
440
|
}
|
|
450
441
|
],
|
|
451
442
|
"variables": [
|
|
@@ -826,6 +817,54 @@
|
|
|
826
817
|
"employeeId"
|
|
827
818
|
]
|
|
828
819
|
},
|
|
820
|
+
"Employee.DashboardFlow": {
|
|
821
|
+
"endpoints": [
|
|
822
|
+
{
|
|
823
|
+
"method": "GET",
|
|
824
|
+
"path": "/v1/employees/:employeeId"
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"method": "GET",
|
|
828
|
+
"path": "/v1/employees/:employeeId/home_addresses"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"method": "GET",
|
|
832
|
+
"path": "/v1/employees/:employeeId/work_addresses"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"method": "GET",
|
|
836
|
+
"path": "/v1/employees/:employeeId/payment_method"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"method": "GET",
|
|
840
|
+
"path": "/v1/employees/:employeeId/bank_accounts"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"method": "GET",
|
|
844
|
+
"path": "/v1/employees/:employeeId/garnishments"
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"method": "GET",
|
|
848
|
+
"path": "/v1/employees/:employeeId/pay_stubs"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"method": "GET",
|
|
852
|
+
"path": "/v1/employees/:employeeId/forms"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"method": "GET",
|
|
856
|
+
"path": "/v1/employees/:employeeUuid/federal_taxes"
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"method": "GET",
|
|
860
|
+
"path": "/v1/employees/:employeeUuid/state_taxes"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
863
|
+
"variables": [
|
|
864
|
+
"employeeId",
|
|
865
|
+
"employeeUuid"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
829
868
|
"Employee.EmploymentEligibility": {
|
|
830
869
|
"endpoints": [
|
|
831
870
|
{
|
|
@@ -1131,10 +1170,6 @@
|
|
|
1131
1170
|
"method": "GET",
|
|
1132
1171
|
"path": "/v1/wire_in_requests/:wireInRequestUuid"
|
|
1133
1172
|
},
|
|
1134
|
-
{
|
|
1135
|
-
"method": "GET",
|
|
1136
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
1137
|
-
},
|
|
1138
1173
|
{
|
|
1139
1174
|
"method": "GET",
|
|
1140
1175
|
"path": "/v1/payrolls/:payrollId/employees/:employeeId/pay_stub"
|
|
@@ -1142,7 +1177,6 @@
|
|
|
1142
1177
|
],
|
|
1143
1178
|
"variables": [
|
|
1144
1179
|
"companyId",
|
|
1145
|
-
"companyUuid",
|
|
1146
1180
|
"employeeId",
|
|
1147
1181
|
"payrollId",
|
|
1148
1182
|
"wireInRequestUuid"
|
|
@@ -1308,6 +1342,49 @@
|
|
|
1308
1342
|
"variables": [
|
|
1309
1343
|
"companyId"
|
|
1310
1344
|
]
|
|
1345
|
+
},
|
|
1346
|
+
"UNSTABLE_TimeOff.PolicyList": {
|
|
1347
|
+
"endpoints": [
|
|
1348
|
+
{
|
|
1349
|
+
"method": "GET",
|
|
1350
|
+
"path": "/v1/companies/:companyUuid/time_off_policies"
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"method": "PUT",
|
|
1354
|
+
"path": "/v1/time_off_policies/:timeOffPolicyUuid/deactivate"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"method": "GET",
|
|
1358
|
+
"path": "/v1/companies/:companyId/employees"
|
|
1359
|
+
}
|
|
1360
|
+
],
|
|
1361
|
+
"variables": [
|
|
1362
|
+
"companyId",
|
|
1363
|
+
"companyUuid",
|
|
1364
|
+
"timeOffPolicyUuid"
|
|
1365
|
+
]
|
|
1366
|
+
},
|
|
1367
|
+
"UNSTABLE_TimeOff.PolicyConfigurationForm": {
|
|
1368
|
+
"endpoints": [
|
|
1369
|
+
{
|
|
1370
|
+
"method": "POST",
|
|
1371
|
+
"path": "/v1/companies/:companyUuid/time_off_policies"
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
"variables": [
|
|
1375
|
+
"companyUuid"
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1378
|
+
"UNSTABLE_TimeOff.HolidaySelectionForm": {
|
|
1379
|
+
"endpoints": [
|
|
1380
|
+
{
|
|
1381
|
+
"method": "POST",
|
|
1382
|
+
"path": "/v1/companies/:companyUuid/holiday_pay_policy"
|
|
1383
|
+
}
|
|
1384
|
+
],
|
|
1385
|
+
"variables": [
|
|
1386
|
+
"companyUuid"
|
|
1387
|
+
]
|
|
1311
1388
|
}
|
|
1312
1389
|
},
|
|
1313
1390
|
"flows": {
|
|
@@ -1409,10 +1486,6 @@
|
|
|
1409
1486
|
"method": "POST",
|
|
1410
1487
|
"path": "/v1/companies/:companyId/pay_schedules"
|
|
1411
1488
|
},
|
|
1412
|
-
{
|
|
1413
|
-
"method": "GET",
|
|
1414
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
1415
|
-
},
|
|
1416
1489
|
{
|
|
1417
1490
|
"method": "PUT",
|
|
1418
1491
|
"path": "/v1/companies/:companyUuid/tax_requirements/:state"
|
|
@@ -1532,10 +1605,6 @@
|
|
|
1532
1605
|
"method": "GET",
|
|
1533
1606
|
"path": "/v1/companies/:companyId/bank_accounts"
|
|
1534
1607
|
},
|
|
1535
|
-
{
|
|
1536
|
-
"method": "GET",
|
|
1537
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
1538
|
-
},
|
|
1539
1608
|
{
|
|
1540
1609
|
"method": "GET",
|
|
1541
1610
|
"path": "/v1/contractor_payment_groups/:contractorPaymentGroupUuid"
|
|
@@ -2050,10 +2119,6 @@
|
|
|
2050
2119
|
"method": "GET",
|
|
2051
2120
|
"path": "/v1/wire_in_requests/:wireInRequestUuid"
|
|
2052
2121
|
},
|
|
2053
|
-
{
|
|
2054
|
-
"method": "GET",
|
|
2055
|
-
"path": "/v1/companies/:companyUuid/payment_configs"
|
|
2056
|
-
},
|
|
2057
2122
|
{
|
|
2058
2123
|
"method": "GET",
|
|
2059
2124
|
"path": "/v1/payrolls/:payrollId/employees/:employeeId/pay_stub"
|
|
@@ -2078,7 +2143,7 @@
|
|
|
2078
2143
|
"UNSTABLE_TimeOff.AddEmployeesHoliday",
|
|
2079
2144
|
"UNSTABLE_TimeOff.AddEmployeesToPolicy",
|
|
2080
2145
|
"UNSTABLE_TimeOff.HolidaySelectionForm",
|
|
2081
|
-
"UNSTABLE_TimeOff.
|
|
2146
|
+
"UNSTABLE_TimeOff.PolicyConfigurationForm",
|
|
2082
2147
|
"UNSTABLE_TimeOff.PolicyList",
|
|
2083
2148
|
"UNSTABLE_TimeOff.PolicySettings",
|
|
2084
2149
|
"UNSTABLE_TimeOff.PolicyTypeSelector",
|
|
@@ -2088,8 +2153,33 @@
|
|
|
2088
2153
|
"UNSTABLE_TimeOff.ViewPolicyDetails",
|
|
2089
2154
|
"UNSTABLE_TimeOff.ViewPolicyEmployees"
|
|
2090
2155
|
],
|
|
2091
|
-
"endpoints": [
|
|
2092
|
-
|
|
2156
|
+
"endpoints": [
|
|
2157
|
+
{
|
|
2158
|
+
"method": "POST",
|
|
2159
|
+
"path": "/v1/companies/:companyUuid/holiday_pay_policy"
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"method": "POST",
|
|
2163
|
+
"path": "/v1/companies/:companyUuid/time_off_policies"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"method": "GET",
|
|
2167
|
+
"path": "/v1/companies/:companyUuid/time_off_policies"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"method": "PUT",
|
|
2171
|
+
"path": "/v1/time_off_policies/:timeOffPolicyUuid/deactivate"
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"method": "GET",
|
|
2175
|
+
"path": "/v1/companies/:companyId/employees"
|
|
2176
|
+
}
|
|
2177
|
+
],
|
|
2178
|
+
"variables": [
|
|
2179
|
+
"companyId",
|
|
2180
|
+
"companyUuid",
|
|
2181
|
+
"timeOffPolicyUuid"
|
|
2182
|
+
]
|
|
2093
2183
|
}
|
|
2094
2184
|
}
|
|
2095
2185
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gusto/embedded-react-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.39.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"
|
|
@@ -88,10 +88,10 @@
|
|
|
88
88
|
"@commitlint/config-conventional": "^20.5.0",
|
|
89
89
|
"@eslint/js": "^9.39.2",
|
|
90
90
|
"@playwright/test": "^1.59.1",
|
|
91
|
-
"@storybook/addon-a11y": "^10.3.
|
|
92
|
-
"@storybook/addon-docs": "^10.3.
|
|
93
|
-
"@storybook/addon-onboarding": "^10.3.
|
|
94
|
-
"@storybook/react-vite": "^10.3.
|
|
91
|
+
"@storybook/addon-a11y": "^10.3.5",
|
|
92
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
93
|
+
"@storybook/addon-onboarding": "^10.3.5",
|
|
94
|
+
"@storybook/react-vite": "^10.3.5",
|
|
95
95
|
"@storybook/test-runner": "^0.24.3",
|
|
96
96
|
"@testing-library/jest-dom": "^6.9.1",
|
|
97
97
|
"@testing-library/react": "^16.3.2",
|
|
@@ -103,45 +103,45 @@
|
|
|
103
103
|
"@types/react": "^19.2.14",
|
|
104
104
|
"@types/react-dom": "^19.2.3",
|
|
105
105
|
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
106
|
-
"@vitest/coverage-v8": "^4.1.
|
|
106
|
+
"@vitest/coverage-v8": "^4.1.3",
|
|
107
107
|
"axe-core": "^4.11.2",
|
|
108
|
-
"dotenv": "^17.4.
|
|
108
|
+
"dotenv": "^17.4.2",
|
|
109
109
|
"eslint": "^9.39.4",
|
|
110
110
|
"eslint-plugin-import": "^2.31.0",
|
|
111
111
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
112
112
|
"eslint-plugin-react": "^7.37.5",
|
|
113
113
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
114
114
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
115
|
-
"eslint-plugin-storybook": "^10.3.
|
|
116
|
-
"globals": "^17.
|
|
115
|
+
"eslint-plugin-storybook": "^10.3.5",
|
|
116
|
+
"globals": "^17.5.0",
|
|
117
117
|
"husky": "^9.1.7",
|
|
118
118
|
"jest-axe": "^9.0.0",
|
|
119
119
|
"js-yaml": "^4.1.1",
|
|
120
120
|
"jsdom": "^26.1.0",
|
|
121
121
|
"jsdom-testing-mocks": "^1.16.0",
|
|
122
122
|
"lint-staged": "^16.4.0",
|
|
123
|
-
"msw": "^2.
|
|
123
|
+
"msw": "^2.13.2",
|
|
124
124
|
"npm-run-all": "^4.1.5",
|
|
125
125
|
"pixelmatch": "^7.1.0",
|
|
126
126
|
"pngjs": "^7.0.0",
|
|
127
|
-
"prettier": "^3.8.
|
|
127
|
+
"prettier": "^3.8.2",
|
|
128
128
|
"react-dnd": "^16.0.1",
|
|
129
129
|
"react-dnd-html5-backend": "^16.0.1",
|
|
130
130
|
"react-router-dom": "^7.14.0",
|
|
131
131
|
"sass-embedded": "^1.99.0",
|
|
132
132
|
"storybook": "^10.3.4",
|
|
133
133
|
"stylelint-config-standard": "^40.0.0",
|
|
134
|
-
"ts-morph": "^
|
|
134
|
+
"ts-morph": "^28.0.0",
|
|
135
135
|
"tsx": "^4.21.0",
|
|
136
|
-
"typescript-eslint": "^8.58.
|
|
137
|
-
"vite": "^6.4.
|
|
136
|
+
"typescript-eslint": "^8.58.1",
|
|
137
|
+
"vite": "^6.4.2",
|
|
138
138
|
"vite-plugin-checker": "^0.12.0",
|
|
139
139
|
"vite-plugin-circular-dependency": "^0.5.0",
|
|
140
140
|
"vite-plugin-dts": "^4.5.3",
|
|
141
141
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
142
142
|
"vite-plugin-stylelint": "^6.1.0",
|
|
143
143
|
"vite-plugin-svgr": "^5.2.0",
|
|
144
|
-
"vitest": "^4.1.
|
|
144
|
+
"vitest": "^4.1.4"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"@tanstack/react-query": "^5",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"typescript": "^5.8.3"
|
|
151
151
|
},
|
|
152
152
|
"dependencies": {
|
|
153
|
-
"@gusto/embedded-api": "0.12.
|
|
153
|
+
"@gusto/embedded-api": "0.12.5",
|
|
154
154
|
"@hookform/error-message": "^2.0.1",
|
|
155
155
|
"@hookform/resolvers": "^5.2.2",
|
|
156
156
|
"@internationalized/date": "^3.12.0",
|
|
@@ -158,9 +158,9 @@
|
|
|
158
158
|
"classnames": "^2.5.1",
|
|
159
159
|
"deepmerge": "^4.3.1",
|
|
160
160
|
"dompurify": "^3.3.3",
|
|
161
|
-
"i18next": "^26.0.
|
|
162
|
-
"react-aria": "^3.
|
|
163
|
-
"react-aria-components": "1.
|
|
161
|
+
"i18next": "^26.0.4",
|
|
162
|
+
"react-aria": "^3.47.0",
|
|
163
|
+
"react-aria-components": "1.16.0",
|
|
164
164
|
"react-error-boundary": "^6.1.1",
|
|
165
165
|
"react-hook-form": "^7.72.1",
|
|
166
166
|
"react-i18next": "^17.0.2",
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { RequiredFields } from './resolveRequiredFields';
|
|
3
|
-
interface ComposeFormSchemaOptions<T extends Record<string, z.ZodType>> {
|
|
4
|
-
fieldValidators: T;
|
|
5
|
-
fixedFields?: Set<string>;
|
|
6
|
-
requiredOnCreate?: Set<string>;
|
|
7
|
-
requiredOnUpdate?: Set<string>;
|
|
8
|
-
mode: 'create' | 'update';
|
|
9
|
-
requiredFields?: RequiredFields<string>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Composes a Zod form schema by applying `requiredIf` to configurable fields
|
|
13
|
-
* based on mode and partner-specified required fields.
|
|
14
|
-
*
|
|
15
|
-
* Pattern: define all field validators as if required, then pass them here.
|
|
16
|
-
* Configurable fields get wrapped with `requiredIf` to conditionally accept
|
|
17
|
-
* empty input. Fixed fields (e.g. booleans, always-present controls) pass through as-is.
|
|
18
|
-
*
|
|
19
|
-
* `requiredOnCreate` / `requiredOnUpdate` define mode-specific defaults.
|
|
20
|
-
* `requiredFields` (partner overrides) are additive on top of those defaults.
|
|
21
|
-
*
|
|
22
|
-
* Generic `T` preserves the fieldValidators type so zodResolver can infer
|
|
23
|
-
* the correct form data type without manual casts at the call site.
|
|
24
|
-
*/
|
|
25
|
-
export declare function composeFormSchema<T extends Record<string, z.ZodType>>({ fieldValidators, fixedFields, requiredOnCreate, requiredOnUpdate, mode, requiredFields, }: ComposeFormSchemaOptions<T>): z.ZodObject<T>;
|
|
26
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { z as a } from "zod";
|
|
2
|
-
import { resolveRequiredFields as h } from "./resolveRequiredFields.js";
|
|
3
|
-
import { requiredIf as S } from "../../../helpers/requiredIf.js";
|
|
4
|
-
function b({
|
|
5
|
-
fieldValidators: o,
|
|
6
|
-
fixedFields: n = /* @__PURE__ */ new Set(),
|
|
7
|
-
requiredOnCreate: s = /* @__PURE__ */ new Set(),
|
|
8
|
-
requiredOnUpdate: i = /* @__PURE__ */ new Set(),
|
|
9
|
-
mode: r,
|
|
10
|
-
requiredFields: c
|
|
11
|
-
}) {
|
|
12
|
-
const m = new Set(h(c, r)), u = r === "create" ? s : i, f = Object.fromEntries(
|
|
13
|
-
Object.entries(o).map(([e, t]) => {
|
|
14
|
-
if (n.has(e)) return [e, t];
|
|
15
|
-
const p = u.has(e) || m.has(e);
|
|
16
|
-
return [e, S(t, p)];
|
|
17
|
-
})
|
|
18
|
-
);
|
|
19
|
-
return a.object(f);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
b as composeFormSchema
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=composeFormSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"composeFormSchema.js","sources":["../../../../src/components/UNSTABLE_Hooks/form/composeFormSchema.ts"],"sourcesContent":["import { z } from 'zod'\nimport { resolveRequiredFields, type RequiredFields } from './resolveRequiredFields'\nimport { requiredIf } from '@/helpers/requiredIf'\n\ninterface ComposeFormSchemaOptions<T extends Record<string, z.ZodType>> {\n fieldValidators: T\n fixedFields?: Set<string>\n requiredOnCreate?: Set<string>\n requiredOnUpdate?: Set<string>\n mode: 'create' | 'update'\n requiredFields?: RequiredFields<string>\n}\n\n/**\n * Composes a Zod form schema by applying `requiredIf` to configurable fields\n * based on mode and partner-specified required fields.\n *\n * Pattern: define all field validators as if required, then pass them here.\n * Configurable fields get wrapped with `requiredIf` to conditionally accept\n * empty input. Fixed fields (e.g. booleans, always-present controls) pass through as-is.\n *\n * `requiredOnCreate` / `requiredOnUpdate` define mode-specific defaults.\n * `requiredFields` (partner overrides) are additive on top of those defaults.\n *\n * Generic `T` preserves the fieldValidators type so zodResolver can infer\n * the correct form data type without manual casts at the call site.\n */\nexport function composeFormSchema<T extends Record<string, z.ZodType>>({\n fieldValidators,\n fixedFields = new Set(),\n requiredOnCreate = new Set(),\n requiredOnUpdate = new Set(),\n mode,\n requiredFields,\n}: ComposeFormSchemaOptions<T>) {\n const required = new Set(resolveRequiredFields(requiredFields, mode))\n const modeDefaults = mode === 'create' ? requiredOnCreate : requiredOnUpdate\n\n const shape = Object.fromEntries(\n Object.entries(fieldValidators).map(([key, validator]) => {\n if (fixedFields.has(key)) return [key, validator]\n\n const isRequired = modeDefaults.has(key) || required.has(key)\n return [key, requiredIf(validator, isRequired)]\n }),\n )\n\n // Object.fromEntries erases specific field types to Record<string, ZodType>,\n // and requiredIf wraps fields with z.preprocess which makes z.input infer unknown.\n // Cast back to ZodObject<T> so zodResolver infers the correct form data type\n // from the original fieldValidators — consumers don't need per-hook casts.\n return z.object(shape) as unknown as z.ZodObject<T>\n}\n"],"names":["composeFormSchema","fieldValidators","fixedFields","requiredOnCreate","requiredOnUpdate","mode","requiredFields","required","resolveRequiredFields","modeDefaults","shape","key","validator","isRequired","requiredIf","z"],"mappings":";;;AA2BO,SAASA,EAAuD;AAAA,EACrE,iBAAAC;AAAA,EACA,aAAAC,wBAAkB,IAAA;AAAA,EAClB,kBAAAC,wBAAuB,IAAA;AAAA,EACvB,kBAAAC,wBAAuB,IAAA;AAAA,EACvB,MAAAC;AAAA,EACA,gBAAAC;AACF,GAAgC;AAC9B,QAAMC,IAAW,IAAI,IAAIC,EAAsBF,GAAgBD,CAAI,CAAC,GAC9DI,IAAeJ,MAAS,WAAWF,IAAmBC,GAEtDM,IAAQ,OAAO;AAAA,IACnB,OAAO,QAAQT,CAAe,EAAE,IAAI,CAAC,CAACU,GAAKC,CAAS,MAAM;AACxD,UAAIV,EAAY,IAAIS,CAAG,EAAG,QAAO,CAACA,GAAKC,CAAS;AAEhD,YAAMC,IAAaJ,EAAa,IAAIE,CAAG,KAAKJ,EAAS,IAAII,CAAG;AAC5D,aAAO,CAACA,GAAKG,EAAWF,GAAWC,CAAU,CAAC;AAAA,IAChD,CAAC;AAAA,EAAA;AAOH,SAAOE,EAAE,OAAOL,CAAK;AACvB;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z as i } from "zod";
|
|
2
|
-
function c(t) {
|
|
3
|
-
const r = i.toJSONSchema(t), s = new Set(r.required ?? []), n = t.shape, o = {};
|
|
4
|
-
for (const e of Object.keys(n))
|
|
5
|
-
o[e] = {
|
|
6
|
-
name: e,
|
|
7
|
-
isRequired: s.has(e)
|
|
8
|
-
};
|
|
9
|
-
return o;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
c as deriveFieldsMetadata
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=deriveFieldsMetadata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deriveFieldsMetadata.js","sources":["../../../../src/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.ts"],"sourcesContent":["import { z } from 'zod'\nimport type { FieldMetadata } from '@/types/sdkHooks'\n\nexport function deriveFieldsMetadata<T extends z.ZodObject>(\n schema: T,\n): Record<keyof z.infer<T>, FieldMetadata> {\n const jsonSchema = z.toJSONSchema(schema)\n const requiredFields = new Set((jsonSchema as { required?: string[] }).required ?? [])\n const shape = schema.shape as Record<string, z.ZodType>\n const result: Record<string, FieldMetadata> = {}\n\n for (const key of Object.keys(shape)) {\n result[key] = {\n name: key,\n isRequired: requiredFields.has(key),\n }\n }\n\n return result as Record<keyof z.infer<T>, FieldMetadata>\n}\n"],"names":["deriveFieldsMetadata","schema","jsonSchema","z","requiredFields","shape","result","key"],"mappings":";AAGO,SAASA,EACdC,GACyC;AACzC,QAAMC,IAAaC,EAAE,aAAaF,CAAM,GAClCG,IAAiB,IAAI,IAAKF,EAAuC,YAAY,CAAA,CAAE,GAC/EG,IAAQJ,EAAO,OACfK,IAAwC,CAAA;AAE9C,aAAWC,KAAO,OAAO,KAAKF,CAAK;AACjC,IAAAC,EAAOC,CAAG,IAAI;AAAA,MACZ,MAAMA;AAAA,MACN,YAAYH,EAAe,IAAIG,CAAG;AAAA,IAAA;AAItC,SAAOD;AACT;"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export type RequiredFields<T> = T[] | {
|
|
2
|
-
create?: T[];
|
|
3
|
-
update?: T[];
|
|
4
|
-
};
|
|
5
|
-
export declare function resolveRequiredFields<T>(requiredFields: RequiredFields<T> | undefined, mode: 'create' | 'update'): T[];
|
|
6
|
-
export declare function filterRequiredFields<T>(requiredFields: RequiredFields<T> | undefined, exclude: T): RequiredFields<T> | undefined;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
function f(t, a) {
|
|
2
|
-
return t ? Array.isArray(t) ? t : (a === "create" ? t.create : t.update) ?? [] : [];
|
|
3
|
-
}
|
|
4
|
-
function n(t, a) {
|
|
5
|
-
return t && (Array.isArray(t) ? t.filter((r) => r !== a) : {
|
|
6
|
-
...t.create && { create: t.create.filter((r) => r !== a) },
|
|
7
|
-
...t.update && { update: t.update.filter((r) => r !== a) }
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
n as filterRequiredFields,
|
|
12
|
-
f as resolveRequiredFields
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=resolveRequiredFields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolveRequiredFields.js","sources":["../../../../src/components/UNSTABLE_Hooks/form/resolveRequiredFields.ts"],"sourcesContent":["export type RequiredFields<T> = T[] | { create?: T[]; update?: T[] }\n\nexport function resolveRequiredFields<T>(\n requiredFields: RequiredFields<T> | undefined,\n mode: 'create' | 'update',\n): T[] {\n if (!requiredFields) return []\n if (Array.isArray(requiredFields)) return requiredFields\n return (mode === 'create' ? requiredFields.create : requiredFields.update) ?? []\n}\n\nexport function filterRequiredFields<T>(\n requiredFields: RequiredFields<T> | undefined,\n exclude: T,\n): RequiredFields<T> | undefined {\n if (!requiredFields) return requiredFields\n if (Array.isArray(requiredFields)) return requiredFields.filter(f => f !== exclude)\n return {\n ...(requiredFields.create && { create: requiredFields.create.filter(f => f !== exclude) }),\n ...(requiredFields.update && { update: requiredFields.update.filter(f => f !== exclude) }),\n }\n}\n"],"names":["resolveRequiredFields","requiredFields","mode","filterRequiredFields","exclude","f"],"mappings":"AAEO,SAASA,EACdC,GACAC,GACK;AACL,SAAKD,IACD,MAAM,QAAQA,CAAc,IAAUA,KAClCC,MAAS,WAAWD,EAAe,SAASA,EAAe,WAAW,CAAA,IAFlD,CAAA;AAG9B;AAEO,SAASE,EACdF,GACAG,GAC+B;AAC/B,SAAKH,MACD,MAAM,QAAQA,CAAc,IAAUA,EAAe,OAAO,CAAAI,MAAKA,MAAMD,CAAO,IAC3E;AAAA,IACL,GAAIH,EAAe,UAAU,EAAE,QAAQA,EAAe,OAAO,OAAO,CAAAI,MAAKA,MAAMD,CAAO,EAAA;AAAA,IACtF,GAAIH,EAAe,UAAU,EAAE,QAAQA,EAAe,OAAO,OAAO,CAAAI,MAAKA,MAAMD,CAAO,EAAA;AAAA,EAAE;AAE5F;"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FieldMetadata, FieldMetadataWithOptions, FieldsMetadata } from '../../../types/sdkHooks';
|
|
2
|
-
export declare function useFieldsMetadata<TFieldsMetadata extends {
|
|
3
|
-
[K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions;
|
|
4
|
-
} = FieldsMetadata>(): TFieldsMetadata;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFieldsMetadata.js","sources":["../../../../src/components/UNSTABLE_Hooks/form/useFieldsMetadata.ts"],"sourcesContent":["import { useFormFieldsMetadataContext } from './FormFieldsMetadataContext'\nimport type { FieldMetadata, FieldMetadataWithOptions, FieldsMetadata } from '@/types/sdkHooks'\n\nexport function useFieldsMetadata<\n TFieldsMetadata extends {\n [K in keyof TFieldsMetadata]: FieldMetadata | FieldMetadataWithOptions\n } = FieldsMetadata,\n>(): TFieldsMetadata {\n const context = useFormFieldsMetadataContext()\n return (context?.metadata ?? {}) as TFieldsMetadata\n}\n"],"names":["useFieldsMetadata","useFormFieldsMetadataContext"],"mappings":";AAGO,SAASA,IAIK;AAEnB,SADgBC,EAAA,GACC,YAAY,CAAA;AAC/B;"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseComponentInterface } from '../../Base';
|
|
2
|
-
export interface PolicyDetailsFormProps extends BaseComponentInterface {
|
|
3
|
-
companyId: string;
|
|
4
|
-
policyType: 'sick' | 'vacation';
|
|
5
|
-
}
|
|
6
|
-
export declare function PolicyDetailsForm(props: PolicyDetailsFormProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { BaseComponent as i } from "../../Base/Base.js";
|
|
3
|
-
import "../../Base/useBase.js";
|
|
4
|
-
import { componentEvents as e } from "../../../shared/constants.js";
|
|
5
|
-
function E(o) {
|
|
6
|
-
return /* @__PURE__ */ n(i, { ...o, children: /* @__PURE__ */ t("div", { children: [
|
|
7
|
-
/* @__PURE__ */ t("p", { children: [
|
|
8
|
-
"Policy Details Form (type: ",
|
|
9
|
-
o.policyType,
|
|
10
|
-
", companyId: ",
|
|
11
|
-
o.companyId,
|
|
12
|
-
")"
|
|
13
|
-
] }),
|
|
14
|
-
/* @__PURE__ */ n(
|
|
15
|
-
"button",
|
|
16
|
-
{
|
|
17
|
-
onClick: () => {
|
|
18
|
-
o.onEvent(e.TIME_OFF_POLICY_DETAILS_DONE, {
|
|
19
|
-
policyId: "mock-policy-id"
|
|
20
|
-
});
|
|
21
|
-
},
|
|
22
|
-
children: "Done"
|
|
23
|
-
}
|
|
24
|
-
),
|
|
25
|
-
/* @__PURE__ */ n(
|
|
26
|
-
"button",
|
|
27
|
-
{
|
|
28
|
-
onClick: () => {
|
|
29
|
-
o.onEvent(e.TIME_OFF_POLICY_CREATE_ERROR, {
|
|
30
|
-
alert: { type: "error", title: "Failed to create policy" }
|
|
31
|
-
});
|
|
32
|
-
},
|
|
33
|
-
children: "Simulate Error"
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ n(
|
|
37
|
-
"button",
|
|
38
|
-
{
|
|
39
|
-
onClick: () => {
|
|
40
|
-
o.onEvent(e.CANCEL);
|
|
41
|
-
},
|
|
42
|
-
children: "Cancel"
|
|
43
|
-
}
|
|
44
|
-
)
|
|
45
|
-
] }) });
|
|
46
|
-
}
|
|
47
|
-
export {
|
|
48
|
-
E as PolicyDetailsForm
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=PolicyDetailsForm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PolicyDetailsForm.js","sources":["../../../../src/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.tsx"],"sourcesContent":["import { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { componentEvents } from '@/shared/constants'\n\nexport interface PolicyDetailsFormProps extends BaseComponentInterface {\n companyId: string\n policyType: 'sick' | 'vacation'\n}\n\nexport function PolicyDetailsForm(props: PolicyDetailsFormProps) {\n return (\n <BaseComponent {...props}>\n <div>\n <p>\n Policy Details Form (type: {props.policyType}, companyId: {props.companyId})\n </p>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_POLICY_DETAILS_DONE, {\n policyId: 'mock-policy-id',\n })\n }}\n >\n Done\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_POLICY_CREATE_ERROR, {\n alert: { type: 'error', title: 'Failed to create policy' },\n })\n }}\n >\n Simulate Error\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.CANCEL)\n }}\n >\n Cancel\n </button>\n </div>\n </BaseComponent>\n )\n}\n"],"names":["PolicyDetailsForm","props","jsx","BaseComponent","jsxs","componentEvents"],"mappings":";;;;AAQO,SAASA,EAAkBC,GAA+B;AAC/D,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,4BAAC,OAAA,EACC,UAAA;AAAA,IAAA,gBAAAG,EAAC,KAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAC2BH,EAAM;AAAA,MAAW;AAAA,MAAcA,EAAM;AAAA,MAAU;AAAA,IAAA,GAC7E;AAAA,IACA,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,8BAA8B;AAAA,YAC1D,UAAU;AAAA,UAAA,CACX;AAAA,QACH;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,8BAA8B;AAAA,YAC1D,OAAO,EAAE,MAAM,SAAS,OAAO,0BAAA;AAAA,UAA0B,CAC1D;AAAA,QACH;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,MAAM;AAAA,QACtC;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,EAAA,CACF,EAAA,CACF;AAEJ;"}
|
package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { EmployeeTableItem, EmployeeTableProps } from './EmployeeTableTypes';
|
|
2
|
-
export declare function EmployeeTable<T extends EmployeeTableItem>({ data, label, additionalColumns, searchValue, onSearchChange, onSearchClear, searchPlaceholder, selectionMode, onSelect, isItemSelected, itemMenu, pagination, isFetching, emptyState, emptySearchState, footer, }: EmployeeTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* Makes a Zod validator conditionally required based on a boolean.
|
|
4
|
-
*
|
|
5
|
-
* When `isRequired` is true, returns the validator as-is (required by Zod's default).
|
|
6
|
-
* When false, wraps it with a preprocessor that converts empty values (`''` and `null`)
|
|
7
|
-
* to `undefined` and marks the field as optional. Both empty strings (text inputs) and
|
|
8
|
-
* `null` (date pickers, select controls) represent "no value" for optional fields.
|
|
9
|
-
*
|
|
10
|
-
* Uses `z.preprocess` (not `.transform().pipe()`) so the resulting schema
|
|
11
|
-
* remains compatible with `z.toJSONSchema()` for metadata derivation.
|
|
12
|
-
*/
|
|
13
|
-
export declare function requiredIf<T extends z.ZodType>(validator: T, isRequired: boolean): T | z.ZodType;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requiredIf.js","sources":["../../src/helpers/requiredIf.ts"],"sourcesContent":["import { z } from 'zod'\n\n/**\n * Makes a Zod validator conditionally required based on a boolean.\n *\n * When `isRequired` is true, returns the validator as-is (required by Zod's default).\n * When false, wraps it with a preprocessor that converts empty values (`''` and `null`)\n * to `undefined` and marks the field as optional. Both empty strings (text inputs) and\n * `null` (date pickers, select controls) represent \"no value\" for optional fields.\n *\n * Uses `z.preprocess` (not `.transform().pipe()`) so the resulting schema\n * remains compatible with `z.toJSONSchema()` for metadata derivation.\n */\nexport function requiredIf<T extends z.ZodType>(validator: T, isRequired: boolean): T | z.ZodType {\n if (isRequired) return validator\n return z.preprocess(v => (v === '' || v === null ? undefined : v), validator.optional())\n}\n"],"names":["requiredIf","validator","isRequired","z","v"],"mappings":";AAaO,SAASA,EAAgCC,GAAcC,GAAoC;AAChG,SAAIA,IAAmBD,IAChBE,EAAE,WAAW,CAAAC,MAAMA,MAAM,MAAMA,MAAM,OAAO,SAAYA,GAAIH,EAAU,SAAA,CAAU;AACzF;"}
|
|
File without changes
|
|
File without changes
|