@gusto/embedded-react-sdk 0.52.0 → 0.52.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 +32 -0
- package/dist/components/Base/Base.d.ts +2 -0
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +4 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +1 -1
- package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +1 -1
- package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +2 -2
- package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +3 -2
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +1 -1
- package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
- package/dist/components/Common/UI/Menu/MenuTypes.d.ts +3 -3
- package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +2 -2
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +2 -2
- package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
- package/dist/components/Common/UI/Select/SelectTypes.d.ts +2 -2
- package/dist/components/Common/UI/Table/TableTypes.d.ts +4 -4
- package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
- package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +2 -2
- package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js +4 -4
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js +5 -5
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.d.ts +0 -1
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js +12 -14
- package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -1
- package/dist/components/Contractor/Address/Address.js +83 -75
- package/dist/components/Contractor/Address/Address.js.map +1 -1
- package/dist/components/Contractor/ContractorList/index.d.ts +2 -1
- package/dist/components/Contractor/ContractorList/index.js +112 -99
- package/dist/components/Contractor/ContractorList/index.js.map +1 -1
- package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.js +170 -123
- package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.js.map +1 -1
- package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.module.scss.js +12 -0
- package/dist/components/Contractor/Documents/SignatureForm/SignatureForm.module.scss.js.map +1 -0
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/fields.js +44 -43
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/fields.js.map +1 -1
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/useContractorSignatureForm.js +91 -88
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/useContractorSignatureForm.js.map +1 -1
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.d.ts +0 -33
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.js +77 -86
- package/dist/components/Contractor/Documents/SignatureForm/useContractorSignatureForm/w9Fields.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +2 -0
- package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js +150 -80
- package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js.map +1 -1
- package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.test.d.ts +1 -0
- package/dist/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/fields.js +1 -1
- package/dist/components/Contractor/Profile/BusinessSelfOnboardingProfile.js +19 -18
- package/dist/components/Contractor/Profile/BusinessSelfOnboardingProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.d.ts +1 -1
- package/dist/components/Contractor/Profile/ContractorProfile.js +121 -111
- package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/IndividualSelfOnboardingProfile.js +27 -26
- package/dist/components/Contractor/Profile/IndividualSelfOnboardingProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/fields.js +16 -16
- package/dist/components/Contractor/Submit/Submit.js +127 -67
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Contractor/shared/useContractorHasSignedW9.d.ts +8 -0
- package/dist/components/Contractor/shared/useContractorHasSignedW9.js +10 -0
- package/dist/components/Contractor/shared/useContractorHasSignedW9.js.map +1 -0
- package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js +4 -4
- package/dist/components/Employee/Compensation/shared/useJobForm/fields.js +6 -6
- 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/shared/useSignEmployeeForm/fields.js +1 -1
- package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.js +4 -4
- 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/useHomeAddressForm/useCurrentHomeAddressForm.d.ts +1 -0
- package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js +4 -4
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.d.ts +1 -0
- package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js.map +1 -1
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +8 -8
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.d.ts +2 -2
- package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js.map +1 -1
- package/dist/components/index.d.ts +40 -0
- package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +1 -1
- package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProvider.d.ts +1 -0
- package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +1 -0
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/contexts/ThemeProvider/types.d.ts +2 -2
- package/dist/i18n/en/Contractor.Address.json.js +22 -20
- package/dist/i18n/en/Contractor.Address.json.js.map +1 -1
- package/dist/i18n/en/Contractor.ContractorList.json.js +22 -20
- package/dist/i18n/en/Contractor.ContractorList.json.js.map +1 -1
- package/dist/i18n/en/Contractor.Profile.json.js +13 -11
- package/dist/i18n/en/Contractor.Profile.json.js.map +1 -1
- package/dist/i18n/en/Contractor.SignatureForm.json.js +5 -5
- package/dist/i18n/en/Contractor.Submit.json.js +11 -11
- package/dist/i18n/types.d.ts +29 -9
- package/dist/index.d.ts +6 -3
- package/dist/models/WA_RISK_CODES.d.ts +1 -0
- package/dist/models/WA_RISK_CODES.js.map +1 -1
- package/dist/partner-hook-utils/composeErrorHandler.d.ts +4 -0
- package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -1
- package/dist/partner-hook-utils/form/SDKFormProvider.d.ts +1 -0
- package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -1
- package/dist/partner-hook-utils/form/composeSubmitHandler.d.ts +4 -0
- package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SelectHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SwitchHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/TextInputHookField.d.ts +1 -0
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/types.d.ts +9 -0
- package/dist/shared/constants.d.ts +10 -0
- package/dist/shared/constants.js +7 -6
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/Helpers.d.ts +2 -0
- package/dist/types/hooks.d.ts +1 -0
- package/dist/types/observability.d.ts +1 -0
- package/docs/guides/endpoint-inventory.json +17 -28
- package/package.json +16 -16
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
const e = "Business address", t = "Contractor's business address, within the United States.", s = "Home address", i = "Contractor's home mailing address, within the United States.", n = "Street 1",
|
|
1
|
+
const e = "Business address", t = "Contractor's business address, within the United States.", s = "Home address", i = "Contractor's home mailing address, within the United States.", n = { label: "Changes will require an updated Form W-9", body: "This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information." }, a = "Street 1", o = "Street 2", r = "City", d = "State", c = "Select state...", l = "Zip", u = "Continue", m = "Saving…", h = { street1: "Street address is required", city: "Please provide valid city name", state: "Please select a state", zip: "Please provide valid zip code", zipInvalid: "Please enter a valid ZIP code" }, p = {
|
|
2
2
|
businessAddressTitle: e,
|
|
3
3
|
businessAddressDescription: t,
|
|
4
4
|
homeAddressTitle: s,
|
|
5
5
|
homeAddressDescription: i,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
w9EditWarning: n,
|
|
7
|
+
street1: a,
|
|
8
|
+
street2: o,
|
|
9
|
+
city: r,
|
|
10
|
+
state: d,
|
|
11
|
+
statePlaceholder: c,
|
|
12
|
+
zip: l,
|
|
13
|
+
submit: u,
|
|
14
|
+
submitting: m,
|
|
15
|
+
validations: h
|
|
15
16
|
};
|
|
16
17
|
export {
|
|
17
18
|
t as businessAddressDescription,
|
|
18
19
|
e as businessAddressTitle,
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
r as city,
|
|
21
|
+
p as default,
|
|
21
22
|
i as homeAddressDescription,
|
|
22
23
|
s as homeAddressTitle,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
d as state,
|
|
25
|
+
c as statePlaceholder,
|
|
26
|
+
a as street1,
|
|
27
|
+
o as street2,
|
|
28
|
+
u as submit,
|
|
29
|
+
m as submitting,
|
|
30
|
+
h as validations,
|
|
31
|
+
n as w9EditWarning,
|
|
32
|
+
l as zip
|
|
31
33
|
};
|
|
32
34
|
//# sourceMappingURL=Contractor.Address.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contractor.Address.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Contractor.Address.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
const t = "Add a contractor", o = "+ Add another contractor", a = "A list of contractors",
|
|
1
|
+
const t = "Add a contractor", o = "+ Add another contractor", a = "A list of contractors", n = "Edit", e = "Review", c = "Delete", r = "Cancel self-onboarding", s = "Add contractors to get them setup for payroll.", d = "You haven't added any contractors yet", i = { name: "Name", status: "Status" }, l = "Contractors", C = "Continue", p = "Back to contractors", u = {
|
|
2
2
|
addContractorCta: t,
|
|
3
3
|
addAnotherCta: o,
|
|
4
4
|
contractorListLabel: a,
|
|
5
|
-
editCta:
|
|
6
|
-
reviewCta:
|
|
7
|
-
deleteCta:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
editCta: n,
|
|
6
|
+
reviewCta: e,
|
|
7
|
+
deleteCta: c,
|
|
8
|
+
cancelSelfOnboardingCta: r,
|
|
9
|
+
emptyTableDescription: s,
|
|
10
|
+
emptyTableTitle: d,
|
|
11
|
+
listHeaders: i,
|
|
12
|
+
title: l,
|
|
13
|
+
continueCta: C,
|
|
14
|
+
progressBarCta: p
|
|
14
15
|
};
|
|
15
16
|
export {
|
|
16
17
|
o as addAnotherCta,
|
|
17
18
|
t as addContractorCta,
|
|
18
|
-
|
|
19
|
+
r as cancelSelfOnboardingCta,
|
|
20
|
+
C as continueCta,
|
|
19
21
|
a as contractorListLabel,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
u as default,
|
|
23
|
+
c as deleteCta,
|
|
24
|
+
n as editCta,
|
|
25
|
+
s as emptyTableDescription,
|
|
26
|
+
d as emptyTableTitle,
|
|
27
|
+
i as listHeaders,
|
|
28
|
+
p as progressBarCta,
|
|
29
|
+
e as reviewCta,
|
|
30
|
+
l as title
|
|
29
31
|
};
|
|
30
32
|
//# sourceMappingURL=Contractor.ContractorList.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contractor.ContractorList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Contractor.ContractorList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
const e = "Contractor profile",
|
|
1
|
+
const e = "Contractor profile", a = "This information will be used for payments and on tax documents, so double-check that it's accurate.", t = { label: "Changes will require an updated Form W-9", body: "This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information." }, i = { title: "Complete your profile", individualDescription: "Please verify your name and provide your Social Security Number.", businessDescription: "Please verify your business name and provide your EIN.", continue: "Continue", submitting: "Saving…" }, r = { selfOnboarding: { label: "Invite this contractor to enter some of their own details online", description: "Your contractor will be invited to enter their information on their own time." }, email: { label: "Contractor's email address" }, contractorType: { label: "Type" }, firstName: { label: "First Name" }, lastName: { label: "Last Name" }, middleInitial: { label: "Middle Initial" }, ssn: { label: "Social Security Number" }, businessName: { label: "Business Name" }, startDate: { label: "Start Date", description: "Your contractor's first day of work at your company" }, wageType: { label: "Wage Type" }, hourlyRate: { label: "Hourly Rate" }, ein: { label: "EIN" } }, o = { email: "Email is required when inviting contractor", emailFormat: "Email must be a valid email address", firstName: "First name is required for individual contractors", firstNameFormat: "First name is not valid", lastName: "Last name is required for individual contractors", lastNameFormat: "Last name is not valid", ssn: "SSN is required for individual contractors", ssnFormat: "SSN must be valid format", businessName: "Business name is required for business contractors", ein: "EIN is required for business contractors", einFormat: "EIN must be valid format (XX-XXXXXXX)", hourlyRate: "Hourly rate is required for hourly contractors", startDate: "Start date is required" }, n = { cancel: "Cancel", create: "Create Contractor", update: "Continue", creating: "Creating…", updating: "Saving…" }, s = {
|
|
2
2
|
title: e,
|
|
3
|
-
subtitle:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
subtitle: a,
|
|
4
|
+
w9EditWarning: t,
|
|
5
|
+
selfOnboarding: i,
|
|
6
|
+
fields: r,
|
|
7
|
+
validations: o,
|
|
8
|
+
buttons: n
|
|
8
9
|
};
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
+
n as buttons,
|
|
11
12
|
s as default,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
r as fields,
|
|
14
|
+
i as selfOnboarding,
|
|
15
|
+
a as subtitle,
|
|
15
16
|
e as title,
|
|
16
|
-
|
|
17
|
+
o as validations,
|
|
18
|
+
t as w9EditWarning
|
|
17
19
|
};
|
|
18
20
|
//# sourceMappingURL=Contractor.Profile.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contractor.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Contractor.Profile.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = "Signature required", t = "See the IRS Form W-9 for instructions on completing this form", i = "<downloadLink>Download document</downloadLink>", o = { exemptions: "Exemptions", address: "Address", tin: "Taxpayer Identification Number (TIN)", certification: "Certification" }, n = { exemptions: "See section 4 of IRS Form W-9 for instructions.", address: "See sections 5-7 of IRS Form W-9 for instructions.", tin: "For individuals, this is generally your social security number (SSN). For other entities, this will be your employer identification number (EIN).", tinSecondary: "See Part 1 of the IRS Form W-9 for instructions.", certification: "See Part 2 of the IRS Form W-9 for instructions." }, r = "Under penalties of perjury, I certify that:", a = { taxpayerId: "The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me);", backupWithholding: "I am not subject to backup withholding because (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding;", usPerson: "I am a U.S. citizen or other U.S. person (defined below);", usPersonDefinition: "For federal tax purposes, you are considered a U.S. person if you are: an individual who is a U.S. citizen or U.S. resident alien; a partnership, corporation, company, or association created or organized in the United States or under the laws of the United States; an estate (other than a foreign estate); or a domestic trust (as defined in Regulations section 301.7701-7).", fatca: "The FATCA code(s) entered on this form (if any) indicating that I am exempt from FATCA reporting is correct." }, s = { name: { label: "Entity or individual name (1)", description: "Your individual or business name. For a sole proprietor or disregarded entity, enter the owner's name here, and enter the business/disregarded entity's name in the Business name field below." }, business_name: { label: "Business name (2)", description: "The name of your business, if different than above." }, taxClassification: { label: "Federal tax classification (3)", description: "Select the type of business you are." }, llcClassificationCode: { label: "LLC tax classification code", description: "Select the appropriate code for the LLC, unless it is a disregarded entity. A disregarded entity should instead check the appropriate selection for the tax classification of its owner." }, other_text: { label: "Other" }, foreign_partners: { label: "Foreign partners/owners/beneficiaries (3b)", description: "If you selected “Partnership”, “Trust/Estate” or checked “LLC” and entered “P” as the tax classification, and you are providing this form to a partnership, trust, or estate in which you have an ownership interest, check this box if you have any foreign partners, owners, or beneficiaries." }, exempt_payee_code: { label: "Exempt payee code" }, exemption_from_FATCA: { label: "Exemption from FATCA reporting code (4b)", description: "Enter the code (if any) indicating you are exempt from reporting under the Foreign Account Tax Compliance Act." }, home_address_street_1: { label: "Street 1" }, home_address_street_2: { label: "Street 2" }, home_address_city: { label: "City" }, home_address_state: { label: "State" }, home_address_zip: { label: "Zip code" }, account_number: { label: "Account numbers" }, company_name: { label: "Requester's name and address" }, ssn: { label: "Social Security Number (SSN)" }, ein: { label: "Employer Identification Number (EIN)" }, signature_text: { label: "Signature" } }, c = { taxClassification: { individual_proprietor: "Individual/sole proprietor", c_corporation: "C-Corporation", s_corporation: "S-Corporation", partnership: "Partnership", trust_estate: "Trust/estate", limited_liability_company: "LLC", other: "Other" }, llcClassificationCode: { placeholder: "Select...", c: "C = C-Corporation", s: "S = S-Corporation", p: "P = Partnership" } }, d = "I agree to electronically sign this form.", l = { required: "This field is required.", agreeRequired: "You must agree to electronically sign this form.", invalidSsn: "Enter a valid Social Security Number.", invalidEin: "Enter a valid Employer Identification Number." }, u = "Back",
|
|
1
|
+
const e = "Signature required", t = "See the IRS Form W-9 for instructions on completing this form", i = "<downloadLink>Download document</downloadLink>", o = { exemptions: "Exemptions", address: "Address", tin: "Taxpayer Identification Number (TIN)", certification: "Certification" }, n = { exemptions: "See section 4 of IRS Form W-9 for instructions.", address: "See sections 5-7 of IRS Form W-9 for instructions.", tin: "For individuals, this is generally your social security number (SSN). For other entities, this will be your employer identification number (EIN).", tinSecondary: "See Part 1 of the IRS Form W-9 for instructions.", certification: "See Part 2 of the IRS Form W-9 for instructions." }, r = "Under penalties of perjury, I certify that:", a = { taxpayerId: "The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me);", backupWithholding: "I am not subject to backup withholding because (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding;", usPerson: "I am a U.S. citizen or other U.S. person (defined below);", usPersonDefinition: "For federal tax purposes, you are considered a U.S. person if you are: an individual who is a U.S. citizen or U.S. resident alien; a partnership, corporation, company, or association created or organized in the United States or under the laws of the United States; an estate (other than a foreign estate); or a domestic trust (as defined in Regulations section 301.7701-7).", fatca: "The FATCA code(s) entered on this form (if any) indicating that I am exempt from FATCA reporting is correct." }, s = { name: { label: "Entity or individual name (1)", description: "Your individual or business name. For a sole proprietor or disregarded entity, enter the owner's name here, and enter the business/disregarded entity's name in the Business name field below." }, business_name: { label: "Business name (2)", description: "The name of your business, if different than above." }, taxClassification: { label: "Federal tax classification (3)", description: "Select the type of business you are." }, llcClassificationCode: { label: "LLC tax classification code", description: "Select the appropriate code for the LLC, unless it is a disregarded entity. A disregarded entity should instead check the appropriate selection for the tax classification of its owner." }, other_text: { label: "Other" }, foreign_partners: { label: "Foreign partners/owners/beneficiaries (3b)", description: "If you selected “Partnership”, “Trust/Estate” or checked “LLC” and entered “P” as the tax classification, and you are providing this form to a partnership, trust, or estate in which you have an ownership interest, check this box if you have any foreign partners, owners, or beneficiaries." }, exempt_payee_code: { label: "Exempt payee code" }, exemption_from_FATCA: { label: "Exemption from FATCA reporting code (4b)", description: "Enter the code (if any) indicating you are exempt from reporting under the Foreign Account Tax Compliance Act." }, home_address_street_1: { label: "Street 1" }, home_address_street_2: { label: "Street 2" }, home_address_city: { label: "City" }, home_address_state: { label: "State" }, home_address_zip: { label: "Zip code" }, account_number: { label: "Account numbers" }, company_name: { label: "Requester's name and address" }, ssn: { label: "Social Security Number (SSN)", changeCta: "Change SSN" }, ein: { label: "Employer Identification Number (EIN)", changeCta: "Change EIN" }, signature_text: { label: "Signature" } }, c = { taxClassification: { individual_proprietor: "Individual/sole proprietor", c_corporation: "C-Corporation", s_corporation: "S-Corporation", partnership: "Partnership", trust_estate: "Trust/estate", limited_liability_company: "LLC", other: "Other" }, llcClassificationCode: { placeholder: "Select...", c: "C = C-Corporation", s: "S = S-Corporation", p: "P = Partnership" } }, d = "I agree to electronically sign this form.", l = { required: "This field is required.", agreeRequired: "You must agree to electronically sign this form.", invalidSsn: "Enter a valid Social Security Number.", invalidEin: "Enter a valid Employer Identification Number." }, u = "Back", h = "Sign", p = "Signing…", m = "Acknowledge", f = "Acknowledging…", b = {
|
|
2
2
|
signatureRequired: e,
|
|
3
3
|
instructions: t,
|
|
4
4
|
downloadPrompt: i,
|
|
@@ -11,8 +11,8 @@ const e = "Signature required", t = "See the IRS Form W-9 for instructions on co
|
|
|
11
11
|
agreeLabel: d,
|
|
12
12
|
validation: l,
|
|
13
13
|
backCta: u,
|
|
14
|
-
signCta:
|
|
15
|
-
signingCta:
|
|
14
|
+
signCta: h,
|
|
15
|
+
signingCta: p,
|
|
16
16
|
acknowledgeCta: m,
|
|
17
17
|
acknowledgingCta: f
|
|
18
18
|
};
|
|
@@ -30,9 +30,9 @@ export {
|
|
|
30
30
|
c as options,
|
|
31
31
|
n as sectionInstructions,
|
|
32
32
|
o as sections,
|
|
33
|
-
|
|
33
|
+
h as signCta,
|
|
34
34
|
e as signatureRequired,
|
|
35
|
-
|
|
35
|
+
p as signingCta,
|
|
36
36
|
l as validation
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=Contractor.SignatureForm.json.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
const t = "Submit contractor", e = "Contractor Onboarded", o = "This contractor has been successfully onboarded.", n = "Done",
|
|
1
|
+
const t = "Submit contractor", e = "Contractor Onboarded", o = "This contractor has been successfully onboarded.", n = "Done", a = "Submit and complete onboarding", i = "Please note that after submitting", r = { title: "Documents", description: "You will need to collect signed copies of the following documents from {{contractorName}}.", downloadCta: "Download document", documents: { taxpayer_identification_form_w_9: { title: "Taxpayer Identification (Form W-9)", description: "Verifies your contractor's identity for tax purposes such as generating their Form 1099." } }, alertLabel: "The government requires you to have Form W-9 completed and signed." }, c = ["The contractor type cannot be changed.", "The new hire report cannot be modified."], s = { title: "Review before sending invitation", description: "You are inviting a contractor to complete the onboarding flow. Please double-check that you've entered this contractor's details correctly.", startDateLabel: "Start date", inviteCta: "Send invitation", successMessage: "Contractor has been saved & invited to self-onboard!" }, d = { successMessage: "Contractor has been onboarded!" }, l = {
|
|
2
2
|
heading: t,
|
|
3
3
|
doneTitle: e,
|
|
4
4
|
doneDescription: o,
|
|
5
5
|
doneCta: n,
|
|
6
|
-
submitCta:
|
|
7
|
-
title:
|
|
8
|
-
documentRequirements:
|
|
9
|
-
warningItems:
|
|
10
|
-
inviteContractor:
|
|
6
|
+
submitCta: a,
|
|
7
|
+
title: i,
|
|
8
|
+
documentRequirements: r,
|
|
9
|
+
warningItems: c,
|
|
10
|
+
inviteContractor: s,
|
|
11
11
|
submitDone: d
|
|
12
12
|
};
|
|
13
13
|
export {
|
|
14
14
|
l as default,
|
|
15
|
-
|
|
15
|
+
r as documentRequirements,
|
|
16
16
|
n as doneCta,
|
|
17
17
|
o as doneDescription,
|
|
18
18
|
e as doneTitle,
|
|
19
19
|
t as heading,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
s as inviteContractor,
|
|
21
|
+
a as submitCta,
|
|
22
22
|
d as submitDone,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
i as title,
|
|
24
|
+
c as warningItems
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=Contractor.Submit.json.js.map
|
package/dist/i18n/types.d.ts
CHANGED
|
@@ -123,10 +123,10 @@ export interface Resources {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* `GustoProvider` dictionary.
|
|
126
|
+
* All user-facing text rendered by SDK components, organized by namespace.
|
|
127
|
+
*
|
|
128
|
+
* Every key includes its English default; pass overrides through a component's
|
|
129
|
+
* `dictionary` prop or the global `GustoProvider` dictionary.
|
|
130
130
|
*
|
|
131
131
|
* @public
|
|
132
132
|
*/
|
|
@@ -1707,6 +1707,12 @@ export namespace Translations {
|
|
|
1707
1707
|
homeAddressTitle: string
|
|
1708
1708
|
/** @defaultValue `"Contractor's home mailing address, within the United States."` */
|
|
1709
1709
|
homeAddressDescription: string
|
|
1710
|
+
w9EditWarning: {
|
|
1711
|
+
/** @defaultValue `"Changes will require an updated Form W-9"` */
|
|
1712
|
+
label: string
|
|
1713
|
+
/** @defaultValue `"This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information."` */
|
|
1714
|
+
body: string
|
|
1715
|
+
}
|
|
1710
1716
|
/** @defaultValue `"Street 1"` */
|
|
1711
1717
|
street1: string
|
|
1712
1718
|
/** @defaultValue `"Street 2"` */
|
|
@@ -1750,6 +1756,8 @@ export namespace Translations {
|
|
|
1750
1756
|
reviewCta: string
|
|
1751
1757
|
/** @defaultValue `"Delete"` */
|
|
1752
1758
|
deleteCta: string
|
|
1759
|
+
/** @defaultValue `"Cancel self-onboarding"` */
|
|
1760
|
+
cancelSelfOnboardingCta: string
|
|
1753
1761
|
/** @defaultValue `"Add contractors to get them setup for payroll."` */
|
|
1754
1762
|
emptyTableDescription: string
|
|
1755
1763
|
/** @defaultValue `"You haven't added any contractors yet"` */
|
|
@@ -2347,6 +2355,12 @@ export namespace Translations {
|
|
|
2347
2355
|
title: string
|
|
2348
2356
|
/** @defaultValue `"This information will be used for payments and on tax documents, so double-check that it's accurate."` */
|
|
2349
2357
|
subtitle: string
|
|
2358
|
+
w9EditWarning: {
|
|
2359
|
+
/** @defaultValue `"Changes will require an updated Form W-9"` */
|
|
2360
|
+
label: string
|
|
2361
|
+
/** @defaultValue `"This contractor has already signed a form W-9. If you are making corrections, you’re also required to update and retain a new signed version of Form W-9 reflecting the corrected information."` */
|
|
2362
|
+
body: string
|
|
2363
|
+
}
|
|
2350
2364
|
selfOnboarding: {
|
|
2351
2365
|
/** @defaultValue `"Complete your profile"` */
|
|
2352
2366
|
title: string
|
|
@@ -2446,11 +2460,11 @@ export namespace Translations {
|
|
|
2446
2460
|
cancel: string
|
|
2447
2461
|
/** @defaultValue `"Create Contractor"` */
|
|
2448
2462
|
create: string
|
|
2449
|
-
/** @defaultValue `"
|
|
2463
|
+
/** @defaultValue `"Continue"` */
|
|
2450
2464
|
update: string
|
|
2451
2465
|
/** @defaultValue `"Creating…"` */
|
|
2452
2466
|
creating: string
|
|
2453
|
-
/** @defaultValue `"
|
|
2467
|
+
/** @defaultValue `"Saving…"` */
|
|
2454
2468
|
updating: string
|
|
2455
2469
|
}
|
|
2456
2470
|
}
|
|
@@ -2574,10 +2588,14 @@ export namespace Translations {
|
|
|
2574
2588
|
ssn: {
|
|
2575
2589
|
/** @defaultValue `"Social Security Number (SSN)"` */
|
|
2576
2590
|
label: string
|
|
2591
|
+
/** @defaultValue `"Change SSN"` */
|
|
2592
|
+
changeCta: string
|
|
2577
2593
|
}
|
|
2578
2594
|
ein: {
|
|
2579
2595
|
/** @defaultValue `"Employer Identification Number (EIN)"` */
|
|
2580
2596
|
label: string
|
|
2597
|
+
/** @defaultValue `"Change EIN"` */
|
|
2598
|
+
changeCta: string
|
|
2581
2599
|
}
|
|
2582
2600
|
signature_text: {
|
|
2583
2601
|
/** @defaultValue `"Signature"` */
|
|
@@ -2652,10 +2670,12 @@ export namespace Translations {
|
|
|
2652
2670
|
documentRequirements: {
|
|
2653
2671
|
/** @defaultValue `"Documents"` */
|
|
2654
2672
|
title: string
|
|
2655
|
-
/** @defaultValue `"You will need to collect
|
|
2673
|
+
/** @defaultValue `"You will need to collect signed copies of the following documents from {{contractorName}}."` */
|
|
2656
2674
|
description: string
|
|
2657
|
-
|
|
2658
|
-
|
|
2675
|
+
/** @defaultValue `"Download document"` */
|
|
2676
|
+
downloadCta: string
|
|
2677
|
+
documents: {
|
|
2678
|
+
taxpayer_identification_form_w_9: {
|
|
2659
2679
|
/** @defaultValue `"Taxpayer Identification (Form W-9)"` */
|
|
2660
2680
|
title: string
|
|
2661
2681
|
/** @defaultValue `"Verifies your contractor's identity for tax purposes such as generating their Form 1099."` */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export * from './contexts';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Entity types returned by the Gusto Embedded Payroll API.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Re-exported from `@gusto/embedded-api` for use in SDK hook results and component props.
|
|
8
|
+
* Properties are camelCase — the underlying API returns snake_case JSON, but the Typescript
|
|
9
|
+
* client normalizes them.
|
|
7
10
|
*
|
|
8
11
|
* @public
|
|
9
12
|
*/
|