@saasquatch/mint-components 2.0.1 → 2.0.2-1

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 (75) 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 +339 -110
  5. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +215 -26
  6. package/dist/cjs/sqm-header-logo.cjs.entry.js +14 -1
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -1
  8. package/dist/cjs/{data-16106637.js → usePayoutStatus-67c78085.js} +161 -129
  9. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +80 -3
  10. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
  11. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
  12. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +46 -40
  13. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +84 -2
  14. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +353 -0
  15. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +36 -3
  16. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +301 -1
  17. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +92 -2
  18. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +300 -0
  19. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -12
  20. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
  21. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +92 -9
  22. package/dist/esm/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.js} +3 -3
  23. package/dist/esm/loader.js +1 -1
  24. package/dist/esm/mint-components.js +1 -1
  25. package/dist/esm/sqm-banking-info-form_10.entry.js +290 -61
  26. package/dist/esm/sqm-big-stat_47.entry.js +193 -4
  27. package/dist/esm/sqm-header-logo.entry.js +14 -1
  28. package/dist/esm/sqm-stencilbook.entry.js +2 -1
  29. package/dist/esm/{data-acdb790f.js → usePayoutStatus-f064247b.js} +162 -130
  30. package/dist/esm-es5/{ShadowViewAddon-1adaf077.js → ShadowViewAddon-aae27c2e.js} +1 -1
  31. package/dist/esm-es5/loader.js +1 -1
  32. package/dist/esm-es5/mint-components.js +1 -1
  33. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  34. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  35. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  36. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  37. package/dist/esm-es5/usePayoutStatus-f064247b.js +6 -0
  38. package/dist/mint-components/mint-components.esm.js +1 -1
  39. package/dist/mint-components/{p-662ed116.system.entry.js → p-0649123a.system.entry.js} +1 -1
  40. package/dist/mint-components/p-2933bbe9.system.entry.js +1 -0
  41. package/dist/mint-components/p-2c86af62.system.entry.js +1 -0
  42. package/dist/mint-components/p-2e87159a.system.entry.js +1 -0
  43. package/dist/mint-components/p-2ed300e9.entry.js +1 -0
  44. package/dist/mint-components/p-3219fdbe.entry.js +99 -0
  45. package/dist/mint-components/{p-9f8d34d1.system.js → p-38f932ae.system.js} +1 -1
  46. package/dist/mint-components/p-40e0251f.system.js +6 -0
  47. package/dist/mint-components/{p-0e1a1b14.js → p-57ce33dd.js} +1 -1
  48. package/dist/mint-components/{p-31bba357.entry.js → p-5f3eafd4.entry.js} +2 -2
  49. package/dist/mint-components/p-967a9040.system.js +1 -1
  50. package/dist/mint-components/p-b1c4500e.entry.js +273 -0
  51. package/dist/mint-components/p-f17b6de6.js +157 -0
  52. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +14 -1
  53. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +24 -0
  54. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +16 -0
  55. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +57 -0
  56. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -1
  57. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
  58. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
  59. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
  60. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +2 -0
  61. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
  62. package/dist/types/components.d.ts +331 -1
  63. package/docs/docs.docx +0 -0
  64. package/docs/raisins.json +1 -1
  65. package/grapesjs/grapesjs.js +1 -1
  66. package/package.json +1 -1
  67. package/dist/esm-es5/data-acdb790f.js +0 -6
  68. package/dist/mint-components/p-010957a1.entry.js +0 -99
  69. package/dist/mint-components/p-469a6450.system.js +0 -6
  70. package/dist/mint-components/p-720341b1.entry.js +0 -273
  71. package/dist/mint-components/p-a7ee19dc.entry.js +0 -1
  72. package/dist/mint-components/p-d2bb770d.system.entry.js +0 -1
  73. package/dist/mint-components/p-e1e7d01c.js +0 -157
  74. package/dist/mint-components/p-eea87fdc.system.entry.js +0 -1
  75. package/dist/mint-components/p-fedb9ab8.system.entry.js +0 -1
