import ListProducts from "@assets/components/components/banners/PrimaryBanner/ListProducts/index.vue";
import BannerDynamic from '@components/banners/PrimaryBanner/ListDynamic/BannerDynamic/index.vue';
import BannerHomePage from "@components/banners/PrimaryBanner/BannerImage/ListBannerImage/index.vue";
import BannerOrder from "@components/banners/PrimaryBanner/OrderBanners/index.vue";
import BaseButton from '@elements/BaseButton/index.vue';
import store from '../GlobalContextStore/GlobalContexts';
import BaseCard from "@elements/BaseCard/index.vue";
import PrimaryBanner from './index.vue';

export default {
  name: 'PrimaryBanner',
  components: {
    PrimaryBanner,
    BaseCard,
    BannerDynamic,
    BannerOrder,
    BannerHomePage,
    BaseButton,
    ListProducts,
    store
  },

  props: {

  },
  data() {
    return {
      configuration: {
        banner_group: [],
      }
    }
  },
  watch : {
    "configuration.banner_group": function() {
      store.state.jsonBannersMounted.banner_group = this.configuration.banner_group;
    }
  },

  methods: {

  },

  mounted() {

  },
}
