@saasquatch/mint-components 2.0.2-1 → 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 (39) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +13 -11
  2. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +20 -14
  3. package/dist/cjs/sqm-header-logo.cjs.entry.js +3 -3
  4. package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-9abe2de8.js} +16 -19
  5. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +6 -6
  6. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +2 -1
  7. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +13 -7
  8. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +6 -6
  9. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +16 -19
  10. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +6 -6
  11. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +5 -5
  12. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +8 -8
  13. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +1 -0
  14. package/dist/esm/sqm-banking-info-form_10.entry.js +13 -11
  15. package/dist/esm/sqm-big-stat_47.entry.js +20 -14
  16. package/dist/esm/sqm-header-logo.entry.js +3 -3
  17. package/dist/esm/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +16 -19
  18. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  19. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  20. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  21. package/dist/esm-es5/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +2 -2
  22. package/dist/mint-components/mint-components.esm.js +1 -1
  23. package/dist/mint-components/{p-2933bbe9.system.entry.js → p-09ab53fb.system.entry.js} +1 -1
  24. package/dist/mint-components/p-35576752.system.entry.js +1 -0
  25. package/dist/mint-components/{p-b1c4500e.entry.js → p-408a3798.entry.js} +9 -9
  26. package/dist/mint-components/{p-40e0251f.system.js → p-59bb2d52.system.js} +2 -2
  27. package/dist/mint-components/p-7d6c3126.system.entry.js +1 -0
  28. package/dist/mint-components/p-967a9040.system.js +1 -1
  29. package/dist/mint-components/{p-2ed300e9.entry.js → p-ab111e29.entry.js} +1 -1
  30. package/dist/mint-components/{p-f17b6de6.js → p-c41108ae.js} +7 -7
  31. package/dist/mint-components/{p-3219fdbe.entry.js → p-c540c501.entry.js} +4 -4
  32. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +2 -2
  33. package/dist/types/components.d.ts +4 -4
  34. package/docs/docs.docx +0 -0
  35. package/docs/raisins.json +1 -1
  36. package/grapesjs/grapesjs.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/mint-components/p-2c86af62.system.entry.js +0 -1
  39. package/dist/mint-components/p-2e87159a.system.entry.js +0 -1
@@ -144,7 +144,7 @@ export class TaxAndCashDashboard {
144
144
  *
145
145
  * @uiName Edit payment info button label
146
146
  */
147
- this.editPaymentInformationButton = "Edit Payout Information";
147
+ this.editPaymentInformationButton = "Edit payout information";
148
148
  /**
149
149
  * @uiName Not registered for indirect tax text
150
150
  * @uiWidget textArea
@@ -205,7 +205,7 @@ export class TaxAndCashDashboard {
205
205
  /**
206
206
  * @uiName Verification required internal alert header
207
207
  */
208
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
208
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
209
209
  /**
210
210
  * @uiName Verification required internal alert description
211
211
  */
@@ -213,7 +213,7 @@ export class TaxAndCashDashboard {
213
213
  /**
214
214
  * @uiName Verification review internal alert header
215
215
  */
216
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
216
+ this.verificationReviewInternalHeader = "Identity verification under review";
217
217
  /**
218
218
  * @uiName Verification review internal alert description
219
219
  */
@@ -221,7 +221,7 @@ export class TaxAndCashDashboard {
221
221
  /**
222
222
  * @uiName Verification failed internal alert header
223
223
  */
224
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
224
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
225
225
  /**
226
226
  * @uiName Verification failed internal alert description
227
227
  */
@@ -935,7 +935,7 @@ export class TaxAndCashDashboard {
935
935
  },
936
936
  "attribute": "edit-payment-information-button",
937
937
  "reflect": false,
938
- "defaultValue": "\"Edit Payout Information\""
938
+ "defaultValue": "\"Edit payout information\""
939
939
  },
940
940
  "notRegisteredForTax": {
941
941
  "type": "string",
@@ -1202,7 +1202,7 @@ export class TaxAndCashDashboard {
1202
1202
  },
1203
1203
  "attribute": "verification-required-internal-header",
1204
1204
  "reflect": false,
1205
- "defaultValue": "\"Identity Verification in Progress\""
1205
+ "defaultValue": "\"Identity verification in progress\""
1206
1206
  },
1207
1207
  "verificationRequiredInternalDescription": {
1208
1208
  "type": "string",
@@ -1244,7 +1244,7 @@ export class TaxAndCashDashboard {
1244
1244
  },
1245
1245
  "attribute": "verification-review-internal-header",
1246
1246
  "reflect": false,
1247
- "defaultValue": "\"Identity Verification Under Review\""
1247
+ "defaultValue": "\"Identity verification under review\""
1248
1248
  },
1249
1249
  "verificationReviewInternalDescription": {
1250
1250
  "type": "string",
@@ -1286,7 +1286,7 @@ export class TaxAndCashDashboard {
1286
1286
  },
1287
1287
  "attribute": "verification-failed-internal-header",
1288
1288
  "reflect": false,
1289
- "defaultValue": "\"Identity Verification Unsuccessful\""
1289
+ "defaultValue": "\"Identity verification unsuccessful\""
1290
1290
  },
1291
1291
  "verificationFailedInternalDescription": {
1292
1292
  "type": "string",
@@ -289,6 +289,7 @@ export const UserInfoFormView = (props) => {
289
289
  }
290
290
  function isDisabledInput(field) {
291
291
  var _a;
292
+ console.log({ data, states });
292
293
  if (states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]))
293
294
  return true;
294
295
  return false;
@@ -15,7 +15,7 @@ import { g as generateUserError } from './useReferralTable-909ccb28.js';
15
15
  import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-0a57b622.js';
16
16
  import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-6122971b.js';
17
17
  import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
18
- import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, j as TAX_FORM_UPDATED_EVENT_KEY, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, k as useVeriffApp, l as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, C as CURRENCIES_NAMESPACE } from './usePayoutStatus-f064247b.js';
18
+ import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, j as TAX_FORM_UPDATED_EVENT_KEY, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, k as useVeriffApp, l as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, C as CURRENCIES_NAMESPACE } from './usePayoutStatus-e0ef2374.js';
19
19
 
