<template>
  <CCatalogoCard
    :id="id"
    :product="product"
    :complete="complete"
    :idPage="idPage"
    :cosa="cosa"
    :options="options"
    @selauthor="selauthor"
    @opendetail="opendetail"
    v-model="optcatalogo"
    :scheda="scheda"
  >
  </CCatalogoCard>
  <q-dialog
    v-model="opendetailbool"
    position="top"
    :maximized="true"
    class="q-pt-none"
  >
    <q-card>
      <q-card-section>
        <div class="row justify-center">
          <CCatalogoCard
            :id="id"
            :product="product"
            :complete="true"
            :cosa="cosa"
            :options="{
              show_short_descr: true,
              show_price: true,
              show_cat: true,
              quante_col: 'c1',
              in_3d: true,
            }"
            v-model="optcatalogo"
            :idPage="idPage"
            @selauthor="selauthor"
            :scheda="scheda"
          >
          </CCatalogoCard>
        </div>
      </q-card-section>
    </q-card>
  </q-dialog>
</template>

<script lang="ts" src="./CContainerCatalogoCard.ts">
</script>

<style lang="scss" scoped>
@import './CContainerCatalogoCard.scss';
</style>
