@saasquatch/mint-components 2.0.2-0 → 2.0.2-10

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 (58) hide show
  1. package/dist/cjs/{ShadowViewAddon-1b38dcfc.js → ShadowViewAddon-925a8fa6.js} +3 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +13 -11
  5. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +21 -15
  6. package/dist/cjs/sqm-header-logo.cjs.entry.js +10 -4
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  8. package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-9abe2de8.js} +16 -19
  9. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +18 -11
  10. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
  11. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +2 -1
  12. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +13 -7
  13. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +6 -6
  14. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +16 -19
  15. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  16. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +5 -5
  17. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +8 -8
  18. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -0
  19. package/dist/esm/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.js} +3 -3
  20. package/dist/esm/loader.js +1 -1
  21. package/dist/esm/mint-components.js +1 -1
  22. package/dist/esm/sqm-banking-info-form_10.entry.js +13 -11
  23. package/dist/esm/sqm-big-stat_47.entry.js +21 -15
  24. package/dist/esm/sqm-header-logo.entry.js +10 -4
  25. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  26. package/dist/esm/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +16 -19
  27. package/dist/esm-es5/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.js} +1 -1
  28. package/dist/esm-es5/loader.js +1 -1
  29. package/dist/esm-es5/mint-components.js +1 -1
  30. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  31. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  32. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  33. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  34. package/dist/esm-es5/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +2 -2
  35. package/dist/mint-components/mint-components.esm.js +1 -1
  36. package/dist/mint-components/{p-612062cd.system.entry.js → p-0649123a.system.entry.js} +1 -1
  37. package/dist/mint-components/p-09ab53fb.system.entry.js +1 -0
  38. package/dist/mint-components/p-35576752.system.entry.js +1 -0
  39. package/dist/mint-components/{p-9f8d34d1.system.js → p-38f932ae.system.js} +1 -1
  40. package/dist/mint-components/{p-ef8c9f73.entry.js → p-408a3798.entry.js} +9 -9
  41. package/dist/mint-components/{p-0e1a1b14.js → p-57ce33dd.js} +1 -1
  42. package/dist/mint-components/{p-40e0251f.system.js → p-59bb2d52.system.js} +2 -2
  43. package/dist/mint-components/{p-f6a7d4d3.entry.js → p-5f3eafd4.entry.js} +1 -1
  44. package/dist/mint-components/p-7d6c3126.system.entry.js +1 -0
  45. package/dist/mint-components/p-967a9040.system.js +1 -1
  46. package/dist/mint-components/p-ab111e29.entry.js +1 -0
  47. package/dist/mint-components/{p-f17b6de6.js → p-c41108ae.js} +7 -7
  48. package/dist/mint-components/{p-3219fdbe.entry.js → p-c540c501.entry.js} +4 -4
  49. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +3 -3
  50. package/dist/types/components.d.ts +6 -6
  51. package/docs/docs.docx +0 -0
  52. package/docs/raisins.json +1 -1
  53. package/grapesjs/grapesjs.js +1 -1
  54. package/package.json +1 -1
  55. package/dist/mint-components/p-014dc2be.entry.js +0 -1
  56. package/dist/mint-components/p-09707418.system.entry.js +0 -1
  57. package/dist/mint-components/p-2c86af62.system.entry.js +0 -1
  58. package/dist/mint-components/p-333d5597.system.entry.js +0 -1
@@ -23,11 +23,11 @@ import { u as usePortalLogin } from './usePortalLogin-f95bbc67.js';
23
23
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
24
24
  import { i as isEmpty } from './utilities-72c07b09.js';
25
25
  import { E as ErrorView } from './ErrorView-bbf0a042.js';
26
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-1adaf077.js';
26
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, j as RewardExchangeView, Y as demoRewardExchange, J as useShareButton, a as ShareButtonView, K as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-aae27c2e.js';
27
27
  import './sqm-portal-container-view-176e92e3.js';
28
28
  import { g as getCountryObj, L as LoadingView } from './utils-6122971b.js';
29
29
  import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
30
- import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './usePayoutStatus-f064247b.js';
30
+ import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './usePayoutStatus-e0ef2374.js';
31
31
 
