@gusto/embedded-react-sdk 0.9.0 → 0.10.1
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 +86 -2
- package/dist/components/Base/Base.d.ts +1 -1
- package/dist/components/Base/Base.js +39 -40
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/OnboardingStatusBadge/index.d.ts +21 -0
- package/dist/components/Common/OnboardingStatusBadge/index.js +17 -0
- package/dist/components/Common/OnboardingStatusBadge/index.js.map +1 -0
- package/dist/components/Common/TaxInputs/TaxInputs.js +42 -36
- package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
- package/dist/components/Contractor/Address/Form.js +4 -12
- package/dist/components/Contractor/Address/Form.js.map +1 -1
- package/dist/components/Contractor/List/index.d.ts +25 -0
- package/dist/components/Contractor/List/index.js +84 -0
- package/dist/components/Contractor/List/index.js.map +1 -0
- package/dist/components/Contractor/List/useContractorList.d.ts +20 -0
- package/dist/components/Contractor/List/useContractorList.js +31 -0
- package/dist/components/Contractor/List/useContractorList.js.map +1 -0
- package/dist/components/Contractor/NewHireReport/NewHireReport.d.ts +21 -0
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +111 -0
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -0
- package/dist/components/Contractor/NewHireReport/types.d.ts +4 -0
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.d.ts +2 -0
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +52 -0
- package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -0
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.d.ts +31 -0
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +116 -0
- package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -0
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.d.ts +11 -0
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +35 -0
- package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -0
- package/dist/components/Contractor/PaymentMethod/types.d.ts +8 -0
- package/dist/components/Contractor/index.d.ts +3 -0
- package/dist/components/Contractor/index.js +8 -2
- package/dist/components/Contractor/index.js.map +1 -1
- package/dist/components/Employee/Compensation/Edit.js +59 -56
- package/dist/components/Employee/Compensation/Edit.js.map +1 -1
- package/dist/components/Employee/Compensation/useCompensation.d.ts +2 -0
- package/dist/components/Employee/Compensation/useCompensation.js +16 -14
- package/dist/components/Employee/Compensation/useCompensation.js.map +1 -1
- package/dist/components/Employee/Deductions/DeductionForm.js +11 -3
- package/dist/components/Employee/Deductions/DeductionForm.js.map +1 -1
- package/dist/components/Employee/Deductions/Deductions.js +25 -25
- package/dist/components/Employee/Deductions/Deductions.js.map +1 -1
- package/dist/components/Employee/EmployeeList/List.js +56 -51
- package/dist/components/Employee/EmployeeList/List.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +48 -43
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +1 -1
- package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js +3 -4
- package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +1 -1
- package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/Split.js +88 -76
- package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +2 -2
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +29 -25
- package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
- package/dist/components/Employee/Profile/AdminPersonalDetails.d.ts +49 -20
- package/dist/components/Employee/Profile/AdminPersonalDetails.js +27 -25
- package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
- package/dist/components/Employee/Profile/PersonalDetailsInputs.js +1 -1
- package/dist/components/Employee/Profile/Profile.js +135 -129
- package/dist/components/Employee/Profile/Profile.js.map +1 -1
- package/dist/components/Employee/Taxes/StateForm.d.ts +1 -1
- package/dist/components/Employee/Taxes/StateForm.js +27 -25
- package/dist/components/Employee/Taxes/StateForm.js.map +1 -1
- package/dist/components/Employee/Taxes/Taxes.d.ts +1 -1
- package/dist/components/Employee/Taxes/Taxes.js +77 -73
- package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/i18n/I18n.js +17 -17
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Contractor.ContractorList.json.js +25 -0
- package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -0
- package/dist/i18n/en/Contractor.NewHireReport.json.js +24 -0
- package/dist/i18n/en/Contractor.NewHireReport.json.js.map +1 -0
- package/dist/i18n/en/Contractor.PaymentMethod.json.js +35 -0
- package/dist/i18n/en/Contractor.PaymentMethod.json.js.map +1 -0
- package/dist/i18n/en/Employee.Compensation.json.js +22 -20
- package/dist/i18n/en/Employee.Compensation.json.js.map +1 -1
- package/dist/i18n/en/Employee.PaymentMethod.json.js +18 -17
- package/dist/i18n/en/Employee.PaymentMethod.json.js.map +1 -1
- package/dist/i18n/en/common.json.d.ts +21 -9
- package/dist/i18n/en/common.json.js +35 -23
- package/dist/i18n/en/common.json.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/shared/constants.d.ts +18 -0
- package/dist/shared/constants.js +28 -15
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/i18next.d.ts +64 -1
- package/package.json +4 -3
- package/dist/components/Employee/PaymentMethod/Constants.d.ts +0 -8
- package/dist/components/Employee/PaymentMethod/Constants.js +0 -6
- package/dist/components/Employee/PaymentMethod/Constants.js.map +0 -1
package/dist/i18n/I18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\nexport const defaultNS = 'common'\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n * @param lng(string): resource language\n * @param ns(string): Namespace/name of the component/resource\n * @returns Promise<Translation resource>\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const module = await import(`@/i18n/${lng}/${ns}.json`)\n\n resource = module.default\n isLoading = false\n } catch (err) {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n * @param @private {string} ns - Namespace - should match component name exactly - not exposed to consumers\n */\nexport const useI18n = (ns: keyof CustomTypeOptions['resources'] | null) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!ns) return\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(i18nInstance.resolvedLanguage ?? 'en', ns, resource, true, false) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n}\n\n//Used by individual components to override their dictionaries with partner provided resources\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","resourceCache","LRUCache","loadResource","lng","ns","isLoading","isError","resource","promise","__variableDynamicImportRuntimeHelper","useI18n","i18nInstance","useTranslation","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;;AAKO,MAAMA,IAAY,UAGnBC,IAAgB,IAAIC,EAAS,EAAE,GAO/BC,IAAe,CAAC,EAAE,KAAAC,IAAM,MAAM,IAAAC,QAAuC;AACzE,MAAIC,IAAY,IACZC,IAAU,IACVC;AAaJ,QAAMC,KAXkB,YAAY;AAC9B,QAAA;AAGF,MAAAD,KAFe,MAAME,
|
|
1
|
+
{"version":3,"file":"I18n.js","sources":["../../src/i18n/I18n.ts"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport type { CustomTypeOptions } from 'i18next'\nimport { LRUCache } from '@/helpers/LRUCache'\nimport type { ResourceDictionary, Resources } from '@/types/Helpers'\n\nexport const defaultNS = 'common'\n\n//LRU cache holding requested resources\nconst resourceCache = new LRUCache(50)\n/**\n * Dynamic loading of translation resources - works with Suspence to prevent early access to loadable strings\n * @param lng(string): resource language\n * @param ns(string): Namespace/name of the component/resource\n * @returns Promise<Translation resource>\n */\nconst loadResource = ({ lng = 'en', ns }: { ns: string; lng?: string }) => {\n let isLoading = true\n let isError = false\n let resource: Record<string, string>\n\n const importResources = async () => {\n try {\n const module = await import(`@/i18n/${lng}/${ns}.json`)\n\n resource = module.default\n isLoading = false\n } catch (err) {\n isError = true\n isLoading = false\n }\n }\n const promise = importResources()\n return () => {\n if (isLoading) {\n // eslint-disable-next-line @typescript-eslint/only-throw-error\n throw promise // Throw the promise to indicate Suspense should suspend.\n } else if (isError) {\n throw new Error(`Error loading translation for component: ${ns}`) // Handle error\n } else {\n return resource // Return the resource when loading is complete\n }\n }\n}\n\n/**\n * Hook that allows component to load custom dictionary\n * @param @private {string} ns - Namespace - should match component name exactly - not exposed to consumers\n */\nexport const useI18n = (ns: keyof CustomTypeOptions['resources'] | null) => {\n //Getting our instance of i18n -> supplied by the provider set in GustoApiProvider\n const { i18n: i18nInstance } = useTranslation()\n //Abort when namespace is not provided\n if (!ns) return\n const key = `${i18nInstance.resolvedLanguage}:${ns}`\n //Skip loading default resource if it is already in cache\n if (resourceCache.get(key) === null) {\n //If resource not in cache, initiate loading and add getter to cache\n resourceCache.put(key, loadResource({ lng: i18nInstance.resolvedLanguage, ns: ns }))\n }\n //Get resourceGetter from cache\n const resourceGetter = resourceCache.get(key)\n if (resourceGetter) {\n const resource = resourceGetter()\n i18nInstance.addResourceBundle(i18nInstance.resolvedLanguage ?? 'en', ns, resource, true, false) //Last argument is set to false to prevent override of keys provided by partners on GustoApiProvider level through dictionary prop\n }\n}\n\n//Used by individual components to override their dictionaries with partner provided resources\nexport const useComponentDictionary = <K extends keyof Resources>(\n ns: keyof CustomTypeOptions['resources'],\n resource?: ResourceDictionary<K> | null,\n) => {\n const { i18n: i18nInstance } = useTranslation()\n if (resource) {\n for (const lang in resource) {\n i18nInstance.addResourceBundle(lang, ns, resource[lang], true, true)\n }\n }\n}\n"],"names":["defaultNS","resourceCache","LRUCache","loadResource","lng","ns","isLoading","isError","resource","promise","__variableDynamicImportRuntimeHelper","useI18n","i18nInstance","useTranslation","key","resourceGetter","useComponentDictionary","lang"],"mappings":";;;AAKO,MAAMA,IAAY,UAGnBC,IAAgB,IAAIC,EAAS,EAAE,GAO/BC,IAAe,CAAC,EAAE,KAAAC,IAAM,MAAM,IAAAC,QAAuC;AACzE,MAAIC,IAAY,IACZC,IAAU,IACVC;AAaJ,QAAMC,KAXkB,YAAY;AAC9B,QAAA;AAGF,MAAAD,KAFe,MAAME,4yFAEH,SACNJ,IAAA;AAAA,YACA;AACF,MAAAC,IAAA,IACED,IAAA;AAAA,IAAA;AAAA,EAEhB,GACgC;AAChC,SAAO,MAAM;AACX,QAAIA;AAEI,YAAAG;QACGF;AACT,YAAM,IAAI,MAAM,4CAA4CF,CAAE,EAAE;AAEzD,WAAAG;AAAA,EAEX;AACF,GAMaG,IAAU,CAACN,MAAoD;AAE1E,QAAM,EAAE,MAAMO,EAAa,IAAIC,EAAe;AAE9C,MAAI,CAACR,EAAI;AACT,QAAMS,IAAM,GAAGF,EAAa,gBAAgB,IAAIP,CAAE;AAElD,EAAIJ,EAAc,IAAIa,CAAG,MAAM,QAEfb,EAAA,IAAIa,GAAKX,EAAa,EAAE,KAAKS,EAAa,kBAAkB,IAAAP,EAAO,CAAC,CAAC;AAG/E,QAAAU,IAAiBd,EAAc,IAAIa,CAAG;AAC5C,MAAIC,GAAgB;AAClB,UAAMP,IAAWO,EAAe;AAChC,IAAAH,EAAa,kBAAkBA,EAAa,oBAAoB,MAAMP,GAAIG,GAAU,IAAM,EAAK;AAAA,EAAA;AAEnG,GAGaQ,IAAyB,CACpCX,GACAG,MACG;AACH,QAAM,EAAE,MAAMI,EAAa,IAAIC,EAAe;AAC9C,MAAIL;AACF,eAAWS,KAAQT;AACjB,MAAAI,EAAa,kBAAkBK,GAAMZ,GAAIG,EAASS,CAAI,GAAG,IAAM,EAAI;AAGzE;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const t = "Add a contractor", o = "+ Add another contractor", a = "A list of contractors", r = "Edit contractor", e = "Add contractors to get them setup for payroll.", c = "You haven't added any contractors yet", n = {
|
|
2
|
+
name: "Name",
|
|
3
|
+
status: "Status"
|
|
4
|
+
}, s = "Contractors", d = {
|
|
5
|
+
addContractorCTA: t,
|
|
6
|
+
addAnotherCTA: o,
|
|
7
|
+
contractorListLabel: a,
|
|
8
|
+
editCTA: r,
|
|
9
|
+
emptyTableDescription: e,
|
|
10
|
+
emptyTableTitle: c,
|
|
11
|
+
listHeaders: n,
|
|
12
|
+
title: s
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
o as addAnotherCTA,
|
|
16
|
+
t as addContractorCTA,
|
|
17
|
+
a as contractorListLabel,
|
|
18
|
+
d as default,
|
|
19
|
+
r as editCTA,
|
|
20
|
+
e as emptyTableDescription,
|
|
21
|
+
c as emptyTableTitle,
|
|
22
|
+
n as listHeaders,
|
|
23
|
+
s as title
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Contractor.ContractorList.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contractor.ContractorList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const e = "File new hire report?", t = "Most states require that employers file a new hire report for contractors within 20 days of their start date. Even if the report is overdue, it is generally better to file a late report than to risk penalties for being out of compliance.", o = "Select whether or not you'd like us to file new hire report", i = "Yes, file the report for me", r = "No, I have already filed or will file the report myself", s = "Work state", n = "Continue", a = {
|
|
2
|
+
state: "Please select work state"
|
|
3
|
+
}, l = {
|
|
4
|
+
title: e,
|
|
5
|
+
description: t,
|
|
6
|
+
doFileLegend: o,
|
|
7
|
+
yesOption: i,
|
|
8
|
+
noOption: r,
|
|
9
|
+
stateSelectionLabel: s,
|
|
10
|
+
submitCta: n,
|
|
11
|
+
validations: a
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
l as default,
|
|
15
|
+
t as description,
|
|
16
|
+
o as doFileLegend,
|
|
17
|
+
r as noOption,
|
|
18
|
+
s as stateSelectionLabel,
|
|
19
|
+
n as submitCta,
|
|
20
|
+
e as title,
|
|
21
|
+
a as validations,
|
|
22
|
+
i as yesOption
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=Contractor.NewHireReport.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contractor.NewHireReport.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const e = "Contractor payment details", t = "Select payment method", c = "Direct deposit", n = "We recommend direct deposit – we’ll deposit paychecks directly into your employee’s bank account.", o = "Check", i = "If you select check as the payment method, you’ll need to write a physical check to this employee each payday.", a = "Continue", r = {
|
|
2
|
+
nameLabel: "Account nickname",
|
|
3
|
+
routingNumberLabel: "Routing number",
|
|
4
|
+
routingNumberDescription: "9-digits",
|
|
5
|
+
accountNumberLabel: "Account number",
|
|
6
|
+
accountTypeLabel: "Account type",
|
|
7
|
+
accountTypeChecking: "Checking",
|
|
8
|
+
accountTypeSavings: "Savings",
|
|
9
|
+
validations: {
|
|
10
|
+
accountName: "Account nickname is required",
|
|
11
|
+
routingNumber: "Routing number is required (9-digits)",
|
|
12
|
+
accountNumber: "Please enter valid account number"
|
|
13
|
+
}
|
|
14
|
+
}, s = {
|
|
15
|
+
title: e,
|
|
16
|
+
paymentFieldsetLegend: t,
|
|
17
|
+
directDepositLabel: c,
|
|
18
|
+
directDepositDescription: n,
|
|
19
|
+
checkLabel: o,
|
|
20
|
+
checkDescription: i,
|
|
21
|
+
continueCta: a,
|
|
22
|
+
bankAccountForm: r
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
r as bankAccountForm,
|
|
26
|
+
i as checkDescription,
|
|
27
|
+
o as checkLabel,
|
|
28
|
+
a as continueCta,
|
|
29
|
+
s as default,
|
|
30
|
+
n as directDepositDescription,
|
|
31
|
+
c as directDepositLabel,
|
|
32
|
+
t as paymentFieldsetLegend,
|
|
33
|
+
e as title
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=Contractor.PaymentMethod.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contractor.PaymentMethod.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,14 +6,14 @@ const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines wh
|
|
|
6
6
|
perColumn: "Per",
|
|
7
7
|
tableLabel: "List of all jobs for the employee",
|
|
8
8
|
typeColumn: "Pay type"
|
|
9
|
-
}, n = "Compensation amount", l = "Back", m = "Cancel", c = "Cancel", r = '<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>',
|
|
9
|
+
}, n = "Compensation amount", l = "Back", m = "Cancel", c = "Cancel", r = '<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>', p = "Employee type", d = {
|
|
10
10
|
"Commission Only Exempt": "Commission Only/No Overtime",
|
|
11
11
|
"Commission Only Nonexempt": "Commission Only/Eligible for overtime",
|
|
12
12
|
Exempt: "Salary/No overtime",
|
|
13
13
|
Nonexempt: "Paid by the hour",
|
|
14
14
|
Owner: "Owner's draw",
|
|
15
15
|
"Salaried Nonexempt": "Salary/Eligible for overtime"
|
|
16
|
-
}, u = "Job actions",
|
|
16
|
+
}, u = "Job actions", y = "Job Title", h = "The period over which the compensation amount is tracked (e.g., hourly, daily, weekly, monthly, annually).", C = "Per", b = {
|
|
17
17
|
Hour: "Hour",
|
|
18
18
|
Month: "Month",
|
|
19
19
|
Paycheck: "Paycheck",
|
|
@@ -24,13 +24,15 @@ const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines wh
|
|
|
24
24
|
exemptThreshold: "Most employees who make under {{limit}}/year should be eligible for overtime.",
|
|
25
25
|
paymentUnit: "Payment unit must be one of Hour, Week, Month, or Year",
|
|
26
26
|
rate: "Amount is a required field",
|
|
27
|
+
nonZeroRate: "Amount must be at least $1.00",
|
|
28
|
+
rateExemptThreshold: "FLSA Exempt employees must meet salary threshold of {{limit}}/year",
|
|
27
29
|
title: "Title is a required field",
|
|
28
30
|
minimumWage: "Please select minimum wage for adjustment",
|
|
29
31
|
stateWcClassCode: "Please select a risk class code"
|
|
30
32
|
}, j = "Workers' compensation coverage", L = "Washington administers <wcLink>workers’ compensation insurance</wcLink> to protect workers and employers from the financial impact of a work-related injury. Indicate here if this employee is exempt from the workers’ comp tax.", T = {
|
|
31
33
|
yes: "Yes, this employee is covered",
|
|
32
34
|
no: "No, this employee is not covered"
|
|
33
|
-
},
|
|
35
|
+
}, x = "Risk class code", D = "The risk class code associated with this employee’s job function. We need this to pay and file your taxes correctly.", N = "Select if employee is a 2% shareholder", O = {
|
|
34
36
|
addAnotherJobCta: e,
|
|
35
37
|
adjustForMinimumWage: t,
|
|
36
38
|
adjustForMinimumWageDescription: o,
|
|
@@ -42,12 +44,12 @@ const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines wh
|
|
|
42
44
|
cancelCta: m,
|
|
43
45
|
cancelNewJobCta: c,
|
|
44
46
|
classificationCTA: r,
|
|
45
|
-
employeeClassification:
|
|
46
|
-
flsaStatusLabels:
|
|
47
|
+
employeeClassification: p,
|
|
48
|
+
flsaStatusLabels: d,
|
|
47
49
|
hamburgerTitle: u,
|
|
48
|
-
jobTitle:
|
|
49
|
-
paymentUnitDescription:
|
|
50
|
-
paymentUnitLabel:
|
|
50
|
+
jobTitle: y,
|
|
51
|
+
paymentUnitDescription: h,
|
|
52
|
+
paymentUnitLabel: C,
|
|
51
53
|
paymentUnitOptions: b,
|
|
52
54
|
saveNewJobCta: f,
|
|
53
55
|
submitCta: g,
|
|
@@ -58,9 +60,9 @@ const e = "+ Add another job", t = "Adjust for minimum wage", o = "Determines wh
|
|
|
58
60
|
stateWcCoveredLabel: j,
|
|
59
61
|
stateWcCoveredDescription: L,
|
|
60
62
|
stateWcCoveredOptions: T,
|
|
61
|
-
stateWcClassCodeLabel:
|
|
62
|
-
stateWcClassCodeDescription:
|
|
63
|
-
twoPercentStakeholderLabel:
|
|
63
|
+
stateWcClassCodeLabel: x,
|
|
64
|
+
stateWcClassCodeDescription: D,
|
|
65
|
+
twoPercentStakeholderLabel: N
|
|
64
66
|
};
|
|
65
67
|
export {
|
|
66
68
|
e as addAnotherJobCta,
|
|
@@ -73,26 +75,26 @@ export {
|
|
|
73
75
|
m as cancelCta,
|
|
74
76
|
c as cancelNewJobCta,
|
|
75
77
|
r as classificationCTA,
|
|
76
|
-
|
|
78
|
+
O as default,
|
|
77
79
|
w as editTitle,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
p as employeeClassification,
|
|
81
|
+
d as flsaStatusLabels,
|
|
80
82
|
u as hamburgerTitle,
|
|
81
|
-
|
|
83
|
+
y as jobTitle,
|
|
82
84
|
i as minimumWageDescription,
|
|
83
85
|
a as minimumWageLabel,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
h as paymentUnitDescription,
|
|
87
|
+
C as paymentUnitLabel,
|
|
86
88
|
b as paymentUnitOptions,
|
|
87
89
|
f as saveNewJobCta,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
D as stateWcClassCodeDescription,
|
|
91
|
+
x as stateWcClassCodeLabel,
|
|
90
92
|
L as stateWcCoveredDescription,
|
|
91
93
|
j as stateWcCoveredLabel,
|
|
92
94
|
T as stateWcCoveredOptions,
|
|
93
95
|
g as submitCta,
|
|
94
96
|
W as title,
|
|
95
|
-
|
|
97
|
+
N as twoPercentStakeholderLabel,
|
|
96
98
|
v as validations
|
|
97
99
|
};
|
|
98
100
|
//# sourceMappingURL=Employee.Compensation.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.Compensation.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.Compensation.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const t = "Account number", e = "Account type", n = "Account type", o = "Checking", c = "Savings", a = "Allocation", i = "Bank account actions", s = "+ Add another bank account",
|
|
1
|
+
const t = "Account number", e = "Account type", n = "Account type", o = "Checking", c = "Savings", a = "Allocation", i = "Bank account actions", s = "+ Add another bank account", r = "Add bank account", l = "List of employee bank accounts", u = "Back", p = "Save", m = "Cancel", d = "If you select check as the payment method, you'll need to write a physical check to this employee each payday.", b = "Check", y = "Delete", h = "We recommend direct deposit — we can deposit paychecks directly into your employees' bank accounts.", g = "Direct Deposit", k = "Bank account actions", L = "Account nickname", C = "Nickname", A = "Select payment method", f = "Routing number", T = "Routing number", D = "(9 digits)", N = "Split paycheck", _ = "Continue", v = "Employee payment details", B = "Fixed amount", S = "<p>You can split your paycheck into different accounts by percentage or flat dollar amounts.</p><p>When splitting by amount, you can reorder the priority of the bank accounts by clicking and dragging the list icon to the left of the bank account field. We’ll pay the amounts in the order specified until your salary has been fully distributed to the last “remainder” account.</p>", w = "Reorderable list of bank accounts", E = "Percentage", P = "{{name}} ({{account_number}})", R = "Split by", W = "Priority", x = "Remainder", F = "Split employee paycheck", q = "{{count}}st", I = "{{count}}nd", M = "{{count}}rd", Y = "{{count}}th", j = {
|
|
2
2
|
percentageError: "If payment method amount is split by Percentage, all split amounts must add up to exactly 100.",
|
|
3
|
+
percentageErrorWithTotal: "Splits must total 100%. Currently {{total}}%.",
|
|
3
4
|
amountError: "Please enter valid amount",
|
|
4
5
|
accountName: "Account name is required",
|
|
5
6
|
routingNumber: "Routing number should be a number (9 digits)",
|
|
@@ -13,8 +14,8 @@ const t = "Account number", e = "Account type", n = "Account type", o = "Checkin
|
|
|
13
14
|
allocationColumn: a,
|
|
14
15
|
actionColumn: i,
|
|
15
16
|
addAnotherCta: s,
|
|
16
|
-
addBankAccountCTA:
|
|
17
|
-
bankAccountsListLabel:
|
|
17
|
+
addBankAccountCTA: r,
|
|
18
|
+
bankAccountsListLabel: l,
|
|
18
19
|
cancelCta: u,
|
|
19
20
|
saveCta: p,
|
|
20
21
|
cancelAddCta: m,
|
|
@@ -36,12 +37,12 @@ const t = "Account number", e = "Account type", n = "Account type", o = "Checkin
|
|
|
36
37
|
amountLabel: B,
|
|
37
38
|
splitDescription: S,
|
|
38
39
|
draggableListLabel: w,
|
|
39
|
-
percentageLabel:
|
|
40
|
-
splitAmountLabel:
|
|
41
|
-
splitByLabel:
|
|
42
|
-
priorityLabel:
|
|
43
|
-
remainderLabel:
|
|
44
|
-
splitTitle:
|
|
40
|
+
percentageLabel: E,
|
|
41
|
+
splitAmountLabel: P,
|
|
42
|
+
splitByLabel: R,
|
|
43
|
+
priorityLabel: W,
|
|
44
|
+
remainderLabel: x,
|
|
45
|
+
splitTitle: F,
|
|
45
46
|
priority_one: q,
|
|
46
47
|
priority_two: I,
|
|
47
48
|
priority_few: M,
|
|
@@ -56,10 +57,10 @@ export {
|
|
|
56
57
|
c as accountTypeSavings,
|
|
57
58
|
i as actionColumn,
|
|
58
59
|
s as addAnotherCta,
|
|
59
|
-
|
|
60
|
+
r as addBankAccountCTA,
|
|
60
61
|
a as allocationColumn,
|
|
61
62
|
B as amountLabel,
|
|
62
|
-
|
|
63
|
+
l as bankAccountsListLabel,
|
|
63
64
|
m as cancelAddCta,
|
|
64
65
|
u as cancelCta,
|
|
65
66
|
d as checkDescription,
|
|
@@ -73,22 +74,22 @@ export {
|
|
|
73
74
|
L as nameLabel,
|
|
74
75
|
C as nicknameColumn,
|
|
75
76
|
A as paymentFieldsetLegend,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
E as percentageLabel,
|
|
78
|
+
W as priorityLabel,
|
|
78
79
|
M as priority_few,
|
|
79
80
|
q as priority_one,
|
|
80
81
|
Y as priority_other,
|
|
81
82
|
I as priority_two,
|
|
82
|
-
|
|
83
|
+
x as remainderLabel,
|
|
83
84
|
f as routingNumberColumn,
|
|
84
85
|
D as routingNumberDescription,
|
|
85
86
|
T as routingNumberLabel,
|
|
86
87
|
p as saveCta,
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
P as splitAmountLabel,
|
|
89
|
+
R as splitByLabel,
|
|
89
90
|
N as splitCta,
|
|
90
91
|
S as splitDescription,
|
|
91
|
-
|
|
92
|
+
F as splitTitle,
|
|
92
93
|
_ as submitCta,
|
|
93
94
|
v as title,
|
|
94
95
|
j as validations
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Employee.PaymentMethod.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Employee.PaymentMethod.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -33,15 +33,27 @@ declare const _default: {
|
|
|
33
33
|
"menuLabel": "Menu"
|
|
34
34
|
},
|
|
35
35
|
"onboardingStatus": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
"contractor": {
|
|
37
|
+
"undefined": "N/A",
|
|
38
|
+
"admin_onboarding_incomplete": "Admin-onboarding Incomplete",
|
|
39
|
+
"admin_onboarding_review": "Admin-onboarding review",
|
|
40
|
+
"onboarding_completed": "Completed",
|
|
41
|
+
"self_onboarding_not_invited": "Self-onboarding: Not Invited",
|
|
42
|
+
"self_onboarding_invited": "Self-onboarding: Invited",
|
|
43
|
+
"self_onboarding_started": "Self-onboarding started",
|
|
44
|
+
"self_onboarding_review": "Self-onboarding: Review"
|
|
45
|
+
},
|
|
46
|
+
"employee": {
|
|
47
|
+
"undefined": "N/A",
|
|
48
|
+
"admin_onboarding_incomplete": "Admin-onboarding Incomplete",
|
|
49
|
+
"onboarding_completed": "Completed",
|
|
50
|
+
"self_onboarding_pending_invite": "Self-onboarding: Pending Invite",
|
|
51
|
+
"self_onboarding_invited": "Self-onboarding: Invited",
|
|
52
|
+
"self_onboarding_invited_started": "Self-onboarding started",
|
|
53
|
+
"self_onboarding_invited_overdue": "Self-onboarding: Overdue",
|
|
54
|
+
"self_onboarding_completed_by_employee": "Self-onboarding: Completed",
|
|
55
|
+
"self_onboarding_awaiting_admin_review": "Self-onboarding: Admin review"
|
|
56
|
+
}
|
|
45
57
|
},
|
|
46
58
|
"inputs": {
|
|
47
59
|
"ssn": {
|
|
@@ -2,7 +2,7 @@ const e = {
|
|
|
2
2
|
loading: "Loading component...",
|
|
3
3
|
requiredField: "is a required field",
|
|
4
4
|
errorEncountered: "There was a problem with your submission"
|
|
5
|
-
}, o = " (optional)", n = "You are on step {{currentStep}} of {{totalSteps}}",
|
|
5
|
+
}, o = " (optional)", n = "You are on step {{currentStep}} of {{totalSteps}}", i = {
|
|
6
6
|
errorHeading: "Error",
|
|
7
7
|
globalReactError: "Error while rendering SDK component: {{error}}",
|
|
8
8
|
resetGlobalError: "Try again",
|
|
@@ -21,20 +21,32 @@ const e = {
|
|
|
21
21
|
paginationPrev: "Navigate to previous page",
|
|
22
22
|
paginationNext: "Navigate to next page",
|
|
23
23
|
paginationLast: "Navigate to last page"
|
|
24
|
-
},
|
|
24
|
+
}, t = {
|
|
25
25
|
paginationControllCountLabel: "Items per page",
|
|
26
26
|
openMenu: "Open menu",
|
|
27
27
|
menuLabel: "Menu"
|
|
28
28
|
}, a = {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
contractor: {
|
|
30
|
+
undefined: "N/A",
|
|
31
|
+
admin_onboarding_incomplete: "Admin-onboarding Incomplete",
|
|
32
|
+
admin_onboarding_review: "Admin-onboarding review",
|
|
33
|
+
onboarding_completed: "Completed",
|
|
34
|
+
self_onboarding_not_invited: "Self-onboarding: Not Invited",
|
|
35
|
+
self_onboarding_invited: "Self-onboarding: Invited",
|
|
36
|
+
self_onboarding_started: "Self-onboarding started",
|
|
37
|
+
self_onboarding_review: "Self-onboarding: Review"
|
|
38
|
+
},
|
|
39
|
+
employee: {
|
|
40
|
+
undefined: "N/A",
|
|
41
|
+
admin_onboarding_incomplete: "Admin-onboarding Incomplete",
|
|
42
|
+
onboarding_completed: "Completed",
|
|
43
|
+
self_onboarding_pending_invite: "Self-onboarding: Pending Invite",
|
|
44
|
+
self_onboarding_invited: "Self-onboarding: Invited",
|
|
45
|
+
self_onboarding_invited_started: "Self-onboarding started",
|
|
46
|
+
self_onboarding_invited_overdue: "Self-onboarding: Overdue",
|
|
47
|
+
self_onboarding_completed_by_employee: "Self-onboarding: Completed",
|
|
48
|
+
self_onboarding_awaiting_admin_review: "Self-onboarding: Admin review"
|
|
49
|
+
}
|
|
38
50
|
}, s = {
|
|
39
51
|
ssn: {
|
|
40
52
|
placeholder: "***-**-****"
|
|
@@ -101,11 +113,11 @@ const e = {
|
|
|
101
113
|
WV: "West Virginia",
|
|
102
114
|
WI: "Wisconsin",
|
|
103
115
|
WY: "Wyoming"
|
|
104
|
-
},
|
|
116
|
+
}, g = {
|
|
105
117
|
selectRowHeader: "Select row",
|
|
106
118
|
selectRowLabel: "Select row",
|
|
107
119
|
actionsColumnHeader: "Actions"
|
|
108
|
-
},
|
|
120
|
+
}, m = {
|
|
109
121
|
selectRowLabel: "Select row"
|
|
110
122
|
}, p = {
|
|
111
123
|
owner: "Owner",
|
|
@@ -132,29 +144,29 @@ const e = {
|
|
|
132
144
|
item: "Item {{position}}",
|
|
133
145
|
dropItemHere: "Drop item here",
|
|
134
146
|
draggableItem: "Draggable item"
|
|
135
|
-
},
|
|
147
|
+
}, b = {
|
|
136
148
|
status: e,
|
|
137
149
|
optionalLabel: o,
|
|
138
150
|
progressBarLabel: n,
|
|
139
|
-
errors:
|
|
151
|
+
errors: i,
|
|
140
152
|
icons: r,
|
|
141
|
-
labels:
|
|
153
|
+
labels: t,
|
|
142
154
|
onboardingStatus: a,
|
|
143
155
|
inputs: s,
|
|
144
156
|
validations: d,
|
|
145
157
|
statesHash: l,
|
|
146
|
-
table:
|
|
147
|
-
card:
|
|
158
|
+
table: g,
|
|
159
|
+
card: m,
|
|
148
160
|
signatoryTitles: p,
|
|
149
161
|
reorderableList: c
|
|
150
162
|
};
|
|
151
163
|
export {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
164
|
+
m as card,
|
|
165
|
+
b as default,
|
|
166
|
+
i as errors,
|
|
155
167
|
r as icons,
|
|
156
168
|
s as inputs,
|
|
157
|
-
|
|
169
|
+
t as labels,
|
|
158
170
|
a as onboardingStatus,
|
|
159
171
|
o as optionalLabel,
|
|
160
172
|
n as progressBarLabel,
|
|
@@ -162,7 +174,7 @@ export {
|
|
|
162
174
|
p as signatoryTitles,
|
|
163
175
|
l as statesHash,
|
|
164
176
|
e as status,
|
|
165
|
-
|
|
177
|
+
g as table,
|
|
166
178
|
d as validations
|
|
167
179
|
};
|
|
168
180
|
//# sourceMappingURL=common.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"common.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as o from "./components/Company/index.js";
|
|
2
|
-
import * as r from "./components/
|
|
3
|
-
import * as t from "./components/
|
|
2
|
+
import * as r from "./components/Contractor/index.js";
|
|
3
|
+
import * as t from "./components/Employee/index.js";
|
|
4
4
|
import { componentEvents as m } from "./shared/constants.js";
|
|
5
5
|
import { GustoApiProvider as i, GustoProvider as a } from "./contexts/GustoProvider/GustoProvider.js";
|
|
6
6
|
import { GustoProviderCustomUIAdapter as n } from "./contexts/GustoProvider/GustoProviderCustomUIAdapter.js";
|
|
7
7
|
export {
|
|
8
8
|
o as Company,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
r as Contractor,
|
|
10
|
+
t as Employee,
|
|
11
11
|
i as GustoApiProvider,
|
|
12
12
|
a as GustoProvider,
|
|
13
13
|
n as GustoProviderCustomUIAdapter,
|
|
@@ -80,6 +80,11 @@ export declare const companyEvents: {
|
|
|
80
80
|
export declare const contractorEvents: {
|
|
81
81
|
readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated";
|
|
82
82
|
readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done";
|
|
83
|
+
readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated";
|
|
84
|
+
readonly CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created";
|
|
85
|
+
readonly CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done";
|
|
86
|
+
readonly CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated";
|
|
87
|
+
readonly CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done";
|
|
83
88
|
};
|
|
84
89
|
export declare const payScheduleEvents: {
|
|
85
90
|
readonly PAY_SCHEDULE_CREATE: "paySchedule/create";
|
|
@@ -93,6 +98,11 @@ export declare const payScheduleEvents: {
|
|
|
93
98
|
export declare const componentEvents: {
|
|
94
99
|
readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated";
|
|
95
100
|
readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done";
|
|
101
|
+
readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated";
|
|
102
|
+
readonly CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created";
|
|
103
|
+
readonly CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done";
|
|
104
|
+
readonly CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated";
|
|
105
|
+
readonly CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done";
|
|
96
106
|
readonly PAY_SCHEDULE_CREATE: "paySchedule/create";
|
|
97
107
|
readonly PAY_SCHEDULE_CREATED: "paySchedule/created";
|
|
98
108
|
readonly PAY_SCHEDULE_UPDATE: "paySchedule/update";
|
|
@@ -238,3 +248,11 @@ export declare const BREAKPOINTS_VALUES: {
|
|
|
238
248
|
readonly medium: "48rem";
|
|
239
249
|
readonly large: "64rem";
|
|
240
250
|
};
|
|
251
|
+
export declare const PAYMENT_METHODS: {
|
|
252
|
+
readonly check: "Check";
|
|
253
|
+
readonly directDeposit: "Direct Deposit";
|
|
254
|
+
};
|
|
255
|
+
export declare const SPLIT_BY: {
|
|
256
|
+
readonly percentage: "Percentage";
|
|
257
|
+
readonly amount: "Amount";
|
|
258
|
+
};
|
package/dist/shared/constants.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnboardingStatus as E } from "@gusto/embedded-api/models/
|
|
1
|
+
import { OnboardingStatus as E } from "@gusto/embedded-api/models/components/employee";
|
|
2
2
|
const O = {
|
|
3
3
|
EMPLOYEE_CREATE: "employee/create",
|
|
4
4
|
EMPLOYEE_CREATED: "employee/created",
|
|
@@ -78,7 +78,12 @@ const O = {
|
|
|
78
78
|
COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"
|
|
79
79
|
}, A = {
|
|
80
80
|
CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated",
|
|
81
|
-
CONTRACTOR_ADDRESS_DONE: "contractor/address/done"
|
|
81
|
+
CONTRACTOR_ADDRESS_DONE: "contractor/address/done",
|
|
82
|
+
CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated",
|
|
83
|
+
CONTRACTOR_BANK_ACCOUNT_CREATED: "contractor/bankAccount/created",
|
|
84
|
+
CONTRACTOR_PAYMENT_METHOD_DONE: "contractor/paymentMethod/done",
|
|
85
|
+
CONTRACTOR_NEW_HIRE_REPORT_UPDATED: "contractor/newHireReport/updated",
|
|
86
|
+
CONTRACTOR_NEW_HIRE_REPORT_DONE: "contractor/newHireReport/done"
|
|
82
87
|
}, n = {
|
|
83
88
|
PAY_SCHEDULE_CREATE: "paySchedule/create",
|
|
84
89
|
PAY_SCHEDULE_CREATED: "paySchedule/created",
|
|
@@ -87,7 +92,7 @@ const O = {
|
|
|
87
92
|
PAY_SCHEDULE_DELETE: "paySchedule/delete",
|
|
88
93
|
PAY_SCHEDULE_DELETED: "paySchedule/deleted",
|
|
89
94
|
PAY_SCHEDULE_DONE: "paySchedule/done"
|
|
90
|
-
},
|
|
95
|
+
}, t = {
|
|
91
96
|
ROBOT_MACHINE_DONE: "done",
|
|
92
97
|
//This is internal Robot event thrown when machine transitions to final state
|
|
93
98
|
ERROR: "ERROR",
|
|
@@ -105,7 +110,7 @@ const O = {
|
|
|
105
110
|
SELF_ONBOARDING_COMPLETED_BY_EMPLOYEE: E.SelfOnboardingCompletedByEmployee,
|
|
106
111
|
SELF_ONBOARDING_AWAITING_ADMIN_REVIEW: E.SelfOnboardingAwaitingAdminReview,
|
|
107
112
|
ONBOARDING_COMPLETED: E.OnboardingCompleted
|
|
108
|
-
},
|
|
113
|
+
}, a = /* @__PURE__ */ new Set([
|
|
109
114
|
_.SELF_ONBOARDING_INVITED,
|
|
110
115
|
_.SELF_ONBOARDING_INVITED_STARTED,
|
|
111
116
|
_.SELF_ONBOARDING_INVITED_OVERDUE
|
|
@@ -116,7 +121,7 @@ const O = {
|
|
|
116
121
|
OWNER: "Owner",
|
|
117
122
|
COMMISSION_ONLY_EXEMPT: "Commission Only Exempt",
|
|
118
123
|
COMMISSION_ONLY_NONEXEMPT: "Commission Only Nonexempt"
|
|
119
|
-
},
|
|
124
|
+
}, D = 43888, d = 40, P = 173.333333, M = 2080, c = [
|
|
120
125
|
"AL",
|
|
121
126
|
"AK",
|
|
122
127
|
"AZ",
|
|
@@ -167,7 +172,7 @@ const O = {
|
|
|
167
172
|
"WV",
|
|
168
173
|
"WI",
|
|
169
174
|
"WY"
|
|
170
|
-
],
|
|
175
|
+
], R = {
|
|
171
176
|
OWNER: "owner",
|
|
172
177
|
PRESIDENT: "president",
|
|
173
178
|
VICE_PRESIDENT: "vice_president",
|
|
@@ -175,7 +180,7 @@ const O = {
|
|
|
175
180
|
CORPORATE_OFFICER: "corporate_officer",
|
|
176
181
|
PARTNER: "partner",
|
|
177
182
|
MEMBER: "member"
|
|
178
|
-
},
|
|
183
|
+
}, p = {
|
|
179
184
|
HOUR: "Hour",
|
|
180
185
|
WEEK: "Week",
|
|
181
186
|
MONTH: "Month",
|
|
@@ -186,27 +191,35 @@ const O = {
|
|
|
186
191
|
SMALL: "small",
|
|
187
192
|
MEDIUM: "medium",
|
|
188
193
|
LARGE: "large"
|
|
189
|
-
},
|
|
194
|
+
}, S = {
|
|
190
195
|
[e.BASE]: "0rem",
|
|
191
196
|
[e.SMALL]: "40rem",
|
|
192
197
|
[e.MEDIUM]: "48rem",
|
|
193
198
|
[e.LARGE]: "64rem"
|
|
199
|
+
}, m = {
|
|
200
|
+
check: "Check",
|
|
201
|
+
directDeposit: "Direct Deposit"
|
|
202
|
+
}, C = {
|
|
203
|
+
percentage: "Percentage",
|
|
204
|
+
amount: "Amount"
|
|
194
205
|
};
|
|
195
206
|
export {
|
|
196
207
|
e as BREAKPOINTS,
|
|
197
|
-
|
|
208
|
+
S as BREAKPOINTS_VALUES,
|
|
198
209
|
_ as EmployeeOnboardingStatus,
|
|
199
|
-
|
|
200
|
-
|
|
210
|
+
a as EmployeeSelfOnboardingStatuses,
|
|
211
|
+
D as FLSA_OVERTIME_SALARY_LIMIT,
|
|
201
212
|
T as FlsaStatus,
|
|
202
213
|
M as HOURS_PER_PAY_PERIOD_ANNUALLY,
|
|
203
214
|
P as HOURS_PER_PAY_PERIOD_MONTHLY,
|
|
204
215
|
d as HOURS_PER_PAY_PERIOD_WEEKLY,
|
|
205
|
-
m as
|
|
206
|
-
p as
|
|
207
|
-
|
|
216
|
+
m as PAYMENT_METHODS,
|
|
217
|
+
p as PAY_PERIODS,
|
|
218
|
+
R as SIGNATORY_TITLES,
|
|
219
|
+
C as SPLIT_BY,
|
|
220
|
+
c as STATES_ABBR,
|
|
208
221
|
o as companyEvents,
|
|
209
|
-
|
|
222
|
+
t as componentEvents,
|
|
210
223
|
A as contractorEvents,
|
|
211
224
|
O as employeeEvents,
|
|
212
225
|
n as payScheduleEvents
|