@@ -27,11 +27,11 @@ const usePortalLogin = require('./usePortalLogin-1c022d8d.js');
27
27
  const AsYouType = require('./AsYouType-6788393a.js');
28
28
  const utilities = require('./utilities-9a0c5e91.js');
29
29
  const ErrorView = require('./ErrorView-3f91e5ab.js');
30
- const ShadowViewAddon = require('./ShadowViewAddon-1b38dcfc.js');
30
+ const ShadowViewAddon = require('./ShadowViewAddon-925a8fa6.js');
31
31
  require('./sqm-portal-container-view-07e4343f.js');
32
32
  const utils$1 = require('./utils-83d125fa.js');
33
33
  const extractProps = require('./extractProps-e9c55ba8.js');
34
- const data = require('./data-16106637.js');
34
+ const usePayoutStatus = require('./usePayoutStatus-67c78085.js');
35
35
 
36
36
  /**
37
37
  *
@@ -3027,7 +3027,7 @@ function PayoutStatusAlertView(props) {
3027
3027
  icon: "exclamation-triangle",
3028
3028
  };
3029
3029
  }
3030
- case "ACCOUNT_REVIEW":
3030
+ case "NEW_PAYEE_REVIEW":
3031
3031
  return {
3032
3032
  header: text.accountReviewHeader,
3033
3033
  description: global.intl.formatMessage({
@@ -3040,6 +3040,86 @@ function PayoutStatusAlertView(props) {
3040
3040
  alertType: "warning",
3041
3041
  icon: "exclamation-triangle",
3042
3042
  };
3043
+ case "PAYMENT_HOLD_ON_CHANGE":
3044
+ return {
3045
+ header: text.paymentHoldOnChangeHeader,
3046
+ description: global.intl.formatMessage({
3047
+ id: "accountReviewDescription",
3048
+ defaultMessage: text.paymentHoldOnChangeDescription,
3049
+ }, {
3050
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3051
+ }),
3052
+ buttonText: null,
3053
+ alertType: "warning",
3054
+ icon: "exclamation-triangle",
3055
+ };
3056
+ case "BENEFICIARY_NAME_INVALID":
3057
+ return {
3058
+ header: text.beneficiaryNameInvalidHeader,
3059
+ description: global.intl.formatMessage({
3060
+ id: "accountReviewDescription",
3061
+ defaultMessage: text.beneficiaryNameInvalidDescription,
3062
+ }, {
3063
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3064
+ }),
3065
+ buttonText: text.editPaymentInformationButton,
3066
+ alertType: "warning",
3067
+ icon: "exclamation-triangle",
3068
+ };
3069
+ case "BENEFICIARY_NAME_MISMATCH":
3070
+ return {
3071
+ header: text.beneficiaryNameMismatchHeader,
3072
+ description: global.intl.formatMessage({
3073
+ id: "accountReviewDescription",
3074
+ defaultMessage: text.beneficiaryNameMismatchDescription,
3075
+ }, {
3076
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3077
+ }),
3078
+ buttonText: text.editPaymentInformationButton,
3079
+ alertType: "warning",
3080
+ icon: "exclamation-triangle",
3081
+ };
3082
+ case "BANK_TAX_NAME_MISMATCH":
3083
+ return {
3084
+ header: text.bankTaxNameMismatchHeader,
3085
+ description: global.intl.formatMessage({
3086
+ id: "accountReviewDescription",
3087
+ defaultMessage: text.bankTaxNameMismatchDescription,
3088
+ }, {
3089
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3090
+ }),
3091
+ buttonText: text.editPaymentInformationButton,
3092
+ alertType: "warning",
3093
+ icon: "exclamation-triangle",
3094
+ };
3095
+ case "WITHDRAWAL_SETTINGS_INVALID":
3096
+ return {
3097
+ header: text.withdrawalSettingsInvalidHeader,
3098
+ description: global.intl.formatMessage({
3099
+ id: "accountReviewDescription",
3100
+ defaultMessage: text.withdrawalSettingsInvalidDescription,
3101
+ }, {
3102
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3103
+ }),
3104
+ buttonText: text.editPaymentInformationButton,
3105
+ alertType: "warning",
3106
+ icon: "exclamation-triangle",
3107
+ };
3108
+ case "PAYMENT_RETURNED":
3109
+ return {
3110
+ header: text.paymentReturnedHeader,
3111
+ description: global.intl.formatMessage({
3112
+ id: "accountReviewDescription",
3113
+ defaultMessage: text.paymentReturnedDescription,
3114
+ }, {
3115
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
3116
+ }),
3117
+ button: (index.h(index.Fragment, null,
3118
+ index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
3119
+ index.h("sl-button", { disabled: states.loading, type: "default", onClick: callbacks.onNewFormClick }, text.newFormButton))),
3120
+ alertType: "warning",
3121
+ icon: "exclamation-triangle",
3122
+ };
3043
3123
  case "HOLD":
3044
3124
  return {
3045
3125
  header: text.holdHeader,
@@ -3075,6 +3155,8 @@ function PayoutStatusAlertView(props) {
3075
3155
  return (index.h("div", { style: { paddingTop: "10px" } },
3076
3156
  index.h("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", loading: states.veriffLoading, onClick: callbacks.onClick }, text.verificationRequiredButtonText)));
3077
3157
  default:
3158
+ if (alertDetails.button)
3159
+ return alertDetails.button;
3078
3160
  return;
3079
3161
  }
3080
3162
  }
@@ -3101,6 +3183,15 @@ const PayoutStatusAlert = class {
3101
3183
  * @uiName Info required alert header
3102
3184
  */
