"use strict";

exports.__esModule = true;
exports.ConfigType = void 0;

var _base = require("@sentecacommerce-theme/base");

var ConfigType = _base.ComponentTypeFactory.create('Config', {
  apiUrl: _base.FieldTypeFactory.text(),
  domain: _base.FieldTypeFactory.text(),
  organizationPhone: _base.FieldTypeFactory.text(),
  defaultMerchant: _base.FieldTypeFactory.text(),
  favicon: {
    "default": _base.FieldTypeFactory.text(),
    svg: _base.FieldTypeFactory.text(),
    medium: _base.FieldTypeFactory.text()
  },
  price: {
    locale: _base.FieldTypeFactory.text()
  },
  date: {
    locale: _base.FieldTypeFactory.text()
  },
  theme: {
    palette: {
      primary: _base.FieldTypeFactory.text(),
      secondary: _base.FieldTypeFactory.text(),
      hint: _base.FieldTypeFactory.text(),
      disabled: _base.FieldTypeFactory.text(),
      light: _base.FieldTypeFactory.text(),
      danger: _base.FieldTypeFactory.text(),
      footerLine: _base.FieldTypeFactory.text(),
      grey: _base.FieldTypeFactory.text(),
      discount: _base.FieldTypeFactory.text(),
      whiteSmoke: _base.FieldTypeFactory.text()
    },
    breakpoints: {
      xs: {
        min: _base.FieldTypeFactory.text(),
        max: _base.FieldTypeFactory.text()
      },
      sm: {
        min: _base.FieldTypeFactory.text(),
        max: _base.FieldTypeFactory.text()
      },
      md: {
        min: _base.FieldTypeFactory.text(),
        max: _base.FieldTypeFactory.text()
      },
      lg: {
        min: _base.FieldTypeFactory.text(),
        max: _base.FieldTypeFactory.text()
      },
      xl: {
        min: _base.FieldTypeFactory.text(),
        max: _base.FieldTypeFactory.text()
      },
      xxl: {
        min: _base.FieldTypeFactory.text()
      }
    },
    containers: {
      xs: _base.FieldTypeFactory.text(),
      sm: _base.FieldTypeFactory.text(),
      md: _base.FieldTypeFactory.text(),
      lg: _base.FieldTypeFactory.text(),
      xl: _base.FieldTypeFactory.text(),
      xxl: _base.FieldTypeFactory.text()
    },
    spacingBaseUnit: _base.FieldTypeFactory.number(),
    elementsBorderRadius: _base.FieldTypeFactory.number(),
    typography: {
      fontFamily: _base.FieldTypeFactory.list({
        of: _base.FieldTypeFactory.text()
      }),
      defaultSize: _base.FieldTypeFactory.text(),
      defaultLineHeight: _base.FieldTypeFactory.text()
    }
  },
  blogConfig: {
    key: _base.FieldTypeFactory.text(),
    limit: _base.FieldTypeFactory.number()
  },
  listing: {
    limit: _base.FieldTypeFactory.number(),
    defaultSortKey: _base.FieldTypeFactory.text()
  },
  imagesConfig: {
    ratio: {
      width: _base.FieldTypeFactory.number(),
      height: _base.FieldTypeFactory.number()
    },
    fallbackImage: _base.FieldTypeFactory.image()
  },
  wishlist: {
    limit: _base.FieldTypeFactory.number()
  },
  google: {
    id: _base.FieldTypeFactory.text(),
    apiKey: _base.FieldTypeFactory.text()
  },
  facebook: {
    appId: _base.FieldTypeFactory.text()
  },
  countryCode: _base.FieldTypeFactory.text(),
  attributeKeys: {
    size: _base.FieldTypeFactory.text(),
    color: _base.FieldTypeFactory.text()
  },
  customFieldKeys: {
    isNew: _base.FieldTypeFactory.text(),
    isFeatured: _base.FieldTypeFactory.text(),
    maxDiscountPercent: _base.FieldTypeFactory.text()
  },
  assetKeys: {
    brandBackground: _base.FieldTypeFactory.text(),
    brandWhiteLogo: _base.FieldTypeFactory.text(),
    brandLogo: _base.FieldTypeFactory.text()
  },
  categoryTreeConfig: {
    label: _base.FieldTypeFactory.text(),
    aggregationType: _base.FieldTypeFactory.text(),
    aggregationDefinition: _base.FieldTypeFactory.text(),
    filterDefinition: _base.FieldTypeFactory.text(),
    component: _base.FieldTypeFactory.text(),
    order: _base.FieldTypeFactory.number()
  },
  views: {
    auth: _base.FieldTypeFactory.text(),
    storePickUp: _base.FieldTypeFactory.text(),
    itemDesc: _base.FieldTypeFactory.text(),
    bagModal: _base.FieldTypeFactory.text(),
    subForProduct: _base.FieldTypeFactory.text()
  },
  courierKeys: {
    econt: _base.FieldTypeFactory.text(),
    speedy: _base.FieldTypeFactory.text(),
    evropat: _base.FieldTypeFactory.text()
  },
  integrationUrl: _base.FieldTypeFactory.text(),
  globalLabels: {
    toastNotifications: {
      success: {
        subscribe: _base.FieldTypeFactory.text(),
        unsubscribe: _base.FieldTypeFactory.text(),
        activatedVoucher: _base.FieldTypeFactory.text()
      }
    },
    errorMessages: {
      somethingWentWrong: _base.FieldTypeFactory.text(),
      invalidCredentials: _base.FieldTypeFactory.text(),
      emailAlreadyRegistered: _base.FieldTypeFactory.text(),
      noResults: _base.FieldTypeFactory.text()
    },
    infoMessages: {
      outOfStock: _base.FieldTypeFactory.text(),
      maxQuantity: _base.FieldTypeFactory.text(),
      sku: _base.FieldTypeFactory.text(),
      "default": _base.FieldTypeFactory.text(),
      invalidData: _base.FieldTypeFactory.text()
    },
    buttons: {
      selectSize: _base.FieldTypeFactory.text(),
      changeSize: _base.FieldTypeFactory.text(),
      chooseSize: _base.FieldTypeFactory.text(),
      addToBag: _base.FieldTypeFactory.text(),
      remove: _base.FieldTypeFactory.text(),
      cancel: _base.FieldTypeFactory.text(),
      "delete": _base.FieldTypeFactory.text(),
      set: _base.FieldTypeFactory.text(),
      edit: _base.FieldTypeFactory.text(),
      reset: _base.FieldTypeFactory.text(),
      register: _base.FieldTypeFactory.text(),
      login: _base.FieldTypeFactory.text(),
      back: _base.FieldTypeFactory.text(),
      save: _base.FieldTypeFactory.text(),
      submit: _base.FieldTypeFactory.text(),
      clear: _base.FieldTypeFactory.text(),
      apply: _base.FieldTypeFactory.text(),
      choose: _base.FieldTypeFactory.text(),
      confirm: _base.FieldTypeFactory.text(),
      checkout: _base.FieldTypeFactory.text(),
      viewBag: _base.FieldTypeFactory.text(),
      signIn: _base.FieldTypeFactory.text(),
      facebookLogin: _base.FieldTypeFactory.text(),
      googleLogin: _base.FieldTypeFactory.text(),
      appleLogin: _base.FieldTypeFactory.text(),
      guestCheckout: _base.FieldTypeFactory.text(),
      addNewCompany: _base.FieldTypeFactory.text(),
      makePrimary: _base.FieldTypeFactory.text()
    },
    commonMessages: {
      defaultShippingAddr: _base.FieldTypeFactory.text(),
      defaultBillingAddr: _base.FieldTypeFactory.text(),
      store: _base.FieldTypeFactory.text(),
      office: _base.FieldTypeFactory.text(),
      emailAddress: _base.FieldTypeFactory.text(),
      password: _base.FieldTypeFactory.text(),
      brand: _base.FieldTypeFactory.text(),
      pleaseFill: _base.FieldTypeFactory.text(),
      symbols: _base.FieldTypeFactory.text(),
      bgn: _base.FieldTypeFactory.text(),
      favorites: _base.FieldTypeFactory.text(),
      bag: _base.FieldTypeFactory.text(),
      addedTo: _base.FieldTypeFactory.text()
    },
    company: {
      editCompanyDetails: _base.FieldTypeFactory.text(),
      companyName: _base.FieldTypeFactory.text(),
      vatNumber: _base.FieldTypeFactory.text(),
      invalidVat: _base.FieldTypeFactory.text(),
      companyId: _base.FieldTypeFactory.text(),
      recipient: _base.FieldTypeFactory.text(),
      city: _base.FieldTypeFactory.text(),
      street: _base.FieldTypeFactory.text(),
      streetNum: _base.FieldTypeFactory.text(),
      zipCode: _base.FieldTypeFactory.text(),
      address: _base.FieldTypeFactory.text()
    },
    forms: {
      firstName: _base.FieldTypeFactory.text(),
      lastName: _base.FieldTypeFactory.text(),
      dateOfBirth: _base.FieldTypeFactory.text(),
      male: _base.FieldTypeFactory.text(),
      female: _base.FieldTypeFactory.text(),
      editPassword: _base.FieldTypeFactory.text(),
      invalidPassword: _base.FieldTypeFactory.text(),
      passwordNotMatching: _base.FieldTypeFactory.text(),
      newDiffererntPassword: _base.FieldTypeFactory.text(),
      passwordLength: _base.FieldTypeFactory.text(),
      currentPassword: _base.FieldTypeFactory.text(),
      newPasswordLabel: _base.FieldTypeFactory.text(),
      passwordConfirm: _base.FieldTypeFactory.text(),
      requiredField: _base.FieldTypeFactory.text(),
      confirmPassword: _base.FieldTypeFactory.text(),
      emailLabel: _base.FieldTypeFactory.text(),
      invalidEmail: _base.FieldTypeFactory.text(),
      updateEmail: _base.FieldTypeFactory.text(),
      emailSecurityMsg: _base.FieldTypeFactory.text(),
      addPhone: _base.FieldTypeFactory.text(),
      invalidPhone: _base.FieldTypeFactory.text(),
      phoneSecurity: _base.FieldTypeFactory.text()
    },
    forgotPassword: {
      title: _base.FieldTypeFactory.text(),
      receiveLinkMsg: _base.FieldTypeFactory.text(),
      backToLogin: _base.FieldTypeFactory.text(),
      enterEmailMsg: _base.FieldTypeFactory.text(),
      orReturn: _base.FieldTypeFactory.text(),
      logIn: _base.FieldTypeFactory.text(),
      forgotYourPass: _base.FieldTypeFactory.text()
    },
    productRestock: {
      title: _base.FieldTypeFactory.text(),
      chooseSize: _base.FieldTypeFactory.text(),
      chooseQuantity: _base.FieldTypeFactory.text(),
      placeholders: {
        email: _base.FieldTypeFactory.text(),
        size: _base.FieldTypeFactory.text(),
        quantity: _base.FieldTypeFactory.text()
      },
      GDPRNotice: _base.FieldTypeFactory.text(),
      button: _base.FieldTypeFactory.text(),
      done: _base.FieldTypeFactory.text(),
      doneButton: _base.FieldTypeFactory.text()
    },
    voucher: _base.FieldTypeFactory.text()
  }
});

exports.ConfigType = ConfigType;
//# sourceMappingURL=config.type.js.map