@gusto/embedded-react-sdk 0.4.1 → 0.6.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 +86 -0
- package/dist/{HUY7CZI3-CM-U8Gdr.js → 3VW64HDT-DZCphYiC.js} +3 -3
- package/dist/{HUY7CZI3-CM-U8Gdr.js.map → 3VW64HDT-DZCphYiC.js.map} +1 -1
- package/dist/{B4MFY5CR-hjSpgaAn.js → 67EVQ76A-CpAwQIaO.js} +1368 -1460
- package/dist/67EVQ76A-CpAwQIaO.js.map +1 -0
- package/dist/{Company.AssignSignatory-VsqcZn_d.js → Company.AssignSignatory-CUCZtm6s.js} +8 -8
- package/dist/Company.AssignSignatory-CUCZtm6s.js.map +1 -0
- package/dist/Company.DocumentList-D-h6c4bI.js +40 -0
- package/dist/Company.DocumentList-D-h6c4bI.js.map +1 -0
- package/dist/Company.Locations-Cp9h8ZGu.js +74 -0
- package/dist/Company.Locations-Cp9h8ZGu.js.map +1 -0
- package/dist/Company.PaySchedule-CxoupNmN.js +74 -0
- package/dist/Company.PaySchedule-CxoupNmN.js.map +1 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js +30 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js.map +1 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js +50 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js.map +1 -0
- package/dist/{HO4MOOFI-C3z78pq0.js → J3FDRF32-sHWjjvEV.js} +3 -3
- package/dist/{HO4MOOFI-C3z78pq0.js.map → J3FDRF32-sHWjjvEV.js.map} +1 -1
- package/dist/index-BjyRpZDE.js +45647 -0
- package/dist/index-BjyRpZDE.js.map +1 -0
- package/dist/index.d.ts +340 -55
- package/dist/index.js +49 -48
- package/dist/style.css +1 -1
- package/package.json +8 -3
- package/dist/B4MFY5CR-hjSpgaAn.js.map +0 -1
- package/dist/Company.AssignSignatory-VsqcZn_d.js.map +0 -1
- package/dist/Company.DocumentList-CHkbgJsE.js +0 -38
- package/dist/Company.DocumentList-CHkbgJsE.js.map +0 -1
- package/dist/Company.PaySchedule-CMS2f4fy.js +0 -12
- package/dist/Company.PaySchedule-CMS2f4fy.js.map +0 -1
- package/dist/Employee.DocumentSigner-CQx0yl15.js +0 -48
- package/dist/Employee.DocumentSigner-CQx0yl15.js.map +0 -1
- package/dist/index-C7lSGIir.js +0 -37862
- package/dist/index-C7lSGIir.js.map +0 -1
|
@@ -30,10 +30,10 @@ const e = "Assign a company signatory", t = `The company signatory is responsibl
|
|
|
30
30
|
confirmEmail: "Confirm signatory email",
|
|
31
31
|
firstName: "First name",
|
|
32
32
|
lastName: "Last name"
|
|
33
|
-
}, r = {
|
|
34
|
-
submit: "Submit",
|
|
35
|
-
invite: "Send invite"
|
|
36
33
|
}, n = {
|
|
34
|
+
signDocuments: "Sign documents",
|
|
35
|
+
inviteSignatory: "Invite signatory"
|
|
36
|
+
}, r = {
|
|
37
37
|
dob: "Date of birth is required",
|
|
38
38
|
email: "Email address is required and must be valid",
|
|
39
39
|
emailMismatch: "Email addresses must match",
|
|
@@ -54,18 +54,18 @@ const e = "Assign a company signatory", t = `The company signatory is responsibl
|
|
|
54
54
|
signatoryDetails: s,
|
|
55
55
|
address: a,
|
|
56
56
|
inviteSignatory: o,
|
|
57
|
-
buttons:
|
|
58
|
-
validations:
|
|
57
|
+
buttons: n,
|
|
58
|
+
validations: r
|
|
59
59
|
};
|
|
60
60
|
export {
|
|
61
61
|
a as address,
|
|
62
|
-
|
|
62
|
+
n as buttons,
|
|
63
63
|
l as default,
|
|
64
64
|
t as description,
|
|
65
65
|
o as inviteSignatory,
|
|
66
66
|
s as signatoryDetails,
|
|
67
67
|
i as signingOptions,
|
|
68
68
|
e as title,
|
|
69
|
-
|
|
69
|
+
r as validations
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=Company.AssignSignatory-
|
|
71
|
+
//# sourceMappingURL=Company.AssignSignatory-CUCZtm6s.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Company.AssignSignatory-CUCZtm6s.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const t = "Documents", n = "Documents", o = "Form", e = "Action", s = "Please note, only the signatory can sign documents.", i = "Only the signatory can sign documents.", a = "You are the assigned signatory.", c = "Your signatory is {{signatory}}, {{title}}.", g = "A signatory has not yet been assigned", r = "Change signatory", u = "Assign signatory", l = "Sign document", m = "Complete", y = "Not signed", S = "Could not load your documents, try again later.", d = "No documents found", C = "Continue", b = {
|
|
2
|
+
documentListTitle: t,
|
|
3
|
+
documentListLabel: n,
|
|
4
|
+
formColumnLabel: o,
|
|
5
|
+
actionColumnLabel: e,
|
|
6
|
+
selfSignatoryTitle: s,
|
|
7
|
+
otherSignatoryTitle: i,
|
|
8
|
+
selfSignatorySubtext: a,
|
|
9
|
+
otherSignatorySubtext: c,
|
|
10
|
+
noSignatorySubtext: g,
|
|
11
|
+
changeSignatoryCta: r,
|
|
12
|
+
assignSignatoryCta: u,
|
|
13
|
+
signDocumentCta: l,
|
|
14
|
+
signDocumentComplete: m,
|
|
15
|
+
notSigned: y,
|
|
16
|
+
documentListError: S,
|
|
17
|
+
emptyTableTitle: d,
|
|
18
|
+
continueCta: C
|
|
19
|
+
};
|
|
20
|
+
export {
|
|
21
|
+
e as actionColumnLabel,
|
|
22
|
+
u as assignSignatoryCta,
|
|
23
|
+
r as changeSignatoryCta,
|
|
24
|
+
C as continueCta,
|
|
25
|
+
b as default,
|
|
26
|
+
S as documentListError,
|
|
27
|
+
n as documentListLabel,
|
|
28
|
+
t as documentListTitle,
|
|
29
|
+
d as emptyTableTitle,
|
|
30
|
+
o as formColumnLabel,
|
|
31
|
+
g as noSignatorySubtext,
|
|
32
|
+
y as notSigned,
|
|
33
|
+
c as otherSignatorySubtext,
|
|
34
|
+
i as otherSignatoryTitle,
|
|
35
|
+
a as selfSignatorySubtext,
|
|
36
|
+
s as selfSignatoryTitle,
|
|
37
|
+
m as signDocumentComplete,
|
|
38
|
+
l as signDocumentCta
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=Company.DocumentList-D-h6c4bI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Company.DocumentList-D-h6c4bI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const e = "Company addresses", s = "To automate your payroll filings, we need to have your company's accurate addresses. Please enter your mailing and filing addresses and all addresses where you have employees physically working in the United States.", t = "List of company addresses", a = "Addresses", i = "Address status", o = "Filing Address", n = "Mailing Address", l = "Location actions", d = "Edit", r = "No addresses", c = "Once you’ve added addresses they will appear here", p = "+ Add another address", m = "+ Add an address", y = "Add company address", L = "We will need to collect and add any employee’s physical working address in the US including remote employees and employees who work from home", h = "Street 1", b = "Street 2", u = "City", g = "State", C = "Select state...", f = "Zip", A = "Phone number", T = "Address types", v = "Mailing address", w = "This is where you'd like to receive mail. It's usually the same as your filing address.", D = "Filing address", P = "This is your primary physical place of business. It can't be a P.O. Box. The filing address should match the address you have on file with the IRS, which you can find on your federal EIN assignment form (Form CP575). We'll use it for all local, state, and federal filings.", F = "Save", S = "Cancel", k = "Continue", z = {
|
|
2
|
+
street1: "Street address is required",
|
|
3
|
+
city: "Please provide valid city name",
|
|
4
|
+
state: "Please select a state",
|
|
5
|
+
zip: "Please provide valid zip code",
|
|
6
|
+
phone: "Please provide valid phone number"
|
|
7
|
+
}, I = {
|
|
8
|
+
locationsListTitle: e,
|
|
9
|
+
locationsListDescription: s,
|
|
10
|
+
locationListLabel: t,
|
|
11
|
+
locationListCol1: a,
|
|
12
|
+
locationListCol2: i,
|
|
13
|
+
filingAddress: o,
|
|
14
|
+
mailingAddress: n,
|
|
15
|
+
hamburgerTitle: l,
|
|
16
|
+
editCta: d,
|
|
17
|
+
emptyTableTitle: r,
|
|
18
|
+
emptyTableDescription: c,
|
|
19
|
+
addLocationCta: p,
|
|
20
|
+
addFirstLicationCta: m,
|
|
21
|
+
locationFormTitle: y,
|
|
22
|
+
locationFormDescription: L,
|
|
23
|
+
street1Label: h,
|
|
24
|
+
street2Label: b,
|
|
25
|
+
cityLabel: u,
|
|
26
|
+
stateLabel: g,
|
|
27
|
+
statePlaceholder: C,
|
|
28
|
+
zipLabel: f,
|
|
29
|
+
phoneNumberLabel: A,
|
|
30
|
+
addressTypeLabel: T,
|
|
31
|
+
mailingAddressLabel: v,
|
|
32
|
+
mailingAddressDescription: w,
|
|
33
|
+
filingAddressLabel: D,
|
|
34
|
+
filingAddressDescription: P,
|
|
35
|
+
saveCta: F,
|
|
36
|
+
cancelCta: S,
|
|
37
|
+
continueCta: k,
|
|
38
|
+
validations: z
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
m as addFirstLicationCta,
|
|
42
|
+
p as addLocationCta,
|
|
43
|
+
T as addressTypeLabel,
|
|
44
|
+
S as cancelCta,
|
|
45
|
+
u as cityLabel,
|
|
46
|
+
k as continueCta,
|
|
47
|
+
I as default,
|
|
48
|
+
d as editCta,
|
|
49
|
+
c as emptyTableDescription,
|
|
50
|
+
r as emptyTableTitle,
|
|
51
|
+
o as filingAddress,
|
|
52
|
+
P as filingAddressDescription,
|
|
53
|
+
D as filingAddressLabel,
|
|
54
|
+
l as hamburgerTitle,
|
|
55
|
+
L as locationFormDescription,
|
|
56
|
+
y as locationFormTitle,
|
|
57
|
+
a as locationListCol1,
|
|
58
|
+
i as locationListCol2,
|
|
59
|
+
t as locationListLabel,
|
|
60
|
+
s as locationsListDescription,
|
|
61
|
+
e as locationsListTitle,
|
|
62
|
+
n as mailingAddress,
|
|
63
|
+
w as mailingAddressDescription,
|
|
64
|
+
v as mailingAddressLabel,
|
|
65
|
+
A as phoneNumberLabel,
|
|
66
|
+
F as saveCta,
|
|
67
|
+
g as stateLabel,
|
|
68
|
+
C as statePlaceholder,
|
|
69
|
+
h as street1Label,
|
|
70
|
+
b as street2Label,
|
|
71
|
+
z as validations,
|
|
72
|
+
f as zipLabel
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=Company.Locations-Cp9h8ZGu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Company.Locations-Cp9h8ZGu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
const e = 'Pick what frequency you’d like to run payroll. If you need help, you can read more about <how_to_choose_schedule href="https://gusto.com/resources/articles/payroll/best-payroll-schedule-small-business" target="_blank">how to choose a pay schedule.</how_to_choose_schedule>', t = 'Why do we need to ask for this? We need to know when to pay your employees. Some states have <payment_law_doc href="https://www.dol.gov/agencies/whd/state/payday" target="_blank">laws around when you must pay your employees.</payment_law_doc> Please choose pay schedules that are legal for your employees.', a = "+ Add another pay schedule", o = "Save & continue", s = "Please make sure to verify this information is accurate. If this information isn't correct, it can delay when your team will be paid.", n = {
|
|
2
|
+
name: "Name",
|
|
3
|
+
actions: "Actions",
|
|
4
|
+
active: "Active",
|
|
5
|
+
inactive: "Inactive",
|
|
6
|
+
edit: "Edit"
|
|
7
|
+
}, i = {
|
|
8
|
+
addPaySchedule: "Add pay schedule",
|
|
9
|
+
editPaySchedule: "Edit pay schedule",
|
|
10
|
+
pageTitle: "Set up pay schedule"
|
|
11
|
+
}, c = {
|
|
12
|
+
payfrequency: "Pay frequency",
|
|
13
|
+
frequency: "Frequency",
|
|
14
|
+
deadline: "Deadline to run payroll",
|
|
15
|
+
frequencyOptions: "Frequency Options",
|
|
16
|
+
firstPayDate: "First pay date",
|
|
17
|
+
firstPayPeriodEndDate: "First pay period end date",
|
|
18
|
+
firstPayDayOfTheMonth: "First pay day of the month",
|
|
19
|
+
lastPayDayOfTheMonth: "Last pay day of the month",
|
|
20
|
+
preview: "Preview",
|
|
21
|
+
legend: "Legend"
|
|
22
|
+
}, r = "Loading...", y = {
|
|
23
|
+
frequencyOptionsDescription: "Select the pay days for the month.",
|
|
24
|
+
anchorPayDateDescription: "lease account for the 2 days it will take to process payroll.",
|
|
25
|
+
anchorEndOfPayPeriodDescription: "The last date of the first pay period to help calculate future pay periods. This can be the same date as the first pay date."
|
|
26
|
+
}, d = {
|
|
27
|
+
payPeriod: "Pay period",
|
|
28
|
+
payday: "Payday",
|
|
29
|
+
payrollDeadline: "Run payroll by 1:00PM (PDT) on "
|
|
30
|
+
}, l = {
|
|
31
|
+
cancel: "Cancel",
|
|
32
|
+
save: "Save"
|
|
33
|
+
}, h = {
|
|
34
|
+
everyWeek: "Every week",
|
|
35
|
+
everyOtherWeek: "Every other week",
|
|
36
|
+
twicePerMonth: "Twice per month",
|
|
37
|
+
monthly: "Monthly"
|
|
38
|
+
}, p = {
|
|
39
|
+
"15thAndLast": "15th and Last day of the month",
|
|
40
|
+
custom: "Custom"
|
|
41
|
+
}, u = {
|
|
42
|
+
listDescription: e,
|
|
43
|
+
listDescription2: t,
|
|
44
|
+
addAnotherPayScheduleCta: a,
|
|
45
|
+
saveAndContinueCta: o,
|
|
46
|
+
pleaseVerify: s,
|
|
47
|
+
payScheduleList: n,
|
|
48
|
+
headings: i,
|
|
49
|
+
labels: c,
|
|
50
|
+
loading: r,
|
|
51
|
+
descriptions: y,
|
|
52
|
+
payPreview: d,
|
|
53
|
+
actions: l,
|
|
54
|
+
frequencies: h,
|
|
55
|
+
frequencyOptions: p
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
l as actions,
|
|
59
|
+
a as addAnotherPayScheduleCta,
|
|
60
|
+
u as default,
|
|
61
|
+
y as descriptions,
|
|
62
|
+
h as frequencies,
|
|
63
|
+
p as frequencyOptions,
|
|
64
|
+
i as headings,
|
|
65
|
+
c as labels,
|
|
66
|
+
e as listDescription,
|
|
67
|
+
t as listDescription2,
|
|
68
|
+
r as loading,
|
|
69
|
+
d as payPreview,
|
|
70
|
+
n as payScheduleList,
|
|
71
|
+
s as pleaseVerify,
|
|
72
|
+
o as saveAndContinueCta
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=Company.PaySchedule-CxoupNmN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Company.PaySchedule-CxoupNmN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const o = "Signature required for {{formTitle}}", n = "Please review the document. When you're finished, sign below.", t = "View document", e = "Signature", r = "Type your full, legal name.", i = "Signature is required", a = "Agreement to sign electronically", s = "I am the signatory and I agree to sign electronically", c = "You must agree to sign electronically", l = "Back", u = "Sign form", m = "{{description}} You may also <downloadLink>download this document</downloadLink>.", d = {
|
|
2
|
+
signatureFormTitle: o,
|
|
3
|
+
downloadInstructions: n,
|
|
4
|
+
viewDocumentCta: t,
|
|
5
|
+
signatureLabel: e,
|
|
6
|
+
signatureDescription: r,
|
|
7
|
+
signatureError: i,
|
|
8
|
+
confirmationGroupLabel: a,
|
|
9
|
+
confirmationLabel: s,
|
|
10
|
+
confirmationError: c,
|
|
11
|
+
backCta: l,
|
|
12
|
+
submitCta: u,
|
|
13
|
+
downloadPrompt: m
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
l as backCta,
|
|
17
|
+
c as confirmationError,
|
|
18
|
+
a as confirmationGroupLabel,
|
|
19
|
+
s as confirmationLabel,
|
|
20
|
+
d as default,
|
|
21
|
+
n as downloadInstructions,
|
|
22
|
+
m as downloadPrompt,
|
|
23
|
+
r as signatureDescription,
|
|
24
|
+
i as signatureError,
|
|
25
|
+
o as signatureFormTitle,
|
|
26
|
+
e as signatureLabel,
|
|
27
|
+
u as submitCta,
|
|
28
|
+
t as viewDocumentCta
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Company.SignatureForm-DC4MsbLt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Company.SignatureForm-DC4MsbLt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const o = "Documents", e = "Documents", n = "Form", t = "Action", i = "Continue", r = "Sign document", a = "Complete", c = "Not signed", s = "Could not load your documents, try again later.", l = "No documents found", u = "Signature required for {{formTitle}}", m = "{{description}} You may also <downloadLink>download this document</downloadLink>.", d = "Signature", g = "Type your full, legal name.", C = "Signature is required", L = "Agreement to sign electronically", b = "I am the employee and I agree to sign electronically", p = "You must agree to sign electronically", f = "Back", w = "Sign form", y = "View document", S = "Please review the document. When you're finished, sign below.", D = {
|
|
2
|
+
documentListTitle: o,
|
|
3
|
+
documentListLabel: e,
|
|
4
|
+
formColumnLabel: n,
|
|
5
|
+
actionColumnLabel: t,
|
|
6
|
+
continueCta: i,
|
|
7
|
+
signDocumentCta: r,
|
|
8
|
+
signDocumentComplete: a,
|
|
9
|
+
notSigned: c,
|
|
10
|
+
documentListError: s,
|
|
11
|
+
emptyTableTitle: l,
|
|
12
|
+
signatureFormTitle: u,
|
|
13
|
+
downloadPrompt: m,
|
|
14
|
+
signatureFieldLabel: d,
|
|
15
|
+
signatureFieldDescription: g,
|
|
16
|
+
signatureFieldError: C,
|
|
17
|
+
confirmationGroupLabel: L,
|
|
18
|
+
confirmSignatureCheckboxLabel: b,
|
|
19
|
+
confirmSignatureError: p,
|
|
20
|
+
backCta: f,
|
|
21
|
+
signFormCta: w,
|
|
22
|
+
viewDocumentCta: y,
|
|
23
|
+
downloadAndReviewInstructions: S
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
t as actionColumnLabel,
|
|
27
|
+
f as backCta,
|
|
28
|
+
b as confirmSignatureCheckboxLabel,
|
|
29
|
+
p as confirmSignatureError,
|
|
30
|
+
L as confirmationGroupLabel,
|
|
31
|
+
i as continueCta,
|
|
32
|
+
D as default,
|
|
33
|
+
s as documentListError,
|
|
34
|
+
e as documentListLabel,
|
|
35
|
+
o as documentListTitle,
|
|
36
|
+
S as downloadAndReviewInstructions,
|
|
37
|
+
m as downloadPrompt,
|
|
38
|
+
l as emptyTableTitle,
|
|
39
|
+
n as formColumnLabel,
|
|
40
|
+
c as notSigned,
|
|
41
|
+
a as signDocumentComplete,
|
|
42
|
+
r as signDocumentCta,
|
|
43
|
+
w as signFormCta,
|
|
44
|
+
g as signatureFieldDescription,
|
|
45
|
+
C as signatureFieldError,
|
|
46
|
+
d as signatureFieldLabel,
|
|
47
|
+
u as signatureFormTitle,
|
|
48
|
+
y as viewDocumentCta
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=Employee.DocumentSigner-DgbuxBnJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Employee.DocumentSigner-DgbuxBnJ.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 "./
|
|
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 "./67EVQ76A-CpAwQIaO.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-BjyRpZDE.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=
|
|
34
|
+
//# sourceMappingURL=J3FDRF32-sHWjjvEV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"J3FDRF32-sHWjjvEV.js","sources":["../node_modules/@tanstack/query-devtools/build/DevtoolsComponent/J3FDRF32.js"],"sourcesContent":["import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, Devtools } from '../chunk/67EVQ76A.js';\nimport { getPreferredColorScheme, createMemo, createComponent } from '../chunk/4F76KWFD.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]}
|