@saasquatch/mint-components 1.12.0-13 → 1.12.0-15

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 (99) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +182 -56
  4. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +84 -15
  5. package/dist/cjs/sqm-email-verification.cjs.entry.js +15 -7
  6. package/dist/cjs/{sqm-invoice-table-view-e92c557a.js → sqm-invoice-table-view-b0602970.js} +16 -1
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +41 -18
  8. package/dist/cjs/{usePayoutStatus-5ac536a3.js → usePayoutStatus-8f924372.js} +1 -1
  9. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
  10. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -0
  11. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
  12. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
  13. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
  14. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
  15. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
  16. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +9 -5
  17. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
  18. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +15 -1
  19. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  20. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +29 -4
  21. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +3 -2
  22. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  23. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  24. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  25. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  26. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +34 -6
  27. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +41 -16
  28. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +1 -1
  29. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +49 -16
  30. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +51 -8
  31. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +43 -18
  32. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -3
  33. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
  34. package/dist/esm/loader.js +1 -1
  35. package/dist/esm/mint-components.js +1 -1
  36. package/dist/esm/sqm-banking-info-form_16.entry.js +182 -56
  37. package/dist/esm/sqm-big-stat_39.entry.js +84 -15
  38. package/dist/esm/sqm-email-verification.entry.js +15 -7
  39. package/dist/esm/{sqm-invoice-table-view-c184248a.js → sqm-invoice-table-view-b1ac1bfc.js} +16 -1
  40. package/dist/esm/sqm-stencilbook.entry.js +41 -18
  41. package/dist/esm/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +1 -1
  42. package/dist/esm-es5/loader.js +1 -1
  43. package/dist/esm-es5/mint-components.js +1 -1
  44. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  45. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  46. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  47. package/dist/esm-es5/sqm-invoice-table-view-b1ac1bfc.js +1 -0
  48. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  49. package/dist/esm-es5/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +2 -2
  50. package/dist/mint-components/mint-components.esm.js +1 -1
  51. package/dist/mint-components/p-158568e5.system.entry.js +1 -0
  52. package/dist/mint-components/{p-2c99add0.js → p-47b47e3b.js} +1 -1
  53. package/dist/mint-components/p-7789349d.system.js +1 -0
  54. package/dist/mint-components/p-9e788a1a.js +1 -0
  55. package/dist/mint-components/p-a5c96f2a.entry.js +195 -0
  56. package/dist/mint-components/p-a8e79cad.entry.js +9 -0
  57. package/dist/mint-components/p-b99108a6.system.entry.js +1 -0
  58. package/dist/mint-components/{p-209eab38.system.js → p-bd1372d2.system.js} +1 -1
  59. package/dist/mint-components/p-bfd92031.system.entry.js +1 -0
  60. package/dist/mint-components/p-c58250e6.system.entry.js +1 -0
  61. package/dist/mint-components/p-ca809fdd.system.js +1 -1
  62. package/dist/mint-components/p-e11b605d.entry.js +25 -0
  63. package/dist/mint-components/{p-b9e863d0.entry.js → p-fc17c2d2.entry.js} +30 -12
  64. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
  65. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  66. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  67. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
  68. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
  69. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
  70. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
  71. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
  72. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  73. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  74. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  75. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  76. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -0
  77. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +6 -2
  78. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +12 -0
  79. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -0
  80. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +4 -0
  81. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  82. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  83. package/dist/types/components.d.ts +72 -4
  84. package/docs/docs.docx +0 -0
  85. package/docs/raisins.json +1 -1
  86. package/grapesjs/grapesjs.js +1 -1
  87. package/package.json +1 -1
  88. package/dist/esm-es5/sqm-invoice-table-view-c184248a.js +0 -1
  89. package/dist/mint-components/p-13ce67a3.js +0 -1
  90. package/dist/mint-components/p-4e21de5f.entry.js +0 -9
  91. package/dist/mint-components/p-8c26c4ce.entry.js +0 -195
  92. package/dist/mint-components/p-9266a8fc.system.entry.js +0 -1
  93. package/dist/mint-components/p-a567ba84.system.entry.js +0 -1
  94. package/dist/mint-components/p-a9b7e11f.entry.js +0 -25
  95. package/dist/mint-components/p-b7836281.system.js +0 -1
  96. package/dist/mint-components/p-c520d10d.system.entry.js +0 -1
  97. package/dist/mint-components/p-c5d26757.system.entry.js +0 -1
  98. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  99. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
