@gusto/embedded-react-sdk 0.45.0 → 0.46.2
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 +64 -0
- package/dist/components/Common/DataView/DataCards/DataCards.d.ts +2 -1
- package/dist/components/Common/DataView/DataCards/DataCards.js +14 -13
- package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
- package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
- package/dist/components/Common/DataView/DataTable/DataTable.js +51 -50
- package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
- package/dist/components/Common/DataView/DataView.d.ts +1 -0
- package/dist/components/Common/DataView/DataView.js.map +1 -1
- package/dist/components/Common/DataView/useDataView.d.ts +8 -1
- package/dist/components/Common/DataView/useDataView.js +20 -17
- package/dist/components/Common/DataView/useDataView.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +20 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +20 -4
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +22 -6
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +20 -4
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +20 -4
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js +4 -4
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +28 -12
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +23 -7
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +20 -4
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +20 -4
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +20 -4
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +20 -4
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +20 -4
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Contractor/Address/useAddress.js +22 -6
- package/dist/components/Contractor/Address/useAddress.js.map +1 -1
- package/dist/components/Contractor/Profile/useContractorProfile.js +52 -42
- package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.d.ts +9 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js +76 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js.map +1 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js +8 -0
- package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.d.ts +11 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js +85 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.module.scss.js +8 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditCompensation/index.d.ts +3 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.d.ts +25 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +81 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +1 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js +8 -0
- package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js.map +1 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +18 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +171 -0
- package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js.map +1 -0
- package/dist/components/Employee/Compensation/management/index.d.ts +6 -0
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +6 -1
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js +67 -209
- package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +18 -0
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js +169 -0
- package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.d.ts +16 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js +36 -30
- package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +4 -4
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +212 -187
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +6 -6
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.d.ts +8 -0
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js +22 -17
- package/dist/components/Employee/Compensation/shared/useJobForm/jobSchema.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +12 -2
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +115 -110
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
- package/dist/components/Employee/Dashboard/BasicDetailsView.d.ts +8 -3
- package/dist/components/Employee/Dashboard/BasicDetailsView.js +108 -84
- package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.d.ts +2 -0
- package/dist/components/Employee/Dashboard/Dashboard.js +86 -68
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +8 -4
- package/dist/components/Employee/Dashboard/DashboardComponents.js +147 -93
- package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
- package/dist/components/Employee/Dashboard/DocumentsView.js +18 -11
- package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.js +304 -264
- package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
- package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js +10 -0
- package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js.map +1 -0
- package/dist/components/Employee/Dashboard/TaxesView.d.ts +7 -2
- package/dist/components/Employee/Dashboard/TaxesView.js +68 -54
- package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js +152 -142
- package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.d.ts +6 -0
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js +13 -12
- package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js.map +1 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +12 -5
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +21 -21
- package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +1 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +13 -3
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +53 -55
- package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +10 -4
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +10 -12
- package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +1 -1
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +10 -3
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +19 -14
- package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +1 -1
- package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js +8 -8
- package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js +4 -4
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +20 -4
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.js +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js +37 -40
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.js.map +1 -1
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -2
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +64 -71
- package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +2 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js +25 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +13 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js +37 -0
- package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.d.ts +6 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +69 -0
- package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -0
- package/dist/components/Employee/EmployeeListFlow/index.d.ts +3 -0
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js +15 -12
- package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.d.ts +2 -1
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +86 -83
- package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.js +1 -1
- package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/splitFieldFactory.js +4 -4
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js +8 -8
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +5 -5
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
- package/dist/components/Employee/Taxes/useTaxes.js +20 -4
- package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js +14 -11
- package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.d.ts +2 -1
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +92 -89
- package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
- package/dist/components/Employee/exports/employeeManagement.d.ts +2 -0
- package/dist/components/Employee/exports/employeeManagement.js +18 -16
- package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
- package/dist/components/Employee/index.d.ts +2 -0
- package/dist/components/Employee/index.js +32 -30
- package/dist/components/Employee/index.js.map +1 -1
- package/dist/components/Flow/FlowHeader.js +34 -31
- package/dist/components/Flow/FlowHeader.js.map +1 -1
- package/dist/components/Flow/useFlow.d.ts +12 -0
- package/dist/components/Flow/useFlow.js.map +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +34 -26
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +36 -22
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyList.js +92 -69
- package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +23 -23
- package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +52 -40
- package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js +73 -56
- package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +58 -58
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +91 -87
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +2 -0
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +91 -124
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +72 -87
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +1 -6
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +160 -220
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +7 -3
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +77 -54
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
- package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.test.d.ts +1 -0
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +12 -11
- package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +177 -147
- package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +38 -36
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +2 -0
- package/dist/i18n/en/Company.TimeOff.SelectEmployees.json.js +10 -10
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +17 -15
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -1
- package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +9 -9
- package/dist/i18n/en/Employee.Compensation.json.js +68 -56
- package/dist/i18n/en/Employee.Compensation.json.js.map +1 -1
- package/dist/i18n/en/Employee.Dashboard.json.js +26 -24
- package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -1
- package/dist/i18n/en/Employee.DocumentManager.json.js +1 -1
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js +12 -10
- package/dist/i18n/en/Employee.HomeAddress.Management.json.js.map +1 -1
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +32 -30
- package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -1
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js +16 -14
- package/dist/i18n/en/Employee.WorkAddress.Management.json.js.map +1 -1
- package/dist/i18n/en/common.json.d.ts +21 -0
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js +33 -32
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/partner-hook-utils/types.d.ts +4 -0
- package/dist/shared/constants.d.ts +4 -0
- package/dist/shared/constants.js +20 -18
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +45 -11
- package/docs/reference/endpoint-inventory.json +24 -8
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "Manage home address", t = "An employee's home address is used to calculate their taxes and determine eligibility for certain benefits. Make sure to keep it up-to-date.", s = "Open address row actions", a = "Edit", n = "Delete", o = "Current home address", d = "Since {{date}}", i = "Edit", r = "Change address", c = "Change pending", l = "This employee's", h = "{{possessiveLabel}} home address will change to {{newAddress}} on {{effectiveDate}}.", m = "Home address history", p = "No address history yet", u = "Once this employee has had more than one home address, their previous addresses will appear in this list.", g = { address: "Address", startDate: "Start date", endDate: "End date" }, y = "Edit home address", f = "Update this employee's current home address. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", D = "Add a new home address", w = "Enter the new address and when it takes effect. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", T = "The date the employee started living at this address.",
|
|
1
|
+
const e = "Manage home address", t = "An employee's home address is used to calculate their taxes and determine eligibility for certain benefits. Make sure to keep it up-to-date.", s = "Open address row actions", a = "Edit", n = "Delete", o = "Current home address", d = "Since {{date}}", i = "Edit", r = "Change address", c = "Change pending", l = "This employee's", h = "{{possessiveLabel}} home address will change to {{newAddress}} on {{effectiveDate}}.", m = "Home address history", p = "No address history yet", u = "Once this employee has had more than one home address, their previous addresses will appear in this list.", g = { address: "Address", startDate: "Start date", endDate: "End date" }, y = "Edit home address", f = "Update this employee's current home address. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", D = "Add a new home address", w = "Enter the new address and when it takes effect. This information is used for payroll, benefits, and HR, so please make sure it's accurate.", T = "The date the employee started living at this address.", b = "Save", C = "Cancel", M = "Back", E = "Delete address?", k = "Deleting an address can't be undone. <strong>{{address}}</strong> will be deleted. This can have implications on your tax calculations & withholdings.", v = "Delete address", S = { startDateRequired: "Start date is required" }, A = {
|
|
2
2
|
title: e,
|
|
3
3
|
description: t,
|
|
4
4
|
rowMenuAriaLabel: s,
|
|
@@ -20,15 +20,17 @@ const e = "Manage home address", t = "An employee's home address is used to calc
|
|
|
20
20
|
createModalTitle: D,
|
|
21
21
|
createModalDescription: w,
|
|
22
22
|
startDateHelper: T,
|
|
23
|
-
submitCta:
|
|
24
|
-
cancelCta:
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
submitCta: b,
|
|
24
|
+
cancelCta: C,
|
|
25
|
+
backCta: M,
|
|
26
|
+
deleteModalTitle: E,
|
|
27
|
+
deleteModalDescription: k,
|
|
27
28
|
deleteModalConfirmCta: v,
|
|
28
29
|
form: S
|
|
29
30
|
};
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
M as backCta,
|
|
33
|
+
C as cancelCta,
|
|
32
34
|
r as changeCta,
|
|
33
35
|
h as changePendingDescription,
|
|
34
36
|
l as changePendingPossessiveFallback,
|
|
@@ -38,10 +40,10 @@ export {
|
|
|
38
40
|
D as createModalTitle,
|
|
39
41
|
o as currentSectionTitle,
|
|
40
42
|
d as currentSince,
|
|
41
|
-
|
|
43
|
+
A as default,
|
|
42
44
|
v as deleteModalConfirmCta,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
k as deleteModalDescription,
|
|
46
|
+
E as deleteModalTitle,
|
|
45
47
|
t as description,
|
|
46
48
|
i as editCta,
|
|
47
49
|
f as editModalDescription,
|
|
@@ -54,7 +56,7 @@ export {
|
|
|
54
56
|
a as rowEdit,
|
|
55
57
|
s as rowMenuAriaLabel,
|
|
56
58
|
T as startDateHelper,
|
|
57
|
-
|
|
59
|
+
b as submitCta,
|
|
58
60
|
e as title
|
|
59
61
|
};
|
|
60
62
|
//# sourceMappingURL=Employee.HomeAddress.Management.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.HomeAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.HomeAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
const e = "Employees", t = "Add employee", o = "Employee status tabs",
|
|
1
|
+
const e = "Employees", t = "Add employee", o = "Back to employees", a = "Employee status tabs", s = { active: "Active", onboarding: "Onboarding", dismissed: "Dismissed" }, n = "Employee name", i = "Job title", l = "Start date", c = "Status", m = "Last day", r = "Edit employee", p = "Dismiss employee", d = "Cancel onboarding", y = "Rehire employee", b = "Employee actions menu", h = "List of employees", L = { active: { title: "There are no active employees", description: "Employees who have completed onboarding will appear here" }, onboarding: { title: "There are no employees onboarding", description: "Employees currently being onboarded will appear here" }, dismissed: { title: "There are no dismissed employees", description: "Terminated employees will appear here" } }, g = { title: "Cancel employee onboarding?", description: "This will permanently delete this employee from your account. This action cannot be undone.", confirmCta: "Delete employee", cancelCta: "Cancel" }, C = {
|
|
2
2
|
title: e,
|
|
3
3
|
addEmployeeCta: t,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
backToListCta: o,
|
|
5
|
+
tabsLabel: a,
|
|
6
|
+
tabs: s,
|
|
7
|
+
nameLabel: n,
|
|
8
|
+
jobTitleLabel: i,
|
|
9
|
+
startDateLabel: l,
|
|
10
|
+
statusLabel: c,
|
|
11
|
+
lastDayLabel: m,
|
|
12
|
+
editCta: r,
|
|
13
|
+
dismissCta: p,
|
|
14
|
+
cancelCta: d,
|
|
15
|
+
rehireCta: y,
|
|
16
|
+
hamburgerTitle: b,
|
|
17
|
+
employeeListLabel: h,
|
|
18
|
+
emptyState: L,
|
|
18
19
|
deleteDialog: g
|
|
19
20
|
};
|
|
20
21
|
export {
|
|
21
22
|
t as addEmployeeCta,
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
o as backToListCta,
|
|
24
|
+
d as cancelCta,
|
|
25
|
+
C as default,
|
|
24
26
|
g as deleteDialog,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
p as dismissCta,
|
|
28
|
+
r as editCta,
|
|
29
|
+
h as employeeListLabel,
|
|
30
|
+
L as emptyState,
|
|
31
|
+
b as hamburgerTitle,
|
|
32
|
+
i as jobTitleLabel,
|
|
33
|
+
m as lastDayLabel,
|
|
34
|
+
n as nameLabel,
|
|
35
|
+
y as rehireCta,
|
|
36
|
+
l as startDateLabel,
|
|
37
|
+
c as statusLabel,
|
|
38
|
+
s as tabs,
|
|
39
|
+
a as tabsLabel,
|
|
38
40
|
e as title
|
|
39
41
|
};
|
|
40
42
|
//# sourceMappingURL=Employee.ManagementEmployeeList.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.ManagementEmployeeList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.ManagementEmployeeList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "Work address", t = "An employee's work address is the primary location where they perform their job. Keep it accurate for payroll and tax purposes.", o = "Open work address row actions", s = "Edit", a = "Delete", n = "Current work address", r = "Since {{date}}", d = "No work address on file.", i = "Edit", c = "Change address", l = "Change pending", h = "This employee's", p = "{{possessiveLabel}} work address will change to {{newAddress}} on {{effectiveDate}}.", w = "Work address history",
|
|
1
|
+
const e = "Work address", t = "An employee's work address is the primary location where they perform their job. Keep it accurate for payroll and tax purposes.", o = "Open work address row actions", s = "Edit", a = "Delete", n = "Current work address", r = "Since {{date}}", d = "No work address on file.", i = "Edit", c = "Change address", l = "Change pending", h = "This employee's", p = "{{possessiveLabel}} work address will change to {{newAddress}} on {{effectiveDate}}.", w = "Work address history", k = "No address history yet", u = "When this employee has more than one work address on record, previous locations will appear here.", y = { location: "Location", startDate: "Start date", endDate: "End date" }, m = "Review or update the work location on file. This information is used for payroll, benefits, and HR, so keep it accurate.", f = "This information is used for payroll, benefits, and HR, so please make sure it's accurate.", g = "Editing a work address can have implications on your tax calculations & withholdings.", D = "Edit work address", b = "Change work address", C = { editLocationLabel: "Work address", editInactiveLocationLabel: "Corrected work address", editLocationDescription: "If you don't see the address in the dropdown, you need to add a new company location first.", newWorkAddressLabel: "New work address", newWorkAddressDescription: "If you don't see the address in the dropdown, you need to add a new company location first.", selectPlaceholder: "Select a work address...", locationRequired: "Select a work location", startDateLabel: "Start date", startDateDescription: "When did the employee start working at this address", editInactiveStartDateDescription: "The date this work address took effect for this employee.", startDateRequired: "Start date is required" }, T = "Submit", S = "Cancel", E = "Back", L = "Delete address?", v = "Deleting an address can't be undone. <strong>{{address}}</strong> will be removed from history.", M = "Delete address", A = {
|
|
2
2
|
title: e,
|
|
3
3
|
description: t,
|
|
4
4
|
rowMenuAriaLabel: o,
|
|
@@ -13,9 +13,9 @@ const e = "Work address", t = "An employee's work address is the primary locatio
|
|
|
13
13
|
changePendingPossessiveFallback: h,
|
|
14
14
|
changePendingDescription: p,
|
|
15
15
|
historySectionTitle: w,
|
|
16
|
-
historyEmptyTitle:
|
|
17
|
-
historyEmptyDescription:
|
|
18
|
-
columns:
|
|
16
|
+
historyEmptyTitle: k,
|
|
17
|
+
historyEmptyDescription: u,
|
|
18
|
+
columns: y,
|
|
19
19
|
editModalDescription: m,
|
|
20
20
|
changeModalDescription: f,
|
|
21
21
|
editPastAddressAlertTitle: g,
|
|
@@ -24,11 +24,13 @@ const e = "Work address", t = "An employee's work address is the primary locatio
|
|
|
24
24
|
form: C,
|
|
25
25
|
submitCta: T,
|
|
26
26
|
cancelCta: S,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
backCta: E,
|
|
28
|
+
deleteModalTitle: L,
|
|
29
|
+
deleteModalDescription: v,
|
|
30
|
+
deleteModalConfirmCta: M
|
|
30
31
|
};
|
|
31
32
|
export {
|
|
33
|
+
E as backCta,
|
|
32
34
|
S as cancelCta,
|
|
33
35
|
c as changeCta,
|
|
34
36
|
f as changeModalDescription,
|
|
@@ -36,22 +38,22 @@ export {
|
|
|
36
38
|
p as changePendingDescription,
|
|
37
39
|
h as changePendingPossessiveFallback,
|
|
38
40
|
l as changePendingTitle,
|
|
39
|
-
|
|
41
|
+
y as columns,
|
|
40
42
|
d as currentEmpty,
|
|
41
43
|
n as currentSectionTitle,
|
|
42
44
|
r as currentSince,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
A as default,
|
|
46
|
+
M as deleteModalConfirmCta,
|
|
47
|
+
v as deleteModalDescription,
|
|
48
|
+
L as deleteModalTitle,
|
|
47
49
|
t as description,
|
|
48
50
|
i as editCta,
|
|
49
51
|
m as editModalDescription,
|
|
50
52
|
D as editModalTitle,
|
|
51
53
|
g as editPastAddressAlertTitle,
|
|
52
54
|
C as form,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
+
u as historyEmptyDescription,
|
|
56
|
+
k as historyEmptyTitle,
|
|
55
57
|
w as historySectionTitle,
|
|
56
58
|
a as rowDelete,
|
|
57
59
|
s as rowEdit,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.WorkAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.WorkAddress.Management.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -85,6 +85,27 @@ declare const _default: {
|
|
|
85
85
|
"yearly": "{{amount}} per year",
|
|
86
86
|
"paycheck": "{{amount}} per paycheck"
|
|
87
87
|
},
|
|
88
|
+
"compensationRateFormats": {
|
|
89
|
+
"hourly": "{{amount}} per hour",
|
|
90
|
+
"weekly": "{{amount}} per week",
|
|
91
|
+
"monthly": "{{amount}} per month",
|
|
92
|
+
"yearly": "{{amount}} per year",
|
|
93
|
+
"paycheck": "{{amount}} per paycheck"
|
|
94
|
+
},
|
|
95
|
+
"compensationRateFormats": {
|
|
96
|
+
"hourly": "{{amount}} per hour",
|
|
97
|
+
"weekly": "{{amount}} per week",
|
|
98
|
+
"monthly": "{{amount}} per month",
|
|
99
|
+
"yearly": "{{amount}} per year",
|
|
100
|
+
"paycheck": "{{amount}} per paycheck"
|
|
101
|
+
},
|
|
102
|
+
"compensationRateFormats": {
|
|
103
|
+
"hourly": "{{amount}} per hour",
|
|
104
|
+
"weekly": "{{amount}} per week",
|
|
105
|
+
"monthly": "{{amount}} per month",
|
|
106
|
+
"yearly": "{{amount}} per year",
|
|
107
|
+
"paycheck": "{{amount}} per paycheck"
|
|
108
|
+
},
|
|
88
109
|
"validations": {
|
|
89
110
|
"accountName": "Account name is required",
|
|
90
111
|
"routingNumber": "Routing number should be a number (9 digits)",
|
|
@@ -1,44 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useHookFieldResolution as
|
|
3
|
-
import { withFieldElementRegistry as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useHookFieldResolution as x } from "../useHookFieldResolution.js";
|
|
3
|
+
import { withFieldElementRegistry as R } from "./withFieldElementRegistry.js";
|
|
4
|
+
import { normalizeToDate as t } from "../../../helpers/dateFormatting.js";
|
|
5
|
+
import { DatePickerField as k } from "../../../components/Common/Fields/DatePickerField/DatePickerField.js";
|
|
6
|
+
function y({
|
|
7
|
+
name: i,
|
|
8
|
+
formHookResult: o,
|
|
9
|
+
label: r,
|
|
10
|
+
description: a,
|
|
11
|
+
validationMessages: m,
|
|
11
12
|
FieldComponent: d,
|
|
12
|
-
portalContainer:
|
|
13
|
-
minDate:
|
|
14
|
-
maxDate:
|
|
13
|
+
portalContainer: s,
|
|
14
|
+
minDate: l,
|
|
15
|
+
maxDate: n
|
|
15
16
|
}) {
|
|
16
|
-
const { metadata:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
),
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
17
|
+
const { metadata: D, control: f, errorMessage: c, fieldElementRegistry: p } = x(
|
|
18
|
+
i,
|
|
19
|
+
o,
|
|
20
|
+
m
|
|
21
|
+
), e = D[i];
|
|
22
|
+
return R(
|
|
23
|
+
p,
|
|
24
|
+
/* @__PURE__ */ u(
|
|
25
|
+
k,
|
|
25
26
|
{
|
|
26
|
-
name:
|
|
27
|
-
control:
|
|
28
|
-
label:
|
|
29
|
-
description:
|
|
27
|
+
name: i,
|
|
28
|
+
control: f,
|
|
29
|
+
label: r,
|
|
30
|
+
description: a,
|
|
30
31
|
errorMessage: c,
|
|
31
|
-
isRequired:
|
|
32
|
-
isDisabled:
|
|
32
|
+
isRequired: e?.isRequired,
|
|
33
|
+
isDisabled: e?.isDisabled,
|
|
33
34
|
FieldComponent: d,
|
|
34
|
-
portalContainer:
|
|
35
|
-
minDate:
|
|
36
|
-
maxDate:
|
|
35
|
+
portalContainer: s,
|
|
36
|
+
minDate: l ?? (e?.minDate ? t(e.minDate) ?? void 0 : void 0),
|
|
37
|
+
maxDate: n ?? (e?.maxDate ? t(e.maxDate) ?? void 0 : void 0)
|
|
37
38
|
}
|
|
38
39
|
)
|
|
39
40
|
);
|
|
40
41
|
}
|
|
41
42
|
export {
|
|
42
|
-
|
|
43
|
+
y as DatePickerHookField
|
|
43
44
|
};
|
|
44
45
|
//# sourceMappingURL=DatePickerHookField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerHookField.js","sources":["../../../../src/partner-hook-utils/form/fields/DatePickerHookField.tsx"],"sourcesContent":["import type { ComponentType } from 'react'\nimport { useHookFieldResolution } from '../useHookFieldResolution'\nimport type { BaseFieldProps, ValidationMessages, FormHookResult } from '../../types'\nimport { withFieldElementRegistry } from './withFieldElementRegistry'\nimport { DatePickerField } from '@/components/Common/Fields/DatePickerField'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\n\nexport interface DatePickerHookFieldProps<TErrorCode extends string = never>\n extends BaseFieldProps, Pick<DatePickerProps, 'portalContainer' | 'minDate' | 'maxDate'> {\n name: string\n formHookResult?: FormHookResult\n validationMessages?: ValidationMessages<TErrorCode>\n FieldComponent?: ComponentType<DatePickerProps>\n /** When used inside a modal, pass the modal backdrop ref's element so the calendar popover stacks correctly. */\n portalContainer?: DatePickerProps['portalContainer']\n}\n\nexport function DatePickerHookField<TErrorCode extends string>({\n name,\n formHookResult,\n label,\n description,\n validationMessages,\n FieldComponent,\n portalContainer,\n minDate,\n maxDate,\n}: DatePickerHookFieldProps<TErrorCode>) {\n const { metadata, control, errorMessage, fieldElementRegistry } = useHookFieldResolution(\n name,\n formHookResult,\n validationMessages,\n )\n const fieldMetadata = metadata[name]\n\n return withFieldElementRegistry(\n fieldElementRegistry,\n <DatePickerField\n name={name}\n control={control}\n label={label}\n description={description}\n errorMessage={errorMessage}\n isRequired={fieldMetadata?.isRequired}\n isDisabled={fieldMetadata?.isDisabled}\n FieldComponent={FieldComponent}\n portalContainer={portalContainer}\n minDate={minDate}\n maxDate={maxDate}\n />,\n )\n}\n"],"names":["DatePickerHookField","name","formHookResult","label","description","validationMessages","FieldComponent","portalContainer","minDate","maxDate","metadata","control","errorMessage","fieldElementRegistry","useHookFieldResolution","fieldMetadata","withFieldElementRegistry","jsx","DatePickerField"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePickerHookField.js","sources":["../../../../src/partner-hook-utils/form/fields/DatePickerHookField.tsx"],"sourcesContent":["import type { ComponentType } from 'react'\nimport { useHookFieldResolution } from '../useHookFieldResolution'\nimport type { BaseFieldProps, ValidationMessages, FormHookResult } from '../../types'\nimport { withFieldElementRegistry } from './withFieldElementRegistry'\nimport { DatePickerField } from '@/components/Common/Fields/DatePickerField'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport { normalizeToDate } from '@/helpers/dateFormatting'\n\nexport interface DatePickerHookFieldProps<TErrorCode extends string = never>\n extends BaseFieldProps, Pick<DatePickerProps, 'portalContainer' | 'minDate' | 'maxDate'> {\n name: string\n formHookResult?: FormHookResult\n validationMessages?: ValidationMessages<TErrorCode>\n FieldComponent?: ComponentType<DatePickerProps>\n /** When used inside a modal, pass the modal backdrop ref's element so the calendar popover stacks correctly. */\n portalContainer?: DatePickerProps['portalContainer']\n}\n\nexport function DatePickerHookField<TErrorCode extends string>({\n name,\n formHookResult,\n label,\n description,\n validationMessages,\n FieldComponent,\n portalContainer,\n minDate,\n maxDate,\n}: DatePickerHookFieldProps<TErrorCode>) {\n const { metadata, control, errorMessage, fieldElementRegistry } = useHookFieldResolution(\n name,\n formHookResult,\n validationMessages,\n )\n const fieldMetadata = metadata[name]\n\n return withFieldElementRegistry(\n fieldElementRegistry,\n <DatePickerField\n name={name}\n control={control}\n label={label}\n description={description}\n errorMessage={errorMessage}\n isRequired={fieldMetadata?.isRequired}\n isDisabled={fieldMetadata?.isDisabled}\n FieldComponent={FieldComponent}\n portalContainer={portalContainer}\n minDate={\n minDate ??\n (fieldMetadata?.minDate ? (normalizeToDate(fieldMetadata.minDate) ?? undefined) : undefined)\n }\n maxDate={\n maxDate ??\n (fieldMetadata?.maxDate ? (normalizeToDate(fieldMetadata.maxDate) ?? undefined) : undefined)\n }\n />,\n )\n}\n"],"names":["DatePickerHookField","name","formHookResult","label","description","validationMessages","FieldComponent","portalContainer","minDate","maxDate","metadata","control","errorMessage","fieldElementRegistry","useHookFieldResolution","fieldMetadata","withFieldElementRegistry","jsx","DatePickerField","normalizeToDate"],"mappings":";;;;;AAkBO,SAASA,EAA+C;AAAA,EAC7D,MAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,OAAAC;AAAA,EACA,aAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,SAAAC;AAAA,EACA,SAAAC;AACF,GAAyC;AACvC,QAAM,EAAE,UAAAC,GAAU,SAAAC,GAAS,cAAAC,GAAc,sBAAAC,MAAyBC;AAAA,IAChEb;AAAA,IACAC;AAAA,IACAG;AAAA,EAAA,GAEIU,IAAgBL,EAAST,CAAI;AAEnC,SAAOe;AAAA,IACLH;AAAA,IACA,gBAAAI;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAAjB;AAAA,QACA,SAAAU;AAAA,QACA,OAAAR;AAAA,QACA,aAAAC;AAAA,QACA,cAAAQ;AAAA,QACA,YAAYG,GAAe;AAAA,QAC3B,YAAYA,GAAe;AAAA,QAC3B,gBAAAT;AAAA,QACA,iBAAAC;AAAA,QACA,SACEC,MACCO,GAAe,UAAWI,EAAgBJ,EAAc,OAAO,KAAK,SAAa;AAAA,QAEpF,SACEN,MACCM,GAAe,UAAWI,EAAgBJ,EAAc,OAAO,KAAK,SAAa;AAAA,MAAA;AAAA,IAAA;AAAA,EAEtF;AAEJ;"}
|
|
@@ -7,6 +7,10 @@ export interface FieldMetadata {
|
|
|
7
7
|
isRequired?: boolean;
|
|
8
8
|
isDisabled?: boolean;
|
|
9
9
|
hasRedactedValue?: boolean;
|
|
10
|
+
/** ISO date string lower bound for date picker fields. Set by hooks; consumed by DatePickerHookField. */
|
|
11
|
+
minDate?: string | null;
|
|
12
|
+
/** ISO date string upper bound for date picker fields. Set by hooks; consumed by DatePickerHookField. */
|
|
13
|
+
maxDate?: string | null;
|
|
10
14
|
}
|
|
11
15
|
export interface FieldMetadataWithOptions<TEntry = unknown> extends FieldMetadata {
|
|
12
16
|
options: Array<{
|
|
@@ -68,6 +68,8 @@ export declare const employeeEvents: {
|
|
|
68
68
|
readonly EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated";
|
|
69
69
|
readonly EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done";
|
|
70
70
|
readonly EMPLOYEE_REHIRE: "employee/rehire";
|
|
71
|
+
readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange";
|
|
72
|
+
readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList";
|
|
71
73
|
};
|
|
72
74
|
export declare const companyEvents: {
|
|
73
75
|
readonly COMPANY_INDUSTRY: "company/industry";
|
|
@@ -473,6 +475,8 @@ export declare const componentEvents: {
|
|
|
473
475
|
readonly EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated";
|
|
474
476
|
readonly EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done";
|
|
475
477
|
readonly EMPLOYEE_REHIRE: "employee/rehire";
|
|
478
|
+
readonly EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange";
|
|
479
|
+
readonly EMPLOYEE_RETURN_TO_LIST: "employee/returnToList";
|
|
476
480
|
readonly ROBOT_MACHINE_DONE: "done";
|
|
477
481
|
readonly ERROR: "ERROR";
|
|
478
482
|
readonly CANCEL: "CANCEL";
|
package/dist/shared/constants.js
CHANGED
|
@@ -69,7 +69,9 @@ const t = {
|
|
|
69
69
|
EMPLOYEE_CHANGE_ELIGIBILITY_STATUS: "employee/employmentEligibility/change",
|
|
70
70
|
EMPLOYEE_ONBOARDING_DOCUMENTS_CONFIG_UPDATED: "employee/onboardingDocumentsConfig/updated",
|
|
71
71
|
EMPLOYEE_DOCUMENTS_DONE: "employee/documents/done",
|
|
72
|
-
EMPLOYEE_REHIRE: "employee/rehire"
|
|
72
|
+
EMPLOYEE_REHIRE: "employee/rehire",
|
|
73
|
+
EMPLOYEE_DASHBOARD_TAB_CHANGE: "employee/dashboard/tabChange",
|
|
74
|
+
EMPLOYEE_RETURN_TO_LIST: "employee/returnToList"
|
|
73
75
|
}, A = {
|
|
74
76
|
COMPANY_INDUSTRY: "company/industry",
|
|
75
77
|
COMPANY_INDUSTRY_SELECTED: "company/industry/selected",
|
|
@@ -104,7 +106,7 @@ const t = {
|
|
|
104
106
|
COMPANY_STATE_TAX_EDIT: "company/stateTaxes/edit",
|
|
105
107
|
COMPANY_OVERVIEW_DONE: "company/overview/done",
|
|
106
108
|
COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"
|
|
107
|
-
},
|
|
109
|
+
}, T = {
|
|
108
110
|
CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated",
|
|
109
111
|
CONTRACTOR_ADDRESS_DONE: "contractor/address/done",
|
|
110
112
|
CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated",
|
|
@@ -122,7 +124,7 @@ const t = {
|
|
|
122
124
|
CONTRACTOR_ONBOARDING_STATUS_UPDATED: "contractor/onboardingStatus/updated",
|
|
123
125
|
CONTRACTOR_INVITE_CONTRACTOR: "contractor/invite/selfOnboarding",
|
|
124
126
|
CONTRACTOR_ONBOARDING_CONTINUE: "contractor/onboarding/continue"
|
|
125
|
-
},
|
|
127
|
+
}, n = {
|
|
126
128
|
CONTRACTOR_PAYMENT_CREATE: "contractor/payments/create",
|
|
127
129
|
CONTRACTOR_PAYMENT_EDIT: "contractor/payments/edit",
|
|
128
130
|
CONTRACTOR_PAYMENT_UPDATE: "contractor/payments/update",
|
|
@@ -193,12 +195,12 @@ const t = {
|
|
|
193
195
|
PAYROLL_WIRE_INSTRUCTIONS_SELECT: "payroll/wire/instructions/select",
|
|
194
196
|
PAYROLL_WIRE_FORM_DONE: "payroll/wire/form/done",
|
|
195
197
|
PAYROLL_WIRE_FORM_CANCEL: "payroll/wire/form/cancel"
|
|
196
|
-
},
|
|
198
|
+
}, D = {
|
|
197
199
|
INFORMATION_REQUEST_RESPOND: "informationRequest/respond",
|
|
198
200
|
INFORMATION_REQUEST_FORM_SUBMIT: "informationRequest/form/submit",
|
|
199
201
|
INFORMATION_REQUEST_FORM_CANCEL: "informationRequest/form/cancel",
|
|
200
202
|
INFORMATION_REQUEST_FORM_DONE: "informationRequest/form/done"
|
|
201
|
-
},
|
|
203
|
+
}, I = {
|
|
202
204
|
RECOVERY_CASE_RESOLVE: "recoveryCase/resolve",
|
|
203
205
|
RECOVERY_CASE_RESUBMIT: "recoveryCase/resubmit",
|
|
204
206
|
RECOVERY_CASE_RESUBMIT_CANCEL: "recoveryCase/resubmit/cancel",
|
|
@@ -246,12 +248,12 @@ const t = {
|
|
|
246
248
|
...t,
|
|
247
249
|
...A,
|
|
248
250
|
...R,
|
|
249
|
-
...
|
|
251
|
+
...T,
|
|
250
252
|
...a,
|
|
251
253
|
...r,
|
|
252
|
-
...I,
|
|
253
254
|
...D,
|
|
254
|
-
...
|
|
255
|
+
...I,
|
|
256
|
+
...n,
|
|
255
257
|
...P,
|
|
256
258
|
...N,
|
|
257
259
|
...L
|
|
@@ -353,7 +355,7 @@ const t = {
|
|
|
353
355
|
CORPORATE_OFFICER: "corporate_officer",
|
|
354
356
|
PARTNER: "partner",
|
|
355
357
|
MEMBER: "member"
|
|
356
|
-
},
|
|
358
|
+
}, H = {
|
|
357
359
|
HOUR: "Hour",
|
|
358
360
|
WEEK: "Week",
|
|
359
361
|
MONTH: "Month",
|
|
@@ -364,12 +366,12 @@ const t = {
|
|
|
364
366
|
SMALL: "small",
|
|
365
367
|
MEDIUM: "medium",
|
|
366
368
|
LARGE: "large"
|
|
367
|
-
},
|
|
369
|
+
}, V = {
|
|
368
370
|
[O.BASE]: "0rem",
|
|
369
371
|
[O.SMALL]: "40rem",
|
|
370
372
|
[O.MEDIUM]: "48rem",
|
|
371
373
|
[O.LARGE]: "64rem"
|
|
372
|
-
},
|
|
374
|
+
}, v = {
|
|
373
375
|
check: "Check",
|
|
374
376
|
directDeposit: "Direct Deposit"
|
|
375
377
|
}, W = {
|
|
@@ -395,7 +397,7 @@ const t = {
|
|
|
395
397
|
], Z = ["AK", "CA", "MN", "NV", "OR", "WA"];
|
|
396
398
|
export {
|
|
397
399
|
O as BREAKPOINTS,
|
|
398
|
-
|
|
400
|
+
V as BREAKPOINTS_VALUES,
|
|
399
401
|
K as COMPENSATION_NAME_BONUS,
|
|
400
402
|
J as COMPENSATION_NAME_CASH_TIPS,
|
|
401
403
|
X as COMPENSATION_NAME_COMMISSION,
|
|
@@ -420,10 +422,10 @@ export {
|
|
|
420
422
|
b as I9_FORM_NAME,
|
|
421
423
|
l as MIN_WAGE_ADJUST,
|
|
422
424
|
s as OWNERS_DRAW,
|
|
423
|
-
|
|
425
|
+
v as PAYMENT_METHODS,
|
|
424
426
|
q as PAYROLL_PROCESSING_STATUS,
|
|
425
427
|
Q as PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES,
|
|
426
|
-
|
|
428
|
+
H as PAY_PERIODS,
|
|
427
429
|
G as SIGNATORY_TITLES,
|
|
428
430
|
W as SPLIT_BY,
|
|
429
431
|
g as STATES_ABBR,
|
|
@@ -431,14 +433,14 @@ export {
|
|
|
431
433
|
A as companyEvents,
|
|
432
434
|
U as compensationTypeLabels,
|
|
433
435
|
m as componentEvents,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
+
T as contractorEvents,
|
|
437
|
+
n as contractorPaymentEvents,
|
|
436
438
|
t as employeeEvents,
|
|
437
|
-
|
|
439
|
+
D as informationRequestEvents,
|
|
438
440
|
P as offCycleEvents,
|
|
439
441
|
R as payScheduleEvents,
|
|
440
442
|
r as payrollWireEvents,
|
|
441
|
-
|
|
443
|
+
I as recoveryCasesEvents,
|
|
442
444
|
a as runPayrollEvents,
|
|
443
445
|
N as terminationEvents,
|
|
444
446
|
L as timeOffEvents
|