@saasquatch/mint-components 2.0.2-21 → 2.0.2-22
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/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +16 -7
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +6 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +10 -5
- package/dist/esm/sqm-banking-info-form_10.entry.js +16 -7
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-bf2fc399.entry.js → p-003fe134.entry.js} +2 -2
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/mint-components/p-d91948d9.system.entry.js +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-2a404185.system.entry.js +0 -1
|
@@ -1105,8 +1105,12 @@ function useBankingInfoForm(props) {
|
|
|
1105
1105
|
setPaymentMethodChecked,
|
|
1106
1106
|
setPaymentScheduleChecked,
|
|
1107
1107
|
onBack: () => {
|
|
1108
|
-
|
|
1109
|
-
|
|
1108
|
+
if (window.location.hash) {
|
|
1109
|
+
window.location.hash = "";
|
|
1110
|
+
}
|
|
1111
|
+
else {
|
|
1112
|
+
setStep("/dashboard");
|
|
1113
|
+
}
|
|
1110
1114
|
},
|
|
1111
1115
|
setCountrySearch,
|
|
1112
1116
|
onVerification,
|
|
@@ -1780,11 +1784,16 @@ function useDocusignForm(props) {
|
|
|
1780
1784
|
}
|
|
1781
1785
|
};
|
|
1782
1786
|
const progressStep = () => {
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1787
|
+
if (window.location.hash) {
|
|
1788
|
+
window.location.hash = "";
|
|
1789
|
+
}
|
|
1790
|
+
else {
|
|
1791
|
+
setStep(context.overrideNextStep ||
|
|
1792
|
+
!!(publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) ||
|
|
1793
|
+
!(publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup)
|
|
1794
|
+
? "/dashboard"
|
|
1795
|
+
: "/4");
|
|
1796
|
+
}
|
|
1788
1797
|
};
|
|
1789
1798
|
const allLoading = userLoading || documentLoading || loading;
|
|
1790
1799
|
return {
|
|
@@ -327,8 +327,12 @@ export function useBankingInfoForm(props) {
|
|
|
327
327
|
setPaymentMethodChecked,
|
|
328
328
|
setPaymentScheduleChecked,
|
|
329
329
|
onBack: () => {
|
|
330
|
-
|
|
331
|
-
|
|
330
|
+
if (window.location.hash) {
|
|
331
|
+
window.location.hash = "";
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
setStep("/dashboard");
|
|
335
|
+
}
|
|
332
336
|
},
|
|
333
337
|
setCountrySearch,
|
|
334
338
|
onVerification,
|
|
@@ -115,11 +115,16 @@ export function useDocusignForm(props) {
|
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
const progressStep = () => {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
if (window.location.hash) {
|
|
119
|
+
window.location.hash = "";
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
setStep(context.overrideNextStep ||
|
|
123
|
+
!!(publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) ||
|
|
124
|
+
!(publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup)
|
|
125
|
+
? "/dashboard"
|
|
126
|
+
: "/4");
|
|
127
|
+
}
|
|
123
128
|
};
|
|
124
129
|
const allLoading = userLoading || documentLoading || loading;
|
|
125
130
|
return {
|
|
@@ -1101,8 +1101,12 @@ function useBankingInfoForm(props) {
|
|
|
1101
1101
|
setPaymentMethodChecked,
|
|
1102
1102
|
setPaymentScheduleChecked,
|
|
1103
1103
|
onBack: () => {
|
|
1104
|
-
|
|
1105
|
-
|
|
1104
|
+
if (window.location.hash) {
|
|
1105
|
+
window.location.hash = "";
|
|
1106
|
+
}
|
|
1107
|
+
else {
|
|
1108
|
+
setStep("/dashboard");
|
|
1109
|
+
}
|
|
1106
1110
|
},
|
|
1107
1111
|
setCountrySearch,
|
|
1108
1112
|
onVerification,
|
|
@@ -1776,11 +1780,16 @@ function useDocusignForm(props) {
|
|
|
1776
1780
|
}
|
|
1777
1781
|
};
|
|
1778
1782
|
const progressStep = () => {
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1783
|
+
if (window.location.hash) {
|
|
1784
|
+
window.location.hash = "";
|
|
1785
|
+
}
|
|
1786
|
+
else {
|
|
1787
|
+
setStep(context.overrideNextStep ||
|
|
1788
|
+
!!(publisher === null || publisher === void 0 ? void 0 : publisher.withdrawalSettings) ||
|
|
1789
|
+
!(publisher === null || publisher === void 0 ? void 0 : publisher.brandedSignup)
|
|
1790
|
+
? "/dashboard"
|
|
1791
|
+
: "/4");
|
|
1792
|
+
}
|
|
1784
1793
|
};
|
|
1785
1794
|
const allLoading = userLoading || documentLoading || loading;
|
|
1786
1795
|
return {
|