<template>
  <div class="q-ma-xs">
    <CGridTableRec
      v-if="col && col.length > 0"
      ref="myCatRef"
      :prop_mytable="table"
      :options="tools.optionsTable(table)"
      :prop_mytitlenew="tools.getTitleAnnuncio(table)"
      prop_mytitle="Cataloghi"
      :prop_mycolumns="col"
      :prop_colkey="prop_colkey"
      :col_title="col_title"
      :col_footer="col_footer"
      :col_tabfooter="col_tabfooter"
      :vertical="costanti.VISUTABLE_LISTA"
      :prop_pagination="mypagination"
      :showType="showType"
      :hint="hint"
      :nodataLabel="noMsgRecord"
      :prop_search="prop_search"
      :finder="finder"
      labelElemFind="trovati"
      :choose_visutype="visuType"
      :butt_modif_new="!tools.isUtente()"
      :noresultLabel="t('grid.nosearchfound')"
      :arrfilters="arrfilterand"
      :filtercustom="filtercustom"
      :prop_searchList="tools.getsearchList_Cataloghi(isCatalogoGenerale)"
      :defaultnewrec="tools.getdefaultnewrec(table)"
      labelBtnAddRow="NONE"
      :prop_SortFieldsAvailable="mySortFieldsAvailable()"
      labelBtnAddExtra="Aggiungi Catalogo"
      :extraparams="tools.extraparams(table, { myrecfiltertoggle })"
      :prop_showMap="false"
      :heightcarousel="heightcarousel"
      @clickButtBar="clickButtBar"
      :enableExport="true"
      :opt="{ rowclass: true, widthcard, heightcard, widthimg, heightimg }"
    >
    </CGridTableRec>
  </div>
</template>

<script lang="ts" src="./CCatalogList.ts"></script>
<style lang="scss" scoped>
@import './CCatalogList.scss';
</style>
