@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
|
@@ -12,9 +12,9 @@ import { u as useChildElements } from './useChildElements-fc84e640.js';
|
|
|
12
12
|
import { l as luxon } from './luxon-7600be8d.js';
|
|
13
13
|
import { g as generateUserError } from './useReferralTable-f6ffa103.js';
|
|
14
14
|
import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
|
|
15
|
-
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-
|
|
15
|
+
import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-b1ac1bfc.js';
|
|
16
16
|
import { b as VERIFICATION_EVENT_KEY } from './keys-db1897ae.js';
|
|
17
|
-
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-
|
|
17
|
+
import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-0bc0380f.js';
|
|
18
18
|
import { e as extractProps } from './extractProps-ae1afbb3.js';
|
|
19
19
|
|
|
20
20
|
const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
|
|
@@ -862,12 +862,22 @@ const BankingInfoFormView = (props) => {
|
|
|
862
862
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
863
863
|
h("strong", null, text.error.generalTitle),
|
|
864
864
|
h("br", null),
|
|
865
|
-
|
|
865
|
+
intl.formatMessage({
|
|
866
|
+
id: "generalDescription",
|
|
867
|
+
defaultMessage: text.error.generalDescription,
|
|
868
|
+
}, {
|
|
869
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
870
|
+
}))),
|
|
866
871
|
states.isPartner && !states.hideSteps && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: sheet.classes.PartnerAlertContainer },
|
|
867
872
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
868
873
|
h("strong", null, text.isPartnerAlertHeader),
|
|
869
874
|
h("br", null),
|
|
870
|
-
|
|
875
|
+
intl.formatMessage({
|
|
876
|
+
id: "isPartnerAlertDescription",
|
|
877
|
+
defaultMessage: text.isPartnerAlertDescription,
|
|
878
|
+
}, {
|
|
879
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
880
|
+
}))),
|
|
871
881
|
h("div", null,
|
|
872
882
|
h("h4", null, text.paymentMethod),
|
|
873
883
|
h("p", { class: classes.DescriptionText }, text.paymentMethodSubtext))),
|
|
@@ -1105,6 +1115,8 @@ function useBankingInfoForm(props) {
|
|
|
1105
1115
|
// Call difference mutations based on whether the user is updating
|
|
1106
1116
|
// the info for setting it for the first time
|
|
1107
1117
|
if (isPartner) {
|
|
1118
|
+
if (!token)
|
|
1119
|
+
return; // Require token for this mutation
|
|
1108
1120
|
response = await updateWithdrawalSettings({
|
|
1109
1121
|
updateImpactPublisherWithdrawalSettingsInput: {
|
|
1110
1122
|
...body,
|
|
@@ -1186,8 +1198,7 @@ function useBankingInfoForm(props) {
|
|
|
1186
1198
|
});
|
|
1187
1199
|
setShowVerification(false);
|
|
1188
1200
|
}
|
|
1189
|
-
|
|
1190
|
-
await runMutation(formData, token);
|
|
1201
|
+
await runMutation(formData, token);
|
|
1191
1202
|
};
|
|
1192
1203
|
const onVerification = async (token) => {
|
|
1193
1204
|
host.dispatchEvent(new CustomEvent(VERIFICATION_EVENT_KEY, {
|
|
@@ -1459,7 +1470,7 @@ const BankingInfoForm = class {
|
|
|
1459
1470
|
* @uiName Participant is a partner alert description
|
|
1460
1471
|
* @uiWidget textArea
|
|
1461
1472
|
*/
|
|
1462
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact our
|
|
1473
|
+
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.";
|
|
1463
1474
|
/**
|
|
1464
1475
|
* Part of the alert displayed at the top of the page.
|
|
1465
1476
|
* @uiName Form submission error message title
|
|
@@ -1471,7 +1482,7 @@ const BankingInfoForm = class {
|
|
|
1471
1482
|
* @uiName Form submission error message description
|
|
1472
1483
|
* @uiWidget textArea
|
|
1473
1484
|
*/
|
|
1474
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
1485
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
1475
1486
|
/**
|
|
1476
1487
|
* Displayed under a field that is missing required information.
|
|
1477
1488
|
* @uiName Empty form field error message
|
|
@@ -1482,6 +1493,10 @@ const BankingInfoForm = class {
|
|
|
1482
1493
|
* @uiName Form field error message
|
|
1483
1494
|
*/
|
|
1484
1495
|
this.fieldInvalidError = "{fieldName} is invalid";
|
|
1496
|
+
/**
|
|
1497
|
+
* @uiName Support link text
|
|
1498
|
+
*/
|
|
1499
|
+
this.supportLink = "support team";
|
|
1485
1500
|
/**
|
|
1486
1501
|
* @uiName Continue button label
|
|
1487
1502
|
*/
|
|
@@ -2142,12 +2157,22 @@ const DocusignFormView = (props) => {
|
|
|
2142
2157
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2143
2158
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2144
2159
|
h("br", null),
|
|
2145
|
-
|
|
2160
|
+
intl.formatMessage({
|
|
2161
|
+
id: "loadingErrorAlertDescription",
|
|
2162
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2163
|
+
}, {
|
|
2164
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2165
|
+
})))),
|
|
2146
2166
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$2.classes.ErrorAlertContainer },
|
|
2147
2167
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2148
2168
|
h("strong", null, text.error.generalTitle),
|
|
2149
2169
|
h("br", null),
|
|
2150
|
-
|
|
2170
|
+
intl.formatMessage({
|
|
2171
|
+
id: "generalDescription",
|
|
2172
|
+
defaultMessage: text.error.generalDescription,
|
|
2173
|
+
}, {
|
|
2174
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2175
|
+
}))),
|
|
2151
2176
|
h("div", null,
|
|
2152
2177
|
h("div", null,
|
|
2153
2178
|
h("h5", { class: classes.BoldText }, intl.formatMessage({ id: "tax-form-label", defaultMessage: text.taxFormLabel }, { documentType: documentTypeString })),
|
|
@@ -2186,6 +2211,10 @@ const DocusignForm = class {
|
|
|
2186
2211
|
* @uiWidget textArea
|
|
2187
2212
|
*/
|
|
2188
2213
|
this.taxFormDescription = "Participants based in the US need to submit a {documentType} form.";
|
|
2214
|
+
/**
|
|
2215
|
+
* @uiName Support link text
|
|
2216
|
+
*/
|
|
2217
|
+
this.supportLink = "support team";
|
|
2189
2218
|
/**
|
|
2190
2219
|
* Displayed at the top of the page to individuals joining a US program who reside outside the country.
|
|
2191
2220
|
* @uiName W-8 BEN tax form description
|
|
@@ -2229,7 +2258,7 @@ const DocusignForm = class {
|
|
|
2229
2258
|
* @uiName Docusign form error message
|
|
2230
2259
|
* @uiWidget textArea
|
|
2231
2260
|
*/
|
|
2232
|
-
this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact
|
|
2261
|
+
this.docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
|
|
2233
2262
|
/**
|
|
2234
2263
|
* @uiName Refresh page button label
|
|
2235
2264
|
*/
|
|
@@ -2245,7 +2274,7 @@ const DocusignForm = class {
|
|
|
2245
2274
|
* @uiName Form submission error message description
|
|
2246
2275
|
* @uiWidget textArea
|
|
2247
2276
|
*/
|
|
2248
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
2277
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
2249
2278
|
/**
|
|
2250
2279
|
* Part of the alert displayed at the top of the page.
|
|
2251
2280
|
* @uiName Page load error message title
|
|
@@ -2257,7 +2286,7 @@ const DocusignForm = class {
|
|
|
2257
2286
|
* @uiName Page load error message description
|
|
2258
2287
|
* @uiWidget textArea
|
|
2259
2288
|
*/
|
|
2260
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
2289
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
2261
2290
|
/**
|
|
2262
2291
|
* Displayed at the top of the page on all set up steps.
|
|
2263
2292
|
* @uiName Page description
|
|
@@ -2442,11 +2471,9 @@ const style$3 = {
|
|
|
2442
2471
|
border: "none",
|
|
2443
2472
|
},
|
|
2444
2473
|
"&::part(message)": {
|
|
2445
|
-
display: "flex",
|
|
2446
2474
|
alignItems: "center",
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
height: "max-content",
|
|
2475
|
+
padding: "var(--sl-spacing-small)",
|
|
2476
|
+
whiteSpace: "nowrap",
|
|
2450
2477
|
},
|
|
2451
2478
|
"& sl-icon::part(base)": {
|
|
2452
2479
|
color: "var(--sl-color-yellow-500)",
|
|
@@ -2504,17 +2531,32 @@ const IndirectTaxFormView = (props) => {
|
|
|
2504
2531
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2505
2532
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
2506
2533
|
h("br", null),
|
|
2507
|
-
|
|
2534
|
+
intl.formatMessage({
|
|
2535
|
+
id: "loadingErrorAlertDescription",
|
|
2536
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2537
|
+
}, {
|
|
2538
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2539
|
+
})))),
|
|
2508
2540
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "warning", open: true, class: sheet$3.classes.AlertContainer },
|
|
2509
2541
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
2510
2542
|
h("strong", null, text.error.generalTitle),
|
|
2511
2543
|
h("br", null),
|
|
2512
|
-
|
|
2544
|
+
intl.formatMessage({
|
|
2545
|
+
id: "generalDescription",
|
|
2546
|
+
defaultMessage: text.error.generalDescription,
|
|
2547
|
+
}, {
|
|
2548
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2549
|
+
}))),
|
|
2513
2550
|
states.isPartner && (h("sl-alert", { type: "primary", open: true, class: sheet$3.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
2514
2551
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
2515
2552
|
h("strong", null, text.isPartnerAlertHeader),
|
|
2516
2553
|
h("br", null),
|
|
2517
|
-
|
|
2554
|
+
intl.formatMessage({
|
|
2555
|
+
id: "isPartnerAlertDescription",
|
|
2556
|
+
defaultMessage: text.isPartnerAlertDescription,
|
|
2557
|
+
}, {
|
|
2558
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2559
|
+
}))),
|
|
2518
2560
|
h("div", null,
|
|
2519
2561
|
h("h4", null, text.indirectTaxDetails))),
|
|
2520
2562
|
states.loading ? (h("sl-spinner", { style: { fontSize: "50px", margin: "40px" } })) : (h("div", null,
|
|
@@ -2531,7 +2573,12 @@ const IndirectTaxFormView = (props) => {
|
|
|
2531
2573
|
slots.registeredInDifferentCountryDetailsSlot)),
|
|
2532
2574
|
h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "primary", open: true, class: classes.InfoAlert },
|
|
2533
2575
|
h("sl-icon", { class: classes.InfoWarningIcon, slot: "icon", name: "exclamation-triangle" }),
|
|
2534
|
-
|
|
2576
|
+
intl.formatMessage({
|
|
2577
|
+
id: "cannotChangeInfoAlert",
|
|
2578
|
+
defaultMessage: text.cannotChangeInfoAlert,
|
|
2579
|
+
}, {
|
|
2580
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2581
|
+
})),
|
|
2535
2582
|
h("div", { class: classes.BtnContainer },
|
|
2536
2583
|
h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
|
2537
2584
|
h("sl-button", { class: classes.SecondaryBtn, type: "text", disabled: states.disabled, onClick: callbacks.onBack, exportparts: "base: secondarybutton-base" }, text.backButton))))));
|
|
@@ -2861,7 +2908,7 @@ const IndirectTaxForm = class {
|
|
|
2861
2908
|
* @uiName Submission confirmation alert
|
|
2862
2909
|
* @uiWidget textArea
|
|
2863
2910
|
*/
|
|
2864
|
-
this.cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our
|
|
2911
|
+
this.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.";
|
|
2865
2912
|
/**
|
|
2866
2913
|
* @uiName Missing indirect tax number error message
|
|
2867
2914
|
*/
|
|
@@ -2887,11 +2934,15 @@ const IndirectTaxForm = class {
|
|
|
2887
2934
|
* @uiName Participant is a partner alert description
|
|
2888
2935
|
* @uiWidget textArea
|
|
2889
2936
|
*/
|
|
2890
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact
|
|
2937
|
+
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.";
|
|
2891
2938
|
/**
|
|
2892
2939
|
* @uiName Continue button label
|
|
2893
2940
|
*/
|
|
2894
2941
|
this.continueButton = "Continue";
|
|
2942
|
+
/**
|
|
2943
|
+
* @uiName Support link text
|
|
2944
|
+
*/
|
|
2945
|
+
this.supportLink = "support team";
|
|
2895
2946
|
/**
|
|
2896
2947
|
* Part of the alert displayed at the top of the page.
|
|
2897
2948
|
* @uiName Form submission error message title
|
|
@@ -2903,7 +2954,7 @@ const IndirectTaxForm = class {
|
|
|
2903
2954
|
* @uiName Form submission error message description
|
|
2904
2955
|
* @uiWidget textArea
|
|
2905
2956
|
*/
|
|
2906
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
2957
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
2907
2958
|
/**
|
|
2908
2959
|
* Part of the alert displayed at the top of the page.
|
|
2909
2960
|
* @uiName Page load error message title
|
|
@@ -2915,7 +2966,7 @@ const IndirectTaxForm = class {
|
|
|
2915
2966
|
* @uiName Page load error message description
|
|
2916
2967
|
* @uiWidget textArea
|
|
2917
2968
|
*/
|
|
2918
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
2969
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
2919
2970
|
/**
|
|
2920
2971
|
* Displayed at the top of the page on all set up steps.
|
|
2921
2972
|
* @uiName Page description
|
|
@@ -4062,6 +4113,8 @@ const TaxAndCashMonolith = class {
|
|
|
4062
4113
|
* @uiGroup Step 1 Properties
|
|
4063
4114
|
*/
|
|
4064
4115
|
this.step1_searchForCurrencyText = "Search for currency..";
|
|
4116
|
+
/**
|
|
4117
|
+
|
|
4065
4118
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4066
4119
|
STEP 2 PROPS:
|
|
4067
4120
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
@@ -4164,7 +4217,7 @@ const TaxAndCashMonolith = class {
|
|
|
4164
4217
|
* @uiGroup Step 2 Properties
|
|
4165
4218
|
* @uiWidget textArea
|
|
4166
4219
|
*/
|
|
4167
|
-
this.step2_cannotChangeInfoAlert = "Changes to your personal and indirect tax information can only be made through our
|
|
4220
|
+
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.";
|
|
4168
4221
|
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4169
4222
|
STEP 3 PROPS:
|
|
4170
4223
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
|
|
@@ -4237,7 +4290,7 @@ const TaxAndCashMonolith = class {
|
|
|
4237
4290
|
* @uiGroup Step 3 Properties
|
|
4238
4291
|
* @uiWidget textArea
|
|
4239
4292
|
*/
|
|
4240
|
-
this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact
|
|
4293
|
+
this.step3_docusignError = "There was a problem displaying this form. Please refresh the page. If this problem continues, contact our {supportLink}.";
|
|
4241
4294
|
/**
|
|
4242
4295
|
* @uiName Refresh page button label
|
|
4243
4296
|
* @uiGroup Step 3 Properties
|
|
@@ -4599,7 +4652,7 @@ const TaxAndCashMonolith = class {
|
|
|
4599
4652
|
* @uiGroup Dashboard Properties
|
|
4600
4653
|
* @uiWidget textArea
|
|
4601
4654
|
*/
|
|
4602
|
-
this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact
|
|
4655
|
+
this.dashboard_indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our {supportLink}.";
|
|
4603
4656
|
/**
|
|
4604
4657
|
* Displayed to participants who have submitted their indirect tax information.
|
|
4605
4658
|
*
|
|
@@ -4622,7 +4675,7 @@ const TaxAndCashMonolith = class {
|
|
|
4622
4675
|
* @uiGroup Dashboard Properties
|
|
4623
4676
|
* @uiWidget textArea
|
|
4624
4677
|
*/
|
|
4625
|
-
this.dashboard_notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact
|
|
4678
|
+
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.";
|
|
4626
4679
|
/**
|
|
4627
4680
|
* Displayed to participants registered in Quebec, Canada.
|
|
4628
4681
|
* @uiName QST indirect tax details
|
|
@@ -4701,7 +4754,7 @@ const TaxAndCashMonolith = class {
|
|
|
4701
4754
|
* @uiGroup Dashboard Properties
|
|
4702
4755
|
* @uiWidget textArea
|
|
4703
4756
|
*/
|
|
4704
|
-
this.payoutHoldAlertDescription = "Please contact
|
|
4757
|
+
this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
|
|
4705
4758
|
/**
|
|
4706
4759
|
* Text displayed for existing publishers that do not have saved banking information.
|
|
4707
4760
|
* @uiName Payout missing information subtext
|
|
@@ -4770,7 +4823,7 @@ const TaxAndCashMonolith = class {
|
|
|
4770
4823
|
* @uiGroup General Form Properties
|
|
4771
4824
|
* @uiWidget textArea
|
|
4772
4825
|
*/
|
|
4773
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
4826
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
4774
4827
|
/**
|
|
4775
4828
|
* Displayed under a field that is missing required information.
|
|
4776
4829
|
* @uiName Empty form field error message
|
|
@@ -4817,7 +4870,7 @@ const TaxAndCashMonolith = class {
|
|
|
4817
4870
|
* @uiGroup General Form Properties
|
|
4818
4871
|
* @uiWidget textArea
|
|
4819
4872
|
*/
|
|
4820
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact
|
|
4873
|
+
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.";
|
|
4821
4874
|
/**
|
|
4822
4875
|
* Placeholder text displayed in the country search dropdown
|
|
4823
4876
|
* @uiName Country field placeholder text
|
|
@@ -4837,13 +4890,19 @@ const TaxAndCashMonolith = class {
|
|
|
4837
4890
|
* @uiGroup General Form Properties
|
|
4838
4891
|
* @uiWidget textArea
|
|
4839
4892
|
*/
|
|
4840
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
4893
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
4841
4894
|
/**
|
|
4842
4895
|
* Displayed at the top of the page on all set up steps.
|
|
4843
4896
|
* @uiName Page description
|
|
4844
4897
|
* @uiGroup General Form Properties
|
|
4845
4898
|
*/
|
|
4846
4899
|
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
4900
|
+
/**
|
|
4901
|
+
* Link text for contacting support team
|
|
4902
|
+
* @uiName Suport link text
|
|
4903
|
+
* @uiGroup General Form Properties
|
|
4904
|
+
*/
|
|
4905
|
+
this.supportLink = "support team";
|
|
4847
4906
|
h$1(this);
|
|
4848
4907
|
}
|
|
4849
4908
|
disconnectedCallback() { }
|
|
@@ -4867,6 +4926,7 @@ const TaxAndCashMonolith = class {
|
|
|
4867
4926
|
taxAndPayoutsDescription: props.taxAndPayoutsDescription,
|
|
4868
4927
|
searchForCountryText: props.searchForCountryText,
|
|
4869
4928
|
formStep: props.formStep,
|
|
4929
|
+
supportLink: props.supportLink,
|
|
4870
4930
|
};
|
|
4871
4931
|
}
|
|
4872
4932
|
render() {
|
|
@@ -4923,6 +4983,7 @@ const style$5 = {
|
|
|
4923
4983
|
"&::part(base)": {
|
|
4924
4984
|
backgroundColor: "var(--sl-color-yellow-100)",
|
|
4925
4985
|
borderTop: "none",
|
|
4986
|
+
maxWidth: "600px",
|
|
4926
4987
|
},
|
|
4927
4988
|
"& sl-icon::part(base)": {
|
|
4928
4989
|
color: "var(--sl-color-warning-500)",
|
|
@@ -4931,6 +4992,7 @@ const style$5 = {
|
|
|
4931
4992
|
WarningHoldAlertContainer: {
|
|
4932
4993
|
marginLeft: "-20px",
|
|
4933
4994
|
"&::part(base)": {
|
|
4995
|
+
maxWidth: "850px",
|
|
4934
4996
|
border: "none",
|
|
4935
4997
|
backgroundColor: "transparent",
|
|
4936
4998
|
},
|
|
@@ -4941,6 +5003,7 @@ const style$5 = {
|
|
|
4941
5003
|
ErrorHoldAlertContainer: {
|
|
4942
5004
|
marginLeft: "-20px",
|
|
4943
5005
|
"&::part(base)": {
|
|
5006
|
+
maxWidth: "850px",
|
|
4944
5007
|
border: "none",
|
|
4945
5008
|
backgroundColor: "transparent",
|
|
4946
5009
|
},
|
|
@@ -5107,7 +5170,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5107
5170
|
case "VERIFICATION:REQUIRED":
|
|
5108
5171
|
return {
|
|
5109
5172
|
header: text.verificationRequiredHeader,
|
|
5110
|
-
description:
|
|
5173
|
+
description: intl.formatMessage({
|
|
5174
|
+
id: "verificationRequiredDescription",
|
|
5175
|
+
defaultMessage: text.verificationRequiredDescription,
|
|
5176
|
+
}, {
|
|
5177
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5178
|
+
}),
|
|
5111
5179
|
buttonText: text.verificationRequiredButtonText,
|
|
5112
5180
|
alertType: "warning",
|
|
5113
5181
|
icon: "exclamation-triangle",
|
|
@@ -5116,7 +5184,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5116
5184
|
case "VERIFICATION:INTERNAL":
|
|
5117
5185
|
return {
|
|
5118
5186
|
header: text.verificationRequiredInternalHeader,
|
|
5119
|
-
description:
|
|
5187
|
+
description: intl.formatMessage({
|
|
5188
|
+
id: "verificationRequiredInternalDescription",
|
|
5189
|
+
defaultMessage: text.verificationRequiredInternalDescription,
|
|
5190
|
+
}, {
|
|
5191
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5192
|
+
}),
|
|
5120
5193
|
alertType: "warning",
|
|
5121
5194
|
icon: "exclamation-triangle",
|
|
5122
5195
|
class: sheet$4.classes.WarningHoldAlertContainer,
|
|
@@ -5124,7 +5197,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5124
5197
|
case "VERIFICATION:REVIEW":
|
|
5125
5198
|
return {
|
|
5126
5199
|
header: text.verificationReviewInternalHeader,
|
|
5127
|
-
description:
|
|
5200
|
+
description: intl.formatMessage({
|
|
5201
|
+
id: "verificationReviewInternalDescription",
|
|
5202
|
+
defaultMessage: text.verificationReviewInternalDescription,
|
|
5203
|
+
}, {
|
|
5204
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5205
|
+
}),
|
|
5128
5206
|
alertType: "warning",
|
|
5129
5207
|
icon: "exclamation-triangle",
|
|
5130
5208
|
class: sheet$4.classes.WarningHoldAlertContainer,
|
|
@@ -5132,7 +5210,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5132
5210
|
case "VERIFICATION:FAILED":
|
|
5133
5211
|
return {
|
|
5134
5212
|
header: text.verificationFailedInternalHeader,
|
|
5135
|
-
description:
|
|
5213
|
+
description: intl.formatMessage({
|
|
5214
|
+
id: "verificationFailedInternalDescription",
|
|
5215
|
+
defaultMessage: text.verificationFailedInternalDescription,
|
|
5216
|
+
}, {
|
|
5217
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5218
|
+
}),
|
|
5136
5219
|
alertType: "critical",
|
|
5137
5220
|
icon: "exclamation-octagon",
|
|
5138
5221
|
class: sheet$4.classes.ErrorHoldAlertContainer,
|
|
@@ -5140,7 +5223,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5140
5223
|
case "HOLD":
|
|
5141
5224
|
return {
|
|
5142
5225
|
header: text.payoutHoldAlertHeader,
|
|
5143
|
-
description:
|
|
5226
|
+
description: intl.formatMessage({
|
|
5227
|
+
id: "payoutHoldAlertDescription",
|
|
5228
|
+
defaultMessage: text.payoutHoldAlertDescription,
|
|
5229
|
+
}, {
|
|
5230
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5231
|
+
}),
|
|
5144
5232
|
buttonText: null,
|
|
5145
5233
|
alertType: "warning",
|
|
5146
5234
|
icon: "exclamation-triangle",
|
|
@@ -5230,12 +5318,22 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5230
5318
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5231
5319
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
5232
5320
|
h("br", null),
|
|
5233
|
-
|
|
5321
|
+
intl.formatMessage({
|
|
5322
|
+
id: "loadingErrorAlertDescription",
|
|
5323
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
5324
|
+
}, {
|
|
5325
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5326
|
+
})))),
|
|
5234
5327
|
((_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$4.classes.ErrorAlertContainer },
|
|
5235
5328
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
5236
5329
|
h("strong", null, text.error.generalTitle),
|
|
5237
5330
|
h("br", null),
|
|
5238
|
-
|
|
5331
|
+
intl.formatMessage({
|
|
5332
|
+
id: "generalDescription",
|
|
5333
|
+
defaultMessage: text.error.generalDescription,
|
|
5334
|
+
}, {
|
|
5335
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5336
|
+
}))),
|
|
5239
5337
|
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 },
|
|
5240
5338
|
h("sl-icon", { slot: "icon", name: (_d = getAlert(states.payoutStatus)) === null || _d === void 0 ? void 0 : _d.icon }),
|
|
5241
5339
|
h("strong", null, getAlert(states.payoutStatus).header),
|
|
@@ -5277,7 +5375,12 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
5277
5375
|
h("sl-tooltip", { trigger: "hover", placement: "top", content: text.indirectTaxTooltipSupport, class: sheet$4.classes.TooltipContainer },
|
|
5278
5376
|
h("sl-icon", { name: "info-circle", class: sheet$4.classes.ToolTip }))),
|
|
5279
5377
|
h("div", { class: sheet$4.classes.IndirectTaxPreviewDetails },
|
|
5280
|
-
h("span", null, states.notRegistered ? (h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText },
|
|
5378
|
+
h("span", null, states.notRegistered ? (h("span", { class: sheet$4.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
|
|
5379
|
+
id: "notRegisteredForTax",
|
|
5380
|
+
defaultMessage: text.notRegisteredForTax,
|
|
5381
|
+
}, {
|
|
5382
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
5383
|
+
}))) : (getIndirectTaxRegisteredIn())),
|
|
5281
5384
|
!states.notRegistered && (h("div", { class: sheet$4.classes.TaxNumberContainer },
|
|
5282
5385
|
h("span", null, intl.formatMessage({
|
|
5283
5386
|
id: `indirectTaxDetails`,
|
|
@@ -5542,7 +5645,7 @@ const TaxAndCashDashboard = class {
|
|
|
5542
5645
|
* @uiName Indirect tax tooltip
|
|
5543
5646
|
* @uiWidget textArea
|
|
5544
5647
|
*/
|
|
5545
|
-
this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact Support.";
|
|
5648
|
+
this.indirectTaxTooltipSupport = "To make changes to your indirect tax information, please contact our Support team.";
|
|
5546
5649
|
/**
|
|
5547
5650
|
* Displayed to participants who have submitted their indirect tax information.
|
|
5548
5651
|
*
|
|
@@ -5562,7 +5665,7 @@ const TaxAndCashDashboard = class {
|
|
|
5562
5665
|
* @uiName Not registered for indirect tax text
|
|
5563
5666
|
* @uiWidget textArea
|
|
5564
5667
|
*/
|
|
5565
|
-
this.notRegisteredForTax = "Not registered for indirect tax. If you’ve previously registered with your tax authority, contact
|
|
5668
|
+
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.";
|
|
5566
5669
|
/**
|
|
5567
5670
|
* Displayed to participants registered in Quebec, Canada.
|
|
5568
5671
|
* @uiName QST indirect tax details
|
|
@@ -5597,7 +5700,7 @@ const TaxAndCashDashboard = class {
|
|
|
5597
5700
|
* @uiName Payout error message description
|
|
5598
5701
|
* @uiWidget textArea
|
|
5599
5702
|
*/
|
|
5600
|
-
this.payoutHoldAlertDescription = "Please contact
|
|
5703
|
+
this.payoutHoldAlertDescription = "Please contact our {supportLink} or check your inbox for an email from our referral program provider, impact.com.";
|
|
5601
5704
|
/**
|
|
5602
5705
|
* Text displayed for existing publishers that do not have saved banking information.
|
|
5603
5706
|
* @uiName Payout missing information subtext
|
|
@@ -5614,7 +5717,7 @@ const TaxAndCashDashboard = class {
|
|
|
5614
5717
|
* @uiName Verification required alert message description
|
|
5615
5718
|
* @uiWidget textArea
|
|
5616
5719
|
*/
|
|
5617
|
-
this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
|
|
5720
|
+
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}.";
|
|
5618
5721
|
/**
|
|
5619
5722
|
* @uiName Verification required internal alert header
|
|
5620
5723
|
*/
|
|
@@ -5622,7 +5725,7 @@ const TaxAndCashDashboard = class {
|
|
|
5622
5725
|
/**
|
|
5623
5726
|
* @uiName Verification required internal alert description
|
|
5624
5727
|
*/
|
|
5625
|
-
this.verificationRequiredInternalDescription = "Identity verification submission has been received. Our system is currently performing additional checks and analyzing the results. You will be updated
|
|
5728
|
+
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}.";
|
|
5626
5729
|
/**
|
|
5627
5730
|
* @uiName Verification review internal alert header
|
|
5628
5731
|
*/
|
|
@@ -5630,7 +5733,7 @@ const TaxAndCashDashboard = class {
|
|
|
5630
5733
|
/**
|
|
5631
5734
|
* @uiName Verification review internal alert description
|
|
5632
5735
|
*/
|
|
5633
|
-
this.verificationReviewInternalDescription = "Identity verification requires further review due to a potential error. Our team is reviewing the information and will update you shortly.";
|
|
5736
|
+
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}.";
|
|
5634
5737
|
/**
|
|
5635
5738
|
* @uiName Verification failed internal alert header
|
|
5636
5739
|
*/
|
|
@@ -5638,7 +5741,7 @@ const TaxAndCashDashboard = class {
|
|
|
5638
5741
|
/**
|
|
5639
5742
|
* @uiName Verification failed internal alert description
|
|
5640
5743
|
*/
|
|
5641
|
-
this.verificationFailedInternalDescription = "Identity verification has failed. Our team is reviewing the report and will contact you with further information.";
|
|
5744
|
+
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}.";
|
|
5642
5745
|
/**
|
|
5643
5746
|
* Part of the alert displayed at the top of the page when the user needs to verify their identity.
|
|
5644
5747
|
* @uiName Verification required alert button text
|
|
@@ -5655,7 +5758,7 @@ const TaxAndCashDashboard = class {
|
|
|
5655
5758
|
* @uiName Form submission error message description
|
|
5656
5759
|
* @uiWidget textArea
|
|
5657
5760
|
*/
|
|
5658
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
5761
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
5659
5762
|
/**
|
|
5660
5763
|
* Displayed under the payout details card.
|
|
5661
5764
|
* @uiName Payout from impact text
|
|
@@ -5673,7 +5776,7 @@ const TaxAndCashDashboard = class {
|
|
|
5673
5776
|
* @uiName Page load error message description
|
|
5674
5777
|
* @uiWidget textArea
|
|
5675
5778
|
*/
|
|
5676
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
5779
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
5677
5780
|
/**
|
|
5678
5781
|
* Part of the Invoice table displayed at the bottom of the page.
|
|
5679
5782
|
* @uiName Invoice number column title
|
|
@@ -5724,6 +5827,10 @@ const TaxAndCashDashboard = class {
|
|
|
5724
5827
|
* @uiName Replace tax form modal body text
|
|
5725
5828
|
*/
|
|
5726
5829
|
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.";
|
|
5830
|
+
/**
|
|
5831
|
+
* @uiName Support link text
|
|
5832
|
+
*/
|
|
5833
|
+
this.supportLink = "support team";
|
|
5727
5834
|
/**
|
|
5728
5835
|
* @uiName Cancel button label
|
|
5729
5836
|
*/
|
|
@@ -6911,7 +7018,12 @@ const UserInfoFormView = (props) => {
|
|
|
6911
7018
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
6912
7019
|
h("strong", null, text.error.loadingErrorAlertHeader),
|
|
6913
7020
|
h("br", null),
|
|
6914
|
-
|
|
7021
|
+
intl.formatMessage({
|
|
7022
|
+
id: "loadingErrorAlertDescription",
|
|
7023
|
+
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
7024
|
+
}, {
|
|
7025
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
7026
|
+
})),
|
|
6915
7027
|
h("br", null))),
|
|
6916
7028
|
states.loading ? (h(GeneralLoadingView, null)) : (h("div", null,
|
|
6917
7029
|
h("div", { class: classes.TextContainer },
|
|
@@ -6926,12 +7038,22 @@ const UserInfoFormView = (props) => {
|
|
|
6926
7038
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
6927
7039
|
h("strong", null, text.error.generalTitle),
|
|
6928
7040
|
h("br", null),
|
|
6929
|
-
|
|
7041
|
+
intl.formatMessage({
|
|
7042
|
+
id: "generalDescription",
|
|
7043
|
+
defaultMessage: text.error.generalDescription,
|
|
7044
|
+
}, {
|
|
7045
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
7046
|
+
}))),
|
|
6930
7047
|
(states.isPartner || states.isUser) && (h("sl-alert", { type: "primary", open: true, class: sheet$5.classes.PartnerAlertContainer, exportparts: "base: alert-base, icon:alert-icon" },
|
|
6931
7048
|
h("sl-icon", { slot: "icon", name: "info-circle" }),
|
|
6932
7049
|
h("strong", null, text.isPartnerAlertHeader),
|
|
6933
7050
|
h("br", null),
|
|
6934
|
-
|
|
7051
|
+
intl.formatMessage({
|
|
7052
|
+
id: "isPartnerAlertDescription",
|
|
7053
|
+
defaultMessage: text.isPartnerAlertDescription,
|
|
7054
|
+
}, {
|
|
7055
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
7056
|
+
}))),
|
|
6935
7057
|
h("div", null,
|
|
6936
7058
|
h("div", { class: classes.InputContainer },
|
|
6937
7059
|
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) ? {
|
|
@@ -7317,7 +7439,7 @@ const TaxForm = class {
|
|
|
7317
7439
|
* @uiName Participant is a partner alert description
|
|
7318
7440
|
* @uiWidget textArea
|
|
7319
7441
|
*/
|
|
7320
|
-
this.isPartnerAlertDescription = "If you don’t recognize this referral program provider or believe this is a mistake, please contact
|
|
7442
|
+
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.";
|
|
7321
7443
|
/**
|
|
7322
7444
|
* Part of the alert displayed at the top of the page.
|
|
7323
7445
|
* @uiName Form submission error message title
|
|
@@ -7329,7 +7451,7 @@ const TaxForm = class {
|
|
|
7329
7451
|
* @uiName Form submission error message description
|
|
7330
7452
|
* @uiWidget textArea
|
|
7331
7453
|
*/
|
|
7332
|
-
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact
|
|
7454
|
+
this.generalErrorDescription = "Please review your information and try again. If this problem continues, contact our {supportLink}.";
|
|
7333
7455
|
/**
|
|
7334
7456
|
* Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
|
|
7335
7457
|
* @uiName Terms and conditions checkbox
|
|
@@ -7382,12 +7504,16 @@ const TaxForm = class {
|
|
|
7382
7504
|
* @uiName Page load error message description
|
|
7383
7505
|
* @uiWidget textArea
|
|
7384
7506
|
*/
|
|
7385
|
-
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact
|
|
7507
|
+
this.loadingErrorAlertDescription = "Please refresh the page and try again. If this problem continues, contact our {supportLink}.";
|
|
7386
7508
|
/**
|
|
7387
7509
|
* Displayed at the top of the page on all set up steps.
|
|
7388
7510
|
* @uiName Page description
|
|
7389
7511
|
*/
|
|
7390
7512
|
this.taxAndPayoutsDescription = "Submit your tax documents and add your banking information to receive your rewards.";
|
|
7513
|
+
/**
|
|
7514
|
+
* @uiName Support link text
|
|
7515
|
+
*/
|
|
7516
|
+
this.supportLink = "support team";
|
|
7391
7517
|
h$1(this);
|
|
7392
7518
|
}
|
|
7393
7519
|
disconnectedCallback() { }
|