@saasquatch/mint-components 1.16.0-13 → 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.
@@ -2415,6 +2415,8 @@ function PayoutStatusAlertView(props) {
2415
2415
  function getButton(status) {
2416
2416
  switch (status) {
2417
2417
  case "OVER_W9_THRESHOLD":
2418
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
2419
+ return;
2418
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)) : (
2419
2421
  // Demo case
2420
2422
  index.h("sl-button", { type: "default" }, text.w9RequiredButtonText));
@@ -181,6 +181,8 @@ export function PayoutStatusAlertView(props) {
181
181
  function getButton(status) {
182
182
  switch (status) {
183
183
  case "OVER_W9_THRESHOLD":
184
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
185
+ return;
184
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)) : (
185
187
  // Demo case
186
188
  h("sl-button", { type: "default" }, text.w9RequiredButtonText));
@@ -2411,6 +2411,8 @@ function PayoutStatusAlertView(props) {
2411
2411
  function getButton(status) {
2412
2412
  switch (status) {
2413
2413
  case "OVER_W9_THRESHOLD":
2414
+ if (states.enforceUsTaxComplianceOption === "CASH_ONLY")
2415
+ return;
2414
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)) : (
2415
2417
  // Demo case
2416
2418
  h$1("sl-button", { type: "default" }, text.w9RequiredButtonText));