@saasquatch/mint-components 1.14.1 → 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-639cc554.js → usePayoutStatus-feeac99b.js} +3 -3
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +3 -3
- 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-68c2fe88.js → usePayoutStatus-fed17fc9.js} +3 -3
- 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-68c2fe88.js → usePayoutStatus-fed17fc9.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-e3e4a466.entry.js → p-0d68b3b1.entry.js} +1 -1
- package/dist/mint-components/{p-ba749252.js → p-11dff275.js} +1 -1
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-f2f8d39a.system.entry.js → p-6604658c.system.entry.js} +1 -1
- package/dist/mint-components/{p-4886f44d.entry.js → p-73891ac0.entry.js} +1 -1
- package/dist/mint-components/{p-9b85baf6.system.js → p-9721a29a.system.js} +1 -1
- package/dist/mint-components/{p-9fb65fb5.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) {
|
|
@@ -988,11 +988,11 @@ const GET_USER_STATUS = index_module.dist.gql `
|
|
|
988
988
|
function getStatus(data) {
|
|
989
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
|
-
if (((_c =
|
|
991
|
+
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
992
|
+
return "INFORMATION_REQUIRED";
|
|
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"))) {
|
|
992
994
|
return "DONE";
|
|
993
995
|
}
|
|
994
|
-
if (!((_f = (_e = data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.connected) || !account)
|
|
995
|
-
return "INFORMATION_REQUIRED";
|
|
996
996
|
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
997
997
|
return "VERIFICATION:REQUIRED";
|
|
998
998
|
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
@@ -25,11 +25,11 @@ const GET_USER_STATUS = gql `
|
|
|
25
25
|
export function getStatus(data) {
|
|
26
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
|
-
if (((_c =
|
|
28
|
+
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
29
|
+
return "INFORMATION_REQUIRED";
|
|
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"))) {
|
|
29
31
|
return "DONE";
|
|
30
32
|
}
|
|
31
|
-
if (!((_f = (_e = data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.connected) || !account)
|
|
32
|
-
return "INFORMATION_REQUIRED";
|
|
33
33
|
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
34
34
|
return "VERIFICATION:REQUIRED";
|
|
35
35
|
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|
|
@@ -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) {
|
|
@@ -986,11 +986,11 @@ const GET_USER_STATUS = dist.gql `
|
|
|
986
986
|
function getStatus(data) {
|
|
987
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
|
-
if (((_c =
|
|
989
|
+
if (!((_d = (_c = data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.connected) || !account)
|
|
990
|
+
return "INFORMATION_REQUIRED";
|
|
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"))) {
|
|
990
992
|
return "DONE";
|
|
991
993
|
}
|
|
992
|
-
if (!((_f = (_e = data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.connected) || !account)
|
|
993
|
-
return "INFORMATION_REQUIRED";
|
|
994
994
|
if ((_g = account.holdReasons) === null || _g === void 0 ? void 0 : _g.includes("IDV_CHECK_REQUIRED"))
|
|
995
995
|
return "VERIFICATION:REQUIRED";
|
|
996
996
|
if ((_h = account.holdReasons) === null || _h === void 0 ? void 0 : _h.includes("IDV_CHECK_REQUIRED_INTERNAL"))
|