@saasquatch/mint-components 2.0.2-2 → 2.0.2-20

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.
Files changed (47) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +44 -18
  2. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +12 -12
  3. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  4. package/dist/cjs/{usePayoutStatus-67c78085.js → usePayoutStatus-9abe2de8.js} +16 -19
  5. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +5 -2
  6. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +1 -0
  7. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +4 -0
  8. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +1 -1
  9. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +10 -10
  10. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +16 -19
  11. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +10 -10
  12. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
  13. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +12 -12
  14. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
  15. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +4 -4
  16. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +20 -11
  17. package/dist/esm/sqm-banking-info-form_10.entry.js +44 -18
  18. package/dist/esm/sqm-big-stat_47.entry.js +12 -12
  19. package/dist/esm/sqm-header-logo.entry.js +2 -2
  20. package/dist/esm/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +16 -19
  21. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  22. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  23. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  24. package/dist/esm-es5/{usePayoutStatus-f064247b.js → usePayoutStatus-e0ef2374.js} +2 -2
  25. package/dist/mint-components/mint-components.esm.js +1 -1
  26. package/dist/mint-components/{p-40e0251f.system.js → p-59bb2d52.system.js} +2 -2
  27. package/dist/mint-components/p-7fb4470e.entry.js +1 -0
  28. package/dist/mint-components/{p-09ab53fb.system.entry.js → p-8fa77acf.system.entry.js} +1 -1
  29. package/dist/mint-components/p-967a9040.system.js +1 -1
  30. package/dist/mint-components/p-a3323ecb.system.entry.js +1 -0
  31. package/dist/mint-components/p-b3783e7d.entry.js +106 -0
  32. package/dist/mint-components/{p-f17b6de6.js → p-c41108ae.js} +7 -7
  33. package/dist/mint-components/p-d078327c.system.entry.js +1 -0
  34. package/dist/mint-components/{p-e728337d.entry.js → p-e4f6a6c8.entry.js} +9 -9
  35. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
  36. package/dist/types/components.d.ts +2 -0
  37. package/dist/types/global/android.d.ts +7 -0
  38. package/dist/types/global/demo.d.ts +2 -0
  39. package/dist/types/stories/features.d.ts +4 -0
  40. package/dist/types/stories/templates.d.ts +4 -0
  41. package/docs/docs.docx +0 -0
  42. package/docs/raisins.json +1 -1
  43. package/package.json +1 -1
  44. package/dist/mint-components/p-2dc720db.system.entry.js +0 -1
  45. package/dist/mint-components/p-7e009640.system.entry.js +0 -1
  46. package/dist/mint-components/p-838c6cf8.entry.js +0 -99
  47. package/dist/mint-components/p-ab111e29.entry.js +0 -1
@@ -884,7 +884,7 @@ export class TaxAndCashMonolith {
884
884
  * @uiGroup Dashboard Properties
885
885
  * @uiWidget textArea
886
886
  */
887
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
887
+ this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
888
888
  /**
889
889
  * @uiName Verification required internal alert description
890
890
  * @uiGroup Dashboard Properties
@@ -896,7 +896,7 @@ export class TaxAndCashMonolith {
896
896
  * @uiGroup Dashboard Properties
897
897
  * @uiWidget textArea
898
898
  */
899
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
899
+ this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
900
900
  /**
901
901
  * @uiName Verification review internal alert description
902
902
  * @uiGroup Dashboard Properties
@@ -908,7 +908,7 @@ export class TaxAndCashMonolith {
908
908
  * @uiGroup Dashboard Properties
909
909
  * @uiWidget textArea
910
910
  */
911
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
911
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
912
912
  /**
913
913
  * @uiName Verification failed internal alert description
914
914
  * @uiGroup Dashboard Properties
@@ -977,11 +977,11 @@ export class TaxAndCashMonolith {
977
977
  /**
978
978
  * @uiName Withdrawal settings invalid alert header
979
979
  */
980
- this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
980
+ this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
981
981
  /**
982
982
  * @uiName Withdrawal settings invalid alert description
983
983
  */
984
- this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
984
+ this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
985
985
  /**
986
986
  * @uiName Payment returned alert header
987
987
  */
@@ -4808,7 +4808,7 @@ export class TaxAndCashMonolith {
4808
4808
  },
4809
4809
  "attribute": "dashboard_verification-required-internal-header",
4810
4810
  "reflect": false,
4811
- "defaultValue": "\"Identity Verification in Progress\""
4811
+ "defaultValue": "\"Identity verification in progress\""
4812
4812
  },
