@gusto/embedded-react-sdk 0.2.0 → 0.3.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 +7 -0
- package/README.md +27 -7
- package/dist/{B4MFY5CR-ywPOMS0V.js → B4MFY5CR-RHxbAGPw.js} +2 -2
- package/dist/{B4MFY5CR-ywPOMS0V.js.map → B4MFY5CR-RHxbAGPw.js.map} +1 -1
- package/dist/{Employee.Compensation-OoWTM-1y.js → Employee.Compensation-DuC80CPQ.js} +43 -39
- package/dist/Employee.Compensation-DuC80CPQ.js.map +1 -0
- package/dist/Employee.EmployeeList-BGB23n1N.js +40 -0
- package/dist/Employee.EmployeeList-BGB23n1N.js.map +1 -0
- package/dist/Employee.OnboardingSummary-CmxhPw5V.js +54 -0
- package/dist/Employee.OnboardingSummary-CmxhPw5V.js.map +1 -0
- package/dist/{HO4MOOFI-DGIpvOUi.js → HO4MOOFI-DBInOzFW.js} +3 -3
- package/dist/{HO4MOOFI-DGIpvOUi.js.map → HO4MOOFI-DBInOzFW.js.map} +1 -1
- package/dist/{HUY7CZI3-qCsnO8ul.js → HUY7CZI3-Cmo4LpRl.js} +3 -3
- package/dist/{HUY7CZI3-qCsnO8ul.js.map → HUY7CZI3-Cmo4LpRl.js.map} +1 -1
- package/dist/{index-X8BvPT33.js → index-BoRPBFU_.js} +11896 -11250
- package/dist/index-BoRPBFU_.js.map +1 -0
- package/dist/index.d.ts +182 -83
- package/dist/index.js +16 -15
- package/dist/style.css +1 -1
- package/package.json +5 -3
- package/dist/Employee.Compensation-OoWTM-1y.js.map +0 -1
- package/dist/Employee.EmployeeList-Bh2iUvGI.js +0 -36
- package/dist/Employee.EmployeeList-Bh2iUvGI.js.map +0 -1
- package/dist/Employee.OnboardingSummary-BLQS8GZz.js +0 -36
- package/dist/Employee.OnboardingSummary-BLQS8GZz.js.map +0 -1
- package/dist/index-X8BvPT33.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "+ Add another job", t = {
|
|
1
|
+
const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines whether the compensation should be adjusted for minimum wage. Only applies to Nonexempt employees.", a = {
|
|
2
2
|
actionColumn: "Action",
|
|
3
3
|
amountColumn: "Amount",
|
|
4
4
|
deleteCta: "Delete",
|
|
@@ -7,68 +7,72 @@ const e = "+ Add another job", t = {
|
|
|
7
7
|
perColumn: "Per",
|
|
8
8
|
tableLabel: "List of all jobs for the employee",
|
|
9
9
|
typeColumn: "Pay type"
|
|
10
|
-
},
|
|
10
|
+
}, i = "Compensation amount", n = "Back", s = "Cancel", l = "Cancel", m = '<classificationCta href="https://support.gusto.com/team-management/team-payments/pay-rates/1001671771/Employee-classification-options.htm" target="_blank">Learn more about employee classifications.</classificationCta>', c = "Employee type", r = {
|
|
11
11
|
"Commission Only Exempt": "Commission Only/No Overtime",
|
|
12
12
|
"Commission Only Nonexempt": "Commission Only/Eligible for overtime",
|
|
13
13
|
Exempt: "Salary/No overtime",
|
|
14
14
|
Nonexempt: "Paid by the hour",
|
|
15
15
|
Owner: "Owner's draw",
|
|
16
16
|
"Salaried Nonexempt": "Salary/Eligible for overtime"
|
|
17
|
-
},
|
|
17
|
+
}, p = "Job actions", u = "Job Title", d = "The period over which the compensation amount is tracked (e.g., hourly, daily, weekly, monthly, annually).", y = "Per", C = {
|
|
18
18
|
Hour: "Hour",
|
|
19
19
|
Month: "Month",
|
|
20
20
|
Paycheck: "Paycheck",
|
|
21
21
|
Week: "Week",
|
|
22
22
|
Year: "Year"
|
|
23
|
-
}, b = "Save job",
|
|
23
|
+
}, b = "Save job", h = "Continue", f = "Compensation", g = "Edit job", j = "Add job", w = {
|
|
24
24
|
classificationChangeNotification: "Changing this employee's classification will delete the employee's additional pay rates.",
|
|
25
25
|
exemptThreshold: "Most employees who make under {{limit}}/year should be eligible for overtime.",
|
|
26
26
|
paymentUnit: "Payment unit must be one of Hour, Week, Month, or Year",
|
|
27
27
|
rate: "Amount is a required field",
|
|
28
28
|
title: "Title is a required field"
|
|
29
|
-
},
|
|
29
|
+
}, T = {
|
|
30
30
|
addAnotherJobCta: e,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
31
|
+
adjustForMinimumWage: t,
|
|
32
|
+
adjustForMinimumWageDescription: o,
|
|
33
|
+
allCompensations: a,
|
|
34
|
+
amount: i,
|
|
35
|
+
backCta: n,
|
|
36
|
+
cancelCta: s,
|
|
37
|
+
cancelNewJobCta: l,
|
|
38
|
+
classificationCTA: m,
|
|
39
|
+
employeeClassification: c,
|
|
40
|
+
flsaStatusLabels: r,
|
|
41
|
+
hamburgerTitle: p,
|
|
42
|
+
jobTitle: u,
|
|
43
|
+
paymentUnitDescription: d,
|
|
42
44
|
paymentUnitLabel: y,
|
|
43
45
|
paymentUnitOptions: C,
|
|
44
46
|
saveNewJobCta: b,
|
|
45
|
-
submitCta:
|
|
46
|
-
title:
|
|
47
|
-
editTitle:
|
|
48
|
-
addTitle:
|
|
49
|
-
validations:
|
|
47
|
+
submitCta: h,
|
|
48
|
+
title: f,
|
|
49
|
+
editTitle: g,
|
|
50
|
+
addTitle: j,
|
|
51
|
+
validations: w
|
|
50
52
|
};
|
|
51
53
|
export {
|
|
52
54
|
e as addAnotherJobCta,
|
|
53
|
-
|
|
54
|
-
t as
|
|
55
|
-
o as
|
|
56
|
-
a as
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
s as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
c as
|
|
65
|
-
r as
|
|
66
|
-
p as
|
|
55
|
+
j as addTitle,
|
|
56
|
+
t as adjustForMinimumWage,
|
|
57
|
+
o as adjustForMinimumWageDescription,
|
|
58
|
+
a as allCompensations,
|
|
59
|
+
i as amount,
|
|
60
|
+
n as backCta,
|
|
61
|
+
s as cancelCta,
|
|
62
|
+
l as cancelNewJobCta,
|
|
63
|
+
m as classificationCTA,
|
|
64
|
+
T as default,
|
|
65
|
+
g as editTitle,
|
|
66
|
+
c as employeeClassification,
|
|
67
|
+
r as flsaStatusLabels,
|
|
68
|
+
p as hamburgerTitle,
|
|
69
|
+
u as jobTitle,
|
|
70
|
+
d as paymentUnitDescription,
|
|
67
71
|
y as paymentUnitLabel,
|
|
68
72
|
C as paymentUnitOptions,
|
|
69
73
|
b as saveNewJobCta,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
h as submitCta,
|
|
75
|
+
f as title,
|
|
76
|
+
w as validations
|
|
73
77
|
};
|
|
74
|
-
//# sourceMappingURL=Employee.Compensation-
|
|
78
|
+
//# sourceMappingURL=Employee.Compensation-DuC80CPQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Employee.Compensation-DuC80CPQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const e = "Actions", t = "Add an employee", a = "+ Add another employee", o = "Addresses", s = "Deductions", l = "Delete employee", n = "Edit employee", d = "Cancel self-onboarding", c = "Review", i = "List of current employees", m = "Once you’ve added employees they will appear here", r = "No employees", p = "Federal Taxes", y = "Employee actions menu", C = "Employee name", b = "Status", u = "Your employees", T = {
|
|
2
|
+
actionLabel: e,
|
|
3
|
+
addEmployeeCTA: t,
|
|
4
|
+
addAnotherCta: a,
|
|
5
|
+
addressesCta: o,
|
|
6
|
+
deductionsCta: s,
|
|
7
|
+
deleteCta: l,
|
|
8
|
+
editCta: n,
|
|
9
|
+
cancelSelfOnboardingCta: d,
|
|
10
|
+
reviewCta: c,
|
|
11
|
+
employeeListLabel: i,
|
|
12
|
+
emptyTableDescription: m,
|
|
13
|
+
emptyTableTitle: r,
|
|
14
|
+
federalTaxesCta: p,
|
|
15
|
+
hamburgerTitle: y,
|
|
16
|
+
nameLabel: C,
|
|
17
|
+
statusLabel: b,
|
|
18
|
+
title: u
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
e as actionLabel,
|
|
22
|
+
a as addAnotherCta,
|
|
23
|
+
t as addEmployeeCTA,
|
|
24
|
+
o as addressesCta,
|
|
25
|
+
d as cancelSelfOnboardingCta,
|
|
26
|
+
s as deductionsCta,
|
|
27
|
+
T as default,
|
|
28
|
+
l as deleteCta,
|
|
29
|
+
n as editCta,
|
|
30
|
+
i as employeeListLabel,
|
|
31
|
+
m as emptyTableDescription,
|
|
32
|
+
r as emptyTableTitle,
|
|
33
|
+
p as federalTaxesCta,
|
|
34
|
+
y as hamburgerTitle,
|
|
35
|
+
C as nameLabel,
|
|
36
|
+
c as reviewCta,
|
|
37
|
+
b as statusLabel,
|
|
38
|
+
u as title
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=Employee.EmployeeList-BGB23n1N.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Employee.EmployeeList-BGB23n1N.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const e = "Missing Requirements", t = "Please complete the following steps in order to continue.", i = "That's it! {{name}} is ready to get paid!", o = "We'll begin withholding and reporting their taxes.", s = "You've completed setup!", n = "Your account will now be reviewed by your company admin.", r = "Return to employees list", d = "Add another employee", a = "New Hire report", l = "Missing requirements", p = "Please complete the following steps in order to continue.", m = {
|
|
2
|
+
personal_details: "Personal details",
|
|
3
|
+
compensation_details: "Job and compensation",
|
|
4
|
+
add_work_address: "Work address",
|
|
5
|
+
add_home_address: "Home address",
|
|
6
|
+
federal_tax_setup: "Federal tax details",
|
|
7
|
+
state_tax_setup: "State tax details",
|
|
8
|
+
direct_deposit_setup: "Payment method",
|
|
9
|
+
employee_form_signing: "Employee form signing",
|
|
10
|
+
file_new_hire_report: "File new hire report",
|
|
11
|
+
admin_review: "Admin review"
|
|
12
|
+
}, c = {
|
|
13
|
+
personal_details: "Basic employee information and their home address.",
|
|
14
|
+
compensation_details: " What the employee’s role(s) will be and their compensation.",
|
|
15
|
+
add_work_address: "Work address",
|
|
16
|
+
add_home_address: "Home address",
|
|
17
|
+
federal_tax_setup: "Federal tax withholdings.",
|
|
18
|
+
state_tax_setup: "State tax withholdings",
|
|
19
|
+
direct_deposit_setup: "How the employee will be paid.",
|
|
20
|
+
employee_form_signing: "Documents requering employee signature",
|
|
21
|
+
file_new_hire_report: "Indicate if new hire report needs to be filed",
|
|
22
|
+
admin_review: "Admin review"
|
|
23
|
+
}, _ = {
|
|
24
|
+
subTitle: e,
|
|
25
|
+
description: t,
|
|
26
|
+
onboardedAdminSubtitle: i,
|
|
27
|
+
onboardedAdminDescription: o,
|
|
28
|
+
onboardedSelfSubtitle: s,
|
|
29
|
+
onboardedSelfDescription: n,
|
|
30
|
+
returnToEmployeeListCta: r,
|
|
31
|
+
addAnotherCta: d,
|
|
32
|
+
newHireReportCta: a,
|
|
33
|
+
missingRequirementsSubtitle: l,
|
|
34
|
+
missingRequirementsDescription: p,
|
|
35
|
+
steps: m,
|
|
36
|
+
stepsDescriptions: c
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
d as addAnotherCta,
|
|
40
|
+
_ as default,
|
|
41
|
+
t as description,
|
|
42
|
+
p as missingRequirementsDescription,
|
|
43
|
+
l as missingRequirementsSubtitle,
|
|
44
|
+
a as newHireReportCta,
|
|
45
|
+
o as onboardedAdminDescription,
|
|
46
|
+
i as onboardedAdminSubtitle,
|
|
47
|
+
n as onboardedSelfDescription,
|
|
48
|
+
s as onboardedSelfSubtitle,
|
|
49
|
+
r as returnToEmployeeListCta,
|
|
50
|
+
m as steps,
|
|
51
|
+
c as stepsDescriptions,
|
|
52
|
+
e as subTitle
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=Employee.OnboardingSummary-CmxhPw5V.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Employee.OnboardingSummary-CmxhPw5V.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./B4MFY5CR-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./B4MFY5CR-RHxbAGPw.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-BoRPBFU_.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -31,4 +31,4 @@ var p = (a) => {
|
|
|
31
31
|
export {
|
|
32
32
|
C as default
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=HO4MOOFI-
|
|
34
|
+
//# sourceMappingURL=HO4MOOFI-DBInOzFW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HO4MOOFI-
|
|
1
|
+
{"version":3,"file":"HO4MOOFI-DBInOzFW.js","sources":["../node_modules/@tanstack/query-devtools/build/DevtoolsComponent/HO4MOOFI.js"],"sourcesContent":["import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/B4MFY5CR.js';\nimport { getPreferredColorScheme, createMemo, createComponent } from '../chunk/JAANZ2TG.js';\n\n// src/DevtoolsComponent.tsx\nvar DevtoolsComponent = (props) => {\n const [localStore, setLocalStore] = createLocalStorage({\n prefix: \"TanstackQueryDevtools\"\n });\n const colorScheme = getPreferredColorScheme();\n const theme = createMemo(() => {\n const preference = localStore.theme_preference || THEME_PREFERENCE;\n if (preference !== \"system\")\n return preference;\n return colorScheme();\n });\n return createComponent(QueryDevtoolsContext.Provider, {\n value: props,\n get children() {\n return createComponent(PiPProvider, {\n localStore,\n setLocalStore,\n get children() {\n return createComponent(ThemeContext.Provider, {\n value: theme,\n get children() {\n return createComponent(Devtools, {\n localStore,\n setLocalStore\n });\n }\n });\n }\n });\n }\n });\n};\nvar DevtoolsComponent_default = DevtoolsComponent;\n\nexport { DevtoolsComponent_default as default };\n"],"names":["DevtoolsComponent","props","localStore","setLocalStore","createLocalStorage","colorScheme","getPreferredColorScheme","theme","createMemo","preference","THEME_PREFERENCE","createComponent","QueryDevtoolsContext","PiPProvider","ThemeContext","Devtools","DevtoolsComponent_default"],"mappings":";;AAIA,IAAIA,IAAoB,CAACC,MAAU;AACjC,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAmB;AAAA,IACrD,QAAQ;AAAA,EACZ,CAAG,GACKC,IAAcC,EAAyB,GACvCC,IAAQC,EAAW,MAAM;AAC7B,UAAMC,IAAaP,EAAW,oBAAoBQ;AAClD,WAAID,MAAe,WACVA,IACFJ,EAAa;AAAA,EACxB,CAAG;AACD,SAAOM,EAAgBC,EAAqB,UAAU;AAAA,IACpD,OAAOX;AAAA,IACP,IAAI,WAAW;AACb,aAAOU,EAAgBE,GAAa;AAAA,QAClC,YAAAX;AAAA,QACA,eAAAC;AAAA,QACA,IAAI,WAAW;AACb,iBAAOQ,EAAgBG,EAAa,UAAU;AAAA,YAC5C,OAAOP;AAAA,YACP,IAAI,WAAW;AACb,qBAAOI,EAAgBI,GAAU;AAAA,gBAC/B,YAAAb;AAAA,gBACA,eAAAC;AAAA,cAChB,CAAe;AAAA,YACf;AAAA,UACA,CAAW;AAAA,QACX;AAAA,MACA,CAAO;AAAA,IACP;AAAA,EACA,CAAG;AACH,GACIa,IAA4BhB;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./B4MFY5CR-
|
|
2
|
-
import { g as v, c as C, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./B4MFY5CR-RHxbAGPw.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-BoRPBFU_.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -40,4 +40,4 @@ var h = (t) => {
|
|
|
40
40
|
export {
|
|
41
41
|
p as default
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=HUY7CZI3-
|
|
43
|
+
//# sourceMappingURL=HUY7CZI3-Cmo4LpRl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HUY7CZI3-
|
|
1
|
+
{"version":3,"file":"HUY7CZI3-Cmo4LpRl.js","sources":["../node_modules/@tanstack/query-devtools/build/DevtoolsPanelComponent/HUY7CZI3.js"],"sourcesContent":["import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/B4MFY5CR.js';\nimport { getPreferredColorScheme, createMemo, createComponent } from '../chunk/JAANZ2TG.js';\n\n// src/DevtoolsPanelComponent.tsx\nvar DevtoolsPanelComponent = (props) => {\n const [localStore, setLocalStore] = createLocalStorage({\n prefix: \"TanstackQueryDevtools\"\n });\n const colorScheme = getPreferredColorScheme();\n const theme = createMemo(() => {\n const preference = localStore.theme_preference || THEME_PREFERENCE;\n if (preference !== \"system\")\n return preference;\n return colorScheme();\n });\n return createComponent(QueryDevtoolsContext.Provider, {\n value: props,\n get children() {\n return createComponent(PiPProvider, {\n disabled: true,\n localStore,\n setLocalStore,\n get children() {\n return createComponent(ThemeContext.Provider, {\n value: theme,\n get children() {\n return createComponent(ParentPanel, {\n get children() {\n return createComponent(ContentView, {\n localStore,\n setLocalStore,\n get onClose() {\n return props.onClose;\n },\n showPanelViewOnly: true\n });\n }\n });\n }\n });\n }\n });\n }\n });\n};\nvar DevtoolsPanelComponent_default = DevtoolsPanelComponent;\n\nexport { DevtoolsPanelComponent_default as default };\n"],"names":["DevtoolsPanelComponent","props","localStore","setLocalStore","createLocalStorage","colorScheme","getPreferredColorScheme","theme","createMemo","preference","THEME_PREFERENCE","createComponent","QueryDevtoolsContext","PiPProvider","ThemeContext","ParentPanel","ContentView","DevtoolsPanelComponent_default"],"mappings":";;AAIA,IAAIA,IAAyB,CAACC,MAAU;AACtC,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAmB;AAAA,IACrD,QAAQ;AAAA,EACZ,CAAG,GACKC,IAAcC,EAAyB,GACvCC,IAAQC,EAAW,MAAM;AAC7B,UAAMC,IAAaP,EAAW,oBAAoBQ;AAClD,WAAID,MAAe,WACVA,IACFJ,EAAa;AAAA,EACxB,CAAG;AACD,SAAOM,EAAgBC,EAAqB,UAAU;AAAA,IACpD,OAAOX;AAAA,IACP,IAAI,WAAW;AACb,aAAOU,EAAgBE,GAAa;AAAA,QAClC,UAAU;AAAA,QACV,YAAAX;AAAA,QACA,eAAAC;AAAA,QACA,IAAI,WAAW;AACb,iBAAOQ,EAAgBG,EAAa,UAAU;AAAA,YAC5C,OAAOP;AAAA,YACP,IAAI,WAAW;AACb,qBAAOI,EAAgBI,GAAa;AAAA,gBAClC,IAAI,WAAW;AACb,yBAAOJ,EAAgBK,GAAa;AAAA,oBAClC,YAAAd;AAAA,oBACA,eAAAC;AAAA,oBACA,IAAI,UAAU;AACZ,6BAAOF,EAAM;AAAA,oBACd;AAAA,oBACD,mBAAmB;AAAA,kBACvC,CAAmB;AAAA,gBACnB;AAAA,cACA,CAAe;AAAA,YACf;AAAA,UACA,CAAW;AAAA,QACX;AAAA,MACA,CAAO;AAAA,IACP;AAAA,EACA,CAAG;AACH,GACIgB,IAAiCjB;","x_google_ignoreList":[0]}
|