@saasquatch/mint-components 1.12.0-14 → 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 (94) 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 +46 -14
  5. package/dist/cjs/sqm-email-verification.cjs.entry.js +15 -7
  6. package/dist/cjs/{sqm-invoice-table-view-ed76d7bd.js → sqm-invoice-table-view-b0602970.js} +1 -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-referral-table/ReferralTable.stories.js +7 -1
  12. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
  13. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
  14. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +9 -5
  15. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
  16. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +1 -1
  17. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  18. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +29 -4
  19. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +3 -2
  20. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  21. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  22. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  23. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  24. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +34 -6
  25. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +41 -16
  26. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +1 -1
  27. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +49 -16
  28. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +51 -8
  29. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +43 -18
  30. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -3
  31. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
  32. package/dist/esm/loader.js +1 -1
  33. package/dist/esm/mint-components.js +1 -1
  34. package/dist/esm/sqm-banking-info-form_16.entry.js +182 -56
  35. package/dist/esm/sqm-big-stat_39.entry.js +46 -14
  36. package/dist/esm/sqm-email-verification.entry.js +15 -7
  37. package/dist/esm/{sqm-invoice-table-view-6601d8f2.js → sqm-invoice-table-view-b1ac1bfc.js} +1 -1
  38. package/dist/esm/sqm-stencilbook.entry.js +41 -18
  39. package/dist/esm/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +1 -1
  40. package/dist/esm-es5/loader.js +1 -1
  41. package/dist/esm-es5/mint-components.js +1 -1
  42. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  43. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  44. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  45. package/dist/esm-es5/sqm-invoice-table-view-b1ac1bfc.js +1 -0
  46. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  47. package/dist/esm-es5/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +2 -2
  48. package/dist/mint-components/mint-components.esm.js +1 -1
  49. package/dist/mint-components/p-158568e5.system.entry.js +1 -0
  50. package/dist/mint-components/{p-2c99add0.js → p-47b47e3b.js} +1 -1
  51. package/dist/mint-components/p-7789349d.system.js +1 -0
  52. package/dist/mint-components/p-9e788a1a.js +1 -0
  53. package/dist/mint-components/p-a5c96f2a.entry.js +195 -0
  54. package/dist/mint-components/p-a8e79cad.entry.js +9 -0
  55. package/dist/mint-components/p-b99108a6.system.entry.js +1 -0
  56. package/dist/mint-components/{p-209eab38.system.js → p-bd1372d2.system.js} +1 -1
  57. package/dist/mint-components/p-bfd92031.system.entry.js +1 -0
  58. package/dist/mint-components/p-c58250e6.system.entry.js +1 -0
  59. package/dist/mint-components/p-ca809fdd.system.js +1 -1
  60. package/dist/mint-components/p-e11b605d.entry.js +25 -0
  61. package/dist/mint-components/{p-30ac8e59.entry.js → p-fc17c2d2.entry.js} +11 -11
  62. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
  63. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  64. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  65. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
  66. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
  67. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
  68. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
  69. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  70. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  71. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  72. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  73. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -0
  74. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +6 -2
  75. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +12 -0
  76. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -0
  77. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +4 -0
  78. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  79. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  80. package/dist/types/components.d.ts +72 -4
  81. package/docs/docs.docx +0 -0
  82. package/docs/raisins.json +1 -1
  83. package/grapesjs/grapesjs.js +1 -1
  84. package/package.json +1 -1
  85. package/dist/esm-es5/sqm-invoice-table-view-6601d8f2.js +0 -1
  86. package/dist/mint-components/p-21aa318a.entry.js +0 -195
  87. package/dist/mint-components/p-2d836e58.js +0 -1
  88. package/dist/mint-components/p-45a8d0fc.system.js +0 -1
  89. package/dist/mint-components/p-4adff550.system.entry.js +0 -1
  90. package/dist/mint-components/p-856c09f1.entry.js +0 -9
  91. package/dist/mint-components/p-9a21cc81.system.entry.js +0 -1
  92. package/dist/mint-components/p-a9b7e11f.entry.js +0 -25
  93. package/dist/mint-components/p-c5d26757.system.entry.js +0 -1
  94. package/dist/mint-components/p-e0c54a41.system.entry.js +0 -1