32
32
  /**
33
33
  *
@@ -3058,7 +3058,9 @@ function PayoutStatusAlertView(props) {
3058
3058
  }, {
3059
3059
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3060
3060
  }),
3061
- buttonText: text.editPaymentInformationButton,
3061
+ button: (h$1(Fragment, null,
3062
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3063
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3062
3064
  alertType: "warning",
3063
3065
  icon: "exclamation-triangle",
3064
3066
  };
@@ -3071,7 +3073,9 @@ function PayoutStatusAlertView(props) {
3071
3073
  }, {
3072
3074
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3073
3075
  }),
3074
- buttonText: text.editPaymentInformationButton,
3076
+ button: (h$1(Fragment, null,
3077
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3078
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3075
3079
  alertType: "warning",
3076
3080
  icon: "exclamation-triangle",
3077
3081
  };
@@ -3084,7 +3088,9 @@ function PayoutStatusAlertView(props) {
3084
3088
  }, {
3085
3089
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3086
3090
  }),
3087
- buttonText: text.editPaymentInformationButton,
3091
+ button: (h$1(Fragment, null,
3092
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3093
+ h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3088
3094
  alertType: "warning",
3089
3095
  icon: "exclamation-triangle",
3090
3096
  };
@@ -3097,7 +3103,8 @@ function PayoutStatusAlertView(props) {
3097
3103
  }, {
3098
3104
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3099
3105
  }),
3100
- buttonText: text.editPaymentInformationButton,
3106
+ button: (h$1(Fragment, null,
3107
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3101
3108
  alertType: "warning",
3102
3109
  icon: "exclamation-triangle",
3103
3110
  };
@@ -3111,9 +3118,8 @@ function PayoutStatusAlertView(props) {
3111
3118
  supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3112
3119
  }),
3113
3120
  button: (h$1(Fragment, null,
3114
- h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3115
- h$1("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3116
- alertType: "warning",
3121
+ h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3122
+ alertType: "error",
3117
3123
  icon: "exclamation-triangle",
3118
3124
  };
3119
3125
  case "HOLD":
@@ -3211,7 +3217,7 @@ const PayoutStatusAlert = class {
3211
3217
  /**
3212
3218
  * @uiName Verification required internal alert header
3213
3219
  */
3214
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
3220
+ this.verificationRequiredInternalHeader = "Identity Verification in progress";
3215
3221
  /**
3216
3222
  * @uiName Verification required internal alert description
3217
3223
  */
