{% extends "@bazar/entries/index-dynamic.twig" %}

{% set necessary_fields = ['bf_date_debut_evenement', 'bf_date_fin_evenement'] %}

{% block assets %}
  {{ include_css('styles/vendor/fullcalendar/main.min.css') }}
  {{ include_css('tools/bazar/presentation/styles/calendar.css') }}

  {{ include_javascript('javascripts/vendor/moment/moment-with-locales.min.js') }}
  {{ include_javascript('javascripts/vendor/fullcalendar/main.min.js') }}
  {{ include_javascript('javascripts/vendor/fullcalendar/locales-all.min.js') }}

  {{ include_javascript('tools/bazar/presentation/javascripts/components/BazarCalendar.js', false, true) }}
{% endblock %}

{% block display_entries %}
  <Bazar-Calendar :params="params" class="no-dblclick {{ params.class }}"></Bazar-Calendar>
{% endblock %}