@saasquatch/mint-components 2.4.2 → 2.4.4
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/{GenericTableView-be5648e4.js → GenericTableView-4c48c630.js} +46 -6
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +18 -14
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +14 -14
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-partner-info-modal-view-431100ad.js → sqm-partner-info-modal-view-d9b61d54.js} +1 -1
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +9 -5
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +9 -5
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
- package/dist/cjs/{sqm-user-info-form-view-c5f9b79b.js → sqm-user-info-form-view-ec41191c.js} +20 -20
- package/dist/cjs/{useReferralTable-6e9de0d5.js → useReferralTable-06887d9a.js} +10 -0
- package/dist/collection/components/sqm-invoice-table/sqm-invoice-table.js +8 -3
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +1 -1
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +8 -3
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +8 -3
- package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +13 -13
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +17 -17
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +3 -3
- package/dist/collection/tables/GenericTableView.js +46 -6
- package/dist/collection/tables/plopTargets.js +8 -0
- package/dist/esm/{GenericTableView-8c72ac30.js → GenericTableView-471a9386.js} +46 -6
- package/dist/esm/sqm-banking-info-form_10.entry.js +18 -14
- package/dist/esm/sqm-big-stat_47.entry.js +14 -14
- package/dist/esm/sqm-email-verification_2.entry.js +2 -2
- package/dist/esm/{sqm-partner-info-modal-view-34d4be5b.js → sqm-partner-info-modal-view-b921fed1.js} +1 -1
- package/dist/esm/sqm-referral-table_11.entry.js +9 -5
- package/dist/esm/sqm-rewards-table_9.entry.js +9 -5
- package/dist/esm/sqm-stencilbook.entry.js +3 -3
- package/dist/esm/{sqm-user-info-form-view-ceb3917a.js → sqm-user-info-form-view-b43a1729.js} +20 -20
- package/dist/esm/{useReferralTable-03d32c6f.js → useReferralTable-3aa4b527.js} +10 -1
- package/dist/esm-es5/GenericTableView-471a9386.js +1 -0
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-b921fed1.js +1 -0
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-b43a1729.js +1 -0
- package/dist/esm-es5/useReferralTable-3aa4b527.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-3784c92c.system.entry.js → p-0a0d8788.system.entry.js} +1 -1
- package/dist/mint-components/p-13379201.system.entry.js +1 -0
- package/dist/mint-components/{p-2e33148c.entry.js → p-26126144.entry.js} +1 -1
- package/dist/mint-components/p-3090d391.system.js +1 -0
- package/dist/mint-components/p-361e8a80.entry.js +1 -0
- package/dist/mint-components/p-381af581.js +1 -0
- package/dist/mint-components/{p-05466678.entry.js → p-484817ed.entry.js} +2 -2
- package/dist/mint-components/{p-2a2332a6.entry.js → p-4fd803e7.entry.js} +8 -8
- package/dist/mint-components/p-54c03a3e.entry.js +148 -0
- package/dist/mint-components/p-700d8950.system.js +1 -0
- package/dist/mint-components/{p-7468e5b8.entry.js → p-83099738.entry.js} +2 -2
- package/dist/mint-components/{p-bb0b5e4b.js → p-9944b514.js} +4 -4
- package/dist/mint-components/p-abf7c765.system.entry.js +1 -0
- package/dist/mint-components/p-ae19027d.js +1 -0
- package/dist/mint-components/p-b69dbed8.system.js +1 -0
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/p-d870d624.system.entry.js +1 -0
- package/dist/mint-components/p-db73312a.system.js +1 -0
- package/dist/mint-components/p-e8aaf90f.system.entry.js +1 -0
- package/dist/mint-components/p-ef695105.system.entry.js +1 -0
- package/dist/mint-components/p-f75ead20.js +1 -0
- package/dist/types/tables/GenericTableView.d.ts +2 -0
- package/dist/types/tables/plopTargets.d.ts +3 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/GenericTableView-8c72ac30.js +0 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-34d4be5b.js +0 -1
- package/dist/esm-es5/sqm-user-info-form-view-ceb3917a.js +0 -1
- package/dist/esm-es5/useReferralTable-03d32c6f.js +0 -1
- package/dist/mint-components/p-241e7226.system.entry.js +0 -1
- package/dist/mint-components/p-6c31a79b.system.entry.js +0 -1
- package/dist/mint-components/p-765e3379.js +0 -1
- package/dist/mint-components/p-7c657e1f.entry.js +0 -1
- package/dist/mint-components/p-933bae53.system.entry.js +0 -1
- package/dist/mint-components/p-93f1e26a.system.entry.js +0 -1
- package/dist/mint-components/p-ad90628d.system.js +0 -1
- package/dist/mint-components/p-aef2db59.system.js +0 -1
- package/dist/mint-components/p-b1eb2a6a.js +0 -1
- package/dist/mint-components/p-c36fedea.js +0 -1
- package/dist/mint-components/p-d284ae70.system.js +0 -1
- package/dist/mint-components/p-d5eb601d.system.js +0 -1
- package/dist/mint-components/p-e2fb11af.entry.js +0 -148
- package/dist/mint-components/p-f7218609.system.entry.js +0 -1
|
@@ -7,6 +7,11 @@ function GenericTableView(props) {
|
|
|
7
7
|
const { columns, rows } = elements;
|
|
8
8
|
const { show } = states;
|
|
9
9
|
const hiddenCols = data.hiddenColumns && data.hiddenColumns.split(",").map(Number);
|
|
10
|
+
// Only the producer knows which columns are plop targets; a column can render a
|
|
11
|
+
// VNode label and still be real data (e.g. the invoice download column).
|
|
12
|
+
const dropZones = new Set(elements.dropZoneColumns);
|
|
13
|
+
const hasDropZones = dropZones.size > 0;
|
|
14
|
+
const showLabels = data.textOverrides.showLabels;
|
|
10
15
|
const mobile = "@media (max-width: " + data.mdBreakpoint + "px)";
|
|
11
16
|
const tablet = `@media (min-width: ${Boolean(rows.length < 2) ? data.mdBreakpoint : data.smBreakpoint}px) and (max-width: ${data.mdBreakpoint}px)`;
|
|
12
17
|
// Due to mobile media queries being dependant on props, not feasiable to move out of render function
|
|
@@ -27,6 +32,13 @@ function GenericTableView(props) {
|
|
|
27
32
|
fontWeight: "var(--sl-font-weight-semibold)",
|
|
28
33
|
overflowWrap: "anywhere",
|
|
29
34
|
},
|
|
35
|
+
"& th.collapsed": {
|
|
36
|
+
fontSize: "0",
|
|
37
|
+
padding: "14px 0",
|
|
38
|
+
},
|
|
39
|
+
"& th.drop-zone": {
|
|
40
|
+
width: "30px",
|
|
41
|
+
},
|
|
30
42
|
"& td": {
|
|
31
43
|
padding: "var(--sl-spacing-small)",
|
|
32
44
|
paddingLeft: "0",
|
|
@@ -34,10 +46,35 @@ function GenericTableView(props) {
|
|
|
34
46
|
textOverflow: "ellipsis",
|
|
35
47
|
},
|
|
36
48
|
[mobile]: {
|
|
49
|
+
// Body rows become blocks here, so the header has to leave the table layout to stay full width
|
|
37
50
|
"& thead": {
|
|
51
|
+
display: hasDropZones ? "block" : "none",
|
|
52
|
+
},
|
|
53
|
+
// Columns read top-to-bottom inside a card, so the drop zones between them stack the same way
|
|
54
|
+
"& thead tr": {
|
|
55
|
+
display: "flex",
|
|
56
|
+
flexDirection: "column",
|
|
57
|
+
},
|
|
58
|
+
"& thead th.label": {
|
|
59
|
+
padding: "0",
|
|
60
|
+
lineHeight: "20px",
|
|
61
|
+
fontSize: "var(--sl-font-size-small)",
|
|
62
|
+
color: "var(--sl-color-neutral-500)",
|
|
63
|
+
},
|
|
64
|
+
"& thead th.drop-zone": {
|
|
65
|
+
width: "auto",
|
|
66
|
+
padding: "14px 0",
|
|
67
|
+
lineHeight: "0",
|
|
68
|
+
position: "relative",
|
|
69
|
+
},
|
|
70
|
+
// The plop target is inline-styled position:absolute, so it needs the cell as its containing block to span it
|
|
71
|
+
"& thead th.drop-zone slot::slotted(raisins-plop-target)": {
|
|
72
|
+
width: "100%",
|
|
73
|
+
},
|
|
74
|
+
"& tbody td.drop-zone": {
|
|
38
75
|
display: "none",
|
|
39
76
|
},
|
|
40
|
-
"& tr": {
|
|
77
|
+
"& tbody tr": {
|
|
41
78
|
display: "block",
|
|
42
79
|
background: "inherit",
|
|
43
80
|
border: "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color)",
|
|
@@ -94,11 +131,11 @@ function GenericTableView(props) {
|
|
|
94
131
|
return (h("div", null,
|
|
95
132
|
h("style", { type: "text/css" }, styleString),
|
|
96
133
|
h("table", { class: sheet.classes.Table },
|
|
97
|
-
|
|
98
|
-
h("tr", null, columns === null || columns === void 0 ? void 0 : columns.map((column) => {
|
|
99
|
-
if (
|
|
100
|
-
return h("th",
|
|
101
|
-
return h("th", {
|
|
134
|
+
(showLabels || hasDropZones) && (h("thead", null,
|
|
135
|
+
h("tr", null, columns === null || columns === void 0 ? void 0 : columns.map((column, i) => {
|
|
136
|
+
if (dropZones.has(i))
|
|
137
|
+
return h("th", { class: "drop-zone" }, column);
|
|
138
|
+
return (h("th", { class: showLabels ? "label" : "collapsed" }, column));
|
|
102
139
|
})))),
|
|
103
140
|
h("tbody", null,
|
|
104
141
|
show === "loading" && elements.loadingElement,
|
|
@@ -106,6 +143,9 @@ function GenericTableView(props) {
|
|
|
106
143
|
return (h("tr", { style: {
|
|
107
144
|
borderTop: `${!data.textOverrides.showLabels && i === 0 ? "none" : ""}`,
|
|
108
145
|
}, part: "table-row" }, row.map((cell, j) => {
|
|
146
|
+
if (dropZones.has(j))
|
|
147
|
+
return h("td", { class: "drop-zone" }, cell);
|
|
148
|
+
// Only string labels can be echoed into the mobile card's :before
|
|
109
149
|
return typeof columns[j] === "string" ? (h("td", { class: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "hidden" : "", "data-label": columns[j] + ":", style: {
|
|
110
150
|
gridTemplateColumns: (hiddenCols === null || hiddenCols === void 0 ? void 0 : hiddenCols.includes(j)) ? "1fr"
|
|
111
151
|
: "0.5fr 0.5fr",
|
|
@@ -9,12 +9,12 @@ import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
|
9
9
|
import './mixins-f750863a.js';
|
|
10
10
|
import './AsYouType-2d56519e.js';
|
|
11
11
|
import { t as taxTypeToName, b as validTaxDocument, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES, o as objectIsFull, c as toDomesticNumber, A as ADDRESS_REGIONS } from './subregions-810a5c2d.js';
|
|
12
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
12
|
+
import { G as GenericTableView } from './GenericTableView-471a9386.js';
|
|
13
13
|
import { u as useRerenderListener, a as useRequestRerender } from './re-render-bf46ba54.js';
|
|
14
|
+
import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-3aa4b527.js';
|
|
14
15
|
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
15
16
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
16
|
-
import {
|
|
17
|
-
import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-ceb3917a.js';
|
|
17
|
+
import { O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, T as TaxAndCashDashboardView, U as UserInfoFormView } from './sqm-user-info-form-view-b43a1729.js';
|
|
18
18
|
import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, f as FINANCE_NETWORK_SETTINGS_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE } from './data-8698cbc6.js';
|
|
19
19
|
import { c as VERIFICATION_EVENT_KEY } from './keys-1054056a.js';
|
|
20
20
|
import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
|
|
@@ -792,7 +792,7 @@ const BankingInfoFormView = (props) => {
|
|
|
792
792
|
id: "generalDescription",
|
|
793
793
|
defaultMessage: text.error.generalDescription,
|
|
794
794
|
}, {
|
|
795
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
795
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
796
796
|
}))),
|
|
797
797
|
states.isPartner && !states.hideSteps && (h("sqm-form-message", { type: "info" },
|
|
798
798
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -800,7 +800,7 @@ const BankingInfoFormView = (props) => {
|
|
|
800
800
|
id: "isPartnerAlertDescription",
|
|
801
801
|
defaultMessage: text.isPartnerAlertDescription,
|
|
802
802
|
}, {
|
|
803
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
803
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
804
804
|
}))),
|
|
805
805
|
h("div", null,
|
|
806
806
|
h("h4", null, text.paymentMethod),
|
|
@@ -2446,7 +2446,7 @@ const DocusignFormView = (props) => {
|
|
|
2446
2446
|
id: "loadingErrorAlertDescription",
|
|
2447
2447
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2448
2448
|
}, {
|
|
2449
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2449
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2450
2450
|
})))),
|
|
2451
2451
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
2452
2452
|
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
@@ -2454,7 +2454,7 @@ const DocusignFormView = (props) => {
|
|
|
2454
2454
|
id: "generalDescription",
|
|
2455
2455
|
defaultMessage: text.error.generalDescription,
|
|
2456
2456
|
}, {
|
|
2457
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2457
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2458
2458
|
}))),
|
|
2459
2459
|
h("div", null,
|
|
2460
2460
|
h("div", null,
|
|
@@ -2826,7 +2826,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2826
2826
|
id: "loadingErrorAlertDescription",
|
|
2827
2827
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2828
2828
|
}, {
|
|
2829
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2829
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2830
2830
|
})))),
|
|
2831
2831
|
((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.general) && (h("sqm-form-message", { type: "error" },
|
|
2832
2832
|
h("p", { part: "alert-title" }, text.error.generalTitle),
|
|
@@ -2834,7 +2834,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2834
2834
|
id: "generalDescription",
|
|
2835
2835
|
defaultMessage: text.error.generalDescription,
|
|
2836
2836
|
}, {
|
|
2837
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2837
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2838
2838
|
}))),
|
|
2839
2839
|
states.isPartnerLegacy && (h("sqm-form-message", { loading: states.loading, type: "info" },
|
|
2840
2840
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -2842,7 +2842,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2842
2842
|
id: "isPartnerAlertDescription",
|
|
2843
2843
|
defaultMessage: text.isPartnerAlertDescription,
|
|
2844
2844
|
}, {
|
|
2845
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2845
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2846
2846
|
}))),
|
|
2847
2847
|
h("div", null,
|
|
2848
2848
|
h("h4", null, text.indirectTaxDetails))),
|
|
@@ -2862,7 +2862,7 @@ const IndirectTaxFormView = (props) => {
|
|
|
2862
2862
|
id: "cannotChangeInfoAlert",
|
|
2863
2863
|
defaultMessage: text.cannotChangeInfoAlert,
|
|
2864
2864
|
}, {
|
|
2865
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2865
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2866
2866
|
})),
|
|
2867
2867
|
h("div", { class: classes.BtnContainer },
|
|
2868
2868
|
h("sl-button", { class: classes.PrimaryButton, type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton),
|
|
@@ -3432,7 +3432,12 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
|
|
|
3432
3432
|
setContent({ rows });
|
|
3433
3433
|
const columns = columnsPromise && (await Promise.all(columnsPromise));
|
|
3434
3434
|
// Set the content to render and finish loading components
|
|
3435
|
-
setContent({
|
|
3435
|
+
setContent({
|
|
3436
|
+
columns,
|
|
3437
|
+
dropZoneColumns: dropZoneColumnIndexes(columnComponents),
|
|
3438
|
+
loading: false,
|
|
3439
|
+
page: 0,
|
|
3440
|
+
});
|
|
3436
3441
|
}
|
|
3437
3442
|
useEffect(() => {
|
|
3438
3443
|
setContent({ loading: true });
|
|
@@ -3461,8 +3466,7 @@ function useInvoiceTableDemo(props, emptyElement, loadingElement) {
|
|
|
3461
3466
|
smBreakpoint: 599,
|
|
3462
3467
|
},
|
|
3463
3468
|
elements: {
|
|
3464
|
-
|
|
3465
|
-
rows: content.rows,
|
|
3469
|
+
...content,
|
|
3466
3470
|
emptyElement,
|
|
3467
3471
|
loadingElement,
|
|
3468
3472
|
},
|
|
@@ -2998,7 +2998,7 @@ function PayoutStatusAlertView(props) {
|
|
|
2998
2998
|
id: "verificationRequiredDescription",
|
|
2999
2999
|
defaultMessage: text.verificationRequiredDescription,
|
|
3000
3000
|
}, {
|
|
3001
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3001
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3002
3002
|
}),
|
|
3003
3003
|
buttonText: text.verificationRequiredButtonText,
|
|
3004
3004
|
alertType: "warning",
|
|
@@ -3010,7 +3010,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3010
3010
|
id: "verificationRequiredInternalDescription",
|
|
3011
3011
|
defaultMessage: text.verificationRequiredInternalDescription,
|
|
3012
3012
|
}, {
|
|
3013
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3013
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3014
3014
|
}),
|
|
3015
3015
|
alertType: "warning",
|
|
3016
3016
|
};
|
|
@@ -3021,7 +3021,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3021
3021
|
id: "verificationReviewInternalDescription",
|
|
3022
3022
|
defaultMessage: text.verificationReviewInternalDescription,
|
|
3023
3023
|
}, {
|
|
3024
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3024
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3025
3025
|
}),
|
|
3026
3026
|
alertType: "warning",
|
|
3027
3027
|
};
|
|
@@ -3032,7 +3032,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3032
3032
|
id: "verificationFailedInternalDescription",
|
|
3033
3033
|
defaultMessage: text.verificationFailedInternalDescription,
|
|
3034
3034
|
}, {
|
|
3035
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3035
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3036
3036
|
}),
|
|
3037
3037
|
alertType: "error",
|
|
3038
3038
|
};
|
|
@@ -3058,7 +3058,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3058
3058
|
id: "holdDescription",
|
|
3059
3059
|
defaultMessage: text.holdDescription,
|
|
3060
3060
|
}, {
|
|
3061
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3061
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3062
3062
|
}),
|
|
3063
3063
|
buttonText: null,
|
|
3064
3064
|
alertType: "warning",
|
|
@@ -3072,7 +3072,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3072
3072
|
id: "accountReviewDescription",
|
|
3073
3073
|
defaultMessage: text.accountReviewDescription,
|
|
3074
3074
|
}, {
|
|
3075
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3075
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3076
3076
|
}),
|
|
3077
3077
|
buttonText: null,
|
|
3078
3078
|
alertType: "warning",
|
|
@@ -3085,7 +3085,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3085
3085
|
id: "accountReviewDescription",
|
|
3086
3086
|
defaultMessage: text.paymentHoldOnChangeDescription,
|
|
3087
3087
|
}, {
|
|
3088
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3088
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3089
3089
|
}),
|
|
3090
3090
|
buttonText: null,
|
|
3091
3091
|
alertType: "warning",
|
|
@@ -3098,7 +3098,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3098
3098
|
id: "accountReviewDescription",
|
|
3099
3099
|
defaultMessage: text.beneficiaryNameInvalidDescription,
|
|
3100
3100
|
}, {
|
|
3101
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3101
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3102
3102
|
}),
|
|
3103
3103
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3104
3104
|
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
@@ -3113,7 +3113,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3113
3113
|
id: "accountReviewDescription",
|
|
3114
3114
|
defaultMessage: text.beneficiaryNameMismatchDescription,
|
|
3115
3115
|
}, {
|
|
3116
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3116
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3117
3117
|
}),
|
|
3118
3118
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3119
3119
|
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
@@ -3128,7 +3128,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3128
3128
|
id: "accountReviewDescription",
|
|
3129
3129
|
defaultMessage: text.bankTaxNameMismatchDescription,
|
|
3130
3130
|
}, {
|
|
3131
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3131
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3132
3132
|
}),
|
|
3133
3133
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3134
3134
|
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton),
|
|
@@ -3143,7 +3143,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3143
3143
|
id: "accountReviewDescription",
|
|
3144
3144
|
defaultMessage: text.withdrawalSettingsInvalidDescription,
|
|
3145
3145
|
}, {
|
|
3146
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3146
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3147
3147
|
}),
|
|
3148
3148
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3149
3149
|
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
@@ -3157,7 +3157,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3157
3157
|
id: "accountReviewDescription",
|
|
3158
3158
|
defaultMessage: text.paymentReturnedDescription,
|
|
3159
3159
|
}, {
|
|
3160
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3160
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3161
3161
|
}),
|
|
3162
3162
|
button: (h$1("div", { class: sheet$2.classes.ButtonContainer },
|
|
3163
3163
|
h$1("sl-button", { disabled: states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
|
|
@@ -3171,7 +3171,7 @@ function PayoutStatusAlertView(props) {
|
|
|
3171
3171
|
id: "holdDescription",
|
|
3172
3172
|
defaultMessage: text.holdDescription,
|
|
3173
3173
|
}, {
|
|
3174
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
3174
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
3175
3175
|
}),
|
|
3176
3176
|
buttonText: null,
|
|
3177
3177
|
alertType: "warning",
|
|
@@ -8042,7 +8042,7 @@ const TaxAndCashMonolith = class {
|
|
|
8042
8042
|
id: "loadingErrorAlertDescription",
|
|
8043
8043
|
defaultMessage: this.loadingErrorAlertDescription,
|
|
8044
8044
|
}, {
|
|
8045
|
-
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, this.supportLink)),
|
|
8045
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, this.supportLink)),
|
|
8046
8046
|
}) }));
|
|
8047
8047
|
}
|
|
8048
8048
|
return h$1(LoadingView, null);
|
|
@@ -7,7 +7,7 @@ import { g as getProps } from './utils-334c1e34.js';
|
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
9
9
|
import { g as GET_FINANCE_NETWORK_SETTINGS } from './data-8698cbc6.js';
|
|
10
|
-
import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-
|
|
10
|
+
import { a as PartnerInfoModalContentView, P as PartnerInfoModalView } from './sqm-partner-info-modal-view-b921fed1.js';
|
|
11
11
|
import { S as SHOW_CODE_NAMESPACE, a as VERIFICATION_EMAIL_NAMESPACE, P as PARTNER_CREATED_NAMESPACE } from './keys-1054056a.js';
|
|
12
12
|
import { T as TAX_FORM_UPDATED_EVENT_KEY } from './eventKeys-f76b6a03.js';
|
|
13
13
|
import { p as parseStates } from './parseStates-ed75e224.js';
|
|
@@ -347,7 +347,7 @@ function WidgetEmailVerificationView(props) {
|
|
|
347
347
|
id: "sendCodeErrorDescription",
|
|
348
348
|
defaultMessage: text.sendCodeErrorDescription,
|
|
349
349
|
}, {
|
|
350
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
350
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
351
351
|
}))),
|
|
352
352
|
states.initialLoading ? (renderLoadingSkeleton()) : (h("div", { class: sheet.classes.Wrapper },
|
|
353
353
|
h(TextSpanView, { type: "p" }, text.verifyEmailHeaderText),
|
package/dist/esm/{sqm-partner-info-modal-view-34d4be5b.js → sqm-partner-info-modal-view-b921fed1.js}
RENAMED
|
@@ -86,7 +86,7 @@ function PartnerInfoModalContentView(props) {
|
|
|
86
86
|
id: "supportDescriptionExistingPartner",
|
|
87
87
|
defaultMessage: text.supportDescriptionExistingPartner,
|
|
88
88
|
}, {
|
|
89
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
89
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
90
90
|
});
|
|
91
91
|
const description = states.isExistingPartner ? (h("span", { class: sheet.classes.DescriptionContainer },
|
|
92
92
|
h("p", null, text.descriptionExistingPartner),
|
|
@@ -7,12 +7,12 @@ import { l as luxonLocale } from './utils-334c1e34.js';
|
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
9
|
import { T as TextSpanView } from './sqm-text-span-view-72f43dff.js';
|
|
10
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
10
|
+
import { G as GenericTableView } from './GenericTableView-471a9386.js';
|
|
11
11
|
import { a as useRequestRerender, u as useRerenderListener } from './re-render-bf46ba54.js';
|
|
12
|
+
import { u as useReferralTable, t as tryMethod, d as dropZoneColumnIndexes } from './useReferralTable-3aa4b527.js';
|
|
12
13
|
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
13
14
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
14
15
|
import { g as getPaypalMeta } from './mockRewardData-9b27d6f1.js';
|
|
15
|
-
import { u as useReferralTable, t as tryMethod } from './useReferralTable-03d32c6f.js';
|
|
16
16
|
|
|
17
17
|
const mockReferralData = (count = 4) => {
|
|
18
18
|
const data = [...Array(count)].map(() => getMockData());
|
|
@@ -286,7 +286,12 @@ function useReferralTableDemo(props, emptyElement, loadingElement) {
|
|
|
286
286
|
setContent({ rows });
|
|
287
287
|
const columns = columnsPromise && (await Promise.all(columnsPromise));
|
|
288
288
|
// Set the content to render and finish loading components
|
|
289
|
-
setContent({
|
|
289
|
+
setContent({
|
|
290
|
+
columns,
|
|
291
|
+
dropZoneColumns: dropZoneColumnIndexes(columnComponents),
|
|
292
|
+
loading: false,
|
|
293
|
+
page: 0,
|
|
294
|
+
});
|
|
290
295
|
}
|
|
291
296
|
useEffect(() => {
|
|
292
297
|
setContent({ loading: true });
|
|
@@ -315,8 +320,7 @@ function useReferralTableDemo(props, emptyElement, loadingElement) {
|
|
|
315
320
|
smBreakpoint: 599,
|
|
316
321
|
},
|
|
317
322
|
elements: {
|
|
318
|
-
|
|
319
|
-
rows: content.rows,
|
|
323
|
+
...content,
|
|
320
324
|
emptyElement,
|
|
321
325
|
loadingElement,
|
|
322
326
|
},
|
|
@@ -6,12 +6,12 @@ import { c as cjs } from './cjs-bdfb4486.js';
|
|
|
6
6
|
import { l as luxonLocale } from './utils-334c1e34.js';
|
|
7
7
|
import { c as createStyleSheet } from './JSS-67b5cff8.js';
|
|
8
8
|
import './mixins-f750863a.js';
|
|
9
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
9
|
+
import { G as GenericTableView } from './GenericTableView-471a9386.js';
|
|
10
10
|
import { u as useRerenderListener, a as useRequestRerender } from './re-render-bf46ba54.js';
|
|
11
|
+
import { g as generateUserError, d as dropZoneColumnIndexes } from './useReferralTable-3aa4b527.js';
|
|
11
12
|
import { u as useChildElements } from './useChildElements-06937df7.js';
|
|
12
13
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
13
14
|
import { m as mockRewardData } from './mockRewardData-9b27d6f1.js';
|
|
14
|
-
import { g as generateUserError } from './useReferralTable-03d32c6f.js';
|
|
15
15
|
|
|
16
16
|
const debug = browser("sq:useRewardsTable");
|
|
17
17
|
const CSS_NAMESPACE = "sqm-rewards-table";
|
|
@@ -390,7 +390,12 @@ function useRewardsTableDemo(props, emptyElement, loadingElement) {
|
|
|
390
390
|
setContent({ rows });
|
|
391
391
|
const columns = columnsPromise && (await Promise.all(columnsPromise));
|
|
392
392
|
// Set the content to render and finish loading components
|
|
393
|
-
setContent({
|
|
393
|
+
setContent({
|
|
394
|
+
columns,
|
|
395
|
+
dropZoneColumns: dropZoneColumnIndexes(columnComponents),
|
|
396
|
+
loading: false,
|
|
397
|
+
page: 0,
|
|
398
|
+
});
|
|
394
399
|
}
|
|
395
400
|
useEffect(() => {
|
|
396
401
|
setContent({ loading: true });
|
|
@@ -418,8 +423,7 @@ function useRewardsTableDemo(props, emptyElement, loadingElement) {
|
|
|
418
423
|
smBreakpoint: 599,
|
|
419
424
|
},
|
|
420
425
|
elements: {
|
|
421
|
-
|
|
422
|
-
rows: content.rows,
|
|
426
|
+
...content,
|
|
423
427
|
emptyElement,
|
|
424
428
|
loadingElement,
|
|
425
429
|
},
|
|
@@ -13,7 +13,7 @@ import { b as PortalRegisterView, P as PortalForgotPasswordView, a as PortalLogi
|
|
|
13
13
|
import './AsYouType-2d56519e.js';
|
|
14
14
|
import { t as taxTypeToName, L as LoadingView, I as INDIRECT_TAX_SPAIN_REGIONS, a as INDIRECT_TAX_PROVINCES } from './subregions-810a5c2d.js';
|
|
15
15
|
import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-79265df5.js';
|
|
16
|
-
import { G as GenericTableView } from './GenericTableView-
|
|
16
|
+
import { G as GenericTableView } from './GenericTableView-471a9386.js';
|
|
17
17
|
import './useChildElements-06937df7.js';
|
|
18
18
|
import { l as luxon } from './luxon-1be92a8e.js';
|
|
19
19
|
import { C as CloseButtonView } from './sqm-close-button-view-fd9012e7.js';
|
|
@@ -33,10 +33,10 @@ import './ErrorView-74cb3af8.js';
|
|
|
33
33
|
import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
|
|
34
34
|
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-ae0cd8b9.js';
|
|
35
35
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-200c9df8.js';
|
|
36
|
-
import { I as InvoiceTableView, T as TaxAndCashDashboardView$1, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-
|
|
36
|
+
import { I as InvoiceTableView, T as TaxAndCashDashboardView$1, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-b43a1729.js';
|
|
37
37
|
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-671ff96f.js';
|
|
38
38
|
import './data-8698cbc6.js';
|
|
39
|
-
import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-
|
|
39
|
+
import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-b921fed1.js';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* lodash (Custom Build) <https://lodash.com/>
|
package/dist/esm/{sqm-user-info-form-view-ceb3917a.js → sqm-user-info-form-view-b43a1729.js}
RENAMED
|
@@ -356,7 +356,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
356
356
|
id: "payoutHoldAlertDescription",
|
|
357
357
|
defaultMessage: text.payoutHoldAlertDescription,
|
|
358
358
|
}, {
|
|
359
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
359
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
360
360
|
}),
|
|
361
361
|
buttonText: null,
|
|
362
362
|
alertType: "warning",
|
|
@@ -371,7 +371,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
371
371
|
id: "verificationRequiredDescription",
|
|
372
372
|
defaultMessage: text.verificationRequiredDescription,
|
|
373
373
|
}, {
|
|
374
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
374
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
375
375
|
}),
|
|
376
376
|
buttonText: text.verificationRequiredButtonText,
|
|
377
377
|
alertType: "warning",
|
|
@@ -385,7 +385,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
385
385
|
id: "verificationRequiredInternalDescription",
|
|
386
386
|
defaultMessage: text.verificationRequiredInternalDescription,
|
|
387
387
|
}, {
|
|
388
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
388
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
389
389
|
}),
|
|
390
390
|
alertType: "warning",
|
|
391
391
|
icon: "exclamation-triangle",
|
|
@@ -398,7 +398,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
398
398
|
id: "verificationReviewInternalDescription",
|
|
399
399
|
defaultMessage: text.verificationReviewInternalDescription,
|
|
400
400
|
}, {
|
|
401
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
401
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
402
402
|
}),
|
|
403
403
|
alertType: "warning",
|
|
404
404
|
icon: "exclamation-triangle",
|
|
@@ -411,7 +411,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
411
411
|
id: "verificationFailedInternalDescription",
|
|
412
412
|
defaultMessage: text.verificationFailedInternalDescription,
|
|
413
413
|
}, {
|
|
414
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
414
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
415
415
|
}),
|
|
416
416
|
alertType: "error",
|
|
417
417
|
icon: "exclamation-octagon",
|
|
@@ -424,7 +424,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
424
424
|
id: "accountReviewDescription",
|
|
425
425
|
defaultMessage: text.accountReviewDescription,
|
|
426
426
|
}, {
|
|
427
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
427
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
428
428
|
}),
|
|
429
429
|
buttonText: null,
|
|
430
430
|
alertType: "warning",
|
|
@@ -438,7 +438,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
438
438
|
id: "accountReviewDescription",
|
|
439
439
|
defaultMessage: text.paymentHoldOnChangeDescription,
|
|
440
440
|
}, {
|
|
441
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
441
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
442
442
|
}),
|
|
443
443
|
buttonText: null,
|
|
444
444
|
alertType: "warning",
|
|
@@ -452,7 +452,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
452
452
|
id: "accountReviewDescription",
|
|
453
453
|
defaultMessage: text.beneficiaryNameInvalidDescription,
|
|
454
454
|
}, {
|
|
455
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
455
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
456
456
|
}),
|
|
457
457
|
button: (h("div", { class: sheet.classes.ButtonContainer },
|
|
458
458
|
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -468,7 +468,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
468
468
|
id: "accountReviewDescription",
|
|
469
469
|
defaultMessage: text.beneficiaryNameMismatchDescription,
|
|
470
470
|
}, {
|
|
471
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
471
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
472
472
|
}),
|
|
473
473
|
button: (h("div", { class: sheet.classes.ButtonContainer },
|
|
474
474
|
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -484,7 +484,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
484
484
|
id: "accountReviewDescription",
|
|
485
485
|
defaultMessage: text.bankTaxNameMismatchDescription,
|
|
486
486
|
}, {
|
|
487
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
487
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
488
488
|
}),
|
|
489
489
|
button: (h("div", { class: sheet.classes.ButtonContainer },
|
|
490
490
|
h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton),
|
|
@@ -500,7 +500,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
500
500
|
id: "accountReviewDescription",
|
|
501
501
|
defaultMessage: text.withdrawalSettingsInvalidDescription,
|
|
502
502
|
}, {
|
|
503
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
503
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
504
504
|
}),
|
|
505
505
|
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "default", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
506
506
|
alertType: "warning",
|
|
@@ -514,7 +514,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
514
514
|
id: "accountReviewDescription",
|
|
515
515
|
defaultMessage: text.paymentReturnedDescription,
|
|
516
516
|
}, {
|
|
517
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
517
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
518
518
|
}),
|
|
519
519
|
button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
|
|
520
520
|
alertType: "error",
|
|
@@ -528,7 +528,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
528
528
|
id: "payoutHoldAlertDescription",
|
|
529
529
|
defaultMessage: text.payoutHoldAlertDescription,
|
|
530
530
|
}, {
|
|
531
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
531
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
532
532
|
}),
|
|
533
533
|
buttonText: null,
|
|
534
534
|
alertType: "warning",
|
|
@@ -662,7 +662,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
662
662
|
id: "loadingErrorAlertDescription",
|
|
663
663
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
664
664
|
}, {
|
|
665
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
665
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
666
666
|
})))),
|
|
667
667
|
((_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 },
|
|
668
668
|
h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
|
|
@@ -672,7 +672,7 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
672
672
|
id: "generalDescription",
|
|
673
673
|
defaultMessage: text.error.generalDescription,
|
|
674
674
|
}, {
|
|
675
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
675
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
676
676
|
}))),
|
|
677
677
|
alertInfo && (h("sqm-form-message", { loading: states.loading, exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
|
|
678
678
|
h("strong", null, alertInfo.header),
|
|
@@ -721,14 +721,14 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
721
721
|
id: "indirectTaxTooltipSupport",
|
|
722
722
|
defaultMessage: text.indirectTaxTooltipSupport,
|
|
723
723
|
}, {
|
|
724
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, class: sheet.classes.DropdownLink }, text.supportLink)),
|
|
724
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com`, class: sheet.classes.DropdownLink }, text.supportLink)),
|
|
725
725
|
})))),
|
|
726
726
|
h("div", { class: sheet.classes.IndirectTaxPreviewDetails },
|
|
727
727
|
h("span", null, states.notRegistered ? (h("span", { class: sheet.classes.NotRegisteredIndirectTaxText }, intl.formatMessage({
|
|
728
728
|
id: "notRegisteredForTax",
|
|
729
729
|
defaultMessage: text.notRegisteredForTax,
|
|
730
730
|
}, {
|
|
731
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
731
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
732
732
|
}))) : (getIndirectTaxRegisteredIn())),
|
|
733
733
|
!states.notRegistered && (h("div", { class: sheet.classes.TaxNumberContainer },
|
|
734
734
|
h("span", null, intl.formatMessage({
|
|
@@ -2266,7 +2266,7 @@ const UserInfoFormView = (props) => {
|
|
|
2266
2266
|
id: "loadingErrorAlertDescription",
|
|
2267
2267
|
defaultMessage: text.error.loadingErrorAlertDescription,
|
|
2268
2268
|
}, {
|
|
2269
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2269
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2270
2270
|
}))))),
|
|
2271
2271
|
states.loading ? (h(LoadingView, null)) : (h("div", null,
|
|
2272
2272
|
h("div", { class: classes.TextContainer },
|
|
@@ -2283,7 +2283,7 @@ const UserInfoFormView = (props) => {
|
|
|
2283
2283
|
id: "generalDescription",
|
|
2284
2284
|
defaultMessage: text.error.generalDescription,
|
|
2285
2285
|
}, {
|
|
2286
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2286
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2287
2287
|
})))),
|
|
2288
2288
|
(states.isPartnerLegacy || states.isUserLegacy) && (h("sqm-form-message", { loading: states.loading, type: "info" },
|
|
2289
2289
|
h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
|
|
@@ -2291,7 +2291,7 @@ const UserInfoFormView = (props) => {
|
|
|
2291
2291
|
id: "isPartnerAlertDescription",
|
|
2292
2292
|
defaultMessage: text.isPartnerAlertDescription,
|
|
2293
2293
|
}, {
|
|
2294
|
-
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2294
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-payment-support@impact.com` }, text.supportLink)),
|
|
2295
2295
|
})))),
|
|
2296
2296
|
h("div", null,
|
|
2297
2297
|
h("div", { class: classes.InputContainer },
|