@gusto/embedded-react-sdk 0.37.0-rc.2 → 0.37.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
- package/dist/components/Company/PaySchedule/_parts/Edit.js +6 -6
- package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
- package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +16 -16
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +10 -10
- package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +10 -10
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +44 -46
- package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +25 -23
- package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +105 -106
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +54 -54
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +29 -27
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +60 -60
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +22 -20
- package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +143 -143
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +10 -10
- package/dist/components/Payroll/helpers.d.ts +1 -0
- package/dist/components/Payroll/helpers.js +71 -69
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +4 -4
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +86 -89
- package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +38 -34
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +62 -58
- package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
- package/dist/types/i18next.d.ts +4 -0
- package/package.json +4 -4
|
@@ -1,74 +1,78 @@
|
|
|
1
|
-
const e = "Submit", a = "Back", t = "Save and exit", o = "Review payroll", l = "Payroll summary", s = "{{payrollType}} payroll for <dateWrapper>{{startDate}} - {{endDate}}</dateWrapper>", n = "
|
|
1
|
+
const e = "Submit", a = "Back", t = "Save and exit", o = "Review payroll", l = "Payroll summary", s = "{{payrollType}} payroll for <dateWrapper>{{startDate}} - {{endDate}}</dateWrapper>", n = "{{payrollType}} payroll", i = "Submit", r = "Edit", y = "Cancel payroll", c = "Cancel {{startDate}} - {{endDate}} payroll?", p = "Cancel payroll?", d = "Any changes you have made to this payroll will be saved.", m = "Run this payroll by {{deadline}} to ensure your employees are paid on time.", u = " Yes, cancel payroll", b = "No, go back", h = "View payroll receipt", T = "Download paystub pdf", D = "Submitting payroll...", g = "This may take a minute or two. You can navigate away while this happens.", w = "Cancelling payroll...", f = "This payroll has been cancelled.", P = { payrollNotCalculated: "Payroll is not calculated", directDepositDeadline: "To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}", paystubPdfError: "There was an issue generating the paystub PDF. Please try again later.", checkPaymentWarning_one: "You noted {{count}} employee who should be paid by check.", checkPaymentWarning_other: "You noted {{count}} employees who should be paid by check.", checkPaymentWarningDescription: "Employees with this payment method will need their checks delivered to them.", payrollProcessedTitle: "Payroll submitted", payrollProcessedMessage: "{{amount}} will be debited on {{date}}. Make sure you have these funds available.", payrollProcessingFailedTitle: "There was an error submitting payroll", payrollProcessingFailedCtaLabel: "Recalculate payroll", wireDetailsSubmittedTitle: "Wire details submitted", wireDetailsSubmittedMessage: "Once we receive the funds from your bank we'll pay your team on {{checkDate}}" }, k = "Payroll Summary", x = "Payroll summary (Wire funds)", C = "Payroll summary (4-day direct deposit)", v = "Payroll summary table", S = { label: "Payroll details", companyPaysTab: "Company pays", companyPaysTable: "Company pays by employee", hoursWorkedTab: "Hours worked", hoursWorkedTable: "Hours worked by employee", employeeTakeHomeTab: "Employee take home", employeeTakeHomeTable: "Employee take home by employee", taxesTab: "Taxed and debited", taxesTable: "Taxes breakdown", debitedTable: "Debited totals by company" }, E = { totalPayroll: "Total payroll", debitAmount: "Debit amount", wireAmount: "Wire amount", wireTransferDeadline: "Wire transfer deadline", employees: "Employees", grossPay: "Gross Pay", reimbursements: "Reimbursements", debitAccount: "Debit account", debitDate: "Debit date", employeePayDate: "Employee pay date", companyTaxes: "Company taxes", companyBenefits: "Company benefits", companyPays: "Company pays", compensationType: "Compensation type", regular: "Regular", overtime: "Overtime (1.5x)", doubleOT: "Overtime (2x)", timeOff: "Paid time off", totalHours: "Total hours", paymentType: "Payment type", employeeTaxes: "Employee taxes", employeeBenefits: "Employee benefits", payment: "Payment", deductions: "Deductions", taxDescription: "Tax description", byYourEmployees: "By your employees", byYourCompany: "By your company", debitedByGusto: "Debited by Gusto", taxesTotal: "Total", paystub: "Paystub", footerTotalsLabel: "Totals", footerTotalsDescription: "All employees in this payroll" }, L = "Totals", W = "Direct deposits", _ = "Reimbursements", B = "Garnishments", F = "Taxes (Employees and Employers)", O = { exempt: "Salaried / Exempt", nonexempt: "Hourly / Nonexempt" }, Y = { genericBlockerTitle: "Submission blocked", genericBlockerMessage: "This payroll cannot be submitted. Please contact support for assistance.", fastAchOptions: { description: "Payroll can still be funded by selecting one of the options below. The selected funding method will only be used for this cycle and will not apply to future payroll.", fundingOptionsLabel: "Funding options", wireLabel: "Wire funds", wireFastestBadge: "Fastest", wireDescription: "Pay your employees on time by sending a wire transfer. We'll provide instructions on the next step.", directDepositLabel: "Switch to 4-day direct deposit", directDepositDescription: "Delay your employees pay date by four days and process using regular debits.", employeePayDate: "Employee pay date: {{date}}" }, fast_ach_threshold_exceeded: { title: "You have exceeded the limit at which you can process {{days}} payroll." }, needs_earned_access_for_fast_ach: { title: "You have not yet earned access to faster payroll." } }, H = {
|
|
2
2
|
breadcrumbLabel: e,
|
|
3
3
|
backCta: a,
|
|
4
4
|
exitFlowCta: t,
|
|
5
5
|
overviewTitle: o,
|
|
6
6
|
summaryTitle: l,
|
|
7
7
|
pageSubtitle: s,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
8
|
+
pageSubtitleDismissal: n,
|
|
9
|
+
submitCta: i,
|
|
10
|
+
editCta: r,
|
|
11
|
+
cancelCta: y,
|
|
12
|
+
cancelDialogTitle: c,
|
|
13
|
+
cancelDialogTitleDismissal: p,
|
|
14
|
+
cancelDialogDescription: d,
|
|
15
|
+
cancelDialogDescriptionDeadline: m,
|
|
16
|
+
confirmCancelCta: u,
|
|
17
|
+
declineCancelCta: b,
|
|
18
|
+
payrollReceiptCta: h,
|
|
19
|
+
downloadPaystubLabel: T,
|
|
20
|
+
loadingTitle: D,
|
|
21
|
+
loadingDescription: g,
|
|
22
|
+
cancellingTitle: w,
|
|
23
|
+
cancelledEmptyState: f,
|
|
24
|
+
alerts: P,
|
|
25
|
+
payrollSummaryTitle: k,
|
|
26
|
+
payrollSummaryTitleWire: x,
|
|
27
|
+
payrollSummaryTitleFourDay: C,
|
|
28
|
+
payrollSummaryLabel: v,
|
|
29
|
+
dataViews: S,
|
|
30
|
+
tableHeaders: E,
|
|
31
|
+
totalsLabel: L,
|
|
32
|
+
directDepositLabel: W,
|
|
33
|
+
reimbursementLabel: _,
|
|
34
|
+
garnishmentsLabel: B,
|
|
35
|
+
taxesLabel: F,
|
|
36
|
+
compensationTypeLabels: O,
|
|
37
|
+
submissionBlockers: Y
|
|
36
38
|
};
|
|
37
39
|
export {
|
|
38
|
-
|
|
40
|
+
P as alerts,
|
|
39
41
|
a as backCta,
|
|
40
42
|
e as breadcrumbLabel,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
43
|
+
y as cancelCta,
|
|
44
|
+
d as cancelDialogDescription,
|
|
45
|
+
m as cancelDialogDescriptionDeadline,
|
|
46
|
+
c as cancelDialogTitle,
|
|
47
|
+
p as cancelDialogTitleDismissal,
|
|
48
|
+
f as cancelledEmptyState,
|
|
49
|
+
w as cancellingTitle,
|
|
50
|
+
O as compensationTypeLabels,
|
|
51
|
+
u as confirmCancelCta,
|
|
52
|
+
S as dataViews,
|
|
53
|
+
b as declineCancelCta,
|
|
54
|
+
H as default,
|
|
55
|
+
W as directDepositLabel,
|
|
56
|
+
T as downloadPaystubLabel,
|
|
57
|
+
r as editCta,
|
|
55
58
|
t as exitFlowCta,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
B as garnishmentsLabel,
|
|
60
|
+
g as loadingDescription,
|
|
61
|
+
D as loadingTitle,
|
|
59
62
|
o as overviewTitle,
|
|
60
63
|
s as pageSubtitle,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
k as
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
n as pageSubtitleDismissal,
|
|
65
|
+
h as payrollReceiptCta,
|
|
66
|
+
v as payrollSummaryLabel,
|
|
67
|
+
k as payrollSummaryTitle,
|
|
68
|
+
C as payrollSummaryTitleFourDay,
|
|
69
|
+
x as payrollSummaryTitleWire,
|
|
70
|
+
_ as reimbursementLabel,
|
|
71
|
+
Y as submissionBlockers,
|
|
72
|
+
i as submitCta,
|
|
69
73
|
l as summaryTitle,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
E as tableHeaders,
|
|
75
|
+
F as taxesLabel,
|
|
76
|
+
L as totalsLabel
|
|
73
77
|
};
|
|
74
78
|
//# sourceMappingURL=Payroll.PayrollOverview.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payroll.PayrollOverview.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Payroll.PayrollOverview.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/types/i18next.d.ts
CHANGED
|
@@ -2324,7 +2324,9 @@ export interface PayrollPayrollBlocker{
|
|
|
2324
2324
|
export interface PayrollPayrollConfiguration{
|
|
2325
2325
|
"pageTitle":string;
|
|
2326
2326
|
"description":string;
|
|
2327
|
+
"descriptionDismissal":string;
|
|
2327
2328
|
"breadcrumbLabel":string;
|
|
2329
|
+
"breadcrumbLabelDismissal":string;
|
|
2328
2330
|
"exitFlowCta":string;
|
|
2329
2331
|
"calculatePayroll":string;
|
|
2330
2332
|
"calculatePayrollTitle":string;
|
|
@@ -2512,10 +2514,12 @@ export interface PayrollPayrollOverview{
|
|
|
2512
2514
|
"overviewTitle":string;
|
|
2513
2515
|
"summaryTitle":string;
|
|
2514
2516
|
"pageSubtitle":string;
|
|
2517
|
+
"pageSubtitleDismissal":string;
|
|
2515
2518
|
"submitCta":string;
|
|
2516
2519
|
"editCta":string;
|
|
2517
2520
|
"cancelCta":string;
|
|
2518
2521
|
"cancelDialogTitle":string;
|
|
2522
|
+
"cancelDialogTitleDismissal":string;
|
|
2519
2523
|
"cancelDialogDescription":string;
|
|
2520
2524
|
"cancelDialogDescriptionDeadline":string;
|
|
2521
2525
|
"confirmCancelCta":string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gusto/embedded-react-sdk",
|
|
3
|
-
"version": "0.37.0-rc.
|
|
3
|
+
"version": "0.37.0-rc.3",
|
|
4
4
|
"homepage": "https://github.com/Gusto/embedded-react-sdk",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/Gusto/embedded-react-sdk/issues"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"vite-plugin-dts": "^4.5.3",
|
|
132
132
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
133
133
|
"vite-plugin-stylelint": "^6.1.0",
|
|
134
|
-
"vite-plugin-svgr": "^
|
|
134
|
+
"vite-plugin-svgr": "^5.0.0",
|
|
135
135
|
"vitest": "^4.1.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
@@ -149,12 +149,12 @@
|
|
|
149
149
|
"classnames": "^2.5.1",
|
|
150
150
|
"deepmerge": "^4.3.1",
|
|
151
151
|
"dompurify": "^3.3.3",
|
|
152
|
-
"i18next": "^
|
|
152
|
+
"i18next": "^26.0.1",
|
|
153
153
|
"react-aria": "^3.44.0",
|
|
154
154
|
"react-aria-components": "1.13.0",
|
|
155
155
|
"react-error-boundary": "^6.1.1",
|
|
156
156
|
"react-hook-form": "^7.72.0",
|
|
157
|
-
"react-i18next": "^
|
|
157
|
+
"react-i18next": "^17.0.1",
|
|
158
158
|
"react-robot": "^1.2.1",
|
|
159
159
|
"robot3": "^1.2.0",
|
|
160
160
|
"zod": "^4.3.6"
|