@gusto/embedded-react-sdk 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{VREWMQAW-BCWuoH6G.js → B4MFY5CR-DoQFjw0x.js} +5 -5
- package/dist/B4MFY5CR-DoQFjw0x.js.map +1 -0
- package/dist/Employee.Compensation-D5dhIZgh.js +70 -0
- package/dist/Employee.Compensation-D5dhIZgh.js.map +1 -0
- package/dist/Employee.Deductions-yskR0evJ.js +77 -0
- package/dist/Employee.Deductions-yskR0evJ.js.map +1 -0
- package/dist/Employee.EmployeeList-Bh2iUvGI.js +36 -0
- package/dist/Employee.EmployeeList-Bh2iUvGI.js.map +1 -0
- package/dist/{Employee.HomeAddress-DR_603p_.js → Employee.HomeAddress-DQ-CWfZA.js} +6 -6
- package/dist/Employee.HomeAddress-DQ-CWfZA.js.map +1 -0
- package/dist/Employee.Landing-Hpn09zPP.js +22 -0
- package/dist/Employee.Landing-Hpn09zPP.js.map +1 -0
- package/dist/Employee.OnboardingSummary-BLQS8GZz.js +36 -0
- package/dist/Employee.OnboardingSummary-BLQS8GZz.js.map +1 -0
- package/dist/Employee.PaymentMethod-B1tieS6Y.js +96 -0
- package/dist/Employee.PaymentMethod-B1tieS6Y.js.map +1 -0
- package/dist/Employee.Profile-DTBA-TQA.js +57 -0
- package/dist/Employee.Profile-DTBA-TQA.js.map +1 -0
- package/dist/Employee.Taxes-DQX-wk0E.js +53 -0
- package/dist/Employee.Taxes-DQX-wk0E.js.map +1 -0
- package/dist/{COOQDZLH-B5iac4ID.js → HO4MOOFI-ObmoeQ5Y.js} +3 -3
- package/dist/{COOQDZLH-B5iac4ID.js.map → HO4MOOFI-ObmoeQ5Y.js.map} +1 -1
- package/dist/{MU7WGUJF-D3o-8MpJ.js → HUY7CZI3-DEEhMfZT.js} +3 -3
- package/dist/{MU7WGUJF-D3o-8MpJ.js.map → HUY7CZI3-DEEhMfZT.js.map} +1 -1
- package/dist/index-DZ5zT4yt.js +33704 -0
- package/dist/index-DZ5zT4yt.js.map +1 -0
- package/dist/{src/generated/schema.d.ts → index.d.ts} +19536 -15291
- package/dist/index.js +49 -47
- package/dist/style.css +1 -1
- package/package.json +18 -16
- package/dist/Employee.Compensation-BwQ0aU6j.js +0 -69
- package/dist/Employee.Compensation-BwQ0aU6j.js.map +0 -1
- package/dist/Employee.Deductions-v07AzjHC.js +0 -52
- package/dist/Employee.Deductions-v07AzjHC.js.map +0 -1
- package/dist/Employee.EmployeeList-ezoiz5mY.js +0 -34
- package/dist/Employee.EmployeeList-ezoiz5mY.js.map +0 -1
- package/dist/Employee.HomeAddress-DR_603p_.js.map +0 -1
- package/dist/Employee.OnboardingSummary-CX_vCaZK.js +0 -34
- package/dist/Employee.OnboardingSummary-CX_vCaZK.js.map +0 -1
- package/dist/Employee.PaymentMethod-lPeUXCVJ.js +0 -56
- package/dist/Employee.PaymentMethod-lPeUXCVJ.js.map +0 -1
- package/dist/Employee.Profile-B_wp6Ee2.js +0 -53
- package/dist/Employee.Profile-B_wp6Ee2.js.map +0 -1
- package/dist/Employee.Taxes-DrKjSqOM.js +0 -48
- package/dist/Employee.Taxes-DrKjSqOM.js.map +0 -1
- package/dist/VREWMQAW-BCWuoH6G.js.map +0 -1
- package/dist/index-G-nwCZPb.js +0 -32491
- package/dist/index-G-nwCZPb.js.map +0 -1
- package/dist/src/api/client.d.ts +0 -1361
- package/dist/src/api/constants.d.ts +0 -1
- package/dist/src/api/context.d.ts +0 -14
- package/dist/src/api/queries/company.d.ts +0 -267
- package/dist/src/api/queries/employee.d.ts +0 -586
- package/dist/src/api/queries/helpers.d.ts +0 -19
- package/dist/src/api/queries/index.d.ts +0 -3
- package/dist/src/api/queries/payroll.d.ts +0 -26
- package/dist/src/api/typeHelpers.d.ts +0 -18
- package/dist/src/components/Base/Base.d.ts +0 -25
- package/dist/src/components/Base/index.d.ts +0 -1
- package/dist/src/components/Common/Alert/Alert.d.ts +0 -6
- package/dist/src/components/Common/Button/Button.d.ts +0 -8
- package/dist/src/components/Common/Checkbox/Checkbox.d.ts +0 -7
- package/dist/src/components/Common/DateField/DateField.d.ts +0 -8
- package/dist/src/components/Common/EmptyData/EmptyData.d.ts +0 -6
- package/dist/src/components/Common/Flex/Flex.d.ts +0 -12
- package/dist/src/components/Common/Hamburger/Hamburger.d.ts +0 -10
- package/dist/src/components/Common/InternalError/InternalError.d.ts +0 -2
- package/dist/src/components/Common/Loading/Loading.d.ts +0 -1
- package/dist/src/components/Common/NumberField/NumberField.d.ts +0 -9
- package/dist/src/components/Common/Select/Select.d.ts +0 -17
- package/dist/src/components/Common/TaxInputs/TaxInputs.d.ts +0 -21
- package/dist/src/components/Common/TaxInputs/index.d.ts +0 -1
- package/dist/src/components/Common/Toast/Toast.d.ts +0 -4
- package/dist/src/components/Common/hooks/useAsyncError.d.ts +0 -5
- package/dist/src/components/Common/index.d.ts +0 -14
- package/dist/src/components/Company/Addresses.d.ts +0 -7
- package/dist/src/components/Company/BankAccount.d.ts +0 -6
- package/dist/src/components/Company/FederalTaxes.d.ts +0 -7
- package/dist/src/components/Company/Industry.d.ts +0 -12
- package/dist/src/components/Company/Overview.d.ts +0 -7
- package/dist/src/components/Company/StateTaxes.d.ts +0 -6
- package/dist/src/components/Company/index.d.ts +0 -5
- package/dist/src/components/Employee/BankAccount.d.ts +0 -15
- package/dist/src/components/Employee/Compensation/Actions.d.ts +0 -1
- package/dist/src/components/Employee/Compensation/Compensation.d.ts +0 -60
- package/dist/src/components/Employee/Compensation/Edit.d.ts +0 -1
- package/dist/src/components/Employee/Compensation/Head.d.ts +0 -1
- package/dist/src/components/Employee/Compensation/List.d.ts +0 -1
- package/dist/src/components/Employee/Compensation/index.d.ts +0 -1
- package/dist/src/components/Employee/Deductions.d.ts +0 -7
- package/dist/src/components/Employee/EditDeduction.d.ts +0 -23
- package/dist/src/components/Employee/EmployeeList.d.ts +0 -22
- package/dist/src/components/Employee/FederalTaxes.d.ts +0 -1
- package/dist/src/components/Employee/OnboardingSummary.d.ts +0 -7
- package/dist/src/components/Employee/PaySchedules.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethod.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethodCombo/Actions.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethodCombo/BankAccountEdit.d.ts +0 -9
- package/dist/src/components/Employee/PaymentMethodCombo/BankAccountsList.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethodCombo/Head.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethodCombo/PaymentMethod.d.ts +0 -22
- package/dist/src/components/Employee/PaymentMethodCombo/PaymentTypeForm.d.ts +0 -11
- package/dist/src/components/Employee/PaymentMethodCombo/Split.d.ts +0 -1
- package/dist/src/components/Employee/PaymentMethodCombo/index.d.ts +0 -1
- package/dist/src/components/Employee/Profile/Actions.d.ts +0 -1
- package/dist/src/components/Employee/Profile/HomeAddress.d.ts +0 -12
- package/dist/src/components/Employee/Profile/PersonalDetails.d.ts +0 -40
- package/dist/src/components/Employee/Profile/Profile.d.ts +0 -37
- package/dist/src/components/Employee/Profile/index.d.ts +0 -1
- package/dist/src/components/Employee/SplitPaycheck.d.ts +0 -9
- package/dist/src/components/Employee/StateTaxes.d.ts +0 -7
- package/dist/src/components/Employee/TaxesCombo/Actions.d.ts +0 -1
- package/dist/src/components/Employee/TaxesCombo/FederalForm.d.ts +0 -13
- package/dist/src/components/Employee/TaxesCombo/FederalHead.d.ts +0 -1
- package/dist/src/components/Employee/TaxesCombo/StateForm.d.ts +0 -6
- package/dist/src/components/Employee/TaxesCombo/Taxes.d.ts +0 -20
- package/dist/src/components/Employee/TaxesCombo/index.d.ts +0 -1
- package/dist/src/components/Employee/index.d.ts +0 -9
- package/dist/src/components/Flow/CompanyOnboardingFlow.d.ts +0 -10
- package/dist/src/components/Flow/EmployeeOnboardingFlow.d.ts +0 -12
- package/dist/src/components/Flow/Flow.d.ts +0 -14
- package/dist/src/components/Flow/FlowNav.d.ts +0 -1
- package/dist/src/components/Flow/StateMachines/companyOnboarding.d.ts +0 -5
- package/dist/src/components/Flow/StateMachines/employeeOnboarding.d.ts +0 -12
- package/dist/src/components/Flow/StateMachines/index.d.ts +0 -2
- package/dist/src/components/Flow/index.d.ts +0 -3
- package/dist/src/components/Payroll/PayrollHistoryList.d.ts +0 -1
- package/dist/src/components/Payroll/index.d.ts +0 -1
- package/dist/src/components/PayrollSchedule/SetupPayrollSchedule.d.ts +0 -6
- package/dist/src/components/PayrollSchedule/index.d.ts +0 -1
- package/dist/src/components/index.d.ts +0 -4
- package/dist/src/components/sample/PaymentMethodSDK.d.ts +0 -1
- package/dist/src/contexts/GustoApiProvider/GustoApiProvider.d.ts +0 -15
- package/dist/src/contexts/GustoApiProvider/index.d.ts +0 -1
- package/dist/src/contexts/LocaleProvider/LocaleProvider.d.ts +0 -8
- package/dist/src/contexts/LocaleProvider/index.d.ts +0 -1
- package/dist/src/contexts/ThemeProvider/DefaultTheme.d.ts +0 -150
- package/dist/src/contexts/ThemeProvider/ThemeProvider.d.ts +0 -12
- package/dist/src/contexts/ThemeProvider/ThemeProvider.test.d.ts +0 -1
- package/dist/src/contexts/ThemeProvider/index.d.ts +0 -1
- package/dist/src/contexts/ThemeProvider/test-utils.d.ts +0 -5
- package/dist/src/contexts/index.d.ts +0 -2
- package/dist/src/helpers/LRUCache.d.ts +0 -7
- package/dist/src/helpers/formattedStrings.d.ts +0 -7
- package/dist/src/helpers/formatters.d.ts +0 -2
- package/dist/src/helpers/normalizeSSN.d.ts +0 -1
- package/dist/src/helpers/payRateCalculator.d.ts +0 -2
- package/dist/src/i18n/I18n.d.ts +0 -8
- package/dist/src/i18n/en/common.json.d.ts +0 -99
- package/dist/src/i18n/index.d.ts +0 -1
- package/dist/src/index.d.ts +0 -7
- package/dist/src/models/PayPeriod.d.ts +0 -18
- package/dist/src/models/Payroll.d.ts +0 -40
- package/dist/src/models/PayrollTotals.d.ts +0 -24
- package/dist/src/shared/constants.d.ts +0 -124
- package/dist/src/types.d.ts +0 -10
- package/dist/test/api/client.test.d.ts +0 -1
- package/dist/test/api/companyFederalTaxes.test.d.ts +0 -1
- package/dist/test/api/employeeBankAccounts.test.d.ts +0 -1
- package/dist/test/api/payrolls.test.d.ts +0 -1
- package/dist/test/mocks/apis/company_federal_taxes.d.ts +0 -2
- package/dist/test/mocks/apis/company_locations.d.ts +0 -2
- package/dist/test/mocks/apis/compensations.d.ts +0 -2
- package/dist/test/mocks/apis/employees.d.ts +0 -2
- package/dist/test/mocks/apis/employeesBankAccounts.d.ts +0 -2
- package/dist/test/mocks/apis/homeAddresses.d.ts +0 -2
- package/dist/test/mocks/apis/payrolls.d.ts +0 -2
- package/dist/test/mocks/apis/tokens.d.ts +0 -2
- package/dist/test/mocks/apis/typeHelpers.d.ts +0 -10
- package/dist/test/mocks/apis/workAddresses.d.ts +0 -2
- package/dist/test/mocks/fileMock.d.ts +0 -6
- package/dist/test/mocks/fixtures/company_location.d.ts +0 -11
- package/dist/test/mocks/fixtures/getFixture.d.ts +0 -1
- package/dist/test/mocks/handlers.d.ts +0 -1
- package/dist/test/mocks/server.d.ts +0 -1
- package/dist/test/mocks/styleMock.d.ts +0 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as Un, m as Gn, b as z, d as nr, e as B, a as v, f as j, h as Z, S as K, c as M, i as xe, u as we, j as N, k as A, l as Ke, o as ct, P as _o, n as U, D as ys, t as _, p as At, q as an, r as k, v as T, w as bs, x as zt, y as xs, z as ws, A as xn, F as $s, B as Cs, C as Ss, E as Rt, G as ks, H as Es, I as Ms, J as rr, K as Rr, L as Ds, M as Ot, $ as zo, N as Kr, O as As, Q as Ts, R as _n, T as Fs, U as Is, V as Ps } from "./index-
|
|
1
|
+
import { s as Un, m as Gn, b as z, d as nr, e as B, a as v, f as j, h as Z, S as K, c as M, i as xe, u as we, j as N, k as A, l as Ke, o as ct, P as _o, n as U, D as ys, t as _, p as At, q as an, r as k, v as T, w as bs, x as zt, y as xs, z as ws, A as xn, F as $s, B as Cs, C as Ss, E as Rt, G as ks, H as Es, I as Ms, J as rr, K as Rr, L as Ds, M as Ot, $ as zo, N as Kr, O as As, Q as Ts, R as _n, T as Fs, U as Is, V as Ps } from "./index-DZ5zT4yt.js";
|
|
2
2
|
var Ls = (e) => e != null, Os = (e) => e.filter(Ls);
|
|
3
3
|
function qs(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -785,7 +785,7 @@ var oa = { data: "" }, ia = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
785
785
|
let n = "", r = "", o = "";
|
|
786
786
|
for (let s in e) {
|
|
787
787
|
let a = e[s];
|
|
788
|
-
s[0] == "@" ? s[1] == "i" ? n = s + " " + a + ";" : r += s[1] == "f" ? kt(a, s) : s + "{" + kt(a, s[1] == "k" ? "" : t) + "}" : typeof a == "object" ? r += kt(a, t ? t.replace(/([^,])+/g, (l) => s.replace(/(
|
|
788
|
+
s[0] == "@" ? s[1] == "i" ? n = s + " " + a + ";" : r += s[1] == "f" ? kt(a, s) : s + "{" + kt(a, s[1] == "k" ? "" : t) + "}" : typeof a == "object" ? r += kt(a, t ? t.replace(/([^,])+/g, (l) => s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g, (i) => /&/.test(i) ? i.replace(/&/g, l) : l ? l + " " + i : i)) : s) : a != null && (s = /^--/.test(s) ? s : s.replace(/[A-Z]/g, "-$&").toLowerCase(), o += kt.p ? kt.p(s, a) : s + ":" + a + ";");
|
|
789
789
|
}
|
|
790
790
|
return n + (t && o ? t + "{" + o + "}" : o) + r;
|
|
791
791
|
}, st = {}, Uo = (e) => {
|
|
@@ -7544,14 +7544,14 @@ var dd = /* @__PURE__ */ _('<div><div aria-hidden=true></div><button type=button
|
|
|
7544
7544
|
}
|
|
7545
7545
|
});
|
|
7546
7546
|
}, F = () => {
|
|
7547
|
-
const S = f(), q = S.state, H = S.state.fetchMeta.__previousQueryOptions;
|
|
7547
|
+
const S = f(), q = S.state, H = S.state.fetchMeta ? S.state.fetchMeta.__previousQueryOptions : null;
|
|
7548
7548
|
S.cancel({
|
|
7549
7549
|
silent: !0
|
|
7550
7550
|
}), S.setState({
|
|
7551
7551
|
...q,
|
|
7552
7552
|
fetchStatus: "idle",
|
|
7553
7553
|
fetchMeta: null
|
|
7554
|
-
}), S.fetch(H);
|
|
7554
|
+
}), H && S.fetch(H);
|
|
7555
7555
|
};
|
|
7556
7556
|
B(() => {
|
|
7557
7557
|
y() !== "fetching" && l(!1);
|
|
@@ -8926,4 +8926,4 @@ export {
|
|
|
8926
8926
|
r0 as b,
|
|
8927
8927
|
Jd as c
|
|
8928
8928
|
};
|
|
8929
|
-
//# sourceMappingURL=
|
|
8929
|
+
//# sourceMappingURL=B4MFY5CR-DoQFjw0x.js.map
|