@@ -31,7 +31,7 @@ export class PayoutStatusAlert {
31
31
  /**
32
32
  * @uiName Verification required alert description
33
33
  */
34
- this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
34
+ this.verificationRequiredDescription = "It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
35
35
  /**
36
36
  * @uiName Verification required alert button text
37
37
  */
@@ -43,7 +43,7 @@ export class PayoutStatusAlert {
43
43
  /**
44
44
  * @uiName Verification required internal alert description
45
45
  */
46
- this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley.";
46
+ this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley. If you don't hear from us contact our {supportLink}.";
47
47
  /**
48
48
  * @uiName Verification review internal alert header
49
49
  */
@@ -51,7 +51,7 @@ export class PayoutStatusAlert {
51
51
  /**
52
52
  * @uiName Verification review internal alert description
53
53
  */
54
- this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.";
54
+ this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.";
55
55
  /**
56
56
  * @uiName Verification failed internal alert header
57
57
  */
@@ -59,7 +59,7 @@ export class PayoutStatusAlert {
59
59
  /**
60
60
  * @uiName Verification failed internal alert description
61
61
  */
62
- this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information.";
62
+ this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.";
63
63
  /**
64
64
  * @uiName Payout on hold alert header
65
65
  */
@@ -68,11 +68,15 @@ export class PayoutStatusAlert {
68
68
  * @uiName Payout on hold alert description
69
69
  * AL: TODO copy not finalized for support section
70
70
  */
71
- this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our support team.";
71
+ this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our {supportLink}.";
72
72
  /**
73
- * @uiName Cash & Payouts Terms and Conditions url
73
+ * @uiName Cash & Payouts Microsite Page (only set if alert is used in a microsite)
74
74
  */
75
- this.termsUrl = "https://terms.advocate.impact.com/PayoutTermsAndConditions.html";
75
+ this.cashPayoutsPageUrl = "/cash";
76
+ /**
77
+ * @uiName Support link text
78
+ */
79
+ this.supportLink = "support team";
76
80
  /**
77
81
  * @uiName Error header
78
82
  */
@@ -199,7 +203,7 @@ export class PayoutStatusAlert {
199
203
  },
200
204
  "attribute": "verification-required-description",
201
205
  "reflect": false,
202
- "defaultValue": "\"Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.\""
206
+ "defaultValue": "\"It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.\""
203
207
  },
204
208
  "verificationRequiredButtonText": {
205
209
  "type": "string",
@@ -262,7 +266,7 @@ export class PayoutStatusAlert {
262
266
  },
263
267
  "attribute": "verification-required-internal-description",
264
268
  "reflect": false,
265
- "defaultValue": "\"Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley.\""
269
+ "defaultValue": "\"Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley. If you don't hear from us contact our {supportLink}.\""
266
270
  },
267
271
  "verificationReviewInternalHeader": {
268
272
  "type": "string",
@@ -304,7 +308,7 @@ export class PayoutStatusAlert {
304
308
  },
305
309
  "attribute": "verification-review-internal-description",
306
310
  "reflect": false,
307
- "defaultValue": "\"Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.\""
311
+ "defaultValue": "\"Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly. If you don't hear from us contact our {supportLink}.\""
308
312
  },
309
313
  "verificationFailedInternalHeader": {
310
314
  "type": "string",
@@ -346,7 +350,7 @@ export class PayoutStatusAlert {
346
350
  },
347
351
  "attribute": "verification-failed-internal-description",
348
352
  "reflect": false,
349
- "defaultValue": "\"Identity verification has failed. Our team is reviewing the report and will contact you with further information.\""
353
+ "defaultValue": "\"Identity verification has failed. Our team is reviewing the report and will contact you with further information. If you don't hear from us contact our {supportLink}.\""
350
354
  },
351
355
  "holdHeader": {
352
356
  "type": "string",
@@ -388,9 +392,30 @@ export class PayoutStatusAlert {
388
392
  },
389
393
  "attribute": "hold-description",
390
394
  "reflect": false,
391
- "defaultValue": "\"Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our support team.\""
395
+ "defaultValue": "\"Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to our {supportLink}.\""
396
+ },
397
+ "cashPayoutsPageUrl": {
398
+ "type": "string",
399
+ "mutable": false,
400
+ "complexType": {
401
+ "original": "string",
402
+ "resolved": "string",
403
+ "references": {}
404
+ },
405
+ "required": false,
406
+ "optional": false,
407
+ "docs": {
408
+ "tags": [{
409
+ "text": "Cash & Payouts Microsite Page (only set if alert is used in a microsite)",
410
+ "name": "uiName"
411
+ }],
412
+ "text": ""
413
+ },
414
+ "attribute": "cash-payouts-page-url",
415
+ "reflect": false,
416
+ "defaultValue": "\"/cash\""
392
417
  },
393
- "termsUrl": {
418
+ "supportLink": {
394
419
  "type": "string",
395
420
  "mutable": false,
396
421
  "complexType": {
@@ -402,14 +427,14 @@ export class PayoutStatusAlert {
402
427
  "optional": false,
403
428
  "docs": {
404
429
  "tags": [{
405
- "text": "Cash & Payouts Terms and Conditions url",
430
+ "text": "Support link text",
406
431
  "name": "uiName"
407
432
  }],
408
433
  "text": ""
409
434
  },
410
- "attribute": "terms-url",
435
+ "attribute": "support-link",
411
436
  "reflect": false,
412
- "defaultValue": "\"https://terms.advocate.impact.com/PayoutTermsAndConditions.html\""
437
+ "defaultValue": "\"support team\""
413
438
  },
414
439
  "errorHeader": {
415
440
  "type": "string",
@@ -69,7 +69,7 @@ export function usePayoutStatus(props) {
69
69
  data: { type },
70
70
  text: props.getTextProps(),
71
71
  callbacks: {
72
- onTermsClick: () => window.open(props.termsUrl, "_blank").focus(),
72
+ onTermsClick: () => window.open(props.cashPayoutsPageUrl, "_blank").focus(),
73
73
  onClick: render,
74
74
  },
75
75
  };
@@ -116,6 +116,8 @@ export class TaxAndCashMonolith {
116
116
  * @uiGroup Step 1 Properties
117
117
  */
118
118
  this.step1_searchForCurrencyText = "Search for currency..";
119
+ /**
120
+
119
121
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120
122
  STEP 2 PROPS:
121
123
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -218,7 +220,7 @@ export class TaxAndCashMonolith {
218
220
  * @uiGroup Step 2 Properties
219
221
  * @uiWidget textArea
220
222
  */
221
- this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.";
223
+ this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.";
222
224
  /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
223
225
  STEP 3 PROPS:
224
226
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@@ -291,7 +293,7 @@ export class TaxAndCashMonolith {
291
293
  * @uiGroup Step 3 Properties
292
294
  * @uiWidget textArea
293
295
  */
294
- this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.";
296
+ this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
295
297
  /**
296
298
  * @uiName Refresh page button label
297
299
  * @uiGroup Step 3 Properties
@@ -653,7 +655,7 @@ export class TaxAndCashMonolith {
653
655
  * @uiGroup Dashboard Properties
654
656
  * @uiWidget textArea
655
657
  */
656
- this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact Support.";
658
+ this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
657
659
  /**
658
660
  * Displayed to participants who have submitted their indirect tax information.
659
661
  *
@@ -676,7 +678,7 @@ export class TaxAndCashMonolith {
676
678
  * @uiGroup Dashboard Properties
677
679
  * @uiWidget textArea
678
680
  */
679
- this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.";
681
+ this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.";
680
682
  /**
681
683
  * Displayed to participants registered in Quebec, Canada.
682
684
  * @uiName QST indirect tax details
@@ -755,7 +757,7 @@ export class TaxAndCashMonolith {
755
757
  * @uiGroup Dashboard Properties
756
758
  * @uiWidget textArea
757
759
  */
758
- this.payoutHoldAlertDescription = "Please contact Support or check your inbox for an email from our referral program provider, impact.com.";
760
+ this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
759
761
  /**
760
762
  * Text displayed for existing publishers that do not have saved banking information.
761
763
  * @uiName Payout missing information subtext
@@ -824,7 +826,7 @@ export class TaxAndCashMonolith {
824
826
  * @uiGroup General Form Properties
825
827
  * @uiWidget textArea
826
828
  */
827
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
829
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
828
830
  /**
829
831
  * Displayed under a field that is missing required information.
830
832
  * @uiName Empty form field error message
@@ -871,7 +873,7 @@ export class TaxAndCashMonolith {
871
873
  * @uiGroup General Form Properties
872
874
  * @uiWidget textArea
873
875
  */
874
- this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.";
876
+ this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.";
875
877
  /**
876
878
  * Placeholder text displayed in the country search dropdown
877
879
  * @uiName Country field placeholder text
@@ -891,13 +893,19 @@ export class TaxAndCashMonolith {
891
893
  * @uiGroup General Form Properties
892
894
  * @uiWidget textArea
893
895
  */
894
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
896
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
895
897
  /**
896
898
  * Displayed at the top of the page on all set up steps.
897
899
  * @uiName Page description
898
900
  * @uiGroup General Form Properties
899
901
  */
900
902
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
903
+ /**
904
+ * Link text for contacting support team
905
+ * @uiName Suport link text
906
+ * @uiGroup General Form Properties
907
+ */
908
+ this.supportLink = "support team";
901
909
  withHooks(this);
902
910
  }
903
911
  disconnectedCallback() { }
@@ -921,6 +929,7 @@ export class TaxAndCashMonolith {
921
929
  taxAndPayoutsDescription: props.taxAndPayoutsDescription,
922
930
  searchForCountryText: props.searchForCountryText,
923
931
  formStep: props.formStep,
932
+ supportLink: props.supportLink,
924
933
  };
925
934
  }
926
935
  render() {
@@ -1816,7 +1825,7 @@ export class TaxAndCashMonolith {
1816
1825
  },
1817
1826
  "attribute": "step-2_cannot-change-info-alert",
1818
1827
  "reflect": false,
1819
- "defaultValue": "\"Changes to your personal and indirect tax information can only be made through our Support team after you complete this step. Make sure these are correct before continuing.\""
1828
+ "defaultValue": "\"Changes to your personal and indirect tax information can only be made through our {supportLink} after you complete this step. Make sure these are correct before continuing.\""
1820
1829
  },
1821
1830
  "step3_taxForm": {
1822
1831
  "type": "string",
@@ -2098,7 +2107,7 @@ export class TaxAndCashMonolith {
2098
2107
  },
2099
2108
  "attribute": "step-3_docusign-error",
2100
2109
  "reflect": false,
2101
- "defaultValue": "\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact Support.\""
2110
+ "defaultValue": "\"There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.\""
2102
2111
  },
2103
2112
  "step3_refreshButton": {
2104
2113
  "type": "string",
@@ -3604,7 +3613,7 @@ export class TaxAndCashMonolith {
3604
3613
  },
3605
3614
  "attribute": "dashboard_indirect-tax-tooltip-support",
3606
3615
  "reflect": false,
3607
- "defaultValue": "\"To make changes to your indirect tax information, please contact Support.\""
3616
+ "defaultValue": "\"To make changes to your indirect tax information, please contact our {supportLink}.\""
3608
3617
  },
3609
3618
  "dashboard_indirectTaxDetails": {
3610
3619
  "type": "string",
@@ -3703,7 +3712,7 @@ export class TaxAndCashMonolith {
3703
3712
  },
3704
3713
  "attribute": "dashboard_not-registered-for-tax",
3705
3714
  "reflect": false,
3706
- "defaultValue": "\"Not registered for indirect tax. If you\u2019ve previously registered with your tax authority, contact Support to add your information to stay tax compliant.\""
3715
+ "defaultValue": "\"Not registered for indirect tax. If you\u2019ve previously registered with your tax authority, contact our {supportLink} to add your information to stay tax compliant.\""
3707
3716
  },
3708
3717
  "dashboard_qstNumber": {
3709
3718
  "type": "string",
@@ -4024,7 +4033,7 @@ export class TaxAndCashMonolith {
4024
4033
  },
4025
4034
  "attribute": "payout-hold-alert-description",
4026
4035
  "reflect": false,
4027
- "defaultValue": "\"Please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
4036
+ "defaultValue": "\"Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.\""
4028
4037
  },
4029
4038
  "dashboard_payoutMissingInformationText": {
4030
4039
  "type": "string",
@@ -4321,7 +4330,7 @@ export class TaxAndCashMonolith {
4321
4330
  },
4322
4331
  "attribute": "general-error-description",
4323
4332
  "reflect": false,
4324
- "defaultValue": "\"Please review your information and try again. If this problem continues, contact Support.\""
4333
+ "defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
4325
4334
  },
4326
4335
  "fieldRequiredError": {
4327
4336
  "type": "string",
@@ -4519,7 +4528,7 @@ export class TaxAndCashMonolith {
4519
4528
  },
4520
4529
  "attribute": "is-partner-alert-description",
4521
4530
  "reflect": false,
4522
- "defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact Support or sign up for this referral program with a different email.\""
4531
+ "defaultValue": "\"If you don\u2019t recognize this referral program provider or believe this is a mistake, please contact our {supportLink} or sign up for this referral program with a different email.\""
4523
4532
  },
4524
4533
  "searchForCountryText": {
4525
4534
  "type": "string",
@@ -4597,7 +4606,7 @@ export class TaxAndCashMonolith {
4597
4606
  },
4598
4607
  "attribute": "loading-error-alert-description",
4599
4608
  "reflect": false,
4600
- "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact Support.\""
4609
+ "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact our {supportLink}.\""
4601
4610
  },
4602
4611
  "taxAndPayoutsDescription": {
4603
4612
  "type": "string",
@@ -4623,6 +4632,30 @@ export class TaxAndCashMonolith {
4623
4632
  "reflect": false,
4624
4633
  "defaultValue": "\"Submit your tax documents and add your banking information to receive your rewards.\""
4625
4634
  },
4635
+ "supportLink": {
4636
+ "type": "string",
4637
+ "mutable": false,
4638
+ "complexType": {
4639
+ "original": "string",
4640
+ "resolved": "string",
4641
+ "references": {}
4642
+ },
4643
+ "required": false,
4644
+ "optional": false,
4645
+ "docs": {
4646
+ "tags": [{
4647
+ "text": "Suport link text",
4648
+ "name": "uiName"
4649
+ }, {
4650
+ "text": "General Form Properties",
4651
+ "name": "uiGroup"
4652
+ }],
4653
+ "text": "Link text for contacting support team"
4654
+ },
4655
+ "attribute": "support-link",
4656
+ "reflect": false,
4657
+ "defaultValue": "\"support team\""
4658
+ },
4626
4659
  "demoData": {
4627
4660
  "type": "unknown",
4628
4661
  "mutable": false,
@@ -15,6 +15,7 @@ const style = {
15
15
  "&::part(base)": {
16
16
  backgroundColor: "var(--sl-color-yellow-100)",
17
17
  borderTop: "none",
18
+ maxWidth: "600px",
18
19
  },
19
20
  "& sl-icon::part(base)": {
20
21
  color: "var(--sl-color-warning-500)",
@@ -23,6 +24,7 @@ const style = {
23
24
  WarningHoldAlertContainer: {
24
25
  marginLeft: "-20px",
25
26
  "&::part(base)": {
27
+ maxWidth: "850px",
26
28
  border: "none",
27
29
  backgroundColor: "transparent",
28
30
  },
@@ -33,6 +35,7 @@ const style = {
33
35
  ErrorHoldAlertContainer: {
34
36
  marginLeft: "-20px",
35
37
  "&::part(base)": {
38
+ maxWidth: "850px",
36
39
  border: "none",
37
40
  backgroundColor: "transparent",
38
41
  },
@@ -199,7 +202,12 @@ export const TaxAndCashDashboardView = (props) => {
199
202
  case "VERIFICATION:REQUIRED":
200
203
  return {
201
204
  header: text.verificationRequiredHeader,
202
- description: text.verificationRequiredDescription,
205
+ description: intl.formatMessage({
206
+ id: "verificationRequiredDescription",
207
+ defaultMessage: text.verificationRequiredDescription,
208
+ }, {
209
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
210
+ }),
203
211
  buttonText: text.verificationRequiredButtonText,
204
212
  alertType: "warning",
205
213
  icon: "exclamation-triangle",
@@ -208,7 +216,12 @@ export const TaxAndCashDashboardView = (props) => {
208
216
  case "VERIFICATION:INTERNAL":
209
217
  return {
210
218
  header: text.verificationRequiredInternalHeader,
211
- description: text.verificationRequiredInternalDescription,
219
+ description: intl.formatMessage({
220
+ id: "verificationRequiredInternalDescription",
221
+ defaultMessage: text.verificationRequiredInternalDescription,
222
+ }, {
223
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
224
+ }),
212
225
  alertType: "warning",
213
226
  icon: "exclamation-triangle",
214
227
  class: sheet.classes.WarningHoldAlertContainer,
@@ -216,7 +229,12 @@ export const TaxAndCashDashboardView = (props) => {
216
229
  case "VERIFICATION:REVIEW":
217
230
  return {
218
231
  header: text.verificationReviewInternalHeader,
219
- description: text.verificationReviewInternalDescription,
232
+ description: intl.formatMessage({
233
+ id: "verificationReviewInternalDescription",
234
+ defaultMessage: text.verificationReviewInternalDescription,
235
+ }, {
236
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
237
+ }),
220
238
  alertType: "warning",
221
239
  icon: "exclamation-triangle",
222
240
  class: sheet.classes.WarningHoldAlertContainer,
@@ -224,7 +242,12 @@ export const TaxAndCashDashboardView = (props) => {
224
242
  case "VERIFICATION:FAILED":
225
243
  return {
226
244
  header: text.verificationFailedInternalHeader,
227
- description: text.verificationFailedInternalDescription,
245
+ description: intl.formatMessage({
246
+ id: "verificationFailedInternalDescription",
247
+ defaultMessage: text.verificationFailedInternalDescription,
248
+ }, {
249
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
250
+ }),
228
251
  alertType: "critical",
229
252
  icon: "exclamation-octagon",
230
253
  class: sheet.classes.ErrorHoldAlertContainer,
@@ -232,7 +255,12 @@ export const TaxAndCashDashboardView = (props) => {
232
255
  case "HOLD":
233
256
  return {
234
257
  header: text.payoutHoldAlertHeader,
235
- description: text.payoutHoldAlertDescription,
258
+ description: intl.formatMessage({
259
+ id: "payoutHoldAlertDescription",
260
+ defaultMessage: text.payoutHoldAlertDescription,
261
+ }, {
262
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
263
+ }),
236
264
  buttonText: null,
237
265
  alertType: "warning",
238
266
  icon: "exclamation-triangle",
@@ -322,12 +350,22 @@ export const TaxAndCashDashboardView = (props) => {
322
350
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
323
351
  h("strong", null, text.error.loadingErrorAlertHeader),
324
352
  h("br", null),
325
- text.error.loadingErrorAlertDescription))),
353
+ intl.formatMessage({
354
+ id: "loadingErrorAlertDescription",
355
+ defaultMessage: text.error.loadingErrorAlertDescription,
356
+ }, {
357
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
358
+ })))),
326
359
  ((_a = states.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", open: true, class: sheet.classes.ErrorAlertContainer },
327
360
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
328
361
  h("strong", null, text.error.generalTitle),
329
362
  h("br", null),
330
- text.error.generalDescription)),
363
+ intl.formatMessage({
364
+ id: "generalDescription",
365
+ defaultMessage: text.error.generalDescription,
366
+ }, {
367
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
368
+ }))),
331
369
  getAlert(states.payoutStatus) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", name: (_b = getAlert(states.payoutStatus)) === null || _b === void 0 ? void 0 : _b.alertType, open: true, class: (_c = getAlert(states.payoutStatus)) === null || _c === void 0 ? void 0 : _c.class },
332
370
  h("sl-icon", { slot: "icon", name: (_d = getAlert(states.payoutStatus)) === null || _d === void 0 ? void 0 : _d.icon }),
333
371
  h("strong", null, getAlert(states.payoutStatus).header),
@@ -369,7 +407,12 @@ export const TaxAndCashDashboardView = (props) => {
369
407
  h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet.classes.TooltipContainer },
370
408
  h("sl-icon", { name: "info-circle", class: sheet.classes.ToolTip }))),
371
409
  h("div", { class: sheet.classes.IndirectTaxPreviewDetails },
372
- h("span", null, states.notRegistered ? (h("span", { class: sheet.classes.NotRegisteredIndirectTaxText }, text.notRegisteredForTax)) : (getIndirectTaxRegisteredIn())),
410
+ h("span", null, states.notRegistered ? (h("span", { class: sheet.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
411
+ id: "notRegisteredForTax",
412
+ defaultMessage: text.notRegisteredForTax,
413
+ }, {
414
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
415
+ }))) : (getIndirectTaxRegisteredIn())),
373
416
  !states.notRegistered && (h("div", { class: sheet.classes.TaxNumberContainer },
374
417
  h("span", null, intl.formatMessage({
375
418
  id: `indirectTaxDetails`,