@saasquatch/mint-components 2.0.2-18 → 2.0.2-20
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 +6 -3
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +1 -1
- package/dist/esm/sqm-banking-info-form_10.entry.js +6 -3
- 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-967a9040.system.js +1 -1
- package/dist/mint-components/{p-700052a8.entry.js → p-b3783e7d.entry.js} +3 -3
- package/dist/mint-components/p-d078327c.system.entry.js +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-7f188ba3.system.entry.js +0 -1
|
@@ -906,8 +906,7 @@ function useBankingInfoForm(props) {
|
|
|
906
906
|
console.log({ context });
|
|
907
907
|
domContextHooks_module.useEffect(() => {
|
|
908
908
|
// reset redirect hash
|
|
909
|
-
|
|
910
|
-
window.location.hash = "";
|
|
909
|
+
window.location.hash = "";
|
|
911
910
|
}, []);
|
|
912
911
|
domContextHooks_module.useEffect(() => {
|
|
913
912
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1717,6 +1716,10 @@ function useDocusignForm(props) {
|
|
|
1717
1716
|
? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
|
|
1718
1717
|
const actualDocumentType = existingDocumentType ||
|
|
1719
1718
|
getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
|
|
1719
|
+
domContextHooks_module.useEffect(() => {
|
|
1720
|
+
// reset redirect hash
|
|
1721
|
+
window.location.hash = "";
|
|
1722
|
+
}, []);
|
|
1720
1723
|
domContextHooks_module.useEffect(() => {
|
|
1721
1724
|
if (!existingDocumentType)
|
|
1722
1725
|
return;
|
|
@@ -4397,12 +4400,12 @@ const useTaxAndCashDashboard = (props) => {
|
|
|
4397
4400
|
// Clear override context once on submitted
|
|
4398
4401
|
setContext({});
|
|
4399
4402
|
if (window.location.hash) {
|
|
4400
|
-
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
4401
4403
|
setContext({
|
|
4402
4404
|
overrideNextStep: "/dashboard",
|
|
4403
4405
|
overrideBackStep: "/dashboard",
|
|
4404
4406
|
hideSteps: true,
|
|
4405
4407
|
});
|
|
4408
|
+
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
4406
4409
|
}
|
|
4407
4410
|
}, []);
|
|
4408
4411
|
const { data, loading, errors: userError, refetch, } = index_module.$n(usePayoutStatus.USER_QUERY_NAMESPACE);
|
|
@@ -128,8 +128,7 @@ export function useBankingInfoForm(props) {
|
|
|
128
128
|
console.log({ context });
|
|
129
129
|
useEffect(() => {
|
|
130
130
|
// reset redirect hash
|
|
131
|
-
|
|
132
|
-
window.location.hash = "";
|
|
131
|
+
window.location.hash = "";
|
|
133
132
|
}, []);
|
|
134
133
|
useEffect(() => {
|
|
135
134
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -50,6 +50,10 @@ export function useDocusignForm(props) {
|
|
|
50
50
|
? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
|
|
51
51
|
const actualDocumentType = existingDocumentType ||
|
|
52
52
|
getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
// reset redirect hash
|
|
55
|
+
window.location.hash = "";
|
|
56
|
+
}, []);
|
|
53
57
|
useEffect(() => {
|
|
54
58
|
if (!existingDocumentType)
|
|
55
59
|
return;
|
package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js
CHANGED
|
@@ -61,12 +61,12 @@ export const useTaxAndCashDashboard = (props) => {
|
|
|
61
61
|
// Clear override context once on submitted
|
|
62
62
|
setContext({});
|
|
63
63
|
if (window.location.hash) {
|
|
64
|
-
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
65
64
|
setContext({
|
|
66
65
|
overrideNextStep: "/dashboard",
|
|
67
66
|
overrideBackStep: "/dashboard",
|
|
68
67
|
hideSteps: true,
|
|
69
68
|
});
|
|
69
|
+
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
70
70
|
}
|
|
71
71
|
}, []);
|
|
72
72
|
const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
|
|
@@ -902,8 +902,7 @@ function useBankingInfoForm(props) {
|
|
|
902
902
|
console.log({ context });
|
|
903
903
|
useEffect(() => {
|
|
904
904
|
// reset redirect hash
|
|
905
|
-
|
|
906
|
-
window.location.hash = "";
|
|
905
|
+
window.location.hash = "";
|
|
907
906
|
}, []);
|
|
908
907
|
useEffect(() => {
|
|
909
908
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
@@ -1713,6 +1712,10 @@ function useDocusignForm(props) {
|
|
|
1713
1712
|
? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
|
|
1714
1713
|
const actualDocumentType = existingDocumentType ||
|
|
1715
1714
|
getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
|
|
1715
|
+
useEffect(() => {
|
|
1716
|
+
// reset redirect hash
|
|
1717
|
+
window.location.hash = "";
|
|
1718
|
+
}, []);
|
|
1716
1719
|
useEffect(() => {
|
|
1717
1720
|
if (!existingDocumentType)
|
|
1718
1721
|
return;
|
|
@@ -4393,12 +4396,12 @@ const useTaxAndCashDashboard = (props) => {
|
|
|
4393
4396
|
// Clear override context once on submitted
|
|
4394
4397
|
setContext({});
|
|
4395
4398
|
if (window.location.hash) {
|
|
4396
|
-
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
4397
4399
|
setContext({
|
|
4398
4400
|
overrideNextStep: "/dashboard",
|
|
4399
4401
|
overrideBackStep: "/dashboard",
|
|
4400
4402
|
hideSteps: true,
|
|
4401
4403
|
});
|
|
4404
|
+
setStep(`/${window.location.hash.replace("#", "")}`);
|
|
4402
4405
|
}
|
|
4403
4406
|
}, []);
|
|
4404
4407
|
const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);
|