@piveau/piveau-hub-ui-modules 4.6.38 → 4.6.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/composables/useRuntimeEnv.d.ts +1 -0
- package/dist/configurations/config-schema/configSchema.d.ts +9 -0
- package/dist/configurations/config-schema/contentSchema.d.ts +7 -0
- package/dist/configurations/config-schema/contentSchema.mjs +4 -3
- package/dist/configurations/config-schema/contentSchema.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +2 -0
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +1 -0
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +1 -0
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +2 -0
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +1 -0
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue2.mjs +2 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue2.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs +48 -48
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs +55 -46
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue2.mjs +2 -2
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatasetDetailsDataset.vue2.mjs","sources":["../../lib/datasetDetails/DatasetDetailsDataset.vue"],"sourcesContent":["<template>\n <div>\n <resource-access-popup ref=\"externalResourceModal\" />\n <span property=\"dc:issued\" :content=\"getReleaseDate\"></span>\n <span property=\"dc:modified\" :content=\"getModificationDate\"></span>\n <div v-if=\"loadingDatasetDetails\">\n <dataset-details-skeleton type=\"DatasetDetails\"></dataset-details-skeleton>\n </div>\n <div v-if=\"!loadingDatasetDetails\" class=\"dsd-dataset\">\n <dataset-details-description\n v-if=\"showDatasetDescription\"\n :dateIncorrect=\"dateIncorrect\"\n :machineTranslated=\"machineTranslated\"\n :translationNotAvailable=\"translationNotAvailable\"\n />\n <distributions\n :openModal=\"openModal\"\n :getDistributions=\"getDistributions\"\n :expandedDistributions=\"expandedDistributions\"\n :expandedDistributionDescriptions=\"expandedDistributionDescriptions\"\n :displayedDistributions=\"displayedDistributions\"\n :isDistributionsAllDisplayed=\"isDistributionsAllDisplayed\"\n :distributions=\"distributions\"\n :setDistributionsDisplayCount=\"setDistributionsDisplayCount\"\n :pages=\"pages\"\n :showDownloadUrls=\"showDownloadUrls\"\n :isOnlyOneUrl=\"isOnlyOneUrl\"\n :getDistributionFormat=\"getDistributionFormat\"\n :distributionFormatTruncated=\"distributionFormatTruncated\"\n :getDistributionTitle=\"getDistributionTitle\"\n :distributionVisibleContent=\"distributionVisibleContent\"\n :distributionExpandedContent=\"distributionExpandedContent\"\n :distributionDescriptionIsExpanded=\"distributionDescriptionIsExpanded\"\n :distributionDescriptionIsExpandable=\"distributionDescriptionIsExpandable\"\n :distributionIsExpanded=\"distributionIsExpanded\"\n :showNumber=\"showNumber\"\n :showObject=\"showObject\"\n :showDownloadDropdown=\"showDownloadDropdown\"\n :showLicence=\"showLicence\"\n :showLicensingAssistant=\"showLicensingAssistant\"\n :filterDateFormatEU=\"filterDateFormatEU\"\n :showArray=\"showArray\"\n :showObjectArray=\"showObjectArray\"\n :getVisualisationLink=\"getVisualisationLink\"\n :getDownloadUrl=\"getDownloadUrl\"\n :trackGoto=\"trackGoto\"\n :showAccessUrls=\"showAccessUrls\"\n :replaceHttp=\"replaceHttp\"\n :previewLinkCallback=\"previewLinkCallback\"\n :toggleDistribution=\"toggleDistribution\"\n :toggleDistributionDescription=\"toggleDistributionDescription\"\n :increaseNumDisplayedDistributions=\"increaseNumDisplayedDistributions\"\n :nonOverflowingIncrementsForDistributions=\"nonOverflowingIncrementsForDistributions\"\n :appendCurrentLocaleToURL=\"appendCurrentLocaleToURL\"\n :isUrlInvalid=\"isUrlInvalid\"\n :openIfValidUrl=\"openIfValidUrl\"\n :showTooltipVisualiseButton=\"showTooltipVisualiseButton\"\n :showPublisher=\"showPublisher\"\n :embed=\"embed\"\n />\n <dataset-details-features\n :getKeywords=\"getKeywords\"\n :pages=\"pages\"\n :increaseNumDisplayedPages=\"increaseNumDisplayedPages\"\n :nonOverflowingIncrementsForPages=\"nonOverflowingIncrementsForPages\"\n :showKeyword=\"showKeyword\"\n :trackGoto=\"trackGoto\"\n :showObjectArray=\"showObjectArray\"\n :showArray=\"showArray\"\n :showObject=\"showObject\"\n />\n <dataset-details-properties v-if=\"showDatasetProperties\">\n <template #property-header><slot name=\"property-header\"></slot></template>\n <template #property-table-before><slot name=\"property-table-before\"></slot></template>\n <template #property-table><slot name=\"property-table\"></slot></template>\n <template #property-table-after><slot name=\"property-table-after\"></slot></template>\n </dataset-details-properties>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n // @ts-nocheck\n /* eslint-disable no-confusing-arrow, no-nested-ternary, no-return-assign, no-confusing-arrow */\n import $ from 'jquery';\n import { mapActions, mapGetters } from 'vuex';\n import {\n has,\n isNil,\n isArray,\n isObject,\n isString,\n isNumber,\n isEmpty,\n } from 'lodash';\n import AppLink from '../widgets/AppLink.vue';\n import Tooltip from '../widgets/Tooltip.vue';\n import Distributions from './distributions/Distributions.vue';\n import dateFilters from '../filters/dateFilters';\n import {\n getTranslationFor, getCountryFlagImg, truncate, replaceHttp, appendCurrentLocaleToURL\n } from '../utils/helpers';\n import ResourceAccessPopup from '../widgets/ResourceAccessPopup.vue';\n import DatasetDetailsExtendedMetaData\n from \"../datasetDetails/features/DatasetDetailsIsUsedBy.vue\";\n import DatasetDetailsSkeleton from \"../datasetDetails/DatasetDetailsSkeleton.vue\";\n import * as metaInfo from '../composables/head';\n\n export default {\n name: 'datasetDetailsDataset',\n components: {\n DatasetDetailsSkeleton,\n DatasetDetailsExtendedMetaData,\n AppLink,\n Tooltip,\n Distributions,\n ResourceAccessPopup\n },\n props: {\n distributionVisibleContent: {\n type: Array,\n default: () => ['license', 'licenseAttributionByText', 'modificationDate'],\n },\n distributionExpandedContent: {\n type: Array,\n default: () => [\n 'releaseDate',\n 'language',\n 'availability',\n 'status',\n 'rights',\n 'mediaType',\n 'byteSize',\n 'checksum',\n 'pages',\n 'type',\n 'compressFormat',\n 'packageFormat',\n 'hasPolicy',\n 'conformsTo',\n 'spatialResolutionInMeters',\n 'temporalResolution',\n ],\n },\n showDatasetDescription: {\n type: Boolean,\n default: () => true,\n },\n showDatasetProperties: {\n type: Boolean,\n default: () => true,\n },\n showPublisher: {\n type: Boolean,\n default: () => false,\n },\n embed: {\n type: Boolean,\n default: () => false,\n },\n },\n data() {\n return {\n defaultLocale: this.$env.languages.locale,\n // has to be INITIAL_DATASET_DESCRIPTION_LENGTH\n isDatasetDescriptionExpanded: false,\n loadingDatasetDetails: false,\n machineTranslated: false,\n translationNotAvailable: false,\n expandedDistributions: [],\n expandedDistributionDescriptions: [],\n distributions: {\n displayAll: this.$env.content.datasetDetails.distributions.displayAll,\n displayCount: this.$env.content.datasetDetails.distributions.displayCount,\n incrementSteps: this.$env.content.datasetDetails.distributions.incrementSteps,\n descriptionMaxLines: this.$env.content.datasetDetails.distributions.descriptionMaxLines,\n descriptionMaxChars: this.$env.content.datasetDetails.distributions.descriptionMaxChars,\n },\n pages: {\n isVisible: this.$env.content.datasetDetails.pages.isVisible,\n displayAll: this.$env.content.datasetDetails.pages.displayAll,\n displayCount: this.$env.content.datasetDetails.pages.displayCount,\n incrementSteps: this.$env.content.datasetDetails.pages.incrementSteps,\n descriptionMaxLines: this.$env.content.datasetDetails.pages.descriptionMaxLines,\n descriptionMaxChars: this.$env.content.datasetDetails.pages.descriptionMaxChars,\n },\n showDescription: true,\n };\n },\n computed: {\n // import store-getters\n ...mapGetters('datasetDetails', [\n 'getKeywords',\n 'getAccessRights',\n 'getAccrualPeriodicity',\n 'getCatalog',\n 'getContactPoints',\n 'getDateIncorrect',\n 'getDescription',\n 'getDistributions',\n 'getID',\n 'getLanguages',\n 'getLicences',\n 'getModificationDate',\n 'getOtherIdentifiers',\n 'getPages',\n 'getPublisher',\n 'getReleaseDate',\n 'getSpatial',\n 'getTranslationMetaData',\n 'getTitle'\n ]),\n dateIncorrect() {\n return this.getDateIncorrect;\n },\n displayedDistributions() {\n const sorted = [...this.getDistributions].sort((a, b) => {\n if (getTranslationFor(a.title, this.$route.query.locale, this.getLanguages) < getTranslationFor(b.title, this.$route.query.locale, this.getLanguages)) { return -1; }\n if (getTranslationFor(a.title, this.$route.query.locale, this.getLanguages) > getTranslationFor(b.title, this.$route.query.locale, this.getLanguages)) { return 1; }\n return 0;\n });\n return this.distributions.displayAll\n ? Object.freeze(sorted)\n : Object.freeze(sorted.slice(0, this.distributions.displayCount));\n },\n isDistributionsAllDisplayed() {\n return this.distributions.displayCount === this.getDistributions.length;\n },\n remainingDistributions() {\n return this.getDistributions.length - this.distributions.displayCount;\n }\n },\n methods: {\n ...mapActions('datasetDetails', [\n 'loadDatasetDetails',\n 'setLoading',\n ]),\n has,\n isNil,\n isArray,\n isObject,\n isString,\n isNumber,\n appendCurrentLocaleToURL,\n getTranslationFor,\n getCountryFlagImg,\n truncate,\n replaceHttp,\n initDatasetDetails() {\n this.piwikMetaPush();\n setTimeout(() => {\n if (typeof this.$piwik?.resume === \"function\") this.$piwik.resume();\n }, 500);\n this.$nextTick(() => {\n // Display/hide translation banners\n this.setTranslationBanners();\n $('[data-toggle=\"tooltip\"]').tooltip({\n container: 'body',\n });\n });\n },\n setDistributionsDisplayCount(count: number) {\n this.distributions.displayCount = count;\n },\n openModal(callback, toggleDownloadPopup) {\n this.$refs.externalResourceModal.openModal(callback, toggleDownloadPopup)\n },\n previewLinkCallback(distribution) {\n return () => {\n this.$emit('track-link', this.getVisualisationLink(distribution), 'link');\n window.open(this.getVisualisationLink(distribution), '_blank');\n };\n },\n filterDateFormatEU(date) {\n return dateFilters.formatEU(date);\n },\n /* ABSTRACT SHOW FUNCTIONS */\n showString(string) {\n return !isNil(string) && isString(string);\n },\n showNumber(number) {\n return !isNil(number) && isNumber(number);\n },\n showObject(object) {\n return !isNil(object) && isObject(object) && !Object.values(object).reduce((keyUndefined, currentValue) => keyUndefined && currentValue === undefined, true);\n },\n showArray(array) {\n return !isNil(array) && isArray(array) && array.length > 0;\n },\n showObjectArray(objectArray) {\n return this.showArray(objectArray) && !objectArray.reduce((objectUndefined, currentObject) => objectUndefined && Object.values(currentObject).reduce((keyUndefined, currentValue) => keyUndefined && currentValue === undefined, true), true);\n },\n /* SPECIFIC SHOW FUNCTIONS */\n /* for now show all licences */\n showLicence(licence) {\n // return (has(licence, 'id') && !isNil(licence.id))\n // || (has(licence, 'label') && !isNil(licence.label))\n return true\n },\n showLicensingAssistant(distribution) {\n return has(distribution, 'licence.la_url') && this.showString(distribution.licence.la_url);\n },\n showDownloadDropdown(distribution) {\n return this.showAccessUrls(distribution) || this.showDownloadUrls(distribution);\n },\n isOnlyOneUrl(distribution) {\n return (this.showAccessUrls(distribution) && !this.showDownloadUrls(distribution))\n || (!this.showAccessUrls(distribution) && this.showDownloadUrls(distribution) && distribution.downloadUrls.length === 1);\n },\n getDownloadUrl(distribution) {\n let url;\n if (this.showAccessUrls(distribution) && !this.showDownloadUrls(distribution)) {\n url = distribution.accessUrl[0];\n }\n if (!this.showAccessUrls(distribution) && this.showDownloadUrls(distribution) && distribution.downloadUrls.length === 1) {\n url = distribution.downloadUrls[0];\n }\n return url;\n },\n showAccessUrls(distribution) {\n return has(distribution, 'accessUrl') && this.showArray(distribution.accessUrl);\n },\n showDownloadUrls(distribution) {\n return has(distribution, 'downloadUrls') && this.showArray(distribution.downloadUrls);\n },\n showKeyword(keyword) {\n return has(keyword, 'id')\n && has(keyword, 'title')\n && !isNil(keyword.id)\n && !isNil(keyword.title);\n },\n\n /* GETTER / SETTER FUNCTIONS */\n\n setDatasetOriginalLanguage(originalLanguage) {\n this.$i18n.locale = originalLanguage;\n },\n distributionIsExpanded(id) {\n setTimeout(() => {\n $('[data-toggle=\"tooltip\"]').tooltip({\n container: 'body',\n });\n }, 500);\n return this.expandedDistributions.includes(id);\n },\n distributionDescriptionIsExpanded(id) {\n return this.expandedDistributionDescriptions.includes(id);\n },\n distributionDescriptionIsExpandable(description) {\n return isNil(description) ? false : description.length > this.distributions.descriptionMaxChars;\n },\n getDistributionFormat(distribution) {\n return has(distribution, 'format.label') && !isNil(distribution.format.label) ? distribution.format.label : '';\n },\n distributionFormatTruncated(distribution) {\n return this.getDistributionFormat(distribution).length > 4;\n },\n getDistributionTitle(distribution) {\n return distribution.title\n ? getTranslationFor(distribution.title, this.$route.query.locale, this.getLanguages)\n : this.getID || '-';\n },\n getVisualisationLink(distribution) {\n // Return Visualisation Link\n const accessUrl = distribution.downloadUrls && distribution.downloadUrls.length ? distribution.downloadUrls[0] : distribution.accessUrl[0];\n return `/data/visualisation/?file=${encodeURIComponent(accessUrl)}`;\n },\n // getSubjectLink(subject) {\n // return { path: `/datasets?subject=${subject.id}`, query: Object.assign({}, { locale: this.$route.query.locale }) };\n // },\n toggleDistribution(id) {\n const index = this.expandedDistributions.indexOf(id);\n if (index > -1) this.expandedDistributions.splice(index, 1);\n else this.expandedDistributions.push(id);\n },\n toggleDistributionDescription(id) {\n const index = this.expandedDistributionDescriptions.indexOf(id);\n if (index > -1) this.expandedDistributionDescriptions.splice(index, 1);\n else this.expandedDistributionDescriptions.push(id);\n },\n setTranslationBanners() {\n if (!this.$i18n) return;\n const translationMetaData = this.getTranslationMetaData;\n // Check if translation of dataset is available in selected language\n if (!isNil(translationMetaData.details) && has(translationMetaData.details, this.$route.query.locale)) {\n // Check if dataset if machine translated\n this.machineTranslated = translationMetaData.details[this.$route.query.locale].machine_translated;\n } else {\n // No translation of this dataset available for the selected language\n this.translationNotAvailable = true;\n }\n },\n // Emit a Matomo event when user clicks on 'go to resource' element\n trackGoto() {\n const paq = window._paq || []; // eslint-disable-line\n // paq.push(['trackEvent', 'GoToResource', 'Clicked']);\n this.$piwik.trackGotoResource();\n },\n clamp(n, min, max) {\n return Math.min(Math.max(n, min), max);\n },\n // Increases the current number of distributions displayed\n // and clamps the result so that it never exceeds the number of all distributions.\n increaseNumDisplayedDistributions(increment) {\n const clampedSum = this.clamp(this.distributions.displayCount + increment, 0, this.getDistributions.length);\n this.distributions.displayCount = clampedSum;\n },\n nonOverflowingIncrementsForDistributions(incrementStep) {\n return this.distributions.displayCount + incrementStep <= this.getDistributions.length;\n },\n // Increases the current number of distributions displayed\n // and clamps the result so that it never exceeds the number of all distributions.\n increaseNumDisplayedPages(increment) {\n const clampedSum = this.clamp(this.pages.displayCount + increment, 0, this.getPages.length);\n this.pages.displayCount = clampedSum;\n },\n nonOverflowingIncrementsForPages(incrementStep) {\n return this.pages.displayCount + incrementStep <= this.getPages.length;\n },\n piwikMetaPush() {\n this.$piwik.trackDatasetDetailsPageView(null, null, {\n dataset_AccessRights: this.getAccessRights,\n dataset_AccrualPeriodicity: this.getAccrualPeriodicity,\n dataset_Catalog: this.getCatalog,\n // dataset_Categories: this.getCategories,\n // dataset_ConformsTo: this.getConformsTo,\n // dataset_ContactPoints: this.getContactPoints,\n // dataset_Country: this.getCountry,\n // dataset_Creator: this.getCreator,\n // dataset_Description: this.getDescription,\n // dataset_Distributions: this.getDistributions,\n // dataset_DistributionFormats: this.getDistributionFormats,\n // dataset_Documentations: this.getDocumentations,\n // dataset_Frequency: this.getFrequency,\n // dataset_HasVersion: this.getHasVersion,\n dataset_ID: this.getID,\n // dataset_Identifiers: this.getIdentifiers,\n // dataset_IdName: this.getIdName,\n // dataset_IsVersionOf: this.getIsVersionOf,\n // datest_Keywords: this.getKeywords,\n // dataset_LandingPages: this.getLandingPagesResource,\n // dataset_Languages: this.getLanguages,\n // dataset_Licences: this.getLicences,\n // dataset_Loading: this.getLoading,\n // dataset_ModificationDate: this.getModificationDate,\n // dataset_OriginalLanguage: this.getOriginalLanguage,\n // dataset_OtherIdentifiers: this.getOtherIdentifiers,\n // dataset_Pages: this.getPages,\n // dataset_Provenances: this.getProvenances,\n dataset_Publisher: this.getPublisher,\n // dataset_RelatedResources: this.getRelatedResources,\n // dataset_ReleaseDate: this.getReleaseDate,\n // dataset_Sources: this.getSources,\n // dataset_Spatial: this.getSpatial,\n // dataset_SpatialResource: this.getSpatialResource,\n // dataset_Temporal: this.getTemporal,\n dataset_Title: this.getTitle,\n // dataset_TranslationMetaData: this.getTranslationMetaData,\n // dataset_VersionInfo: this.getVersionInfo,\n // dataset_VersionNotes: this.getVersionNotes,\n });\n },\n isUrlInvalid(url) {\n if (url) {\n try {\n /* eslint-disable no-useless-escape */\n return !(new RegExp(\"^((https?:\\/\\/(www\\.)?)([-a-zA-Z0-9@:%._\\+~#=]{1,256})([-a-zA-Z0-9()@:%_\\+.~#?&//=]*))$\", \"i\")).test(decodeURIComponent(url.split(\"=\").pop()));\n /* eslint-enable no-useless-escape */\n } catch (e) {\n console.error(e);\n }\n }\n },\n openIfValidUrl(isValid, previewLinkCallback, distribution, event) {\n if (isValid) {\n // for (let key in this.$children) {\n // if(this.$children[key].$refs[\"externalResourceModal\"]) {\n // this.$children[key].$refs[\"externalResourceModal\"].openModal(previewLinkCallback(distribution), false);\n // }\n // }\n this.openModal(previewLinkCallback(distribution), false);\n } else {\n event.preventDefault();\n event.stopPropagation();\n }\n },\n showTooltipVisualiseButton(invalidUrl) {\n if (invalidUrl) {\n return this.$t('message.tooltip.invalidVisualise');\n }\n return ''\n },\n },\n mounted() {\n // Duplicated API call, execute only if data not already loaded\n if (this.$route.params.ds_id !== this.getID) {\n this.$Progress.start();\n this.loadingDatasetDetails = true;\n this.loadDatasetDetails(this.$route.params.ds_id)\n .then(() => {\n this.$Progress.finish();\n this.loadingDatasetDetails = false;\n this.initDatasetDetails();\n })\n .catch((err) => {\n console.warn(err); // eslint-disable-line\n this.$Progress.fail();\n if (typeof this.$piwik?.resume === \"function\") this.$piwik.resume();\n this.$router.replace({\n name: 'NotFound',\n query: { locale: this.$route.query.locale, dataset: this.$route.params.ds_id },\n });\n })\n .finally(() => this.$root.$emit('contentLoaded'));\n } else {\n this.initDatasetDetails();\n this.$root.$emit('contentLoaded')\n }\n\n const distributionsConf = this.$env.content.datasetDetails && this.$env.content.datasetDetails.distributions;\n if (distributionsConf) {\n this.distributions.displayAll = distributionsConf.displayAll || this.distributions.displayAll;\n this.distributions.displayCount = parseInt(distributionsConf.displayCount, 10) || this.distributions.displayCount;\n\n if (typeof distributionsConf.incrementSteps === 'string') {\n // Need to parse as json array since env variables are string only\n distributionsConf.incrementSteps = JSON.parse(distributionsConf.incrementSteps);\n }\n this.distributions.incrementSteps = distributionsConf.incrementSteps || this.distributions.incrementSteps;\n }\n\n if (this.distributions.displayAll) this.distributions.displayCount = this.getDistributions.length;\n\n const pagesConf = this.$env.content.datasetDetails && this.$env.content.datasetDetails.pages;\n if (pagesConf) {\n this.pages.displayAll = pagesConf.displayAll || this.pages.displayAll;\n this.pages.displayCount = parseInt(pagesConf.displayCount, 10) || this.pages.displayCount;\n\n if (typeof pagesConf.incrementSteps === 'string') {\n // Need to parse as json array since env variables are string only\n pagesConf.incrementSteps = JSON.parse(pagesConf.incrementSteps);\n }\n this.pages.incrementSteps = pagesConf.incrementSteps || this.pages.incrementSteps;\n }\n\n if (this.pages.displayAll) this.pages.displayCount = this.getPages.length;\n },\n beforeUnmount() {\n $('.tooltip').remove();\n },\n setup() {\n metaInfo.useDatasetDetailsDatasetHead();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped>\n\n .catalogue-label {\n white-space: pre-line;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n\n .tag-color {\n background-color: var(--tag-color);\n }\n\n .btn-color {\n &:hover {\n background-color: #196fd2;\n border-color: #196fd2;\n }\n }\n\n .heading, .arrow, .copy-text {\n cursor: pointer;\n }\n\n .details-link {\n cursor: pointer;\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n .text-break {\n word-break: break-word;\n }\n\n td {\n padding-left: 0 !important;\n padding-top: 1% !important;\n padding-bottom: 1% !important;\n }\n\n .download-all-btn {\n min-width: 100px;\n height: 31px;\n }\n\n .d-inline-table {\n display: inline-table;\n }\n\n /*** BOOTSTRAP ***/\n button:focus {\n outline:0;\n }\n .options, .download {\n .dropdown-menu {\n .dropdown-item {\n &:hover {\n color: initial;\n background-color: initial;\n }\n }\n }\n }\n.spinner-grow {\n width: 20px;\n height: 20px;\n}\n\n /*** FONT AWESOME ICONS ***/\n .fa-check-square {\n color: #28a745;\n width: 16px;\n height: 16px;\n }\n\n /*** MATERIAL ICONS ***/\n %modal-icon {\n font-size: 18px;\n cursor: default;\n }\n\n .help-icon {\n @extend %modal-icon;\n }\n\n .check-icon {\n @extend %modal-icon;\n color: #28a745;\n }\n\n .material-icons.small-icon {\n font-size: 20px;\n }\n\n .distributions {\n\n &__item {\n position: relative;\n\n &--preview {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, white 55%);\n z-index: 10;\n }\n }\n\n &__actions {\n display: flex;\n justify-content: center;\n align-items: flex-end;\n height: 100%;\n z-index: 11;\n }\n }\n .mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .keywords {\n\n &__item {\n position: relative;\n }\n\n &__actions {\n display: flex;\n justify-content: center;\n align-items: flex-end;\n height: 100%;\n z-index: 11;\n }\n }\n .sectionList {\n list-style-type: '→ ';\n margin-left:6.5%;\n }\n @media only screen and (max-width: 991px) {\n .sectionList {\n margin-left: 0;\n }\n}\n</style>\n"],"names":["_sfc_main","DatasetDetailsSkeleton","DatasetDetailsExtendedMetaData","AppLink","Tooltip","Distributions","ResourceAccessPopup","mapGetters","sorted","a","b","getTranslationFor","mapActions","has","isNil","isArray","isObject","isString","isNumber","appendCurrentLocaleToURL","getCountryFlagImg","truncate","replaceHttp","_a","$","count","callback","toggleDownloadPopup","distribution","date","dateFilters","string","number","object","keyUndefined","currentValue","array","objectArray","objectUndefined","currentObject","licence","url","keyword","originalLanguage","id","description","accessUrl","index","translationMetaData","n","min","max","increment","clampedSum","incrementStep","isValid","previewLinkCallback","event","invalidUrl","err","distributionsConf","pagesConf","metaInfo.useDatasetDetailsDatasetHead"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4GE,MAAeA,IAAA;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,wBAAAC;AAAA,IAAA,gCACAC;AAAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,qBAAAC;AAAA,EACF;AAAA,EACA,OAAO;AAAA,IACL,4BAA4B;AAAA,MAC1B,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,WAAW,4BAA4B,kBAAkB;AAAA,IAC3E;AAAA,IACA,6BAA6B;AAAA,MAC3B,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,QACX;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACJ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,uBAAuB;AAAA,MACrB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,EACF;AAAA,EACA,OAAO;AACE,WAAA;AAAA,MACL,eAAe,KAAK,KAAK,UAAU;AAAA;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E,KAAA,cAAc,eAAe,SAASA,EAAkB,cAAc,EAAE,KAAK,KAAK,cAAc,cAEjG,OAAOA,EAAkB,kBAAmB,aAE9CA,EAAkB,iBAAiB,KAAK,MAAMA,EAAkB,cAAc,IAEhF,KAAK,cAAc,iBAAiBA,EAAkB,kBAAkB,KAAK,cAAc,iBAGzF,KAAK,cAAc,eAAiB,KAAA,cAAc,eAAe,KAAK,iBAAiB;AAErF,UAAAC,IAAY,KAAK,KAAK,QAAQ,kBAAkB,KAAK,KAAK,QAAQ,eAAe;AACvF,IAAIA,MACF,KAAK,MAAM,aAAaA,EAAU,cAAc,KAAK,MAAM,YACtD,KAAA,MAAM,eAAe,SAASA,EAAU,cAAc,EAAE,KAAK,KAAK,MAAM,cAEzE,OAAOA,EAAU,kBAAmB,aAEtCA,EAAU,iBAAiB,KAAK,MAAMA,EAAU,cAAc,IAEhE,KAAK,MAAM,iBAAiBA,EAAU,kBAAkB,KAAK,MAAM,iBAGjE,KAAK,MAAM,eAAiB,KAAA,MAAM,eAAe,KAAK,SAAS;AAAA,EACrE;AAAA,EACA,gBAAgB;AACZ,IAAArC,EAAA,UAAU,EAAE;EAChB;AAAA,EACA,QAAQ;AACNsC,IAAAA;EACF;AACF;"}
|
|
1
|
+
{"version":3,"file":"DatasetDetailsDataset.vue2.mjs","sources":["../../lib/datasetDetails/DatasetDetailsDataset.vue"],"sourcesContent":["<template>\n <div>\n <resource-access-popup ref=\"externalResourceModal\" />\n <span property=\"dc:issued\" :content=\"getReleaseDate\"></span>\n <span property=\"dc:modified\" :content=\"getModificationDate\"></span>\n <div v-if=\"loadingDatasetDetails\">\n <dataset-details-skeleton type=\"DatasetDetails\"></dataset-details-skeleton>\n </div>\n <div v-if=\"!loadingDatasetDetails\" class=\"dsd-dataset\">\n <dataset-details-description\n v-if=\"showDatasetDescription\"\n :dateIncorrect=\"dateIncorrect\"\n :machineTranslated=\"machineTranslated\"\n :translationNotAvailable=\"translationNotAvailable\"\n />\n <distributions\n :openModal=\"openModal\"\n :getDistributions=\"getDistributions\"\n :expandedDistributions=\"expandedDistributions\"\n :expandedDistributionDescriptions=\"expandedDistributionDescriptions\"\n :displayedDistributions=\"displayedDistributions\"\n :isDistributionsAllDisplayed=\"isDistributionsAllDisplayed\"\n :distributions=\"distributions\"\n :setDistributionsDisplayCount=\"setDistributionsDisplayCount\"\n :pages=\"pages\"\n :showDownloadUrls=\"showDownloadUrls\"\n :isOnlyOneUrl=\"isOnlyOneUrl\"\n :getDistributionFormat=\"getDistributionFormat\"\n :distributionFormatTruncated=\"distributionFormatTruncated\"\n :getDistributionTitle=\"getDistributionTitle\"\n :distributionVisibleContent=\"distributionVisibleContent\"\n :distributionExpandedContent=\"distributionExpandedContent\"\n :distributionDescriptionIsExpanded=\"distributionDescriptionIsExpanded\"\n :distributionDescriptionIsExpandable=\"distributionDescriptionIsExpandable\"\n :distributionIsExpanded=\"distributionIsExpanded\"\n :showNumber=\"showNumber\"\n :showObject=\"showObject\"\n :showDownloadDropdown=\"showDownloadDropdown\"\n :showLicence=\"showLicence\"\n :showLicensingAssistant=\"showLicensingAssistant\"\n :filterDateFormatEU=\"filterDateFormatEU\"\n :showArray=\"showArray\"\n :showObjectArray=\"showObjectArray\"\n :getVisualisationLink=\"getVisualisationLink\"\n :getDownloadUrl=\"getDownloadUrl\"\n :trackGoto=\"trackGoto\"\n :showAccessUrls=\"showAccessUrls\"\n :replaceHttp=\"replaceHttp\"\n :previewLinkCallback=\"previewLinkCallback\"\n :toggleDistribution=\"toggleDistribution\"\n :toggleDistributionDescription=\"toggleDistributionDescription\"\n :increaseNumDisplayedDistributions=\"increaseNumDisplayedDistributions\"\n :nonOverflowingIncrementsForDistributions=\"nonOverflowingIncrementsForDistributions\"\n :appendCurrentLocaleToURL=\"appendCurrentLocaleToURL\"\n :isUrlInvalid=\"isUrlInvalid\"\n :openIfValidUrl=\"openIfValidUrl\"\n :showTooltipVisualiseButton=\"showTooltipVisualiseButton\"\n :showPublisher=\"showPublisher\"\n :embed=\"embed\"\n />\n <dataset-details-features\n :getKeywords=\"getKeywords\"\n :pages=\"pages\"\n :increaseNumDisplayedPages=\"increaseNumDisplayedPages\"\n :nonOverflowingIncrementsForPages=\"nonOverflowingIncrementsForPages\"\n :showKeyword=\"showKeyword\"\n :trackGoto=\"trackGoto\"\n :showObjectArray=\"showObjectArray\"\n :showArray=\"showArray\"\n :showObject=\"showObject\"\n />\n <dataset-details-properties v-if=\"showDatasetProperties\">\n <template #property-header><slot name=\"property-header\"></slot></template>\n <template #property-table-before><slot name=\"property-table-before\"></slot></template>\n <template #property-table><slot name=\"property-table\"></slot></template>\n <template #property-table-after><slot name=\"property-table-after\"></slot></template>\n </dataset-details-properties>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n // @ts-nocheck\n /* eslint-disable no-confusing-arrow, no-nested-ternary, no-return-assign, no-confusing-arrow */\n import $ from 'jquery';\n import { mapActions, mapGetters } from 'vuex';\n import {\n has,\n isNil,\n isArray,\n isObject,\n isString,\n isNumber,\n isEmpty,\n } from 'lodash';\n import AppLink from '../widgets/AppLink.vue';\n import Tooltip from '../widgets/Tooltip.vue';\n import Distributions from './distributions/Distributions.vue';\n import dateFilters from '../filters/dateFilters';\n import {\n getTranslationFor, getCountryFlagImg, truncate, replaceHttp, appendCurrentLocaleToURL\n } from '../utils/helpers';\n import ResourceAccessPopup from '../widgets/ResourceAccessPopup.vue';\n import DatasetDetailsExtendedMetaData\n from \"../datasetDetails/features/DatasetDetailsIsUsedBy.vue\";\n import DatasetDetailsSkeleton from \"../datasetDetails/DatasetDetailsSkeleton.vue\";\n import * as metaInfo from '../composables/head';\n\n export default {\n name: 'datasetDetailsDataset',\n components: {\n DatasetDetailsSkeleton,\n DatasetDetailsExtendedMetaData,\n AppLink,\n Tooltip,\n Distributions,\n ResourceAccessPopup\n },\n props: {\n distributionVisibleContent: {\n type: Array,\n default: () => ['license', 'licenseAttributionByText', 'modificationDate'],\n },\n distributionExpandedContent: {\n type: Array,\n default: () => [\n 'releaseDate',\n 'language',\n 'availability',\n 'status',\n 'rights',\n 'mediaType',\n 'byteSize',\n 'checksum',\n 'pages',\n 'type',\n 'compressFormat',\n 'packageFormat',\n 'hasPolicy',\n 'conformsTo',\n 'spatialResolutionInMeters',\n 'temporalResolution',\n ],\n },\n showDatasetDescription: {\n type: Boolean,\n default: () => true,\n },\n showDatasetProperties: {\n type: Boolean,\n default: () => true,\n },\n showPublisher: {\n type: Boolean,\n default: () => false,\n },\n embed: {\n type: Boolean,\n default: () => false,\n },\n },\n data() {\n return {\n defaultLocale: this.$env.languages.locale,\n // has to be INITIAL_DATASET_DESCRIPTION_LENGTH\n isDatasetDescriptionExpanded: false,\n loadingDatasetDetails: false,\n machineTranslated: false,\n translationNotAvailable: false,\n expandedDistributions: [],\n expandedDistributionDescriptions: [],\n distributions: {\n displayAll: this.$env.content.datasetDetails.distributions.displayAll,\n displayCount: this.$env.content.datasetDetails.distributions.displayCount,\n incrementSteps: this.$env.content.datasetDetails.distributions.incrementSteps,\n descriptionMaxLines: this.$env.content.datasetDetails.distributions.descriptionMaxLines,\n descriptionMaxChars: this.$env.content.datasetDetails.distributions.descriptionMaxChars,\n licencingAssistantUrl: this.$env.content.datasetDetails.distributions.licencingAssistantUrl,\n },\n pages: {\n isVisible: this.$env.content.datasetDetails.pages.isVisible,\n displayAll: this.$env.content.datasetDetails.pages.displayAll,\n displayCount: this.$env.content.datasetDetails.pages.displayCount,\n incrementSteps: this.$env.content.datasetDetails.pages.incrementSteps,\n descriptionMaxLines: this.$env.content.datasetDetails.pages.descriptionMaxLines,\n descriptionMaxChars: this.$env.content.datasetDetails.pages.descriptionMaxChars,\n },\n showDescription: true,\n };\n },\n computed: {\n // import store-getters\n ...mapGetters('datasetDetails', [\n 'getKeywords',\n 'getAccessRights',\n 'getAccrualPeriodicity',\n 'getCatalog',\n 'getContactPoints',\n 'getDateIncorrect',\n 'getDescription',\n 'getDistributions',\n 'getID',\n 'getLanguages',\n 'getLicences',\n 'getModificationDate',\n 'getOtherIdentifiers',\n 'getPages',\n 'getPublisher',\n 'getReleaseDate',\n 'getSpatial',\n 'getTranslationMetaData',\n 'getTitle'\n ]),\n dateIncorrect() {\n return this.getDateIncorrect;\n },\n displayedDistributions() {\n const sorted = [...this.getDistributions].sort((a, b) => {\n if (getTranslationFor(a.title, this.$route.query.locale, this.getLanguages) < getTranslationFor(b.title, this.$route.query.locale, this.getLanguages)) { return -1; }\n if (getTranslationFor(a.title, this.$route.query.locale, this.getLanguages) > getTranslationFor(b.title, this.$route.query.locale, this.getLanguages)) { return 1; }\n return 0;\n });\n return this.distributions.displayAll\n ? Object.freeze(sorted)\n : Object.freeze(sorted.slice(0, this.distributions.displayCount));\n },\n isDistributionsAllDisplayed() {\n return this.distributions.displayCount === this.getDistributions.length;\n },\n remainingDistributions() {\n return this.getDistributions.length - this.distributions.displayCount;\n }\n },\n methods: {\n ...mapActions('datasetDetails', [\n 'loadDatasetDetails',\n 'setLoading',\n ]),\n has,\n isNil,\n isArray,\n isObject,\n isString,\n isNumber,\n appendCurrentLocaleToURL,\n getTranslationFor,\n getCountryFlagImg,\n truncate,\n replaceHttp,\n initDatasetDetails() {\n this.piwikMetaPush();\n setTimeout(() => {\n if (typeof this.$piwik?.resume === \"function\") this.$piwik.resume();\n }, 500);\n this.$nextTick(() => {\n // Display/hide translation banners\n this.setTranslationBanners();\n $('[data-toggle=\"tooltip\"]').tooltip({\n container: 'body',\n });\n });\n },\n setDistributionsDisplayCount(count: number) {\n this.distributions.displayCount = count;\n },\n openModal(callback, toggleDownloadPopup) {\n this.$refs.externalResourceModal.openModal(callback, toggleDownloadPopup)\n },\n previewLinkCallback(distribution) {\n return () => {\n this.$emit('track-link', this.getVisualisationLink(distribution), 'link');\n window.open(this.getVisualisationLink(distribution), '_blank');\n };\n },\n filterDateFormatEU(date) {\n return dateFilters.formatEU(date);\n },\n /* ABSTRACT SHOW FUNCTIONS */\n showString(string) {\n return !isNil(string) && isString(string);\n },\n showNumber(number) {\n return !isNil(number) && isNumber(number);\n },\n showObject(object) {\n return !isNil(object) && isObject(object) && !Object.values(object).reduce((keyUndefined, currentValue) => keyUndefined && currentValue === undefined, true);\n },\n showArray(array) {\n return !isNil(array) && isArray(array) && array.length > 0;\n },\n showObjectArray(objectArray) {\n return this.showArray(objectArray) && !objectArray.reduce((objectUndefined, currentObject) => objectUndefined && Object.values(currentObject).reduce((keyUndefined, currentValue) => keyUndefined && currentValue === undefined, true), true);\n },\n /* SPECIFIC SHOW FUNCTIONS */\n /* for now show all licences */\n showLicence(licence) {\n // return (has(licence, 'id') && !isNil(licence.id))\n // || (has(licence, 'label') && !isNil(licence.label))\n return true\n },\n showLicensingAssistant(distribution) {\n return has(distribution, 'licence.la_url') && this.showString(distribution.licence.la_url);\n },\n showDownloadDropdown(distribution) {\n return this.showAccessUrls(distribution) || this.showDownloadUrls(distribution);\n },\n isOnlyOneUrl(distribution) {\n return (this.showAccessUrls(distribution) && !this.showDownloadUrls(distribution))\n || (!this.showAccessUrls(distribution) && this.showDownloadUrls(distribution) && distribution.downloadUrls.length === 1);\n },\n getDownloadUrl(distribution) {\n let url;\n if (this.showAccessUrls(distribution) && !this.showDownloadUrls(distribution)) {\n url = distribution.accessUrl[0];\n }\n if (!this.showAccessUrls(distribution) && this.showDownloadUrls(distribution) && distribution.downloadUrls.length === 1) {\n url = distribution.downloadUrls[0];\n }\n return url;\n },\n showAccessUrls(distribution) {\n return has(distribution, 'accessUrl') && this.showArray(distribution.accessUrl);\n },\n showDownloadUrls(distribution) {\n return has(distribution, 'downloadUrls') && this.showArray(distribution.downloadUrls);\n },\n showKeyword(keyword) {\n return has(keyword, 'id')\n && has(keyword, 'title')\n && !isNil(keyword.id)\n && !isNil(keyword.title);\n },\n\n /* GETTER / SETTER FUNCTIONS */\n\n setDatasetOriginalLanguage(originalLanguage) {\n this.$i18n.locale = originalLanguage;\n },\n distributionIsExpanded(id) {\n setTimeout(() => {\n $('[data-toggle=\"tooltip\"]').tooltip({\n container: 'body',\n });\n }, 500);\n return this.expandedDistributions.includes(id);\n },\n distributionDescriptionIsExpanded(id) {\n return this.expandedDistributionDescriptions.includes(id);\n },\n distributionDescriptionIsExpandable(description) {\n return isNil(description) ? false : description.length > this.distributions.descriptionMaxChars;\n },\n getDistributionFormat(distribution) {\n return has(distribution, 'format.label') && !isNil(distribution.format.label) ? distribution.format.label : '';\n },\n distributionFormatTruncated(distribution) {\n return this.getDistributionFormat(distribution).length > 4;\n },\n getDistributionTitle(distribution) {\n return distribution.title\n ? getTranslationFor(distribution.title, this.$route.query.locale, this.getLanguages)\n : this.getID || '-';\n },\n getVisualisationLink(distribution) {\n // Return Visualisation Link\n const accessUrl = distribution.downloadUrls && distribution.downloadUrls.length ? distribution.downloadUrls[0] : distribution.accessUrl[0];\n return `/data/visualisation/?file=${encodeURIComponent(accessUrl)}`;\n },\n // getSubjectLink(subject) {\n // return { path: `/datasets?subject=${subject.id}`, query: Object.assign({}, { locale: this.$route.query.locale }) };\n // },\n toggleDistribution(id) {\n const index = this.expandedDistributions.indexOf(id);\n if (index > -1) this.expandedDistributions.splice(index, 1);\n else this.expandedDistributions.push(id);\n },\n toggleDistributionDescription(id) {\n const index = this.expandedDistributionDescriptions.indexOf(id);\n if (index > -1) this.expandedDistributionDescriptions.splice(index, 1);\n else this.expandedDistributionDescriptions.push(id);\n },\n setTranslationBanners() {\n if (!this.$i18n) return;\n const translationMetaData = this.getTranslationMetaData;\n // Check if translation of dataset is available in selected language\n if (!isNil(translationMetaData.details) && has(translationMetaData.details, this.$route.query.locale)) {\n // Check if dataset if machine translated\n this.machineTranslated = translationMetaData.details[this.$route.query.locale].machine_translated;\n } else {\n // No translation of this dataset available for the selected language\n this.translationNotAvailable = true;\n }\n },\n // Emit a Matomo event when user clicks on 'go to resource' element\n trackGoto() {\n const paq = window._paq || []; // eslint-disable-line\n // paq.push(['trackEvent', 'GoToResource', 'Clicked']);\n this.$piwik.trackGotoResource();\n },\n clamp(n, min, max) {\n return Math.min(Math.max(n, min), max);\n },\n // Increases the current number of distributions displayed\n // and clamps the result so that it never exceeds the number of all distributions.\n increaseNumDisplayedDistributions(increment) {\n const clampedSum = this.clamp(this.distributions.displayCount + increment, 0, this.getDistributions.length);\n this.distributions.displayCount = clampedSum;\n },\n nonOverflowingIncrementsForDistributions(incrementStep) {\n return this.distributions.displayCount + incrementStep <= this.getDistributions.length;\n },\n // Increases the current number of distributions displayed\n // and clamps the result so that it never exceeds the number of all distributions.\n increaseNumDisplayedPages(increment) {\n const clampedSum = this.clamp(this.pages.displayCount + increment, 0, this.getPages.length);\n this.pages.displayCount = clampedSum;\n },\n nonOverflowingIncrementsForPages(incrementStep) {\n return this.pages.displayCount + incrementStep <= this.getPages.length;\n },\n piwikMetaPush() {\n this.$piwik.trackDatasetDetailsPageView(null, null, {\n dataset_AccessRights: this.getAccessRights,\n dataset_AccrualPeriodicity: this.getAccrualPeriodicity,\n dataset_Catalog: this.getCatalog,\n // dataset_Categories: this.getCategories,\n // dataset_ConformsTo: this.getConformsTo,\n // dataset_ContactPoints: this.getContactPoints,\n // dataset_Country: this.getCountry,\n // dataset_Creator: this.getCreator,\n // dataset_Description: this.getDescription,\n // dataset_Distributions: this.getDistributions,\n // dataset_DistributionFormats: this.getDistributionFormats,\n // dataset_Documentations: this.getDocumentations,\n // dataset_Frequency: this.getFrequency,\n // dataset_HasVersion: this.getHasVersion,\n dataset_ID: this.getID,\n // dataset_Identifiers: this.getIdentifiers,\n // dataset_IdName: this.getIdName,\n // dataset_IsVersionOf: this.getIsVersionOf,\n // datest_Keywords: this.getKeywords,\n // dataset_LandingPages: this.getLandingPagesResource,\n // dataset_Languages: this.getLanguages,\n // dataset_Licences: this.getLicences,\n // dataset_Loading: this.getLoading,\n // dataset_ModificationDate: this.getModificationDate,\n // dataset_OriginalLanguage: this.getOriginalLanguage,\n // dataset_OtherIdentifiers: this.getOtherIdentifiers,\n // dataset_Pages: this.getPages,\n // dataset_Provenances: this.getProvenances,\n dataset_Publisher: this.getPublisher,\n // dataset_RelatedResources: this.getRelatedResources,\n // dataset_ReleaseDate: this.getReleaseDate,\n // dataset_Sources: this.getSources,\n // dataset_Spatial: this.getSpatial,\n // dataset_SpatialResource: this.getSpatialResource,\n // dataset_Temporal: this.getTemporal,\n dataset_Title: this.getTitle,\n // dataset_TranslationMetaData: this.getTranslationMetaData,\n // dataset_VersionInfo: this.getVersionInfo,\n // dataset_VersionNotes: this.getVersionNotes,\n });\n },\n isUrlInvalid(url) {\n if (url) {\n try {\n /* eslint-disable no-useless-escape */\n return !(new RegExp(\"^((https?:\\/\\/(www\\.)?)([-a-zA-Z0-9@:%._\\+~#=]{1,256})([-a-zA-Z0-9()@:%_\\+.~#?&//=]*))$\", \"i\")).test(decodeURIComponent(url.split(\"=\").pop()));\n /* eslint-enable no-useless-escape */\n } catch (e) {\n console.error(e);\n }\n }\n },\n openIfValidUrl(isValid, previewLinkCallback, distribution, event) {\n if (isValid) {\n // for (let key in this.$children) {\n // if(this.$children[key].$refs[\"externalResourceModal\"]) {\n // this.$children[key].$refs[\"externalResourceModal\"].openModal(previewLinkCallback(distribution), false);\n // }\n // }\n this.openModal(previewLinkCallback(distribution), false);\n } else {\n event.preventDefault();\n event.stopPropagation();\n }\n },\n showTooltipVisualiseButton(invalidUrl) {\n if (invalidUrl) {\n return this.$t('message.tooltip.invalidVisualise');\n }\n return ''\n },\n },\n mounted() {\n // Duplicated API call, execute only if data not already loaded\n if (this.$route.params.ds_id !== this.getID) {\n this.$Progress.start();\n this.loadingDatasetDetails = true;\n this.loadDatasetDetails(this.$route.params.ds_id)\n .then(() => {\n this.$Progress.finish();\n this.loadingDatasetDetails = false;\n this.initDatasetDetails();\n })\n .catch((err) => {\n console.warn(err); // eslint-disable-line\n this.$Progress.fail();\n if (typeof this.$piwik?.resume === \"function\") this.$piwik.resume();\n this.$router.replace({\n name: 'NotFound',\n query: { locale: this.$route.query.locale, dataset: this.$route.params.ds_id },\n });\n })\n .finally(() => this.$root.$emit('contentLoaded'));\n } else {\n this.initDatasetDetails();\n this.$root.$emit('contentLoaded')\n }\n\n const distributionsConf = this.$env.content.datasetDetails && this.$env.content.datasetDetails.distributions;\n if (distributionsConf) {\n this.distributions.displayAll = distributionsConf.displayAll || this.distributions.displayAll;\n this.distributions.displayCount = parseInt(distributionsConf.displayCount, 10) || this.distributions.displayCount;\n\n if (typeof distributionsConf.incrementSteps === 'string') {\n // Need to parse as json array since env variables are string only\n distributionsConf.incrementSteps = JSON.parse(distributionsConf.incrementSteps);\n }\n this.distributions.incrementSteps = distributionsConf.incrementSteps || this.distributions.incrementSteps;\n }\n\n if (this.distributions.displayAll) this.distributions.displayCount = this.getDistributions.length;\n\n const pagesConf = this.$env.content.datasetDetails && this.$env.content.datasetDetails.pages;\n if (pagesConf) {\n this.pages.displayAll = pagesConf.displayAll || this.pages.displayAll;\n this.pages.displayCount = parseInt(pagesConf.displayCount, 10) || this.pages.displayCount;\n\n if (typeof pagesConf.incrementSteps === 'string') {\n // Need to parse as json array since env variables are string only\n pagesConf.incrementSteps = JSON.parse(pagesConf.incrementSteps);\n }\n this.pages.incrementSteps = pagesConf.incrementSteps || this.pages.incrementSteps;\n }\n\n if (this.pages.displayAll) this.pages.displayCount = this.getPages.length;\n },\n beforeUnmount() {\n $('.tooltip').remove();\n },\n setup() {\n metaInfo.useDatasetDetailsDatasetHead();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped>\n\n .catalogue-label {\n white-space: pre-line;\n }\n\n .cursor-pointer {\n cursor: pointer;\n }\n\n .tag-color {\n background-color: var(--tag-color);\n }\n\n .btn-color {\n &:hover {\n background-color: #196fd2;\n border-color: #196fd2;\n }\n }\n\n .heading, .arrow, .copy-text {\n cursor: pointer;\n }\n\n .details-link {\n cursor: pointer;\n\n &:hover {\n text-decoration: underline;\n }\n }\n\n .text-break {\n word-break: break-word;\n }\n\n td {\n padding-left: 0 !important;\n padding-top: 1% !important;\n padding-bottom: 1% !important;\n }\n\n .download-all-btn {\n min-width: 100px;\n height: 31px;\n }\n\n .d-inline-table {\n display: inline-table;\n }\n\n /*** BOOTSTRAP ***/\n button:focus {\n outline:0;\n }\n .options, .download {\n .dropdown-menu {\n .dropdown-item {\n &:hover {\n color: initial;\n background-color: initial;\n }\n }\n }\n }\n.spinner-grow {\n width: 20px;\n height: 20px;\n}\n\n /*** FONT AWESOME ICONS ***/\n .fa-check-square {\n color: #28a745;\n width: 16px;\n height: 16px;\n }\n\n /*** MATERIAL ICONS ***/\n %modal-icon {\n font-size: 18px;\n cursor: default;\n }\n\n .help-icon {\n @extend %modal-icon;\n }\n\n .check-icon {\n @extend %modal-icon;\n color: #28a745;\n }\n\n .material-icons.small-icon {\n font-size: 20px;\n }\n\n .distributions {\n\n &__item {\n position: relative;\n\n &--preview {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, white 55%);\n z-index: 10;\n }\n }\n\n &__actions {\n display: flex;\n justify-content: center;\n align-items: flex-end;\n height: 100%;\n z-index: 11;\n }\n }\n .mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .keywords {\n\n &__item {\n position: relative;\n }\n\n &__actions {\n display: flex;\n justify-content: center;\n align-items: flex-end;\n height: 100%;\n z-index: 11;\n }\n }\n .sectionList {\n list-style-type: '→ ';\n margin-left:6.5%;\n }\n @media only screen and (max-width: 991px) {\n .sectionList {\n margin-left: 0;\n }\n}\n</style>\n"],"names":["_sfc_main","DatasetDetailsSkeleton","DatasetDetailsExtendedMetaData","AppLink","Tooltip","Distributions","ResourceAccessPopup","mapGetters","sorted","a","b","getTranslationFor","mapActions","has","isNil","isArray","isObject","isString","isNumber","appendCurrentLocaleToURL","getCountryFlagImg","truncate","replaceHttp","_a","$","count","callback","toggleDownloadPopup","distribution","date","dateFilters","string","number","object","keyUndefined","currentValue","array","objectArray","objectUndefined","currentObject","licence","url","keyword","originalLanguage","id","description","accessUrl","index","translationMetaData","n","min","max","increment","clampedSum","incrementStep","isValid","previewLinkCallback","event","invalidUrl","err","distributionsConf","pagesConf","metaInfo.useDatasetDetailsDatasetHead"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4GE,MAAeA,IAAA;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,wBAAAC;AAAA,IAAA,gCACAC;AAAAA,IACA,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,qBAAAC;AAAA,EACF;AAAA,EACA,OAAO;AAAA,IACL,4BAA4B;AAAA,MAC1B,MAAM;AAAA,MACN,SAAS,MAAM,CAAC,WAAW,4BAA4B,kBAAkB;AAAA,IAC3E;AAAA,IACA,6BAA6B;AAAA,MAC3B,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,QACX;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACJ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,uBAAuB;AAAA,MACrB,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,eAAe;AAAA,MACb,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,IACA,OAAO;AAAA,MACL,MAAM;AAAA,MACN,SAAS,MAAM;AAAA,IACjB;AAAA,EACF;AAAA,EACA,OAAO;AACE,WAAA;AAAA,MACL,eAAe,KAAK,KAAK,UAAU;AAAA;AAAA,MAEnC,8BAA8B;AAAA,MAC9B,uBAAuB;AAAA,MACvB,mBAAmB;AAAA,MACnB,yBAAyB;AAAA,MACzB,uBAAuB,CAAC;AAAA,MACxB,kCAAkC,CAAC;AAAA,MACnC,eAAe;AAAA,QACb,YAAY,KAAK,KAAK,QAAQ,eAAe,cAAc;AAAA,QAC3D,cAAc,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A,EAAkB,kBAAkB,KAAK,cAAc,iBAGzF,KAAK,cAAc,eAAiB,KAAA,cAAc,eAAe,KAAK,iBAAiB;AAErF,UAAAC,IAAY,KAAK,KAAK,QAAQ,kBAAkB,KAAK,KAAK,QAAQ,eAAe;AACvF,IAAIA,MACF,KAAK,MAAM,aAAaA,EAAU,cAAc,KAAK,MAAM,YACtD,KAAA,MAAM,eAAe,SAASA,EAAU,cAAc,EAAE,KAAK,KAAK,MAAM,cAEzE,OAAOA,EAAU,kBAAmB,aAEtCA,EAAU,iBAAiB,KAAK,MAAMA,EAAU,cAAc,IAEhE,KAAK,MAAM,iBAAiBA,EAAU,kBAAkB,KAAK,MAAM,iBAGjE,KAAK,MAAM,eAAiB,KAAA,MAAM,eAAe,KAAK,SAAS;AAAA,EACrE;AAAA,EACA,gBAAgB;AACZ,IAAArC,EAAA,UAAU,EAAE;EAChB;AAAA,EACA,QAAQ;AACNsC,IAAAA;EACF;AACF;"}
|
|
@@ -46,13 +46,13 @@ const B = {
|
|
|
46
46
|
}, I = {
|
|
47
47
|
key: 0,
|
|
48
48
|
class: "distribution-license-tr distribution-content-tr"
|
|
49
|
-
},
|
|
49
|
+
}, U = { class: "w-25 font-weight-bold" }, _ = { key: 0 }, P = { key: 1 }, E = {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: "distribution-licenseAttributionByText-tr distribution-content-tr"
|
|
52
|
-
},
|
|
52
|
+
}, M = { class: "w-25 font-weight-bold" }, S = {
|
|
53
53
|
key: 2,
|
|
54
54
|
class: "distribution-updateDate-tr distribution-content-tr"
|
|
55
|
-
}, z = { class: "w-25 font-weight-bold" },
|
|
55
|
+
}, z = { class: "w-25 font-weight-bold" }, q = { key: 0 }, V = { key: 1 }, G = { key: 2 }, H = {
|
|
56
56
|
key: 3,
|
|
57
57
|
class: "distribution-modificationDate-tr distribution-content-tr"
|
|
58
58
|
}, J = { class: "w-25 font-weight-bold" }, K = {
|
|
@@ -88,7 +88,7 @@ const B = {
|
|
|
88
88
|
}, bt = { class: "w-25 font-weight-bold" }, mt = { key: 0 }, gt = {
|
|
89
89
|
key: 14,
|
|
90
90
|
class: "distribution-compressFormat-tr distribution-content-tr"
|
|
91
|
-
},
|
|
91
|
+
}, yt = { class: "w-25 font-weight-bold" }, kt = { key: 0 }, ft = { key: 1 }, ct = {
|
|
92
92
|
key: 15,
|
|
93
93
|
class: "distribution-packageFormat-tr distribution-content-tr"
|
|
94
94
|
}, wt = { class: "w-25 font-weight-bold" }, ht = { key: 0 }, Dt = { key: 1 }, vt = {
|
|
@@ -103,17 +103,17 @@ const B = {
|
|
|
103
103
|
}, jt = { class: "w-25 font-weight-bold" }, Bt = { key: 0 }, Ot = {
|
|
104
104
|
key: 19,
|
|
105
105
|
class: "distribution-temporalResolution-tr distribution-content-tr"
|
|
106
|
-
}, It = { class: "w-25 font-weight-bold" },
|
|
106
|
+
}, It = { class: "w-25 font-weight-bold" }, Ut = {
|
|
107
107
|
key: 20,
|
|
108
108
|
class: "distribution-validate-tr distribution-content-tr"
|
|
109
|
-
},
|
|
110
|
-
function
|
|
111
|
-
const
|
|
109
|
+
}, _t = { key: 0 };
|
|
110
|
+
function Pt(s, i, t, Et, Mt, a) {
|
|
111
|
+
const y = h("tooltip"), k = h("app-link");
|
|
112
112
|
return n(), o("table", O, [
|
|
113
113
|
(n(!0), o(c, null, w(t.contentList, (m) => (n(), o(c, null, [
|
|
114
114
|
m === "license" ? (n(), o("tr", I, [
|
|
115
|
-
d("td",
|
|
116
|
-
b(
|
|
115
|
+
d("td", U, [
|
|
116
|
+
b(y, {
|
|
117
117
|
title: s.$t("message.tooltip.datasetDetails.distributions.licence")
|
|
118
118
|
}, {
|
|
119
119
|
default: u(() => [
|
|
@@ -123,8 +123,8 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
123
123
|
}, 8, ["title"])
|
|
124
124
|
]),
|
|
125
125
|
i[9] || (i[9] = e()),
|
|
126
|
-
t.showObject(t.distribution.licence) && t.showLicence(t.distribution.licence) ? (n(), o("td",
|
|
127
|
-
b(
|
|
126
|
+
t.showObject(t.distribution.licence) && t.showLicence(t.distribution.licence) ? (n(), o("td", _, [
|
|
127
|
+
b(k, {
|
|
128
128
|
to: t.distribution.licence.resource,
|
|
129
129
|
target: "_blank",
|
|
130
130
|
onClick: i[0] || (i[0] = (g) => s.$emit("track-link", t.distribution.licence.resource, "link"))
|
|
@@ -135,8 +135,8 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
135
135
|
_: 1
|
|
136
136
|
}, 8, ["to"]),
|
|
137
137
|
i[6] || (i[6] = e()),
|
|
138
|
-
b(
|
|
139
|
-
to: t.distribution.licence.resource,
|
|
138
|
+
b(k, {
|
|
139
|
+
to: this.$env.content.datasetDetails.distributions.licencingAssistantUrl ? `${this.$env.content.datasetDetails.distributions.licencingAssistantUrl}?locale=${s.$route.query.locale}` : t.distribution.licence.resource,
|
|
140
140
|
target: "_blank",
|
|
141
141
|
"data-toggle": "tooltip",
|
|
142
142
|
isTooltip: "true",
|
|
@@ -150,7 +150,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["to", "title"]),
|
|
152
152
|
i[7] || (i[7] = e()),
|
|
153
|
-
t.showLicensingAssistant(t.distribution) ? (n(), D(
|
|
153
|
+
t.showLicensingAssistant(t.distribution) ? (n(), D(k, {
|
|
154
154
|
key: 0,
|
|
155
155
|
to: t.distribution.licence.la_url,
|
|
156
156
|
target: "_blank",
|
|
@@ -162,7 +162,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
162
162
|
_: 1
|
|
163
163
|
}, 8, ["to"])) : r("", !0),
|
|
164
164
|
i[8] || (i[8] = e()),
|
|
165
|
-
t.showLicensingAssistant(t.distribution) ? (n(), D(
|
|
165
|
+
t.showLicensingAssistant(t.distribution) ? (n(), D(k, {
|
|
166
166
|
key: 1,
|
|
167
167
|
to: t.distribution.licence.la_url,
|
|
168
168
|
target: "_blank",
|
|
@@ -173,12 +173,12 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
173
173
|
])),
|
|
174
174
|
_: 1
|
|
175
175
|
}, 8, ["to"])) : r("", !0)
|
|
176
|
-
])) : (n(), o("td",
|
|
176
|
+
])) : (n(), o("td", P, l(s.$t("message.distributionLicense.notProvided")), 1))
|
|
177
177
|
])) : r("", !0),
|
|
178
178
|
i[33] || (i[33] = e()),
|
|
179
|
-
m === "licenseAttributionByText" && a.has(t.distribution, "licenseAttributionByText") && !a.isNil(t.distribution.licenseAttributionByText) && !a.isNil(a.getTranslationFor(t.distribution.licenseAttributionByText)) ? (n(), o("tr",
|
|
180
|
-
d("td",
|
|
181
|
-
b(
|
|
179
|
+
m === "licenseAttributionByText" && a.has(t.distribution, "licenseAttributionByText") && !a.isNil(t.distribution.licenseAttributionByText) && !a.isNil(a.getTranslationFor(t.distribution.licenseAttributionByText)) ? (n(), o("tr", E, [
|
|
180
|
+
d("td", M, [
|
|
181
|
+
b(y, {
|
|
182
182
|
title: s.$t("message.tooltip.datasetDetails.distributions.licenseAttributionByText")
|
|
183
183
|
}, {
|
|
184
184
|
default: u(() => [
|
|
@@ -191,9 +191,9 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
191
191
|
d("td", null, l(a.getTranslationFor(t.distribution.licenseAttributionByText)), 1)
|
|
192
192
|
])) : r("", !0),
|
|
193
193
|
i[34] || (i[34] = e()),
|
|
194
|
-
m === "updateDate" ? (n(), o("tr",
|
|
194
|
+
m === "updateDate" ? (n(), o("tr", S, [
|
|
195
195
|
d("td", z, [
|
|
196
|
-
b(
|
|
196
|
+
b(y, {
|
|
197
197
|
title: s.$t("message.tooltip.datasetDetails.distributions.updated")
|
|
198
198
|
}, {
|
|
199
199
|
default: u(() => [
|
|
@@ -203,14 +203,14 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
203
203
|
}, 8, ["title"])
|
|
204
204
|
]),
|
|
205
205
|
i[11] || (i[11] = e()),
|
|
206
|
-
a.has(t.distribution, "modificationDate") && !a.isNil(t.distribution.modificationDate) ? (n(), o("td",
|
|
206
|
+
a.has(t.distribution, "modificationDate") && !a.isNil(t.distribution.modificationDate) ? (n(), o("td", q, l(t.filterDateFormatEU(t.distribution.modificationDate)), 1)) : a.has(t.distribution, "releaseDate") && !a.isNil(t.distribution.releaseDate) ? (n(), o("td", V, l(t.filterDateFormatEU(t.distribution.releaseDate)), 1)) : (n(), o("td", G, `
|
|
207
207
|
Unbekannt
|
|
208
208
|
`))
|
|
209
209
|
])) : r("", !0),
|
|
210
210
|
i[35] || (i[35] = e()),
|
|
211
211
|
m === "modificationDate" && a.has(t.distribution, "modificationDate") && !a.isNil(t.distribution.modificationDate) ? (n(), o("tr", H, [
|
|
212
212
|
d("td", J, [
|
|
213
|
-
b(
|
|
213
|
+
b(y, {
|
|
214
214
|
title: s.$t("message.tooltip.datasetDetails.distributions.updated")
|
|
215
215
|
}, {
|
|
216
216
|
default: u(() => [
|
|
@@ -225,7 +225,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
225
225
|
i[36] || (i[36] = e()),
|
|
226
226
|
m === "releaseDate" && a.has(t.distribution, "releaseDate") && !a.isNil(t.distribution.releaseDate) ? (n(), o("tr", K, [
|
|
227
227
|
d("td", Q, [
|
|
228
|
-
b(
|
|
228
|
+
b(y, {
|
|
229
229
|
title: s.$t("message.tooltip.datasetDetails.distributions.created")
|
|
230
230
|
}, {
|
|
231
231
|
default: u(() => [
|
|
@@ -240,7 +240,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
240
240
|
i[37] || (i[37] = e()),
|
|
241
241
|
m === "language" && a.has(t.distribution, "languages") && t.showArray(t.distribution.languages) ? (n(), o("tr", W, [
|
|
242
242
|
d("td", X, [
|
|
243
|
-
b(
|
|
243
|
+
b(y, {
|
|
244
244
|
title: s.$t("message.tooltip.datasetDetails.distributions.language")
|
|
245
245
|
}, {
|
|
246
246
|
default: u(() => [
|
|
@@ -259,7 +259,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
259
259
|
i[38] || (i[38] = e()),
|
|
260
260
|
m === "availability" && a.has(t.distribution, "availability") && t.showObject(t.distribution.availability) && !a.isNil(t.distribution.availability.label) ? (n(), o("tr", Y, [
|
|
261
261
|
d("td", Z, [
|
|
262
|
-
b(
|
|
262
|
+
b(y, {
|
|
263
263
|
title: s.$t("message.tooltip.datasetDetails.distributions.availability")
|
|
264
264
|
}, {
|
|
265
265
|
default: u(() => [
|
|
@@ -274,7 +274,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
274
274
|
i[39] || (i[39] = e()),
|
|
275
275
|
m === "status" && a.has(t.distribution, "status") && t.showObject(t.distribution.status) ? (n(), o("tr", x, [
|
|
276
276
|
d("td", $, [
|
|
277
|
-
b(
|
|
277
|
+
b(y, {
|
|
278
278
|
title: s.$t("message.tooltip.datasetDetails.distributions.status")
|
|
279
279
|
}, {
|
|
280
280
|
default: u(() => [
|
|
@@ -291,7 +291,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
291
291
|
i[40] || (i[40] = e()),
|
|
292
292
|
m === "rights" && a.has(t.distribution, "rights") && t.showObject(t.distribution.rights) ? (n(), o("tr", tt, [
|
|
293
293
|
d("td", it, [
|
|
294
|
-
b(
|
|
294
|
+
b(y, {
|
|
295
295
|
title: s.$t("message.tooltip.datasetDetails.distributions.rights")
|
|
296
296
|
}, {
|
|
297
297
|
default: u(() => [
|
|
@@ -308,7 +308,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
308
308
|
i[41] || (i[41] = e()),
|
|
309
309
|
m === "mediaType" && a.has(t.distribution, "mediaType") && !a.isNil(t.distribution.mediaType) ? (n(), o("tr", et, [
|
|
310
310
|
d("td", st, [
|
|
311
|
-
b(
|
|
311
|
+
b(y, {
|
|
312
312
|
title: s.$t("message.tooltip.datasetDetails.distributions.mediaType")
|
|
313
313
|
}, {
|
|
314
314
|
default: u(() => [
|
|
@@ -323,7 +323,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
323
323
|
i[42] || (i[42] = e()),
|
|
324
324
|
m === "byteSize" && a.has(t.distribution, "byteSize") && !a.isNil(t.distribution.byteSize) ? (n(), o("tr", at, [
|
|
325
325
|
d("td", lt, [
|
|
326
|
-
b(
|
|
326
|
+
b(y, {
|
|
327
327
|
title: s.$t("message.tooltip.datasetDetails.distributions.byteSize")
|
|
328
328
|
}, {
|
|
329
329
|
default: u(() => [
|
|
@@ -338,7 +338,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
338
338
|
i[43] || (i[43] = e()),
|
|
339
339
|
m === "checksum" && a.has(t.distribution, "checksum") && !a.isNil(t.distribution.checksum) && a.has(t.distribution.checksum, "algorithm") && !a.isNil(t.distribution.checksum.algorithm) && a.has(t.distribution.checksum, "checksum_value") && !a.isNil(t.distribution.checksum.checksum_value) ? (n(), o("tr", nt, [
|
|
340
340
|
d("td", ot, [
|
|
341
|
-
b(
|
|
341
|
+
b(y, {
|
|
342
342
|
title: s.$t("message.tooltip.datasetDetails.distributions.checksum")
|
|
343
343
|
}, {
|
|
344
344
|
default: u(() => [
|
|
@@ -360,7 +360,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
360
360
|
i[22] || (i[22] = e()),
|
|
361
361
|
d("td", null, [
|
|
362
362
|
(n(!0), o(c, null, w(t.distribution.pages, (g, f) => (n(), o("div", { key: f }, [
|
|
363
|
-
b(
|
|
363
|
+
b(k, {
|
|
364
364
|
to: g.resource
|
|
365
365
|
}, {
|
|
366
366
|
default: u(() => [
|
|
@@ -374,7 +374,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
374
374
|
i[45] || (i[45] = e()),
|
|
375
375
|
m === "type" && a.has(t.distribution, "type") && t.showObject(t.distribution.type) ? (n(), o("tr", ut, [
|
|
376
376
|
d("td", bt, [
|
|
377
|
-
b(
|
|
377
|
+
b(y, {
|
|
378
378
|
title: s.$t("message.tooltip.datasetDetails.distributions.type")
|
|
379
379
|
}, {
|
|
380
380
|
default: u(() => [
|
|
@@ -390,8 +390,8 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
390
390
|
])) : r("", !0),
|
|
391
391
|
i[46] || (i[46] = e()),
|
|
392
392
|
m === "compressFormat" && a.has(t.distribution, "compressFormat") && t.showObject(t.distribution.compressFormat) ? (n(), o("tr", gt, [
|
|
393
|
-
d("td",
|
|
394
|
-
b(
|
|
393
|
+
d("td", yt, [
|
|
394
|
+
b(y, {
|
|
395
395
|
title: s.$t("message.tooltip.datasetDetails.distributions.compressFormat")
|
|
396
396
|
}, {
|
|
397
397
|
default: u(() => [
|
|
@@ -402,7 +402,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
402
402
|
]),
|
|
403
403
|
i[25] || (i[25] = e()),
|
|
404
404
|
d("td", null, [
|
|
405
|
-
a.isNil(t.distribution.compressFormat.label) ? r("", !0) : (n(), o("div",
|
|
405
|
+
a.isNil(t.distribution.compressFormat.label) ? r("", !0) : (n(), o("div", kt, l(t.distribution.compressFormat.label), 1)),
|
|
406
406
|
i[24] || (i[24] = e()),
|
|
407
407
|
a.isNil(t.distribution.compressFormat.resource) ? r("", !0) : (n(), o("div", ft, l(t.distribution.compressFormat.resource), 1))
|
|
408
408
|
])
|
|
@@ -410,7 +410,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
410
410
|
i[47] || (i[47] = e()),
|
|
411
411
|
m === "packageFormat" && a.has(t.distribution, "packageFormat") && t.showObject(t.distribution.packageFormat) ? (n(), o("tr", ct, [
|
|
412
412
|
d("td", wt, [
|
|
413
|
-
b(
|
|
413
|
+
b(y, {
|
|
414
414
|
title: s.$t("message.tooltip.datasetDetails.distributions.packageFormat")
|
|
415
415
|
}, {
|
|
416
416
|
default: u(() => [
|
|
@@ -429,7 +429,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
429
429
|
i[48] || (i[48] = e()),
|
|
430
430
|
m === "hasPolicy" && a.has(t.distribution, "hasPolicy") && !a.isNil(t.distribution.hasPolicy) ? (n(), o("tr", vt, [
|
|
431
431
|
d("td", Ft, [
|
|
432
|
-
b(
|
|
432
|
+
b(y, {
|
|
433
433
|
title: s.$t("message.tooltip.datasetDetails.distributions.hasPolicy")
|
|
434
434
|
}, {
|
|
435
435
|
default: u(() => [
|
|
@@ -450,7 +450,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
450
450
|
i[49] || (i[49] = e()),
|
|
451
451
|
m === "conformsTo" && a.has(t.distribution, "conformsTo") && t.showObjectArray(t.distribution.conformsTo) ? (n(), o("tr", Tt, [
|
|
452
452
|
d("td", At, [
|
|
453
|
-
b(
|
|
453
|
+
b(y, {
|
|
454
454
|
title: s.$t("message.tooltip.datasetDetails.conformsTo")
|
|
455
455
|
}, {
|
|
456
456
|
default: u(() => [
|
|
@@ -468,10 +468,10 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
468
468
|
a.has(g, "resource") && !a.isNil(g.resource) ? (n(), o("div", Lt, [
|
|
469
469
|
e(l(s.$t("message.metadata.resource")) + `:
|
|
470
470
|
`, 1),
|
|
471
|
-
b(
|
|
471
|
+
b(k, {
|
|
472
472
|
to: g.resource,
|
|
473
473
|
target: "_blank",
|
|
474
|
-
onClick: (
|
|
474
|
+
onClick: (St) => s.$emit("track-link", g.resource, "link")
|
|
475
475
|
}, {
|
|
476
476
|
default: u(() => [
|
|
477
477
|
e(l(a.truncate(g.resource, 75)), 1)
|
|
@@ -485,7 +485,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
485
485
|
i[50] || (i[50] = e()),
|
|
486
486
|
m === "spatialResolutionInMeters" && a.has(t.distribution, "spatialResolutionInMeters") ? (n(), o("tr", Ct, [
|
|
487
487
|
d("td", jt, [
|
|
488
|
-
b(
|
|
488
|
+
b(y, {
|
|
489
489
|
title: s.$t("message.tooltip.datasetDetails.spatialResolutionInMeters")
|
|
490
490
|
}, {
|
|
491
491
|
default: u(() => [
|
|
@@ -502,7 +502,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
502
502
|
i[51] || (i[51] = e()),
|
|
503
503
|
m === "temporalResolution" && a.has(t.distribution, "temporalResolution") && t.showArray(t.distribution.temporalResolution) ? (n(), o("tr", Ot, [
|
|
504
504
|
d("td", It, [
|
|
505
|
-
b(
|
|
505
|
+
b(y, {
|
|
506
506
|
title: s.$t("message.tooltip.datasetDetails.temporalResolution")
|
|
507
507
|
}, {
|
|
508
508
|
default: u(() => [
|
|
@@ -517,9 +517,9 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
517
517
|
])
|
|
518
518
|
])) : r("", !0),
|
|
519
519
|
i[52] || (i[52] = e()),
|
|
520
|
-
m === "validate" ? (n(), o("tr",
|
|
521
|
-
this.$env.content.datasetDetails.distributions.showValidationButton ? (n(), o("td",
|
|
522
|
-
b(
|
|
520
|
+
m === "validate" ? (n(), o("tr", Ut, [
|
|
521
|
+
this.$env.content.datasetDetails.distributions.showValidationButton ? (n(), o("td", _t, [
|
|
522
|
+
b(k, {
|
|
523
523
|
class: "ecl-button--secondary row pt-0 pb-0 pl-4 pr-4 mt-2 text-decoration-none",
|
|
524
524
|
to: { path: `${s.getID}/quality/`, query: Object.assign({}, { locale: s.$route.query.locale }) }
|
|
525
525
|
}, {
|
|
@@ -533,7 +533,7 @@ function Et(s, i, t, Mt, St, a) {
|
|
|
533
533
|
], 64))), 256))
|
|
534
534
|
]);
|
|
535
535
|
}
|
|
536
|
-
const Qt = /* @__PURE__ */ j(B, [["render",
|
|
536
|
+
const Qt = /* @__PURE__ */ j(B, [["render", Pt]]);
|
|
537
537
|
export {
|
|
538
538
|
Qt as default
|
|
539
539
|
};
|