3103
3185
  this.informationRequiredHeader = "Payout and tax information required";
3186
+ /**
3187
+ *
3188
+ * @uiName Edit payment info button label
3189
+ */
3190
+ this.editPaymentInformationButton = "Edit Payout Information";
3191
+ /**
3192
+ * @uiName Submit new tax form button label
3193
+ */
3194
+ this.newFormButton = "Submit new form";
3104
3195
  /**
3105
3196
  * @uiName Info required alert description
3106
3197
  */
@@ -3153,6 +3244,54 @@ const PayoutStatusAlert = class {
3153
3244
  * @uiName Account review alert description
3154
3245
  */
3155
3246
  this.accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
3247
+ /**
3248
+ * @uiName Payment on hold alert header
3249
+ */
3250
+ this.paymentHoldOnChangeHeader = "We are reviewing your new payout settings";
3251
+ /**
3252
+ * @uiName Payment on hold alert description
3253
+ */
3254
+ this.paymentHoldOnChangeDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
3255
+ /**
3256
+ * @uiName Beneficiary name invalid alert header
3257
+ */
3258
+ this.beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
3259
+ /**
3260
+ * @uiName Beneficiary name invalid description
3261
+ */
3262
+ this.beneficiaryNameInvalidDescription = "The beneficiary name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
3263
+ /**
3264
+ * @uiName Beneficiary name mismatch alert header
3265
+ */
3266
+ this.beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
3267
+ /**
3268
+ * @uiName Beneficiary name mismatch alert description
3269
+ */
3270
+ this.beneficiaryNameMismatchDescription = "The beneficiary name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
3271
+ /**
3272
+ * @uiName Bank name mismatch alert header
3273
+ */
3274
+ this.bankTaxNameMismatchHeader = "Your payment information does not match your tax form";
3275
+ /**
3276
+ * @uiName Bank name mismatch alert description
3277
+ */
3278
+ this.bankTaxNameMismatchDescription = "The bank name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
3279
+ /**
3280
+ * @uiName Withdrawal settings invalid alert header
3281
+ */
3282
+ this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
3283
+ /**
3284
+ * @uiName Withdrawal settings invalid alert description
3285
+ */
3286
+ this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
3287
+ /**
3288
+ * @uiName Payment returned alert header
3289
+ */
3290
+ this.paymentReturnedHeader = "Payout unsuccessful";
3291
+ /**
3292
+ * @uiName Payment returned alert description
3293
+ */
3294
+ this.paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
3156
3295
  /**
3157
3296
  * @uiName W-9 payment threshold alert header
3158
3297
  */
@@ -3210,7 +3349,7 @@ const PayoutStatusAlert = class {
3210
3349
  render() {
3211
3350
  const props = index_module.isDemo()
3212
3351
  ? useDemoPayoutStatusAlert(this)
3213
- : data.usePayoutStatus(this);
3352
+ : usePayoutStatus.usePayoutStatus(this);
3214
3353
  return index.h(PayoutStatusAlertView, Object.assign({}, props));
3215
3354
  }
3216
3355
  };
@@ -3231,6 +3370,8 @@ function useDemoPayoutStatusAlert(props) {
3231
3370
  callbacks: {
3232
3371
  onTermsClick: () => { },
3233
3372
  onClick: () => console.log("show"),
3373
+ onPaymentInfoClick: () => { },
3374
+ onNewFormClick: () => { },
3234
3375
  },
3235
3376
  }, formatted || props.demoData || {}, { arrayMerge: (_, a) => a });
