@saasquatch/mint-components 1.15.4 → 1.15.5-0

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 (110) hide show
  1. package/dist/cjs/{ShadowViewAddon-e9dc77e3.js → ShadowViewAddon-28865623.js} +2 -2
  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_17.cjs.entry.js +265 -193
  5. package/dist/cjs/{sqm-base-registration-form-view-66f99821.js → sqm-base-registration-form-view-8029d30e.js} +4 -9
  6. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +143 -10
  7. package/dist/cjs/{sqm-invoice-table-view-5c74607f.js → sqm-invoice-table-view-3f60fba9.js} +1 -0
  8. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +19 -28
  9. package/dist/cjs/sqm-stencilbook.cjs.entry.js +5 -8
  10. package/dist/cjs/{usePayoutStatus-733ef29a.js → usePayoutStatus-fc4e609e.js} +167 -2
  11. package/dist/collection/components/sqm-base-registration/BaseRegistrationForm.stories.js +2 -2
  12. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +4 -9
  13. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +1 -1
  14. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field.js +1 -1
  15. package/dist/collection/components/sqm-input-field/sqm-input-field.js +1 -1
  16. package/dist/collection/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.js +1 -1
  17. package/dist/collection/components/sqm-name-fields/NameFields.stories.js +0 -2
  18. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +3 -3
  19. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +1 -31
  20. package/dist/collection/components/sqm-name-fields/useNameFields.js +0 -1
  21. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -2
  22. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +0 -1
  23. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +5 -7
  24. package/dist/collection/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.js +15 -22
  25. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -0
  26. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +87 -1
  27. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +327 -0
  28. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +27 -3
  29. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +300 -0
  30. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +85 -1
  31. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +300 -0
  32. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -12
  33. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
  34. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +19 -4
  35. package/dist/esm/{ShadowViewAddon-e0d5f1c9.js → ShadowViewAddon-f2176779.js} +2 -2
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/esm/mint-components.js +1 -1
  38. package/dist/esm/sqm-banking-info-form_17.entry.js +218 -146
  39. package/dist/esm/{sqm-base-registration-form-view-d81e316a.js → sqm-base-registration-form-view-dafba287.js} +4 -9
  40. package/dist/esm/sqm-big-stat_43.entry.js +143 -10
  41. package/dist/esm/{sqm-invoice-table-view-3491dd80.js → sqm-invoice-table-view-01453fa3.js} +1 -0
  42. package/dist/esm/sqm-portal-google-registration-form.entry.js +19 -28
  43. package/dist/esm/sqm-stencilbook.entry.js +5 -8
  44. package/dist/esm/{usePayoutStatus-b89e8c49.js → usePayoutStatus-b4bdbfa7.js} +154 -4
  45. package/dist/esm-es5/{ShadowViewAddon-e0d5f1c9.js → ShadowViewAddon-f2176779.js} +1 -1
  46. package/dist/esm-es5/loader.js +1 -1
  47. package/dist/esm-es5/mint-components.js +1 -1
  48. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
  49. package/dist/esm-es5/sqm-base-registration-form-view-dafba287.js +1 -0
  50. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  51. package/dist/esm-es5/sqm-invoice-table-view-01453fa3.js +1 -0
  52. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  53. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  54. package/dist/esm-es5/usePayoutStatus-b4bdbfa7.js +6 -0
  55. package/dist/mint-components/mint-components.esm.js +1 -1
  56. package/dist/mint-components/{p-3ac8613d.system.entry.js → p-02832118.system.entry.js} +1 -1
  57. package/dist/mint-components/{p-d15b642f.system.js → p-0d939b73.system.js} +1 -1
  58. package/dist/mint-components/p-2651ef99.system.js +1 -0
  59. package/dist/mint-components/p-28131538.entry.js +109 -0
  60. package/dist/mint-components/p-35701119.js +1 -0
  61. package/dist/mint-components/p-37996351.system.js +1 -1
  62. package/dist/mint-components/{p-1edebab1.entry.js → p-4a731079.entry.js} +2 -2
  63. package/dist/mint-components/p-59fe6066.js +1 -0
  64. package/dist/mint-components/p-86a5db85.system.js +1 -0
  65. package/dist/mint-components/p-93db61eb.system.js +6 -0
  66. package/dist/mint-components/p-9c4f4cd6.entry.js +1 -0
  67. package/dist/mint-components/p-a3647f70.system.entry.js +1 -0
  68. package/dist/mint-components/p-a4f494ee.system.entry.js +1 -0
  69. package/dist/mint-components/p-b24fae32.system.entry.js +1 -0
  70. package/dist/mint-components/{p-3b6dccec.js → p-c1b074b6.js} +1 -1
  71. package/dist/mint-components/p-e3deed72.entry.js +273 -0
  72. package/dist/mint-components/p-fde41ad1.js +157 -0
  73. package/dist/types/components/sqm-base-registration/sqm-base-registration-form-view.d.ts +1 -2
  74. package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
  75. package/dist/types/components/sqm-dropdown-field/sqm-dropdown-field.d.ts +1 -1
  76. package/dist/types/components/sqm-input-field/sqm-input-field.d.ts +1 -1
  77. package/dist/types/components/sqm-marketing-emails-checkbox/sqm-marketing-emails-checkbox.d.ts +1 -1
  78. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +0 -1
  79. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +0 -5
  80. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +0 -1
  81. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +1 -1
  82. package/dist/types/components/sqm-portal-google-registration-form/usePortalGoogleRegistrationForm.d.ts +1 -2
  83. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +14 -0
  84. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +53 -0
  85. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +2 -1
  86. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
  87. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
  88. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
  89. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +2 -0
  90. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
  91. package/dist/types/components.d.ts +296 -10
  92. package/docs/docs.docx +0 -0
  93. package/docs/raisins.json +1 -1
  94. package/grapesjs/grapesjs.js +1 -1
  95. package/package.json +1 -1
  96. package/dist/esm-es5/sqm-base-registration-form-view-d81e316a.js +0 -1
  97. package/dist/esm-es5/sqm-invoice-table-view-3491dd80.js +0 -1
  98. package/dist/esm-es5/usePayoutStatus-b89e8c49.js +0 -6
  99. package/dist/mint-components/p-021b0540.js +0 -46
  100. package/dist/mint-components/p-3d73cd84.entry.js +0 -220
  101. package/dist/mint-components/p-49932f12.system.js +0 -1
  102. package/dist/mint-components/p-7176a952.entry.js +0 -1
  103. package/dist/mint-components/p-8d0393d9.system.entry.js +0 -1
  104. package/dist/mint-components/p-9308221f.js +0 -1
  105. package/dist/mint-components/p-959c42b2.system.entry.js +0 -1
  106. package/dist/mint-components/p-a6494752.system.js +0 -6
  107. package/dist/mint-components/p-bc021969.system.js +0 -1
  108. package/dist/mint-components/p-c78e6066.entry.js +0 -273
  109. package/dist/mint-components/p-e64e8354.system.entry.js +0 -1
  110. package/dist/mint-components/p-e8e48982.js +0 -1
