@saasquatch/mint-components 1.15.5 → 1.15.7

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.
Files changed (29) hide show
  1. package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +1 -1
  2. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +1 -1
  3. package/dist/cjs/sqm-referred-registration.cjs.entry.js +1 -1
  4. package/dist/cjs/{usePayoutStatus-733ef29a.js → usePayoutStatus-1ffd1cd4.js} +3 -1
  5. package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +2 -2
  6. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +3 -1
  7. package/dist/esm/sqm-banking-info-form_17.entry.js +1 -1
  8. package/dist/esm/sqm-big-stat_43.entry.js +1 -1
  9. package/dist/esm/sqm-referred-registration.entry.js +1 -1
  10. package/dist/esm/{usePayoutStatus-b89e8c49.js → usePayoutStatus-f09f2ec8.js} +3 -1
  11. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  12. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  13. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  14. package/dist/esm-es5/{usePayoutStatus-b89e8c49.js → usePayoutStatus-f09f2ec8.js} +1 -1
  15. package/dist/mint-components/mint-components.esm.js +1 -1
  16. package/dist/mint-components/p-10f9a888.entry.js +1 -0
  17. package/dist/mint-components/{p-c78e6066.entry.js → p-15364635.entry.js} +1 -1
  18. package/dist/mint-components/{p-3d73cd84.entry.js → p-2d8045c2.entry.js} +1 -1
  19. package/dist/mint-components/{p-e64e8354.system.entry.js → p-3439af2f.system.entry.js} +1 -1
  20. package/dist/mint-components/p-37996351.system.js +1 -1
  21. package/dist/mint-components/{p-021b0540.js → p-3df72337.js} +3 -3
  22. package/dist/mint-components/{p-959c42b2.system.entry.js → p-5cda9960.system.entry.js} +1 -1
  23. package/dist/mint-components/p-a6f92647.system.entry.js +1 -0
  24. package/dist/mint-components/{p-a6494752.system.js → p-f82e3152.system.js} +2 -2
  25. package/docs/docs.docx +0 -0
  26. package/docs/raisins.json +1 -1
  27. package/package.json +4 -1
  28. package/dist/mint-components/p-00ed4c2e.entry.js +0 -1
  29. package/dist/mint-components/p-42187319.system.entry.js +0 -1
@@ -21,7 +21,7 @@ const ErrorView = require('./ErrorView-b2fcf954.js');
21
21
  const sqmInvoiceTableView = require('./sqm-invoice-table-view-5c74607f.js');
22
22
  const extractProps = require('./extractProps-fd93ba62.js');
23
23
  const keys = require('./keys-cff24974.js');
24
- const usePayoutStatus = require('./usePayoutStatus-733ef29a.js');
24
+ const usePayoutStatus = require('./usePayoutStatus-1ffd1cd4.js');
25
25
  const useVerificationEmail = require('./useVerificationEmail-95a82767.js');
26
26
 
27
27
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
@@ -26,7 +26,7 @@ const AsYouType = require('./AsYouType-6788393a.js');
26
26
  const utilities = require('./utilities-78f5e169.js');
27
27
  const ShadowViewAddon = require('./ShadowViewAddon-e9dc77e3.js');
28
28
  require('./sqm-portal-container-view-4f15143a.js');
29
- const usePayoutStatus = require('./usePayoutStatus-733ef29a.js');
29
+ const usePayoutStatus = require('./usePayoutStatus-1ffd1cd4.js');
30
30
 
