@saasquatch/mint-components 1.16.0-12 → 1.16.0-14
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/sqm-big-stat_43.cjs.entry.js +13 -6
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +13 -6
- package/dist/esm/sqm-big-stat_43.entry.js +13 -6
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-166a3eea.system.entry.js +1 -0
- package/dist/mint-components/p-37996351.system.js +1 -1
- package/dist/mint-components/{p-f772713f.entry.js → p-4345fabe.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/mint-components/p-8ef0c090.system.entry.js +0 -1
|
@@ -2381,12 +2381,17 @@ function PayoutStatusAlertView(props) {
|
|
|
2381
2381
|
}
|
|
2382
2382
|
else {
|
|
2383
2383
|
return {
|
|
2384
|
-
header: text.
|
|
2385
|
-
description:
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2384
|
+
header: text.holdHeader,
|
|
2385
|
+
description: global.intl.formatMessage({
|
|
2386
|
+
id: "holdDescription",
|
|
2387
|
+
defaultMessage: text.holdDescription,
|
|
2388
|
+
}, {
|
|
2389
|
+
supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2390
|
+
}),
|
|
2391
|
+
buttonText: null,
|
|
2392
|
+
alertType: "warning",
|
|
2393
|
+
icon: "exclamation-triangle",
|
|
2394
|
+
class: sheet$2.classes.WarningAlertContainer,
|
|
2390
2395
|
};
|
|
2391
2396
|
}
|
|
2392
2397
|
case "HOLD":
|
|
@@ -2410,6 +2415,8 @@ function PayoutStatusAlertView(props) {
|
|
|
2410
2415
|
function getButton(status) {
|
|
2411
2416
|
switch (status) {
|
|
2412
2417
|
case "OVER_W9_THRESHOLD":
|
|
2418
|
+
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
2419
|
+
return;
|
|
2413
2420
|
return data.type === "SquatchJS2" ? (index.h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (index.h("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
2414
2421
|
// Demo case
|
|
2415
2422
|
index.h("sl-button", { type: "default" }, text.w9RequiredButtonText));
|
|
@@ -147,12 +147,17 @@ export function PayoutStatusAlertView(props) {
|
|
|
147
147
|
}
|
|
148
148
|
else {
|
|
149
149
|
return {
|
|
150
|
-
header: text.
|
|
151
|
-
description:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
header: text.holdHeader,
|
|
151
|
+
description: intl.formatMessage({
|
|
152
|
+
id: "holdDescription",
|
|
153
|
+
defaultMessage: text.holdDescription,
|
|
154
|
+
}, {
|
|
155
|
+
supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
156
|
+
}),
|
|
157
|
+
buttonText: null,
|
|
158
|
+
alertType: "warning",
|
|
159
|
+
icon: "exclamation-triangle",
|
|
160
|
+
class: sheet.classes.WarningAlertContainer,
|
|
156
161
|
};
|
|
157
162
|
}
|
|
158
163
|
case "HOLD":
|
|
@@ -176,6 +181,8 @@ export function PayoutStatusAlertView(props) {
|
|
|
176
181
|
function getButton(status) {
|
|
177
182
|
switch (status) {
|
|
178
183
|
case "OVER_W9_THRESHOLD":
|
|
184
|
+
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
185
|
+
return;
|
|
179
186
|
return data.type === "SquatchJS2" ? (h("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
180
187
|
// Demo case
|
|
181
188
|
h("sl-button", { type: "default" }, text.w9RequiredButtonText));
|
|
@@ -2377,12 +2377,17 @@ function PayoutStatusAlertView(props) {
|
|
|
2377
2377
|
}
|
|
2378
2378
|
else {
|
|
2379
2379
|
return {
|
|
2380
|
-
header: text.
|
|
2381
|
-
description:
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2380
|
+
header: text.holdHeader,
|
|
2381
|
+
description: intl.formatMessage({
|
|
2382
|
+
id: "holdDescription",
|
|
2383
|
+
defaultMessage: text.holdDescription,
|
|
2384
|
+
}, {
|
|
2385
|
+
supportLink: (h$1("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
|
|
2386
|
+
}),
|
|
2387
|
+
buttonText: null,
|
|
2388
|
+
alertType: "warning",
|
|
2389
|
+
icon: "exclamation-triangle",
|
|
2390
|
+
class: sheet$2.classes.WarningAlertContainer,
|
|
2386
2391
|
};
|
|
2387
2392
|
}
|
|
2388
2393
|
case "HOLD":
|
|
@@ -2406,6 +2411,8 @@ function PayoutStatusAlertView(props) {
|
|
|
2406
2411
|
function getButton(status) {
|
|
2407
2412
|
switch (status) {
|
|
2408
2413
|
case "OVER_W9_THRESHOLD":
|
|
2414
|
+
if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
|
|
2415
|
+
return;
|
|
2409
2416
|
return data.type === "SquatchJS2" ? (h$1("sqm-scroll", { "scroll-tag-name": "sqm-tabs", "button-text": text.w9RequiredButtonText, "scroll-animation": "smooth" })) : data.type === "SquatchPortal" ? (h$1("sl-button", { type: "default", onClick: callbacks.onTermsClick }, text.w9RequiredButtonText)) : (
|
|
2410
2417
|
// Demo case
|
|
2411
2418
|
h$1("sl-button", { type: "default" }, text.w9RequiredButtonText));
|