"use strict";

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

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

var schema = {
  basic: {
    url: _base.FieldTypeFactory.text(),
    label: _base.FieldTypeFactory.text(),
    configure: _base.FieldTypeFactory.text(),
    description: _base.FieldTypeFactory.text(),
    agree: _base.FieldTypeFactory.text()
  },
  advanced: {
    moreInfo: _base.FieldTypeFactory.text(),
    acceptAll: _base.FieldTypeFactory.text(),
    saveChanges: _base.FieldTypeFactory.text()
  },
  details: {
    table: {
      source: _base.FieldTypeFactory.text(),
      name: _base.FieldTypeFactory.text(),
      purpose: _base.FieldTypeFactory.text(),
      maxAge: _base.FieldTypeFactory.text()
    },
    goBack: _base.FieldTypeFactory.text()
  },
  // disagree: FieldTypeFactory.text({ required: false }),
  isEnabled: _base.FieldTypeFactory["boolean"]({
    defaultValue: true
  })
};

var CookieConsentType = _base.ComponentTypeFactory.create('CookieConsent', schema);

exports.CookieConsentType = CookieConsentType;
//# sourceMappingURL=cookieConsent.type.js.map