@saasquatch/mint-components 1.14.0 → 1.14.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/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +1 -1
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +1 -1
- package/dist/cjs/{usePayoutStatus-4b5894ef.js → usePayoutStatus-feeac99b.js} +8 -5
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +8 -5
- package/dist/esm/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm/{usePayoutStatus-58aa56b4.js → usePayoutStatus-fed17fc9.js} +8 -5
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/{usePayoutStatus-58aa56b4.js → usePayoutStatus-fed17fc9.js} +2 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-57eef0af.entry.js → p-0d68b3b1.entry.js} +1 -1
- package/dist/mint-components/{p-480e08e9.js → p-11dff275.js} +2 -2
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-daee25f9.system.entry.js → p-6604658c.system.entry.js} +1 -1
- package/dist/mint-components/{p-116baa69.entry.js → p-73891ac0.entry.js} +1 -1
- package/dist/mint-components/{p-cc7af682.system.js → p-9721a29a.system.js} +2 -2
- package/dist/mint-components/{p-4e773bb1.system.entry.js → p-a6178052.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ const ErrorView = require('./ErrorView-b2fcf954.js');
|
|
|
21
21
|
const sqmInvoiceTableView = require('./sqm-invoice-table-view-16ac73d0.js');
|
|
22
22
|
const extractProps = require('./extractProps-fd93ba62.js');
|
|
23
23
|
const keys = require('./keys-cff24974.js');
|
|
24
|
-
const usePayoutStatus = require('./usePayoutStatus-
|
|
24
|
+
const usePayoutStatus = require('./usePayoutStatus-feeac99b.js');
|
|
25
25
|
const useVerificationEmail = require('./useVerificationEmail-95a82767.js');
|
|
26
26
|
|
|
27
27
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
@@ -25,7 +25,7 @@ const AsYouType = require('./AsYouType-6788393a.js');
|
|
|
25
25
|
const utilities = require('./utilities-78f5e169.js');
|
|
26
26
|
const ShadowViewAddon = require('./ShadowViewAddon-787391f7.js');
|
|
27
27
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
28
|
-
const usePayoutStatus = require('./usePayoutStatus-
|
|
28
|
+
const usePayoutStatus = require('./usePayoutStatus-feeac99b.js');
|
|
29
29
|
|
|
30
30
|
const BigStat = class {
|
|
31
31
|
constructor(hostRef) {
|
|
@@ -986,17 +986,20 @@ const GET_USER_STATUS = index_module.dist.gql `
|
|
|
986
986
|
}
|
|
987
987
|
`;
|
|
988
988
|
function getStatus(data) {
|
|
989
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
989
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
990
990
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
991
991
|
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
992
992
|
return "INFORMATION_REQUIRED";
|
|
993
|
-
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
993
|
+
if (((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.length) === 1 && ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("NEW_PAYEE_REVIEW"))) {
|
|
994
|
+
return "DONE";
|
|
995
|
+
}
|
|
996
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
994
997
|
return "VERIFICATION:REQUIRED";
|
|
995
|
-
if ((
|
|
998
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
996
999
|
return "VERIFICATION:INTERNAL";
|
|
997
|
-
if ((
|
|
1000
|
+
if ((_j = account.holdReasons) === null || _j === void 0 ? void 0 : _j.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
998
1001
|
return "VERIFICATION:REVIEW";
|
|
999
|
-
if ((
|
|
1002
|
+
if ((_k = account.holdReasons) === null || _k === void 0 ? void 0 : _k.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
1000
1003
|
return "VERIFICATION:FAILED";
|
|
1001
1004
|
if (account.hold)
|
|
1002
1005
|
return "HOLD";
|
|
@@ -23,17 +23,20 @@ const GET_USER_STATUS = gql `
|
|
|
23
23
|
}
|
|
24
24
|
`;
|
|
25
25
|
export function getStatus(data) {
|
|
26
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
26
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
27
27
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
28
28
|
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
29
29
|
return "INFORMATION_REQUIRED";
|
|
30
|
-
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
30
|
+
if (((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.length) === 1 && ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("NEW_PAYEE_REVIEW"))) {
|
|
31
|
+
return "DONE";
|
|
32
|
+
}
|
|
33
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
31
34
|
return "VERIFICATION:REQUIRED";
|
|
32
|
-
if ((
|
|
35
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
33
36
|
return "VERIFICATION:INTERNAL";
|
|
34
|
-
if ((
|
|
37
|
+
if ((_j = account.holdReasons) === null || _j === void 0 ? void 0 : _j.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
35
38
|
return "VERIFICATION:REVIEW";
|
|
36
|
-
if ((
|
|
39
|
+
if ((_k = account.holdReasons) === null || _k === void 0 ? void 0 : _k.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
37
40
|
return "VERIFICATION:FAILED";
|
|
38
41
|
if (account.hold)
|
|
39
42
|
return "HOLD";
|
|
@@ -17,7 +17,7 @@ import { E as ErrorView } from './ErrorView-48e2b969.js';
|
|
|
17
17
|
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-2c726568.js';
|
|
18
18
|
import { e as extractProps } from './extractProps-ae1afbb3.js';
|
|
19
19
|
import { b as VERIFICATION_EVENT_KEY, V as VERIFICATION_EMAIL_NAMESPACE, S as SHOW_CODE_NAMESPACE, a as VERIFICATION_PARENT_NAMESPACE } from './keys-406491dc.js';
|
|
20
|
-
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-
|
|
20
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-fed17fc9.js';
|
|
21
21
|
import { u as useVerificationEmail } from './useVerificationEmail-edc318cb.js';
|
|
22
22
|
|
|
23
23
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
@@ -21,7 +21,7 @@ import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
|
21
21
|
import { i as isEmpty } from './utilities-5b0ca040.js';
|
|
22
22
|
import { b as useDemoBigStat, U as useBigStat, B as BigStatView, O as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, V as withShadowView, L as LeaderboardView, N as NameFieldsView, C as ChangeMarktingView, d as PortalChangePasswordView, h as PortalFooterView, P as PortalFrameView, e as PortalRegisterView, R as ReferralIframeView, W as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-cf230f50.js';
|
|
23
23
|
import './sqm-portal-container-view-1683ae32.js';
|
|
24
|
-
import { u as usePayoutStatus } from './usePayoutStatus-
|
|
24
|
+
import { u as usePayoutStatus } from './usePayoutStatus-fed17fc9.js';
|
|
25
25
|
|
|
26
26
|
const BigStat = class {
|
|
27
27
|
constructor(hostRef) {
|
|
@@ -984,17 +984,20 @@ const GET_USER_STATUS = dist.gql `
|
|
|
984
984
|
}
|
|
985
985
|
`;
|
|
986
986
|
function getStatus(data) {
|
|
987
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
987
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
988
988
|
const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
|
|
989
989
|
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
990
990
|
return "INFORMATION_REQUIRED";
|
|
991
|
-
if ((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.includes("
|
|
991
|
+
if (((_e = account.holdReasons) === null || _e === void 0 ? void 0 : _e.length) === 1 && ((_f = account.holdReasons) === null || _f === void 0 ? void 0 : _f.includes("NEW_PAYEE_REVIEW"))) {
|
|
992
|
+
return "DONE";
|
|
993
|
+
}
|
|
994
|
+
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
992
995
|
return "VERIFICATION:REQUIRED";
|
|
993
|
-
if ((
|
|
996
|
+
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
994
997
|
return "VERIFICATION:INTERNAL";
|
|
995
|
-
if ((
|
|
998
|
+
if ((_j = account.holdReasons) === null || _j === void 0 ? void 0 : _j.includes("IDV_CHECK_REVIEW_INTERNAL"))
|
|
996
999
|
return "VERIFICATION:REVIEW";
|
|
997
|
-
if ((
|
|
1000
|
+
if ((_k = account.holdReasons) === null || _k === void 0 ? void 0 : _k.includes("IDV_CHECK_FAILED_INTERNAL"))
|
|
998
1001
|
return "VERIFICATION:FAILED";
|
|
999
1002
|
if (account.hold)
|
|
1000
1003
|
return "HOLD";
|