4813
4813
  "dashboard_verificationRequiredInternalDescription": {
4814
4814
  "type": "string",
@@ -4862,7 +4862,7 @@ export class TaxAndCashMonolith {
4862
4862
  },
4863
4863
  "attribute": "dashboard_verification-review-internal-header",
4864
4864
  "reflect": false,
4865
- "defaultValue": "\"Identity Verification Under Review\""
4865
+ "defaultValue": "\"Identity verification under review\""
4866
4866
  },
4867
4867
  "dashboard_verificationReviewInternalDescription": {
4868
4868
  "type": "string",
@@ -4916,7 +4916,7 @@ export class TaxAndCashMonolith {
4916
4916
  },
4917
4917
  "attribute": "dashboard_verification-failed-internal-header",
4918
4918
  "reflect": false,
4919
- "defaultValue": "\"Identity Verification Unsuccessful\""
4919
+ "defaultValue": "\"Identity verification usuccessful\""
4920
4920
  },
4921
4921
  "dashboard_verificationFailedInternalDescription": {
4922
4922
  "type": "string",
@@ -5255,7 +5255,7 @@ export class TaxAndCashMonolith {
5255
5255
  },
5256
5256
  "attribute": "dashboard_withdrawal-settings-invalid-header",
5257
5257
  "reflect": false,
5258
- "defaultValue": "\"Your payment information includes invalid characters\""
5258
+ "defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
5259
5259
  },
5260
5260
  "dashboard_withdrawalSettingsInvalidDescription": {
5261
5261
  "type": "string",
@@ -5276,7 +5276,7 @@ export class TaxAndCashMonolith {
5276
5276
  },
5277
5277
  "attribute": "dashboard_withdrawal-settings-invalid-description",
5278
5278
  "reflect": false,
5279
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
5279
+ "defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
5280
5280
  },
5281
5281
  "dashboard_paymentReturnedHeader": {
5282
5282
  "type": "string",
@@ -423,7 +423,7 @@ export const TaxAndCashDashboardView = (props) => {
423
423
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
424
424
  }),
425
425
  button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
426
- alertType: "warning",
426
+ alertType: "error",
427
427
  icon: "exclamation-triangle",
428
428
  class: sheet.classes.WarningHoldAlertContainer,
429
429
  };