@@ -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`,
@@ -124,7 +124,7 @@ export class TaxAndCashDashboard {
124
124
  * @uiName Indirect tax tooltip
125
125
  * @uiWidget textArea
126
126
  */
127
- this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact Support.";
127
+ this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our Support team.";
128
128
  /**
129
129
  * Displayed to participants who have submitted their indirect tax information.
130
130
  *
@@ -144,7 +144,7 @@ export class TaxAndCashDashboard {
144
144
  * @uiName Not registered for indirect tax text
145
145
  * @uiWidget textArea
146
146
  */
147
- this.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.";
147
+ this.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.";
148
148
  /**
149
149
  * Displayed to participants registered in Quebec, Canada.
150
150
  * @uiName QST indirect tax details
@@ -179,7 +179,7 @@ export class TaxAndCashDashboard {
179
179
  * @uiName Payout error message description
180
180
  * @uiWidget textArea
181
181
  */
182
- this.payoutHoldAlertDescription = "Please contact Support or check your inbox for an email from our referral program provider, impact.com.";
182
+ this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
183
183
  /**
184
184
  * Text displayed for existing publishers that do not have saved banking information.
185
185
  * @uiName Payout missing information subtext
@@ -196,7 +196,7 @@ export class TaxAndCashDashboard {
196
196
  * @uiName Verification required alert message description
197
197
  * @uiWidget textArea
198
198
  */
199
- this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
199
+ this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.";
200
200
  /**
201
201
  * @uiName Verification required internal alert header
202
202
  */
@@ -204,7 +204,7 @@ export class TaxAndCashDashboard {
204
204
  /**
205
205
  * @uiName Verification required internal alert description
206
206
  */
207
- this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley.";
207
+ this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.";
208
208
  /**
209
209
  * @uiName Verification review internal alert header
210
210
  */
@@ -212,7 +212,7 @@ export class TaxAndCashDashboard {
212
212
  /**
213
213
  * @uiName Verification review internal alert description
214
214
  */
215
- this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.";
215
+ 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}.";
216
216
  /**
217
217
  * @uiName Verification failed internal alert header
218
218
  */
@@ -220,7 +220,7 @@ export class TaxAndCashDashboard {
220
220
  /**
221
221
  * @uiName Verification failed internal alert description
222
222
  */
223
- this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information.";
223
+ 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}.";
224
224
  /**
225
225
  * Part of the alert displayed at the top of the page when the user needs to verify their identity.
226
226
  * @uiName Verification required alert button text
@@ -237,7 +237,7 @@ export class TaxAndCashDashboard {
237
237
  * @uiName Form submission error message description
238
238
  * @uiWidget textArea
239
239
  */
240
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
240
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
241
241
  /**
242
242
  * Displayed under the payout details card.
243
243
  * @uiName Payout from impact text
@@ -255,7 +255,7 @@ export class TaxAndCashDashboard {
255
255
  * @uiName Page load error message description
256
256
  * @uiWidget textArea
257
257
  */
258
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
258
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
259
259
  /**
260
260
  * Part of the Invoice table displayed at the bottom of the page.
261
261
  * @uiName Invoice number column title
@@ -306,6 +306,10 @@ export class TaxAndCashDashboard {
306
306
  * @uiName Replace tax form modal body text
307
307
  */
308
308
  this.replaceTaxFormModalBodyText = "Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.";
309
+ /**
310
+ * @uiName Support link text
311
+ */
312
+ this.supportLink = "support team";
309
313
  /**
310
314
  * @uiName Cancel button label
311
315
  */
@@ -773,7 +777,7 @@ export class TaxAndCashDashboard {
773
777
  },
774
778
  "attribute": "indirect-tax-tooltip-support",
775
779
  "reflect": false,
776
- "defaultValue": "\"To make changes to your indirect tax information, please contact Support.\""
780
+ "defaultValue": "\"To make changes to your indirect tax information, please contact our Support team.\""
777
781
  },
778
782
  "indirectTaxDetails": {
779
783
  "type": "string",
@@ -860,7 +864,7 @@ export class TaxAndCashDashboard {
860
864
  },
861
865
  "attribute": "not-registered-for-tax",
862
866
  "reflect": false,
863
- "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.\""
867
+ "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.\""
864
868
  },
865
869
  "qstNumber": {
866
870
  "type": "string",
@@ -1013,7 +1017,7 @@ export class TaxAndCashDashboard {
1013
1017
  },
1014
1018
  "attribute": "payout-hold-alert-description",
1015
1019
  "reflect": false,
1016
- "defaultValue": "\"Please contact Support or check your inbox for an email from our referral program provider, impact.com.\""
1020
+ "defaultValue": "\"Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.\""
1017
1021
  },
1018
1022
  "payoutMissingInformationText": {
1019
1023
  "type": "string",
@@ -1082,7 +1086,7 @@ export class TaxAndCashDashboard {
1082
1086
  },
1083
1087
  "attribute": "verification-required-description",
1084
1088
  "reflect": false,
1085
- "defaultValue": "\"Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.\""
1089
+ "defaultValue": "\"Complete your verification to start receiving your cash rewards. It should only take a few minutes verify. If you run in to an issue verifying your identity contact our {supportLink}.\""
1086
1090
  },
1087
1091
  "verificationRequiredInternalHeader": {
1088
1092
  "type": "string",
@@ -1124,7 +1128,7 @@ export class TaxAndCashDashboard {
1124
1128
  },
1125
1129
  "attribute": "verification-required-internal-description",
1126
1130
  "reflect": false,
1127
- "defaultValue": "\"Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortley.\""
1131
+ "defaultValue": "\"Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated shortly. If you don't hear from us contact our {supportLink}.\""
1128
1132
  },
1129
1133
  "verificationReviewInternalHeader": {
1130
1134
  "type": "string",
@@ -1166,7 +1170,7 @@ export class TaxAndCashDashboard {
1166
1170
  },
1167
1171
  "attribute": "verification-review-internal-description",
1168
1172
  "reflect": false,
1169
- "defaultValue": "\"Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.\""
1173
+ "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}.\""
1170
1174
  },
1171
1175
  "verificationFailedInternalHeader": {
1172
1176
  "type": "string",
@@ -1208,7 +1212,7 @@ export class TaxAndCashDashboard {
1208
1212
  },
1209
1213
  "attribute": "verification-failed-internal-description",
1210
1214
  "reflect": false,
1211
- "defaultValue": "\"Identity verification has failed. Our team is reviewing the report and will contact you with further information.\""
1215
+ "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}.\""
1212
1216
  },
1213
1217
  "verificationRequiredButtonText": {
1214
1218
  "type": "string",
@@ -1277,7 +1281,7 @@ export class TaxAndCashDashboard {
1277
1281
  },
1278
1282
  "attribute": "general-error-description",
1279
1283
  "reflect": false,
1280
- "defaultValue": "\"Please review your information and try again. If this problem continues, contact Support.\""
1284
+ "defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
1281
1285
  },
1282
1286
  "payoutFromImpact": {
1283
1287
  "type": "string",
@@ -1349,7 +1353,7 @@ export class TaxAndCashDashboard {
1349
1353
  },
1350
1354
  "attribute": "loading-error-alert-description",
1351
1355
  "reflect": false,
1352
- "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact Support.\""
1356
+ "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact our {supportLink}.\""
1353
1357
  },
1354
1358
  "invoiceColumnTitle": {
1355
1359
  "type": "string",
@@ -1645,6 +1649,27 @@ export class TaxAndCashDashboard {
1645
1649
  "reflect": false,
1646
1650
  "defaultValue": "\"Submitting a new tax form will remove your existing form. Make sure to sign and complete your new tax form to prevent any issues with your next payout.\""
1647
1651
  },
1652
+ "supportLink": {
1653
+ "type": "string",
1654
+ "mutable": false,
1655
+ "complexType": {
1656
+ "original": "string",
1657
+ "resolved": "string",
1658
+ "references": {}
1659
+ },
1660
+ "required": false,
1661
+ "optional": false,
1662
+ "docs": {
1663
+ "tags": [{
1664
+ "text": "Support link text",
1665
+ "name": "uiName"
1666
+ }],
1667
+ "text": ""
1668
+ },
1669
+ "attribute": "support-link",
1670
+ "reflect": false,
1671
+ "defaultValue": "\"support team\""
1672
+ },
1648
1673
  "cancelButton": {
1649
1674
  "type": "string",
1650
1675
  "mutable": false,
@@ -163,7 +163,12 @@ export const UserInfoFormView = (props) => {
163
163
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
164
164
  h("strong", null, text.error.loadingErrorAlertHeader),
165
165
  h("br", null),
166
- text.error.loadingErrorAlertDescription),
166
+ intl.formatMessage({
167
+ id: "loadingErrorAlertDescription",
168
+ defaultMessage: text.error.loadingErrorAlertDescription,
169
+ }, {
170
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
171
+ })),
167
172
  h("br", null))),
168
173
  states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
169
174
  h("div", { class: classes.TextContainer },
@@ -178,12 +183,22 @@ export const UserInfoFormView = (props) => {
178
183
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
179
184
  h("strong", null, text.error.generalTitle),
180
185
  h("br", null),
181
- text.error.generalDescription)),
186
+ intl.formatMessage({
187
+ id: "generalDescription",
188
+ defaultMessage: text.error.generalDescription,
189
+ }, {
190
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
191
+ }))),
182
192
  (states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
183
193
  h("sl-icon", { slot: "icon", name: "info-circle" }),
184
194
  h("strong", null, text.isPartnerAlertHeader),
185
195
  h("br", null),
186
- text.isPartnerAlertDescription)),
196
+ intl.formatMessage({
197
+ id: "isPartnerAlertDescription",
198
+ defaultMessage: text.isPartnerAlertDescription,
199
+ }, {
200
+ supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
201
+ }))),
187
202
  h("div", null,
188
203
  h("div", { class: classes.InputContainer },
189
204
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || states.isUser || states.isPartner }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -88,7 +88,7 @@ export class TaxForm {
88
88
  * @uiName Participant is a partner alert description
89
89
  * @uiWidget textArea
90
90
  */
91
- 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.";
91
+ 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.";
92
92
  /**
93
93
  * Part of the alert displayed at the top of the page.
94
94
  * @uiName Form submission error message title
@@ -100,7 +100,7 @@ export class TaxForm {
100
100
  * @uiName Form submission error message description
101
101
  * @uiWidget textArea
102
102
  */
103
- this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact Support.";
103
+ this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
104
104
  /**
105
105
  * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
106
106
  * @uiName Terms and conditions checkbox
@@ -153,12 +153,16 @@ export class TaxForm {
153
153
  * @uiName Page load error message description
154
154
  * @uiWidget textArea
155
155
  */
156
- this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact Support.";
156
+ this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
157
157
  /**
158
158
  * Displayed at the top of the page on all set up steps.
159
159
  * @uiName Page description
160
160
  */
161
161
  this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
162
+ /**
163
+ * @uiName Support link text
164
+ */
165
+ this.supportLink = "support team";
162
166
  withHooks(this);
163
167
  }
164
168
  disconnectedCallback() { }
@@ -572,7 +576,7 @@ export class TaxForm {
572
576
  },
573
577
  "attribute": "is-partner-alert-description",
574
578
  "reflect": false,
575
- "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.\""
579
+ "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.\""
576
580
  },
577
581
  "generalErrorTitle": {
578
582
  "type": "string",
@@ -620,7 +624,7 @@ export class TaxForm {
620
624
  },
621
625
  "attribute": "general-error-description",
622
626
  "reflect": false,
623
- "defaultValue": "\"Please review your information and try again. If this problem continues, contact Support.\""
627
+ "defaultValue": "\"Please review your information and try again. If this problem continues, contact our {supportLink}.\""
624
628
  },
625
629
  "allowBankingCollection": {
626
630
  "type": "string",
@@ -839,7 +843,7 @@ export class TaxForm {
839
843
  },
840
844
  "attribute": "loading-error-alert-description",
841
845
  "reflect": false,
842
- "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact Support.\""
846
+ "defaultValue": "\"Please refresh the page and try again. If this problem continues, contact our {supportLink}.\""
843
847
  },
844
848
  "taxAndPayoutsDescription": {
845
849
  "type": "string",
@@ -862,6 +866,27 @@ export class TaxForm {
862
866
  "reflect": false,
863
867
  "defaultValue": "\"Submit your tax documents and add your banking information to receive your rewards.\""
864
868
  },
869
+ "supportLink": {
870
+ "type": "string",
871
+ "mutable": false,
872
+ "complexType": {
873
+ "original": "string",
874
+ "resolved": "string",
875
+ "references": {}
876
+ },
877
+ "required": false,
878
+ "optional": false,
879
+ "docs": {
880
+ "tags": [{
881
+ "text": "Support link text",
882
+ "name": "uiName"
883
+ }],
884
+ "text": ""
885
+ },
886
+ "attribute": "support-link",
887
+ "reflect": false,
888
+ "defaultValue": "\"support team\""
889
+ },
865
890
  "demoData": {
866
891
  "type": "unknown",
867
892
  "mutable": false,