{"version":3,"file":"PvDataInfoBoxFooter.vue.mjs","sources":["../../lib/PvDataInfoBox/PvDataInfoBoxFooter.vue"],"sourcesContent":["<template>\n  <small class=\"d-flex justify-content-between align-items-center\">\n    <slot>\n      <div class=\"d-flex flex-row\">\n        <div v-if=\"updatedDate\" class=\"dataset-info-box-footer-update-date d-flex flex-wrap mr-4\">\n            <tooltip\n              :title=\"$t('message.tooltip.datasetDetails.updated')\"\n              class=\"font-weight-bold mr-1\"\n            >\n                {{ $t('message.metadata.updated') }}:\n            </tooltip>\n            <dataset-date class=\"align-self-start\" :date=\"updatedDate\"/>\n          </div>\n          <div v-if=\"createdDate\" class=\"dataset-info-box-footer-create-date d-flex flex-wrap\">\n              <tooltip\n                :title=\"$t('message.tooltip.datasetDetails.created')\"\n                class=\"font-weight-bold mr-1\"\n              >\n                  {{ $t('message.metadata.created') }}:\n              </tooltip>\n              <dataset-date class=\"align-self-start\" :date=\"createdDate\"/>\n          </div>\n      </div>\n      <div class=\"dataset-info-box-footer-catalog d-flex align-items-center\">\n        <img\n          class=\"dataset-info-box-footer-catalog-img border border-dark mr-1\"\n          :src=\"src\"\n          :alt=\"catalog\">\n        <span class=\"dataset-info-box-footer-catalog-description\"> {{ catalog }} </span>\n      </div>\n    </slot>\n  </small>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue';\n\nimport DatasetDate from '../datasets/DatasetDate.vue';\nimport Tooltip from \"../widgets/Tooltip.vue\";\n\nexport default defineComponent({\n  name: 'PvDataInfoBoxFooter',\n  components: {\n    DatasetDate,\n    Tooltip,\n  },\n  props: {\n\n    createdDate: {\n      type: String,\n      default: null,\n    },\n\n    updatedDate: {\n      type: String,\n      default: null,\n    },\n\n    catalog: {\n      type: String,\n      required: true,\n    },\n\n    /**\n     * Image source for the catalog logo/flag.\n     */\n    src: {\n      type: String,\n      default: '',\n    },\n  },\n});\n</script>\n"],"names":["_hoisted_3","_hoisted_4","_hoisted_5","_resolveComponent","_openBlock","_createElementBlock","_hoisted_1","_renderSlot","updatedDate","_createElementVNode","_hoisted_2","_ctx","_createVNode","_component_tooltip","_cache","_createTextVNode","createdDate","catalog","_hoisted_6"],"mappings":";;;4GAIgCA,IAAM;AAAA,EAAA,KAAA;AAAA;GASJC,IAAM;AAAA,EAAA,KAAA;AAAA;GAe1BC,IAAA,EAAA,OAAM;;8BA3BlBC,EA8BQ,cAAA;SA5BJC,EAmBM,GAAAC,EAAA,SAAAC,GAAA;AAAA,IAAAC,EAlBOC,EAAW,QAAA,WAAA,CAAA,GAAA,MAAA;AAAA,MAAtBC,EAAA,OAAAC,GAAA;AAAA,QAAAC,EACI,oBACYN,EAAA,OAAAL,GAAA;AAAA,UAAAY,EACJC,GAAuB;AAAA,YAAA,OAAAF,EAAA,GAAA,wCAAA;AAAA;;;;;;;aAI6B,GAAA,CAAA,OAAA,CAAA;AAAA,UAAAG,EAAzC,OAACA,EAAkB,CAAA,IAAAC,EAAA;AAAA,UAAAH,EAAQJ,GAAW;AAAA,YAAA,OAAA;AAAA;;cAEhDQ,EAAW,IAAA,EAAA;AAAA,QAAAF,EAAA,CAAA,MAAAA,EAAtB,CAQM,IAAAC,EAAA;AAAA,QAAAJ,EAPF,oBACYN,EAAA,OAAAJ,GAAA;AAAA,UAAAW,EACJC,GAAuB;AAAA,YAAA,OAAAF,EAAA,GAAA,wCAAA;AAAA;;;;;;;aAI6B,GAAA,CAAA,OAAA,CAAA;AAAA,UAAAG,EAAzC,OAACA,EAAkB,CAAA,IAAAC,EAAA;AAAA,UAAAH,EAAQI,GAAW;AAAA,YAAA,OAAA;AAAA;;;MAGjE,CAAA;AAAA,MAAAF,EACE,CAGiB,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAFTN,EAAA,OAAAP,GAAA;AAAA,QACGO,EAAA,OAAA;AAAA,UACR,OAAKQ;AAAAA,UAAAA,KAAAA,EAAAA;AAAAA;WACwE,MAAA,GAAAC,CAAA;AAAA,QAAAJ,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA;;;;;;"}