@@ -144,7 +144,7 @@ export class TaxAndCashDashboard {
144
144
  *
145
145
  * @uiName Edit payment info button label
146
146
  */
147
- this.editPaymentInformationButton = "Edit Payout Information";
147
+ this.editPaymentInformationButton = "Edit payout information";
148
148
  /**
149
149
  * @uiName Not registered for indirect tax text
150
150
  * @uiWidget textArea
@@ -205,7 +205,7 @@ export class TaxAndCashDashboard {
205
205
  /**
206
206
  * @uiName Verification required internal alert header
207
207
  */
208
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
208
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
209
209
  /**
210
210
  * @uiName Verification required internal alert description
211
211
  */
@@ -213,7 +213,7 @@ export class TaxAndCashDashboard {
213
213
  /**
214
214
  * @uiName Verification review internal alert header
215
215
  */
216
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
216
+ this.verificationReviewInternalHeader = "Identity verification under review";
217
217
  /**
218
218
  * @uiName Verification review internal alert description
219
219
  */
@@ -221,7 +221,7 @@ export class TaxAndCashDashboard {
221
221
  /**
222
222
  * @uiName Verification failed internal alert header
223
223
  */
224
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
224
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
225
225
  /**
226
226
  * @uiName Verification failed internal alert description
227
227
  */
@@ -282,11 +282,11 @@ export class TaxAndCashDashboard {
282
282
  /**
283
283
  * @uiName Withdrawal settings invalid alert header
284
284
  */
285
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
285
+ this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
286
286
  /**
287
287
  * @uiName Withdrawal settings invalid alert description
288
288
  */
289
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
289
+ this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
290
290
  /**
291
291
  * @uiName Payment returned alert header
292
292
  */
@@ -935,7 +935,7 @@ export class TaxAndCashDashboard {
935
935
  },
936
936
  "attribute": "edit-payment-information-button",
937
937
  "reflect": false,
938
- "defaultValue": "\"Edit Payout Information\""
938
+ "defaultValue": "\"Edit payout information\""
939
939
  },
940
940
  "notRegisteredForTax": {
941
941
  "type": "string",
@@ -1202,7 +1202,7 @@ export class TaxAndCashDashboard {
1202
1202
  },
1203
1203
  "attribute": "verification-required-internal-header",
1204
1204
  "reflect": false,
1205
- "defaultValue": "\"Identity Verification in Progress\""
1205
+ "defaultValue": "\"Identity verification in progress\""
1206
1206
  },
1207
1207
  "verificationRequiredInternalDescription": {
1208
1208
  "type": "string",
@@ -1244,7 +1244,7 @@ export class TaxAndCashDashboard {
1244
1244
  },
1245
1245
  "attribute": "verification-review-internal-header",
1246
1246
  "reflect": false,
1247
- "defaultValue": "\"Identity Verification Under Review\""
1247
+ "defaultValue": "\"Identity verification under review\""
1248
1248
  },
1249
1249
  "verificationReviewInternalDescription": {
1250
1250
  "type": "string",
@@ -1286,7 +1286,7 @@ export class TaxAndCashDashboard {
1286
1286
  },
1287
1287
  "attribute": "verification-failed-internal-header",
1288
1288
  "reflect": false,
1289
- "defaultValue": "\"Identity Verification Unsuccessful\""
1289
+ "defaultValue": "\"Identity verification unsuccessful\""
1290
1290
  },
1291
1291
  "verificationFailedInternalDescription": {
1292
1292
  "type": "string",
@@ -1601,7 +1601,7 @@ export class TaxAndCashDashboard {
1601
1601
  },
1602
1602
  "attribute": "withdrawal-settings-invalid-header",
1603
1603
  "reflect": false,
1604
- "defaultValue": "\"Your payment information includes invalid characters\""
1604
+ "defaultValue": "\"Your payment information is incomplete or includes invalid characters\""
1605
1605
  },
1606
1606
  "withdrawalSettingsInvalidDescription": {
1607
1607
  "type": "string",
@@ -1622,7 +1622,7 @@ export class TaxAndCashDashboard {
1622
1622
  },
1623
1623
  "attribute": "withdrawal-settings-invalid-description",
1624
1624
  "reflect": false,
1625
- "defaultValue": "\"There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.\""
1625
+ "defaultValue": "\"There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.\""
1626
1626
  },
1627
1627
  "paymentReturnedHeader": {
1628
1628
  "type": "string",
@@ -60,8 +60,14 @@ export const useTaxAndCashDashboard = (props) => {
60
60
  useEffect(() => {
61
61
  // Clear override context once on submitted
62
62
  setContext({});
63
- if (window.location.hash)
63
+ if (window.location.hash) {
64
+ setContext({
65
+ overrideNextStep: "/dashboard",
66
+ overrideBackStep: "/dashboard",
67
+ hideSteps: true,
68
+ });
64
69
  setStep(`/${window.location.hash.replace("#", "")}`);
70
+ }
65
71
  }, []);
66
72
  const { data, loading, errors: userError, refetch, } = useParentQueryValue(USER_QUERY_NAMESPACE);
67
73
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
@@ -399,7 +399,7 @@ export const UserInfoFormView = (props) => {
399
399
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
400
400
  // Checks for non-ASCII characters
401
401
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
402
- formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("address") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
402
+ formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
403
403
  class: classes.ErrorInput,
404
404
  helpText: formatErrorMessage(text.address, formState.errors.address),
405
405
  }
@@ -407,17 +407,17 @@ export const UserInfoFormView = (props) => {
407
407
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
408
408
  // Checks for non-ASCII characters
409
409
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
410
- formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("city") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
410
+ formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
411
411
  class: classes.ErrorInput,
412
412
  helpText: formatErrorMessage(text.city, formState.errors.city),
413
413
  }
414
414
  : {}), { required: true })),
415
- !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledInput("state") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
415
+ !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
416
416
  class: classes.ErrorInput,
417
417
  helpText: formatErrorMessage(text.state, formState.errors.state),
418
418
  }
419
419
  : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
420
- h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledInput("postalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
420
+ h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
421
421
  class: classes.ErrorInput,
422
422
  helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
423
423
  }
@@ -1,4 +1,4 @@
1
- import { useMutation, useParent, useParentQueryValue, useParentValue, useUserIdentity, } from "@saasquatch/component-boilerplate";
1
+ import { useMutation, useParent, useParentQueryValue, useParentValue, useQuery, useUserIdentity, } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useMemo, useRef, useState, } from "@saasquatch/universal-hooks";
3
3
  import jsonpointer from "jsonpointer";
