@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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +182 -56
- package/dist/cjs/sqm-big-stat_39.cjs.entry.js +84 -15
- package/dist/cjs/sqm-email-verification.cjs.entry.js +15 -7
- package/dist/cjs/{sqm-invoice-table-view-e92c557a.js → sqm-invoice-table-view-b0602970.js} +16 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +41 -18
- package/dist/cjs/{usePayoutStatus-5ac536a3.js → usePayoutStatus-8f924372.js} +1 -1
- package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +7 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -0
- package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +5 -1
- package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +3 -10
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
- package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -4
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +9 -5
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +29 -4
- package/dist/collection/components/tax-and-cash/TaxForm.stories.js +15 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +29 -4
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +3 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +34 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +41 -16
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +49 -16
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +51 -8
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +43 -18
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -3
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +31 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +182 -56
- package/dist/esm/sqm-big-stat_39.entry.js +84 -15
- package/dist/esm/sqm-email-verification.entry.js +15 -7
- package/dist/esm/{sqm-invoice-table-view-c184248a.js → sqm-invoice-table-view-b1ac1bfc.js} +16 -1
- package/dist/esm/sqm-stencilbook.entry.js +41 -18
- package/dist/esm/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-b1ac1bfc.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{usePayoutStatus-d613ff10.js → usePayoutStatus-0bc0380f.js} +2 -2
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-158568e5.system.entry.js +1 -0
- package/dist/mint-components/{p-2c99add0.js → p-47b47e3b.js} +1 -1
- package/dist/mint-components/p-7789349d.system.js +1 -0
- package/dist/mint-components/p-9e788a1a.js +1 -0
- package/dist/mint-components/p-a5c96f2a.entry.js +195 -0
- package/dist/mint-components/p-a8e79cad.entry.js +9 -0
- package/dist/mint-components/p-b99108a6.system.entry.js +1 -0
- package/dist/mint-components/{p-209eab38.system.js → p-bd1372d2.system.js} +1 -1
- package/dist/mint-components/p-bfd92031.system.entry.js +1 -0
- package/dist/mint-components/p-c58250e6.system.entry.js +1 -0
- package/dist/mint-components/p-ca809fdd.system.js +1 -1
- package/dist/mint-components/p-e11b605d.entry.js +25 -0
- package/dist/mint-components/{p-b9e863d0.entry.js → p-fc17c2d2.entry.js} +30 -12
- package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +1 -0
- package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +4 -0
- package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +6 -2
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +12 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +4 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
- package/dist/types/components.d.ts +72 -4
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/sqm-invoice-table-view-c184248a.js +0 -1
- package/dist/mint-components/p-13ce67a3.js +0 -1
- package/dist/mint-components/p-4e21de5f.entry.js +0 -9
- package/dist/mint-components/p-8c26c4ce.entry.js +0 -195
- package/dist/mint-components/p-9266a8fc.system.entry.js +0 -1
- package/dist/mint-components/p-a567ba84.system.entry.js +0 -1
- package/dist/mint-components/p-a9b7e11f.entry.js +0 -25
- package/dist/mint-components/p-b7836281.system.js +0 -1
- package/dist/mint-components/p-c520d10d.system.entry.js +0 -1
- package/dist/mint-components/p-c5d26757.system.entry.js +0 -1
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|
package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,
|