3236
3377
  }
@@ -6416,17 +6557,17 @@ function useTaxAndCash() {
6416
6557
  const locale = index_module.L();
6417
6558
  // State for current step of form
6418
6559
  const [step, setStep] = index_module.In({
6419
- namespace: data.TAX_CONTEXT_NAMESPACE,
6560
+ namespace: usePayoutStatus.TAX_CONTEXT_NAMESPACE,
6420
6561
  initialValue: "/loading",
6421
6562
  });
6422
6563
  // State for when to hide steps, or override certain actions
6423
6564
  const [context, _setContext] = index_module.In({
6424
- namespace: data.TAX_FORM_CONTEXT_NAMESPACE,
6565
+ namespace: usePayoutStatus.TAX_FORM_CONTEXT_NAMESPACE,
6425
6566
  initialValue: {},
6426
6567
  });
6427
6568
  // State to carry user form information into step 2
6428
6569
  const [userFormContext, _setUserFormContext] = index_module.In({
6429
- namespace: data.USER_FORM_CONTEXT_NAMESPACE,
6570
+ namespace: usePayoutStatus.USER_FORM_CONTEXT_NAMESPACE,
6430
6571
  initialValue: {
6431
6572
  firstName: undefined,
6432
6573
  lastName: undefined,
@@ -6436,43 +6577,43 @@ function useTaxAndCash() {
6436
6577
  },
6437
6578
  });
6438
6579
  const [_currenciesContext, setCurrenciesContext] = index_module.In({
6439
- namespace: data.CURRENCIES_NAMESPACE,
6580
+ namespace: usePayoutStatus.CURRENCIES_NAMESPACE,
6440
6581
  initialValue: [],
6441
6582
  });
6442
6583
  const [_countriesContext, _setCountriesContext] = index_module.In({
6443
- namespace: data.COUNTRIES_NAMESPACE,
6584
+ namespace: usePayoutStatus.COUNTRIES_NAMESPACE,
6444
6585
  initialValue: [],
6445
6586
  });
6446
6587
  const [_sortedCountriesContext, setSortedCountriesContext] = index_module.In({
6447
- namespace: data.SORTED_COUNTRIES_NAMESPACE,
6588
+ namespace: usePayoutStatus.SORTED_COUNTRIES_NAMESPACE,
6448
6589
  initialValue: [],
6449
6590
  });
6450
- const { data: data$1, errors } = index_module.Sn({
6451
- namespace: data.USER_QUERY_NAMESPACE,
6452
- query: data.GET_USER,
6591
+ const { data, errors } = index_module.Sn({
6592
+ namespace: usePayoutStatus.USER_QUERY_NAMESPACE,
6593
+ query: usePayoutStatus.GET_USER,
6453
6594
  skip: !user,
6454
6595
  options: {
6455
6596
  batch: false,
6456
6597
  },
6457
6598
  });
6458
- const countryCode = ((_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
6599
+ const countryCode = ((_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.countryCode) ||
6459
6600
  userFormContext.countryCode;
6460
6601
  index_module.Sn({
6461
- namespace: data.COUNTRIES_QUERY_NAMESPACE,
6462
- query: data.GET_COUNTRIES,
6602
+ namespace: usePayoutStatus.COUNTRIES_QUERY_NAMESPACE,
6603
+ query: usePayoutStatus.GET_COUNTRIES,
6463
6604
  skip: !user,
6464
6605
  });
6465
6606
  const { data: financeNetworkData, refetch } = index_module.Sn({
6466
- namespace: data.FINANCE_NETWORK_SETTINGS_NAMESPACE,
6467
- query: data.GET_FINANCE_NETWORK_SETTINGS,
6607
+ namespace: usePayoutStatus.FINANCE_NETWORK_SETTINGS_NAMESPACE,
6608
+ query: usePayoutStatus.GET_FINANCE_NETWORK_SETTINGS,
6468
6609
  skip: !user,
6469
6610
  variables: {
6470
6611
  filter: getFinanceNetworkFilter(),
6471
6612
  },
6472
6613
  });
6473
6614
  const { data: currenciesData } = index_module.Sn({
6474
- namespace: data.CURRENCIES_QUERY_NAMESPACE,
6475
- query: data.GET_CURRENCIES,
6615
+ namespace: usePayoutStatus.CURRENCIES_QUERY_NAMESPACE,
6616
+ query: usePayoutStatus.GET_CURRENCIES,
6476
6617
  skip: !user,
6477
6618
  variables: {
6478
6619
  locale,
@@ -6527,20 +6668,20 @@ function useTaxAndCash() {
6527
6668
  }
6528
6669
  if (!host || !user)
6529
6670
  return;
6530
- if (data$1) {
6531
- const user = data$1 === null || data$1 === void 0 ? void 0 : data$1.user;
6671
+ if (data) {
6672
+ const user = data === null || data === void 0 ? void 0 : data.user;
6532
6673
  if (!user || step !== "/loading")
6533
6674
  return;
6534
6675
  const currentStep = getCurrentStep(user);
6535
6676
  setStep(currentStep);
6536
6677
  }
6537
- }, [host, user, (_e = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
6678
+ }, [host, user, (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.email, errors]);
6538
6679
  function getFinanceNetworkFilter() {
6539
6680
  var _a, _b, _c;
6540
6681
  if (step === "/1")
6541
6682
  return {};
6542
6683
  if (step === "/4")
6543
- return { currency_eq: (_c = (_b = (_a = data$1 === null || data$1 === void 0 ? void 0 : data$1.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency };
6684
+ return { currency_eq: (_c = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher) === null || _c === void 0 ? void 0 : _c.currency };
6544
6685
  if (countryCode)
6545
6686
  return {
6546
6687
  countryCode_eq: countryCode,
@@ -6551,7 +6692,7 @@ function useTaxAndCash() {
6551
6692
  step,
6552
6693
  setStep,
6553
6694
  context,
6554
- namespace: index_module.Mn(data.TAX_CONTEXT_NAMESPACE),
6695
+ namespace: index_module.Mn(usePayoutStatus.TAX_CONTEXT_NAMESPACE),
6555
6696
  loading: step === "/loading",
6556
6697
  };
6557
6698
  }
@@ -7483,6 +7624,54 @@ const TaxAndCashMonolith = class {
7483
7624
  * @uiName Account review alert description
7484
7625
  */
7485
7626
  this.dashboard_accountReviewDescription = "This process takes 48 hours, payouts are on hold until it's completed. You will receive an email from our referral provider, Impact.com, if any issues arise. It contains details on how to resolve this issue. If you need further assistance, please reach out to our {supportLink}.";
7627
+ /**
7628
+ * @uiName Payment on hold alert header
7629
+ */
7630
+ this.dashboard_paymentOnHoldHeader = "We are reviewing your new payout settings";
7631
+ /**
7632
+ * @uiName Payment on hold alert description
7633
+ */
7634
+ this.dashboard_paymentOnHoldDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
7635
+ /**
7636
+ * @uiName Beneficiary name invalid alert header
7637
+ */
7638
+ this.dashboard_beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
7639
+ /**
7640
+ * @uiName Beneficiary name invalid description
7641
+ */
7642
+ this.dashboard_beneficiaryNameInvalidDescription = "The beneficiary name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
7643
+ /**
7644
+ * @uiName Beneficiary name mismatch alert header
7645
+ */
7646
+ this.dashboard_beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
7647
+ /**
7648
+ * @uiName Beneficiary name mismatch alert description
7649
+ */
7650
+ this.dashboard_beneficiaryNameMismatchDescription = "The beneficiary name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
7651
+ /**
7652
+ * @uiName Bank name mismatch alert header
7653
+ */
7654
+ this.dashboard_bankNameMismatchHeader = "Your payment information does not match your tax form";
7655
+ /**
7656
+ * @uiName Bank name mismatch alert description
7657
+ */
7658
+ this.dashboard_bankNameMismatchDescription = "The bank name in your payment information does not match what was submitted in your tax form. Please review and update your payment information or tax form so that they match exactly and do not include any invalid characters. Your payouts are on hold until this is resolved.";
7659
+ /**
7660
+ * @uiName Withdrawal settings invalid alert header
7661
+ */
7662
+ this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
7663
+ /**
7664
+ * @uiName Withdrawal settings invalid alert description
7665
+ */
7666
+ this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
7667
+ /**
7668
+ * @uiName Payment returned alert header
7669
+ */
7670
+ this.dashboard_paymentReturnedHeader = "Payout unsuccessful";
7671
+ /**
7672
+ * @uiName Payment returned alert description
7673
+ */
7674
+ this.dashboard_paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
7486
7675
  /**
7487
7676
  * @uiName Terms and Conditions text
7488
7677
  * @uiGroup Dashboard Properties
@@ -7673,7 +7862,7 @@ const TaxAndCashMonolith = class {
7673
7862
  };
7674
7863
  function useDemoTaxAndCash(props) {
7675
7864
  const [step, setStep] = index_module.In({
7676
- namespace: data.TAX_CONTEXT_NAMESPACE,
7865
+ namespace: usePayoutStatus.TAX_CONTEXT_NAMESPACE,
7677
7866
  initialValue: "/1",
7678
7867
  });
7679
7868
  const states = extractProps.parseStates(props.stateController);
@@ -8,6 +8,15 @@ const domContextHooks_module = require('./dom-context-hooks.module-7fa676ae.js')
8
8
  const HeroImage = class {
9
9
  constructor(hostRef) {
10
10
  index.registerInstance(this, hostRef);
11
+ /**
12
+ * @uiName Logo text
13
+ */
14
+ this.logoTextSize = 24;
15
+ /**
16
+ * @uiWidget color
17
+ * @uiName Logo text
18
+ */
19
+ this.logoTextColor = "#555555";
11
20
  /**
12
21
  * Page participants are navigated to after clicking the header logo.
13
22
  *
@@ -23,7 +32,11 @@ const HeroImage = class {
23
32
  }
24
33
  disconnectedCallback() { }
25
34
  render() {
26
- return (index.h(index.Host, null, index.h("a", { href: this.nextPage, part: "sqm-link" }, index.h("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl }))));
35
+ return (index.h(index.Host, null, index.h("a", { href: this.nextPage, part: "sqm-link" }, this.imageUrl ? (index.h("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl })) : (index.h("h3", { style: {
36
+ fontSize: `${this.logoTextSize}px`,
37
+ color: this.logoTextColor || "#555555",
38
+ textDecoration: "none",
39
+ } }, this.logoText)))));
27
40
  }
28
41
  };
29
42
 
@@ -34,7 +34,7 @@ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25e
34
34
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
35
35
  require('./ErrorView-3f91e5ab.js');
36
36
  const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
37
- const ShadowViewAddon = require('./ShadowViewAddon-1b38dcfc.js');
37
+ const ShadowViewAddon = require('./ShadowViewAddon-925a8fa6.js');
38
38
  const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
39
39
  const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
40
40
  const utils = require('./utils-83d125fa.js');
@@ -15650,6 +15650,7 @@ const stepOneProps = {
15650
15650
  },
15651
15651
  },
15652
15652
  data: {
15653
+ partnerData: {},
15653
15654
  regionLabelEnum: "STATE",
15654
15655
  regions: [],
15655
15656
  phoneCountries: [