4
4
  import { CURRENCIES_NAMESPACE, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
@@ -6,8 +6,17 @@ import { ADDRESS_REGIONS } from "../subregions";
6
6
  import { objectIsFull, validTaxDocument } from "../utils";
7
7
  import { TAX_FORM_UPDATED_EVENT_KEY } from "../eventKeys";
8
8
  import { CONNECT_PARTNER, } from "../sqm-indirect-tax-form/useIndirectTaxForm";
9
+ import { gql } from "graphql-request";
10
+ const GET_INDIRECT_TAX_COUNTRY_CODE = gql `
11
+ query getIndirectTaxCountryCode {
12
+ tenantSettings {
13
+ impactBrandCountryCode
14
+ impactBrandIndirectTaxCountryCode
15
+ }
16
+ }
17
+ `;
9
18
  export function useUserInfoForm(props) {
10
- var _a, _b, _c, _d, _e, _f;
19
+ var _a, _b, _c, _d, _e, _f, _g;
11
20
  const currencyRef = useRef(undefined);
12
21
  const phoneCountryRef = useRef(undefined);
13
22
  const formRef = useRef(null);
@@ -17,6 +26,7 @@ export function useUserInfoForm(props) {
17
26
  const [userFormContext, setUserFormContext] = useParent(USER_FORM_CONTEXT_NAMESPACE);
18
27
  const user = useUserIdentity();
19
28
  const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = useMutation(CONNECT_PARTNER);
29
+ const { data: tenantData } = useQuery(GET_INDIRECT_TAX_COUNTRY_CODE, {});
20
30
  const { data, loading, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
21
31
  const _currencies = useParentValue(CURRENCIES_NAMESPACE);
22
32
  const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
@@ -230,15 +240,14 @@ export function useUserInfoForm(props) {
230
240
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
231
241
  setStep(nextStep);
232
242
  }
233
- // TODO: get from backend
234
- const hasIndirectTax = false;
235
- const brandCountry = "";
243
+ const indirectTaxCountry = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenantSettings) === null || _a === void 0 ? void 0 : _a.impactBrandIndirectTaxCountryCode;
244
+ const hasIndirectTax = !!indirectTaxCountry;
236
245
  function getSkipNextStep(userData) {
237
- if (userData.countryCode === "US")
238
- return true;
239
246
  if (!hasIndirectTax)
240
247
  return true;
241
- if (hasIndirectTax && userData.countryCode !== brandCountry)
248
+ if (userData.countryCode === "US")
249
+ return true;
250
+ if (hasIndirectTax && userData.countryCode !== indirectTaxCountry)
242
251
  return true;
243
252
  return false;
244
253
  }
@@ -269,7 +278,7 @@ export function useUserInfoForm(props) {
269
278
  allCountries: countries,
270
279
  regionLabelEnum: regionObj === null || regionObj === void 0 ? void 0 : regionObj.labelEnum,
271
280
  regions: (regionObj === null || regionObj === void 0 ? void 0 : regionObj.regions) || [],
272
- partnerData: (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher,
281
+ partnerData: (_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher,
273
282
  },
274
283
  states: {
275
284
  step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
@@ -278,8 +287,8 @@ export function useUserInfoForm(props) {
278
287
  disabled: loading || connectLoading,
279
288
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
280
289
  loading: loading || connectLoading,
281
- isPartner: !!((_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.publisher),
282
- isUser: !!((_f = (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.user),
290
+ isPartner: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
291
+ isUser: !!((_g = (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.user),
283
292
  formState: {
284
293
  ...userFormContext,
285
294
  errors: formErrors,
@@ -15,7 +15,7 @@ import { g as generateUserError } from './useReferralTable-909ccb28.js';
15
15
  import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS } from './IndirectTaxDetailsView-0a57b622.js';
16
16
  import { t as taxTypeToName, v as validTaxDocument, g as getCountryObj, L as LoadingView, f as formatErrorMessage, a as validateBillingField, o as objectIsFull } from './utils-6122971b.js';
17
17
  import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
18
- import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, j as TAX_FORM_UPDATED_EVENT_KEY, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, k as useVeriffApp, l as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, C as CURRENCIES_NAMESPACE } from './usePayoutStatus-f064247b.js';
18
+ import { i as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, j as TAX_FORM_UPDATED_EVENT_KEY, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, k as useVeriffApp, l as getStatus, V as VERIFF_COMPLETE_EVENT_KEY, C as CURRENCIES_NAMESPACE } from './usePayoutStatus-e0ef2374.js';
19
19
 
20
20
  function getFormMap({ props, getValidationErrorMessage, bankCountry, }) {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32;
@@ -899,6 +899,7 @@ function useBankingInfoForm(props) {
899
899
  const paymentMethodChecked = !hasPayPal
900
900
  ? "toBankAccount"
901
901
  : _paymentMethodChecked;
902
+ console.log({ context });
902
903
  useEffect(() => {
903
904
  // reset redirect hash
904
905
  window.location.hash = "";
@@ -1711,6 +1712,10 @@ function useDocusignForm(props) {
1711
1712
  ? publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType : undefined;
1712
1713
  const actualDocumentType = existingDocumentType ||
1713
1714
  getDocumentType(participantType) || (publisher === null || publisher === void 0 ? void 0 : publisher.requiredTaxDocumentType);
1715
+ useEffect(() => {
1716
+ // reset redirect hash
1717
+ window.location.hash = "";
1718
+ }, []);
1714
1719
  useEffect(() => {
1715
1720
  if (!existingDocumentType)
1716
1721
  return;
@@ -4130,7 +4135,7 @@ const TaxAndCashDashboardView = (props) => {
4130
4135
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
4131
4136
  }),
4132
4137
  button: (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", class: sheet$4.classes.EditBankDetailsButton, onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)),
4133
- alertType: "warning",
4138
+ alertType: "error",
4134
4139
  icon: "exclamation-triangle",
4135
4140
  class: sheet$4.classes.WarningHoldAlertContainer,
4136
4141
  };
@@ -4390,8 +4395,14 @@ const useTaxAndCashDashboard = (props) => {
4390
4395
  useEffect(() => {
4391
4396
  // Clear override context once on submitted
4392
4397
  setContext({});
4393
- if (window.location.hash)
4398
+ if (window.location.hash) {
4399
+ setContext({
4400
+ overrideNextStep: "/dashboard",
4401
+ overrideBackStep: "/dashboard",
4402
+ hideSteps: true,
4403
+ });
4394
4404
  setStep(`/${window.location.hash.replace("#", "")}`);
4405
+ }
4395
4406
  }, []);
4396
4407
  const { data, loading, errors: userError, refetch, } = $n(USER_QUERY_NAMESPACE);
4397
4408
  const publisher = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher;
@@ -4601,7 +4612,7 @@ const TaxAndCashDashboard = class {
4601
4612
  *
4602
4613
  * @uiName Edit payment info button label
4603
4614
  */
4604
- this.editPaymentInformationButton = "Edit Payout Information";
4615
+ this.editPaymentInformationButton = "Edit payout information";
4605
4616
  /**
4606
4617
  * @uiName Not registered for indirect tax text
4607
4618
  * @uiWidget textArea
@@ -4662,7 +4673,7 @@ const TaxAndCashDashboard = class {
4662
4673
  /**
4663
4674
  * @uiName Verification required internal alert header
4664
4675
  */
4665
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
4676
+ this.verificationRequiredInternalHeader = "Identity verification in progress";
4666
4677
  /**
4667
4678
  * @uiName Verification required internal alert description
4668
4679
  */
@@ -4670,7 +4681,7 @@ const TaxAndCashDashboard = class {
4670
4681
  /**
4671
4682
  * @uiName Verification review internal alert header
4672
4683
  */
4673
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
4684
+ this.verificationReviewInternalHeader = "Identity verification under review";
4674
4685
  /**
4675
4686
  * @uiName Verification review internal alert description
4676
4687
  */
@@ -4678,7 +4689,7 @@ const TaxAndCashDashboard = class {
4678
4689
  /**
4679
4690
  * @uiName Verification failed internal alert header
4680
4691
  */
4681
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
4692
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
4682
4693
  /**
4683
4694
  * @uiName Verification failed internal alert description
4684
4695
  */
@@ -4739,11 +4750,11 @@ const TaxAndCashDashboard = class {
4739
4750
  /**
4740
4751
  * @uiName Withdrawal settings invalid alert header
4741
4752
  */
4742
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
4753
+ this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
4743
4754
  /**
4744
4755
  * @uiName Withdrawal settings invalid alert description
4745
4756
  */
4746
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
4757
+ this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
4747
4758
  /**
4748
4759
  * @uiName Payment returned alert header
4749
4760
  */
@@ -6282,7 +6293,7 @@ const UserInfoFormView = (props) => {
6282
6293
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.address, id: "address", name: "/address", value: formState.address, validationError: ({ value }) =>
6283
6294
  // Checks for non-ASCII characters
6284
6295
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
6285
- formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("address") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
6296
+ formatErrorMessage(text.address, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingAddress") }, (((_l = formState.errors) === null || _l === void 0 ? void 0 : _l.address) ? {
6286
6297
  class: classes.ErrorInput,
6287
6298
  helpText: formatErrorMessage(text.address, formState.errors.address),
6288
6299
  }
@@ -6290,17 +6301,17 @@ const UserInfoFormView = (props) => {
6290
6301
  h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.city, id: "city", name: "/city", value: formState.city, validationError: ({ value }) =>
6291
6302
  // Checks for non-ASCII characters
6292
6303
  !validateBillingField(/^[\x20-\xFF]+$/, value) &&
6293
- formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("city") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
6304
+ formatErrorMessage(text.city, text.error.invalidCharacterError), disabled: states.disabled || isDisabledInput("billingCity") }, (((_m = formState.errors) === null || _m === void 0 ? void 0 : _m.city) ? {
6294
6305
  class: classes.ErrorInput,
6295
6306
  helpText: formatErrorMessage(text.city, formState.errors.city),
6296
6307
  }
6297
6308
  : {}), { required: true })),
6298
- !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledInput("state") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
6309
+ !states.hideState && (h("sl-select", Object.assign({ label: regionLabel, exportparts: "label: input-label, base: input-base", id: "state", name: "/state", value: formState.state, disabled: states.disabled || isDisabledInput("billingState") }, (((_o = formState.errors) === null || _o === void 0 ? void 0 : _o.state) ? {
6299
6310
  class: classes.ErrorInput,
6300
6311
  helpText: formatErrorMessage(text.state, formState.errors.state),
6301
6312
  }
6302
6313
  : {}), { required: true }), (_p = data.regions) === null || _p === void 0 ? void 0 : _p.map((r) => (h("sl-menu-item", { value: r.value }, r.label))))),
6303
- h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledInput("postalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
6314
+ h("sl-input", Object.assign({ label: text.postalCode, exportparts: "label: input-label, base: input-base", id: "postalCode", name: "/postalCode", value: formState.postalCode, disabled: states.disabled || isDisabledInput("billingPostalCode") }, (((_q = formState.errors) === null || _q === void 0 ? void 0 : _q.postalCode) ? {
6304
6315
  class: classes.ErrorInput,
6305
6316
  helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
6306
6317
  }
@@ -6332,8 +6343,16 @@ const UserInfoFormView = (props) => {
6332
6343
  h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
6333
6344
  };
6334
6345
 
6346
+ const GET_INDIRECT_TAX_COUNTRY_CODE = dist.gql `
6347
+ query getIndirectTaxCountryCode {
6348
+ tenantSettings {
6349
+ impactBrandCountryCode
6350
+ impactBrandIndirectTaxCountryCode
6351
+ }
6352
+ }
6353
+ `;
6335
6354
  function useUserInfoForm(props) {
6336
- var _a, _b, _c, _d, _e, _f;
6355
+ var _a, _b, _c, _d, _e, _f, _g;
6337
6356
  const currencyRef = useRef(undefined);
6338
6357
  const phoneCountryRef = useRef(undefined);
6339
6358
  const formRef = useRef(null);
@@ -6343,6 +6362,7 @@ function useUserInfoForm(props) {
6343
6362
  const [userFormContext, setUserFormContext] = Pn(USER_FORM_CONTEXT_NAMESPACE);
6344
6363
  const user = J();
6345
6364
  const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = $e(CONNECT_PARTNER);
6365
+ const { data: tenantData } = wn(GET_INDIRECT_TAX_COUNTRY_CODE, {});
6346
6366
  const { data, loading, refetch, errors: userError, } = $n(USER_QUERY_NAMESPACE);
6347
6367
  const _currencies = Fn(CURRENCIES_NAMESPACE);
6348
6368
  const currencies = useMemo(() => [...(_currencies || [])].sort((a, b) => a.displayName.localeCompare(b.displayName)), [_currencies]);
@@ -6556,10 +6576,16 @@ function useUserInfoForm(props) {
6556
6576
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
6557
6577
  setStep(nextStep);
6558
6578
  }
6579
+ const indirectTaxCountry = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenantSettings) === null || _a === void 0 ? void 0 : _a.impactBrandIndirectTaxCountryCode;
6580
+ const hasIndirectTax = !!indirectTaxCountry;
6559
6581
  function getSkipNextStep(userData) {
6582
+ if (!hasIndirectTax)
6583
+ return true;
6560
6584
  if (userData.countryCode === "US")
6561
6585
  return true;
6562
- return true;
6586
+ if (hasIndirectTax && userData.countryCode !== indirectTaxCountry)
6587
+ return true;
6588
+ return false;
6563
6589
  }
6564
6590
  const hasStates = ["ES", "AU", "US", "CA"].includes(userFormContext.countryCode);
6565
6591
  const regionObj = hasStates
@@ -6588,7 +6614,7 @@ function useUserInfoForm(props) {
6588
6614
  allCountries: countries,
6589
6615
  regionLabelEnum: regionObj === null || regionObj === void 0 ? void 0 : regionObj.labelEnum,
6590
6616
  regions: (regionObj === null || regionObj === void 0 ? void 0 : regionObj.regions) || [],
6591
- partnerData: (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher,
6617
+ partnerData: (_c = (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.impactConnection) === null || _c === void 0 ? void 0 : _c.publisher,
6592
6618
  },
6593
6619
  states: {
6594
6620
  step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
@@ -6597,8 +6623,8 @@ function useUserInfoForm(props) {
6597
6623
  disabled: loading || connectLoading,
6598
6624
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
6599
6625
  loading: loading || connectLoading,
6600
- isPartner: !!((_d = (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.impactConnection) === null || _d === void 0 ? void 0 : _d.publisher),
6601
- isUser: !!((_f = (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.impactConnection) === null || _f === void 0 ? void 0 : _f.user),
6626
+ isPartner: !!((_e = (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
6627
+ isUser: !!((_g = (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.user),
6602
6628
  formState: {
6603
6629
  ...userFormContext,
6604
6630
  errors: formErrors,
@@ -27,7 +27,7 @@ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedVi
27
27
  import './sqm-portal-container-view-176e92e3.js';
28
28
  import { g as getCountryObj, L as LoadingView } from './utils-6122971b.js';
29
29
  import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
30
- import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './usePayoutStatus-f064247b.js';
30
+ import { u as usePayoutStatus, T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, F as FINANCE_NETWORK_SETTINGS_NAMESPACE, f as GET_FINANCE_NETWORK_SETTINGS, g as CURRENCIES_QUERY_NAMESPACE, h as GET_CURRENCIES } from './usePayoutStatus-e0ef2374.js';
31
31
 
32
32
  /**
33
33
  *
@@ -3119,7 +3119,7 @@ function PayoutStatusAlertView(props) {
3119
3119
  }),
3120
3120
  button: (h$1(Fragment, null,
3121
3121
  h$1("sl-button", { disabled: states.loading, type: "primary", onClick: callbacks.onPaymentInfoClick }, text.editPaymentInformationButton))),
3122
- alertType: "warning",
3122
+ alertType: "error",
3123
3123
  icon: "exclamation-triangle",
3124
3124
  };
3125
3125
  case "HOLD":
@@ -3217,7 +3217,7 @@ const PayoutStatusAlert = class {
3217
3217
  /**
3218
3218
  * @uiName Verification required internal alert header
3219
3219
  */
3220
- this.verificationRequiredInternalHeader = "Identity Verification in Progress";
3220
+ this.verificationRequiredInternalHeader = "Identity Verification in progress";
3221
3221
  /**
3222
3222
  * @uiName Verification required internal alert description
3223
3223
  */
@@ -3225,7 +3225,7 @@ const PayoutStatusAlert = class {
3225
3225
  /**
3226
3226
  * @uiName Verification review internal alert header
3227
3227
  */
3228
- this.verificationReviewInternalHeader = "Identity Verification Under Review";
3228
+ this.verificationReviewInternalHeader = "Identity Verification under review";
3229
3229
  /**
3230
3230
  * @uiName Verification review internal alert description
3231
3231
  */
@@ -3233,7 +3233,7 @@ const PayoutStatusAlert = class {
3233
3233
  /**
3234
3234
  * @uiName Verification failed internal alert header
3235
3235
  */
3236
- this.verificationFailedInternalHeader = "Identity Verification Unsuccessful";
3236
+ this.verificationFailedInternalHeader = "Identity verification unsuccessful";
3237
3237
  /**
3238
3238
  * @uiName Verification failed internal alert description
3239
3239
  */
@@ -3281,11 +3281,11 @@ const PayoutStatusAlert = class {
3281
3281
  /**
3282
3282
  * @uiName Withdrawal settings invalid alert header
3283
3283
  */
3284
- this.withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
3284
+ this.withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
3285
3285
  /**
3286
3286
  * @uiName Withdrawal settings invalid alert description
3287
3287
  */
3288
- this.withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
3288
+ this.withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
3289
3289
  /**
3290
3290
  * @uiName Payment returned alert header
3291
3291
  */
@@ -7568,7 +7568,7 @@ const TaxAndCashMonolith = class {
7568
7568
  * @uiGroup Dashboard Properties
7569
7569
  * @uiWidget textArea
7570
7570
  */
7571
- this.dashboard_verificationRequiredInternalHeader = "Identity Verification in Progress";
7571
+ this.dashboard_verificationRequiredInternalHeader = "Identity verification in progress";
7572
7572
  /**
7573
7573
  * @uiName Verification required internal alert description
7574
7574
  * @uiGroup Dashboard Properties
@@ -7580,7 +7580,7 @@ const TaxAndCashMonolith = class {
7580
7580
  * @uiGroup Dashboard Properties
7581
7581
  * @uiWidget textArea
7582
7582
  */
7583
- this.dashboard_verificationReviewInternalHeader = "Identity Verification Under Review";
7583
+ this.dashboard_verificationReviewInternalHeader = "Identity verification under review";
7584
7584
  /**
7585
7585
  * @uiName Verification review internal alert description
7586
7586
  * @uiGroup Dashboard Properties
@@ -7592,7 +7592,7 @@ const TaxAndCashMonolith = class {
7592
7592
  * @uiGroup Dashboard Properties
7593
7593
  * @uiWidget textArea
7594
7594
  */
7595
- this.dashboard_verificationFailedInternalHeader = "Identity Verification Unsuccessful";
7595
+ this.dashboard_verificationFailedInternalHeader = "Identity verification usuccessful";
7596
7596
  /**
7597
7597
  * @uiName Verification failed internal alert description
7598
7598
  * @uiGroup Dashboard Properties
@@ -7661,11 +7661,11 @@ const TaxAndCashMonolith = class {
7661
7661
  /**
7662
7662
  * @uiName Withdrawal settings invalid alert header
7663
7663
  */
7664
- this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information includes invalid characters";
7664
+ this.dashboard_withdrawalSettingsInvalidHeader = "Your payment information is incomplete or includes invalid characters";
7665
7665
  /**
7666
7666
  * @uiName Withdrawal settings invalid alert description
7667
7667
  */
7668
- this.dashboard_withdrawalSettingsInvalidDescription = "There are invalid characters in your payment information. Please review your information and make sure it is correct with no invalid characters. Your payouts are on hold until this is resolved.";
7668
+ this.dashboard_withdrawalSettingsInvalidDescription = "There are missing fields or invalid characters in your payment information. Please review your information and make sure it is correct. Your payouts are on hold until this is resolved.";
7669
7669
  /**
7670
7670
  * @uiName Payment returned alert header
7671
7671
  */
@@ -11,6 +11,7 @@ const HeroImage = class {
11
11
  /**
12
12
  * @uiWidget color
13
13
  * @uiName Logo text color
14
+ * @default #555555
14
15
  */
15
16
  this.logoTextColor = "#555555";
16
17
  /**
@@ -28,10 +29,9 @@ const HeroImage = class {
28
29
  }
29
30
  disconnectedCallback() { }
30
31
  render() {
31
- return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-link" }, this.imageUrl ? (h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl })) : (h$1("h3", { style: {
32
+ return (h$1(Host, null, h$1("a", { href: this.nextPage, part: "sqm-link", style: { textDecoration: "none" } }, this.imageUrl ? (h$1("img", { style: { height: `${this === null || this === void 0 ? void 0 : this.height}px` }, src: this === null || this === void 0 ? void 0 : this.imageUrl })) : (h$1("h3", { style: {
32
33
  fontSize: `${this.logoTextSize}px`,
33
34
  color: this.logoTextColor || "#555555",
34
- textDecoration: "none",
35
35
  } }, this.logoText)))));
36
36
  }
37
37
  };