@saasquatch/mint-components 2.0.2-13 → 2.0.2-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.
@@ -6340,7 +6340,7 @@ const UserInfoFormView = (props) => {
6340
6340
  const GET_INDIRECT_TAX_COUNTRY_CODE = index_module.dist.gql `
6341
6341
  query getIndirectTaxCountryCode {
6342
6342
  tenant {
6343
- tenantSettings {
6343
+ settings {
6344
6344
  impactBrandCountryCode
6345
6345
  impactBrandIndirectTaxCountryCode
6346
6346
  }
@@ -6572,8 +6572,8 @@ function useUserInfoForm(props) {
6572
6572
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
6573
6573
  setStep(nextStep);
6574
6574
  }
6575
- const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.tenantSettings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
6576
- const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.tenantSettings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
6575
+ const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
6576
+ const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.settings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
6577
6577
  function getSkipNextStep(userData) {
6578
6578
  if (userData.countryCode === "US")
6579
6579
  return true;
@@ -10,7 +10,7 @@ import { gql } from "graphql-request";
10
10
  const GET_INDIRECT_TAX_COUNTRY_CODE = gql `
11
11
  query getIndirectTaxCountryCode {
12
12
  tenant {
13
- tenantSettings {
13
+ settings {
14
14
  impactBrandCountryCode
15
15
  impactBrandIndirectTaxCountryCode
16
16
  }
@@ -242,8 +242,8 @@ export function useUserInfoForm(props) {
242
242
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
243
243
  setStep(nextStep);
244
244
  }
245
- const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.tenantSettings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
246
- const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.tenantSettings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
245
+ const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
246
+ const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.settings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
247
247
  function getSkipNextStep(userData) {
248
248
  if (userData.countryCode === "US")
249
249
  return true;
@@ -6336,7 +6336,7 @@ const UserInfoFormView = (props) => {
6336
6336
  const GET_INDIRECT_TAX_COUNTRY_CODE = dist.gql `
6337
6337
  query getIndirectTaxCountryCode {
6338
6338
  tenant {
6339
- tenantSettings {
6339
+ settings {
6340
6340
  impactBrandCountryCode
6341
6341
  impactBrandIndirectTaxCountryCode
6342
6342
  }
@@ -6568,8 +6568,8 @@ function useUserInfoForm(props) {
6568
6568
  const nextStep = context.overrideNextStep || skipNextStep ? "/3" : "/2";
6569
6569
  setStep(nextStep);
6570
6570
  }
6571
- const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.tenantSettings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
6572
- const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.tenantSettings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
6571
+ const brandCountry = (_b = (_a = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.impactBrandCountryCode;
6572
+ const hasIndirectTax = !!((_d = (_c = tenantData === null || tenantData === void 0 ? void 0 : tenantData.tenant) === null || _c === void 0 ? void 0 : _c.settings) === null || _d === void 0 ? void 0 : _d.impactBrandIndirectTaxCountryCode);
6573
6573
  function getSkipNextStep(userData) {
6574
6574
  if (userData.countryCode === "US")
6575
6575
  return true;