"use strict";

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

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

var StoresType = _base.ComponentTypeFactory.create('Stores', {
  title: _base.FieldTypeFactory.text({
    required: true
  }),
  pinIcon: _base.FieldTypeFactory.image({
    required: false
  }),
  thumbnailImgForVideo: _base.FieldTypeFactory.image({
    required: true
  }),
  storesTypes: _base.FieldTypeFactory.list({
    of: {
      name: _base.FieldTypeFactory.text({
        required: true
      })
    }
  }),
  stores: _base.FieldTypeFactory.list({
    of: {
      name: _base.FieldTypeFactory.text({
        required: true
      }),
      city: _base.FieldTypeFactory.text({
        required: true
      }),
      slug: _base.FieldTypeFactory.text({
        required: true
      }),
      image: _base.FieldTypeFactory.image({
        required: true
      }),
      imageSmall: _base.FieldTypeFactory.image({
        required: true
      }),
      workHours: {
        monday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        tuesday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        wednesday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        thursday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        friday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        saturday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        },
        sunday: {
          start: _base.FieldTypeFactory.number({
            required: true
          }),
          end: _base.FieldTypeFactory.number({
            required: true
          })
        }
      },
      workTime: _base.FieldTypeFactory.text({
        required: true
      }),
      latitude: _base.FieldTypeFactory.text({
        required: true
      }),
      longitude: _base.FieldTypeFactory.text({
        required: true
      }),
      email: _base.FieldTypeFactory.text({
        required: false
      }),
      description: _base.FieldTypeFactory.html({
        required: true
      }),
      fullAddress: _base.FieldTypeFactory.text({
        required: true
      }),
      shortAddress: _base.FieldTypeFactory.text({
        required: false
      }),
      relatedStores: _base.FieldTypeFactory.list({
        of: {
          slug: _base.FieldTypeFactory.text({
            required: true
          })
        }
      }),
      carousel: _base.FieldTypeFactory.list({
        of: {
          url: _base.FieldTypeFactory.text({
            required: true
          }),
          isVideo: _base.FieldTypeFactory["boolean"]({
            required: true
          })
        }
      })
    }
  }),
  labels: {
    citySelectLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    temporaryClosedLabel: _base.FieldTypeFactory.text({
      required: false
    }),
    tabList: _base.FieldTypeFactory.text({
      required: true
    }),
    tabMap: _base.FieldTypeFactory.text({
      required: true
    }),
    storeTypesLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    closesAtLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    locationLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    getDirectionsLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    relatedStoresLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    storeHoursLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    backToSearchLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    noStoresFoundLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    storeNotFoundLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    viewStoreLabel: _base.FieldTypeFactory.text({
      required: true
    }),
    noCitiesFoundLabel: _base.FieldTypeFactory.text({
      required: true
    })
  }
});

exports.StoresType = StoresType;
//# sourceMappingURL=stores.type.js.map