31
31
  const BigStat = class {
32
32
  constructor(hostRef) {
@@ -32,7 +32,7 @@ const ReferredRegistration = class {
32
32
  /**
33
33
  * @uiName Register button text
34
34
  */
35
- this.registerLabel = "Start Referring";
35
+ this.registerLabel = "Claim Your Reward";
36
36
  /**
37
37
  * Require your participants to enter their first and last name.
38
38
  *
@@ -1002,7 +1002,7 @@ const GET_TAX_SETTING = index_module.dist.gql `
1002
1002
  }
1003
1003
  `;
1004
1004
  function getStatus(data) {
1005
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
1005
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
1006
1006
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
1007
1007
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
1008
1008
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -1021,6 +1021,8 @@ function getStatus(data) {
1021
1021
  return "VERIFICATION:FAILED";
1022
1022
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
1023
1023
  return "ACCOUNT_REVIEW";
1024
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
1025
+ return "DONE";
1024
1026
  if (account.hold)
1025
1027
  return "HOLD";
1026
1028
  return "DONE";
@@ -29,7 +29,7 @@ export class ReferredRegistration {
29
29
  /**
30
30
  * @uiName Register button text
31
31
  */
32
- this.registerLabel = "Start Referring";
32
+ this.registerLabel = "Claim Your Reward";
33
33
  /**
34
34
  * Require your participants to enter their first and last name.
35
35
  *
@@ -235,7 +235,7 @@ export class ReferredRegistration {
235
235
  },
236
236
  "attribute": "register-label",
237
237
  "reflect": false,
238
- "defaultValue": "\"Start Referring\""
238
+ "defaultValue": "\"Claim Your Reward\""
239
239
  },
240
240
  "includeName": {
241
241
  "type": "boolean",
@@ -39,7 +39,7 @@ const GET_TAX_SETTING = gql `
39
39
  }
40
40
  `;
41
41
  export function getStatus(data) {
42
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
42
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
43
43
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
44
44
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
45
45
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -58,6 +58,8 @@ export function getStatus(data) {
58
58
  return "VERIFICATION:FAILED";
59
59
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
60
60
  return "ACCOUNT_REVIEW";
61
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
62
+ return "DONE";
61
63
  if (account.hold)
62
64
  return "HOLD";
63
65
  return "DONE";
@@ -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-3491dd80.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-b89e8c49.js';
20
+ import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-f09f2ec8.js';
21
21
  import { u as useVerificationEmail } from './useVerificationEmail-edc318cb.js';
22
22
 
23
23
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
@@ -22,7 +22,7 @@ import { A as AsYouType } from './AsYouType-46f67d0d.js';
22
22
  import { i as isEmpty } from './utilities-5b0ca040.js';
23
23
  import { b as useDemoBigStat, W as useBigStat, B as BigStatView, U as autoColorScaleCss, J as CardFeedView, i as CheckboxFieldView, K as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, Q as LeadDropdownFieldView, O as LeadFormView, X 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, Y as demoRewardExchange, j as RewardExchangeView, a as useShareButton, S as ShareButtonView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-e0d5f1c9.js';
24
24
  import './sqm-portal-container-view-1683ae32.js';
25
- import { u as usePayoutStatus } from './usePayoutStatus-b89e8c49.js';
25
+ import { u as usePayoutStatus } from './usePayoutStatus-f09f2ec8.js';
26
26
 
27
27
  const BigStat = class {
28
28
  constructor(hostRef) {
@@ -28,7 +28,7 @@ const ReferredRegistration = class {
28
28
  /**
29
29
  * @uiName Register button text
30
30
  */
31
- this.registerLabel = "Start Referring";
31
+ this.registerLabel = "Claim Your Reward";
32
32
  /**
33
33
  * Require your participants to enter their first and last name.
34
34
  *
@@ -1000,7 +1000,7 @@ const GET_TAX_SETTING = dist.gql `
1000
1000
  }
1001
1001
  `;
1002
1002
  function getStatus(data) {
1003
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
1003
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
1004
1004
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
1005
1005
  const hasTransferredReward = (_e = (_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.rewards) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.find((reward) => reward.statuses.includes("REDEEMED") &&
1006
1006
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -1019,6 +1019,8 @@ function getStatus(data) {
1019
1019
  return "VERIFICATION:FAILED";
1020
1020
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
1021
1021
  return "ACCOUNT_REVIEW";
1022
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
1023
+ return "DONE";
1022
1024
  if (account.hold)
1023
1025
  return "HOLD";
1024
1026
  return "DONE";