@@ -3219,7 +3225,7 @@ const PayoutStatusAlert = class {
3219
3225
  /**
3220
3226
  * @uiName Verification review internal alert header
3221
3227
  */
3222
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
3228
+ this.verificationReviewInternalHeader = "Identity Verification under review";
3223
3229
  /**
3224
3230
  * @uiName Verification review internal alert description
3225
3231
  */
@@ -3227,7 +3233,7 @@ const PayoutStatusAlert = class {
3227
3233
  /**
3228
3234
  * @uiName Verification failed internal alert header
3229
3235
  */
3230
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
3236
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
3231
3237
  /**
3232
3238
  * @uiName Verification failed internal alert description
3233
3239
  */
@@ -7562,7 +7568,7 @@ const TaxAndCashMonolith = class {
7562
7568
  * @uiGroup Dashboard Properties
7563
7569
  * @uiWidget textArea
7564
7570
  */
7565
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7571
+ this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
7566
7572
  /**
7567
7573
  * @uiName Verification required internal alert description
7568
7574
  * @uiGroup Dashboard Properties
@@ -7574,7 +7580,7 @@ const TaxAndCashMonolith = class {
7574
7580
  * @uiGroup Dashboard Properties
7575
7581
  * @uiWidget textArea
7576
7582
  */
7577
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7583
+ this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
7578
7584
  /**
7579
7585
  * @uiName Verification review internal alert description
7580
7586
  * @uiGroup Dashboard Properties
@@ -7586,7 +7592,7 @@ const TaxAndCashMonolith = class {
7586
7592
  * @uiGroup Dashboard Properties
7587
7593
  * @uiWidget textArea
7588
7594
  */
7589
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7595
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
7590
7596
  /**
7591
7597
  * @uiName Verification failed internal alert description
7592
7598
  * @uiGroup Dashboard Properties
@@ -5,9 +5,14 @@ const HeroImage = class {
5
5
  constructor(hostRef) {
6
6
  registerInstance(this, hostRef);
7
7
  /**
8
- * @uiName Logo text
8
+ * @uiName Logo text size
9
9
  */
10
- this.logoTextSize = "24px";
10
+ this.logoTextSize = 32;
11
+ /**
12
+ * @uiWidget color
13
+ * @uiName Logo text color
14
+ */
15
+ this.logoTextColor = "#555555";
11
16
  /**
12
17
  * Page participants are navigated to after clicking the header logo.
13
18
  *
@@ -24,8 +29,9 @@ const HeroImage = class {
24
29
  disconnectedCallback() { }
25
30
  render() {
26
31
  return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-link" }, this.imageUrl ? (h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl })) : (h$1("h3", { style: {
27
- fontSize: this.logoTextSize,
28
- color: this.logoTextColor || "inherit",
32
+ fontSize: `${this.logoTextSize}px`,
33
+ color: this.logoTextColor || "#555555",
34
+ textDecoration: "none",
29
35
  } }, this.logoText)))));
30
36
  }
31
37
  };
@@ -30,7 +30,7 @@ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-a
30
30
  import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-33805220.js';
31
31
  import './ErrorView-bbf0a042.js';
32
32
  import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
33
- import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-1adaf077.js';
33
+ import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-aae27c2e.js';
34
34
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
35
35
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView } from './IndirectTaxDetailsView-0a57b622.js';
36
36
  import { t as taxTypeToName, L as LoadingView } from './utils-6122971b.js';
@@ -1127,7 +1127,7 @@ const GET_TAX_SETTING = dist.gql `
1127
1127
  }
1128
1128
  `;
1129
1129
  function getStatus(data) {
1130
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1130
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
1131
1131
  const account = (_b = (_a = data.user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) === null || _b === void 0 ? void 0 : _b.payoutsAccount;
1132
1132
  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") &&
1133
1133
  reward.partnerFundsTransfer.status === "TRANSFERRED");
@@ -1144,19 +1144,22 @@ function getStatus(data) {
1144
1144
  return "VERIFICATION:REVIEW";
1145
1145
  if ((_p = account.holdReasons) === null || _p === void 0 ? void 0 : _p.includes("IDV_CHECK_FAILED_INTERNAL"))
1146
1146
  return "VERIFICATION:FAILED";
1147
+ // only show banner for NEW_PAYEE_REVIEW if a PFT was created
1147
1148
  if (((_q = account.holdReasons) === null || _q === void 0 ? void 0 : _q.includes("NEW_PAYEE_REVIEW")) && hasTransferredReward)
1148
1149
  return "NEW_PAYEE_REVIEW";
1149
- if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("PAYMENT_HOLD_ON_CHANGE"))
1150
+ if ((_r = account.holdReasons) === null || _r === void 0 ? void 0 : _r.includes("NEW_PAYEE_REVIEW"))
1151
+ return "DONE";
1152
+ if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("PAYMENT_HOLD_ON_CHANGE"))
1150
1153
  return "PAYMENT_HOLD_ON_CHANGE";
1151
- if ((_s = account.holdReasons) === null || _s === void 0 ? void 0 : _s.includes("BENEFICIARY_NAME_INVALID"))
1154
+ if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_INVALID"))
1152
1155
  return "BENEFICIARY_NAME_INVALID";
1153
- if ((_t = account.holdReasons) === null || _t === void 0 ? void 0 : _t.includes("BENEFICIARY_NAME_MISMATCH"))
1156
+ if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BENEFICIARY_NAME_MISMATCH"))
1154
1157
  return "BENEFICIARY_NAME_MISMATCH";
1155
- if ((_u = account.holdReasons) === null || _u === void 0 ? void 0 : _u.includes("BANK_TAX_NAME_MISMATCH"))
1158
+ if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("BANK_TAX_NAME_MISMATCH"))
1156
1159
  return "BANK_TAX_NAME_MISMATCH";
1157
- if ((_v = account.holdReasons) === null || _v === void 0 ? void 0 : _v.includes("WITHDRAWAL_SETTINGS_INVALID"))
1160
+ if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("WITHDRAWAL_SETTINGS_INVALID"))
1158
1161
  return "WITHDRAWAL_SETTINGS_INVALID";
1159
- if ((_w = account.holdReasons) === null || _w === void 0 ? void 0 : _w.includes("PAYMENT_RETURNED"))
1162
+ if ((_x = account.holdReasons) === null || _x === void 0 ? void 0 : _x.includes("PAYMENT_RETURNED"))
1160
1163
  return "PAYMENT_RETURNED";
1161
1164
  if (account.hold)
1162
1165
  return "HOLD";
@@ -1199,20 +1202,14 @@ function usePayoutStatus(props) {
1199
1202
  window.history.pushState(null, "", url);
1200
1203
  };
1201
1204
  const onPaymentInfoClick = () => {
1202
- setContext({
1203
- overrideNextStep: "/dashboard",
1204
- overrideBackStep: "/dashboard",
1205
- hideSteps: true,
1206
- });
1207
- setStep("/4");
1205
+ let url = props.cashPayoutsPageUrl;
1206
+ url += "#4";
1207
+ window.history.pushState(null, "", url);
1208
1208
  };
1209
1209
  const onNewFormClick = () => {
1210
- setContext({
1211
- overrideNextStep: "/dashboard",
1212
- overrideBackStep: "/dashboard",
1213
- hideSteps: true,
1214
- });
1215
- setStep("/3");
1210
+ let url = props.cashPayoutsPageUrl;
1211
+ url += "#3";
1212
+ window.history.pushState(null, "", url);
1216
1213
  };
1217
1214
  return {
1218
1215
  states: {