@@ -940,6 +940,54 @@ export class TaxAndCashMonolith {
940
940
  * @uiName Account review alert description
941
941
  */
942
942
  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}.";
943
+ /**
944
+ * @uiName Account review alert header
945
+ */
946
+ this.dashboard_paymentOnHoldHeader = "We are reviewing your new payout settings";
947
+ /**
948
+ * @uiName Account review alert description
949
+ */
950
+ this.dashboard_paymentOnHoldDescription = "Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.";
951
+ /**
952
+ * @uiName Account review alert header
953
+ */
954
+ this.dashboard_beneficiaryNameInvalidHeader = "Your payment information does not match your tax form";
955
+ /**
956
+ * @uiName Account review alert description
957
+ */
958
+ 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.";
959
+ /**
960
+ * @uiName Account review alert header
961
+ */
962
+ this.dashboard_beneficiaryNameMismatchHeader = "Your payment information does not match your tax form";
963
+ /**
964
+ * @uiName Account review alert description
965
+ */
966
+ 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.";
967
+ /**
968
+ * @uiName Account review alert header
969
+ */
970
+ this.dashboard_bankNameMismatchHeader = "Your payment information does not match your tax form";
971
+ /**
972
+ * @uiName Account review alert description
973
+ */
974
+ 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.";
975
+ /**
976
+ * @uiName Account review alert header
977
+ */
978
+ this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
979
+ /**
980
+ * @uiName Account review alert description
981
+ */
982
+ 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.";
983
+ /**
984
+ * @uiName Account review alert header
985
+ */
986
+ this.dashboard_paymentReturnedHeader = "Payout unsuccessful";
987
+ /**
988
+ * @uiName Account review alert description
989
+ */
990
+ this.dashboard_paymentReturnedDescription = "Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.";
943
991
  /**
944
992
  * @uiName Terms and Conditions text
945
993
  * @uiGroup Dashboard Properties
@@ -5008,6 +5056,258 @@ export class TaxAndCashMonolith {
5008
5056
  "reflect": false,
5009
5057
  "defaultValue": "\"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}.\""
5010
5058
  },
5059
+ "dashboard_paymentOnHoldHeader": {
5060
+ "type": "string",
5061
+ "mutable": false,
5062
+ "complexType": {
5063
+ "original": "string",
5064
+ "resolved": "string",
5065
+ "references": {}
5066
+ },
5067
+ "required": false,
5068
+ "optional": false,
5069
+ "docs": {
5070
+ "tags": [{
5071
+ "text": "Account review alert header",
5072
+ "name": "uiName"
5073
+ }],
5074
+ "text": ""
5075
+ },
5076
+ "attribute": "dashboard_payment-on-hold-header",
5077
+ "reflect": false,
5078
+ "defaultValue": "\"We are reviewing your new payout settings\""
5079
+ },
5080
+ "dashboard_paymentOnHoldDescription": {
5081
+ "type": "string",
5082
+ "mutable": false,
5083
+ "complexType": {
5084
+ "original": "string",
5085
+ "resolved": "string",
5086
+ "references": {}
5087
+ },
5088
+ "required": false,
5089
+ "optional": false,
5090
+ "docs": {
5091
+ "tags": [{
5092
+ "text": "Account review alert description",
5093
+ "name": "uiName"
5094
+ }],
5095
+ "text": ""
5096
+ },
5097
+ "attribute": "dashboard_payment-on-hold-description",
5098
+ "reflect": false,
5099
+ "defaultValue": "\"Your payout is temporarily on hold while we review your new payment information, this process is usually resolved within 48 hours.\""
5100
+ },
5101
+ "dashboard_beneficiaryNameInvalidHeader": {
5102
+ "type": "string",
5103
+ "mutable": false,
5104
+ "complexType": {
5105
+ "original": "string",
5106
+ "resolved": "string",
5107
+ "references": {}
5108
+ },
5109
+ "required": false,
5110
+ "optional": false,
5111
+ "docs": {
5112
+ "tags": [{
5113
+ "text": "Account review alert header",
5114
+ "name": "uiName"
5115
+ }],
5116
+ "text": ""
5117
+ },
5118
+ "attribute": "dashboard_beneficiary-name-invalid-header",
5119
+ "reflect": false,
5120
+ "defaultValue": "\"Your payment information does not match your tax form\""
5121
+ },
5122
+ "dashboard_beneficiaryNameInvalidDescription": {
5123
+ "type": "string",
5124
+ "mutable": false,
5125
+ "complexType": {
5126
+ "original": "string",
5127
+ "resolved": "string",
5128
+ "references": {}
5129
+ },
5130
+ "required": false,
5131
+ "optional": false,
5132
+ "docs": {
5133
+ "tags": [{
5134
+ "text": "Account review alert description",
5135
+ "name": "uiName"
5136
+ }],
5137
+ "text": ""
5138
+ },
5139
+ "attribute": "dashboard_beneficiary-name-invalid-description",
5140
+ "reflect": false,
5141
+ "defaultValue": "\"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.\""
5142
+ },
5143
+ "dashboard_beneficiaryNameMismatchHeader": {
5144
+ "type": "string",
5145
+ "mutable": false,
5146
+ "complexType": {
5147
+ "original": "string",
5148
+ "resolved": "string",
5149
+ "references": {}
5150
+ },
5151
+ "required": false,
5152
+ "optional": false,
5153
+ "docs": {
5154
+ "tags": [{
5155
+ "text": "Account review alert header",
5156
+ "name": "uiName"
5157
+ }],
5158
+ "text": ""
5159
+ },
5160
+ "attribute": "dashboard_beneficiary-name-mismatch-header",
5161
+ "reflect": false,
5162
+ "defaultValue": "\"Your payment information does not match your tax form\""
5163
+ },
5164
+ "dashboard_beneficiaryNameMismatchDescription": {
5165
+ "type": "string",
5166
+ "mutable": false,
5167
+ "complexType": {
5168
+ "original": "string",
5169
+ "resolved": "string",
5170
+ "references": {}
5171
+ },
5172
+ "required": false,
5173
+ "optional": false,
5174
+ "docs": {
5175
+ "tags": [{
5176
+ "text": "Account review alert description",
5177
+ "name": "uiName"
5178
+ }],
5179
+ "text": ""
5180
+ },
5181
+ "attribute": "dashboard_beneficiary-name-mismatch-description",
5182
+ "reflect": false,
5183
+ "defaultValue": "\"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.\""
5184
+ },
5185
+ "dashboard_bankNameMismatchHeader": {
5186
+ "type": "string",
5187
+ "mutable": false,
5188
+ "complexType": {
5189
+ "original": "string",
5190
+ "resolved": "string",
5191
+ "references": {}
5192
+ },
5193
+ "required": false,
5194
+ "optional": false,
5195
+ "docs": {
5196
+ "tags": [{
5197
+ "text": "Account review alert header",
5198
+ "name": "uiName"
5199
+ }],
5200
+ "text": ""
5201
+ },
5202
+ "attribute": "dashboard_bank-name-mismatch-header",
5203
+ "reflect": false,
5204
+ "defaultValue": "\"Your payment information does not match your tax form\""
5205
+ },
5206
+ "dashboard_bankNameMismatchDescription": {
5207
+ "type": "string",
5208
+ "mutable": false,
5209
+ "complexType": {
5210
+ "original": "string",
5211
+ "resolved": "string",
5212
+ "references": {}
5213
+ },
5214
+ "required": false,
5215
+ "optional": false,
5216
+ "docs": {
5217
+ "tags": [{
5218
+ "text": "Account review alert description",
5219
+ "name": "uiName"
5220
+ }],
5221
+ "text": ""
5222
+ },
5223
+ "attribute": "dashboard_bank-name-mismatch-description",
5224
+ "reflect": false,
5225
+ "defaultValue": "\"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.\""
5226
+ },
5227
+ "dashboard_withdrawalSettingsInvalidHeader": {
5228
+ "type": "string",
5229
+ "mutable": false,
5230
+ "complexType": {
5231
+ "original": "string",
5232
+ "resolved": "string",
5233
+ "references": {}
5234
+ },
5235
+ "required": false,
5236
+ "optional": false,
5237
+ "docs": {
5238
+ "tags": [{
5239
+ "text": "Account review alert header",
5240
+ "name": "uiName"
5241
+ }],
5242
+ "text": ""
5243
+ },
5244
+ "attribute": "dashboard_withdrawal-settings-invalid-header",
5245
+ "reflect": false,
5246
+ "defaultValue": "\"Your payment information includes invalid characters\""
5247
+ },
5248
+ "dashboard_withdrawalSettingsInvalidDescription": {
5249
+ "type": "string",
5250
+ "mutable": false,
5251
+ "complexType": {
5252
+ "original": "string",
5253
+ "resolved": "string",
5254
+ "references": {}
5255
+ },
5256
+ "required": false,
5257
+ "optional": false,
5258
+ "docs": {
5259
+ "tags": [{
5260
+ "text": "Account review alert description",
5261
+ "name": "uiName"
5262
+ }],
5263
+ "text": ""
5264
+ },
5265
+ "attribute": "dashboard_withdrawal-settings-invalid-description",
5266
+ "reflect": false,
5267
+ "defaultValue": "\"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.\""
5268
+ },
5269
+ "dashboard_paymentReturnedHeader": {
5270
+ "type": "string",
5271
+ "mutable": false,
5272
+ "complexType": {
5273
+ "original": "string",
5274
+ "resolved": "string",
5275
+ "references": {}
5276
+ },
5277
+ "required": false,
5278
+ "optional": false,
5279
+ "docs": {
5280
+ "tags": [{
5281
+ "text": "Account review alert header",
5282
+ "name": "uiName"
5283
+ }],
5284
+ "text": ""
5285
+ },
5286
+ "attribute": "dashboard_payment-returned-header",
5287
+ "reflect": false,
5288
+ "defaultValue": "\"Payout unsuccessful\""
5289
+ },
5290
+ "dashboard_paymentReturnedDescription": {
5291
+ "type": "string",
5292
+ "mutable": false,
5293
+ "complexType": {
5294
+ "original": "string",
5295
+ "resolved": "string",
5296
+ "references": {}
5297
+ },
5298
+ "required": false,
5299
+ "optional": false,
5300
+ "docs": {
5301
+ "tags": [{
5302
+ "text": "Account review alert description",
5303
+ "name": "uiName"
5304
+ }],
5305
+ "text": ""
5306
+ },
5307
+ "attribute": "dashboard_payment-returned-description",
5308
+ "reflect": false,
5309
+ "defaultValue": "\"Our recent payment attempt for your earnings was unsuccessful. Please review your payment information and make sure it is correct.\""
5310
+ },
5011
5311
  "dashboard_termsAndConditions": {
5012
5312
  "type": "string",
5013
5313
  "mutable": false,
@@ -283,7 +283,7 @@ export const TaxAndCashDashboardView = (props) => {
283
283
  icon: "exclamation-octagon",
284
284
  class: sheet.classes.ErrorHoldAlertContainer,
285
285
  };
286
- case "ACCOUNT_REVIEW":
286
+ case "NEW_PAYEE_REVIEW":
287
287
  return {
288
288
  header: text.accountReviewHeader,
289
289
  description: intl.formatMessage({
@@ -297,6 +297,90 @@ export const TaxAndCashDashboardView = (props) => {
297
297
  icon: "exclamation-triangle",
298
298
  class: sheet.classes.WarningHoldAlertContainer,
299
299
  };
300
+ case "PAYMENT_HOLD_ON_CHANGE":
301
+ return {
302
+ header: text.paymentHoldOnChangeHeader,
303
+ description: intl.formatMessage({
304
+ id: "accountReviewDescription",
305
+ defaultMessage: text.paymentHoldOnChangeDescription,
306
+ }, {
307
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
308
+ }),
309
+ buttonText: null,
310
+ alertType: "warning",
311
+ icon: "exclamation-triangle",
312
+ class: sheet.classes.WarningHoldAlertContainer,
313
+ };
314
+ case "BENEFICIARY_NAME_INVALID":
315
+ return {
316
+ header: text.beneficiaryNameInvalidHeader,
317
+ description: intl.formatMessage({
318
+ id: "accountReviewDescription",
319
+ defaultMessage: text.beneficiaryNameInvalidDescription,
320
+ }, {
321
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
322
+ }),
323
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
324
+ alertType: "warning",
325
+ icon: "exclamation-triangle",
326
+ class: sheet.classes.WarningHoldAlertContainer,
327
+ };
328
+ case "BENEFICIARY_NAME_MISMATCH":
329
+ return {
330
+ header: text.beneficiaryNameMismatchHeader,
331
+ description: intl.formatMessage({
332
+ id: "accountReviewDescription",
333
+ defaultMessage: text.beneficiaryNameMismatchDescription,
334
+ }, {
335
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
336
+ }),
337
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
338
+ alertType: "warning",
339
+ icon: "exclamation-triangle",
340
+ class: sheet.classes.WarningHoldAlertContainer,
341
+ };
342
+ case "BANK_TAX_NAME_MISMATCH":
343
+ return {
344
+ header: text.bankTaxNameMismatchHeader,
345
+ description: intl.formatMessage({
346
+ id: "accountReviewDescription",
347
+ defaultMessage: text.bankTaxNameMismatchDescription,
348
+ }, {
349
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
350
+ }),
351
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
352
+ alertType: "warning",
353
+ icon: "exclamation-triangle",
354
+ class: sheet.classes.WarningHoldAlertContainer,
355
+ };
356
+ case "WITHDRAWAL_SETTINGS_INVALID":
357
+ return {
358
+ header: text.withdrawalSettingsInvalidHeader,
359
+ description: intl.formatMessage({
360
+ id: "accountReviewDescription",
361
+ defaultMessage: text.withdrawalSettingsInvalidDescription,
362
+ }, {
363
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
364
+ }),
365
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
366
+ alertType: "warning",
367
+ icon: "exclamation-triangle",
368
+ class: sheet.classes.WarningHoldAlertContainer,
369
+ };
370
+ case "PAYMENT_RETURNED":
371
+ return {
372
+ header: text.paymentReturnedHeader,
373
+ description: intl.formatMessage({
374
+ id: "accountReviewDescription",
375
+ defaultMessage: text.paymentReturnedDescription,
376
+ }, {
377
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
378
+ }),
379
+ button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
380
+ alertType: "warning",
381
+ icon: "exclamation-triangle",
382
+ class: sheet.classes.WarningHoldAlertContainer,
383
+ };
300
384
  case "HOLD":
301
385
  return {
302
386
  header: text.payoutHoldAlertHeader,