20
20
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
@@ -901,7 +901,8 @@ function useBankingInfoForm(props) {
901
901
  : _paymentMethodChecked;
902
902
  useEffect(() => {
903
903
  // reset redirect hash
904
- window.location.hash = "";
904
+ if (window.location.hash !== "#4")
905
+ window.location.hash = "";
905
906
  }, []);
906
907
  useEffect(() => {
907
908
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -4068,7 +4069,7 @@ const TaxAndCashDashboardView = (props) => {
4068
4069
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4069
4070
  }),
4070
4071
  button: (h(Fragment, null,
4071
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4072
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4072
4073
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4073
4074
  alertType: "warning",
4074
4075
  icon: "exclamation-triangle",
@@ -4084,7 +4085,7 @@ const TaxAndCashDashboardView = (props) => {
4084
4085
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4085
4086
  }),
4086
4087
  button: (h(Fragment, null,
4087
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4088
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4088
4089
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4089
4090
  alertType: "warning",
4090
4091
  icon: "exclamation-triangle",
@@ -4100,7 +4101,7 @@ const TaxAndCashDashboardView = (props) => {
4100
4101
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4101
4102
  }),
4102
4103
  button: (h(Fragment, null,
4103
- h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4104
+ h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
4104
4105
  h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onNewFormClick }, text.newFormButton))),
4105
4106
  alertType: "warning",
4106
4107
  icon: "exclamation-triangle",
@@ -4129,8 +4130,8 @@ const TaxAndCashDashboardView = (props) => {
4129
4130
  }, {
4130
4131
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4131
4132
  }),
4132
- button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4133
- alertType: "warning",
4133
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4134
+ alertType: "error",
4134
4135
  icon: "exclamation-triangle",
4135
4136
  class: sheet$4.classes.WarningHoldAlertContainer,
4136
4137
  };
@@ -4601,7 +4602,7 @@ const TaxAndCashDashboard = class {
4601
4602
  *
4602
4603
  * @uiName Edit payment info button label
4603
4604
  */
4604
- this.editPaymentInformationButton = "Edit Payout Information";
4605
+ this.editPaymentInformationButton = "Edit payout information";
4605
4606
  /**
4606
4607
  * @uiName Not registered for indirect tax text
4607
4608
  * @uiWidget textArea
@@ -4662,7 +4663,7 @@ const TaxAndCashDashboard = class {
4662
4663
  /**
4663
4664
  * @uiName Verification required internal alert header
4664
4665
  */
4665
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
4666
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
4666
4667
  /**
4667
4668
  * @uiName Verification required internal alert description
4668
4669
  */
@@ -4670,7 +4671,7 @@ const TaxAndCashDashboard = class {
4670
4671
  /**
4671
4672
  * @uiName Verification review internal alert header
4672
4673
  */
4673
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
4674
+ this.verificationReviewInternalHeader = "Identity verification under review";
4674
4675
  /**
4675
4676
  * @uiName Verification review internal alert description
4676
4677
  */
@@ -4678,7 +4679,7 @@ const TaxAndCashDashboard = class {
4678
4679
  /**
4679
4680
  * @uiName Verification failed internal alert header
4680
4681
  */
4681
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
4682
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4682
4683
  /**
4683
4684
  * @uiName Verification failed internal alert description
4684
4685
  */
@@ -6172,6 +6173,7 @@ const UserInfoFormView = (props) => {
6172
6173
  }
6173
6174
  function isDisabledInput(field) {
6174
6175
  var _a;
6176
+ console.log({ data, states });
6175
6177
  if (states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]))
6176
6178
  return true;
6177
6179
  return false;
@@ -27,7 +27,7 @@ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedVi
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,12 +5,12 @@ 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 = 24;
10
+ this.logoTextSize = 32;
11
11
  /**
12
12
  * @uiWidget color
13
- * @uiName Logo text
13
+ * @uiName Logo text color
14
14
  */
15
15
  this.logoTextColor = "#555555";
16
16
  /**
@@ -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: {