@piveau/piveau-hub-ui-modules 4.4.3 → 4.4.5
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/PvBadge/PvBadge.vue.d.ts +4 -4
- package/dist/PvDataInfoBox/PvDataInfoBox.vue.d.ts +135 -4
- package/dist/PvDataInfoBox/PvDataInfoBox.vue.mjs +45 -45
- package/dist/PvDataInfoBox/PvDataInfoBox.vue.mjs.map +1 -1
- package/dist/PvDataInfoBox/PvDataInfoBoxDescription.vue.d.ts +4 -4
- package/dist/PvDataInfoBox/PvDataInfoBoxFooter.vue.d.ts +33 -4
- package/dist/PvDataInfoBox/PvDataInfoBoxFooter.vue.mjs +34 -34
- package/dist/PvDataInfoBox/PvDataInfoBoxFooter.vue.mjs.map +1 -1
- package/dist/PvDataInfoBox/PvDataInfoBoxFormats.vue.d.ts +17 -3
- package/dist/PvDataInfoBox/PvDataInfoBoxFormats.vue.mjs +18 -18
- package/dist/PvDataInfoBox/PvDataInfoBoxFormats.vue.mjs.map +1 -1
- package/dist/auth/Auth.vue.d.ts +1 -1
- package/dist/catalogues/CatalogPage.vue.mjs +139 -139
- package/dist/catalogues/CatalogPage.vue.mjs.map +1 -1
- package/dist/catalogues/CatalogPageDatasetCard.vue.d.ts +6 -4
- package/dist/catalogues/CatalogPageDatasetCard.vue.mjs +37 -37
- package/dist/catalogues/CatalogPageDatasetCard.vue.mjs.map +1 -1
- package/dist/catalogues/Catalogues.vue.mjs +202 -202
- package/dist/catalogues/Catalogues.vue.mjs.map +1 -1
- package/dist/catalogues/cataloguesFacets/CataloguesFacets.vue.mjs +44 -44
- package/dist/catalogues/cataloguesFacets/CataloguesFacets.vue.mjs.map +1 -1
- package/dist/citation/DatasetCitationModal.vue.d.ts +46 -4
- package/dist/citation/DatasetCitationModal.vue.mjs +36 -36
- package/dist/citation/DatasetCitationModal.vue.mjs.map +1 -1
- package/dist/citation/DatasetCitationTable.vue.d.ts +4 -4
- package/dist/citation/DatasetCitationTable.vue.mjs +32 -32
- package/dist/citation/DatasetCitationTable.vue.mjs.map +1 -1
- package/dist/composables/head/useRootHead.d.ts +1 -1
- package/dist/composables/useRuntimeEnv.d.ts +1 -1
- package/dist/configurations/config-schema/configSchema.d.ts +4 -4
- package/dist/configurations/config-schema/languagesSchema.d.ts +2 -2
- package/dist/data-provider-interface/DPIMenu.vue.d.ts +4 -8
- package/dist/data-provider-interface/DPIMenu.vue.mjs +96 -96
- package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +1297 -4
- package/dist/data-provider-interface/components/AutocompleteInput.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +136 -136
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +116 -156
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.d.ts +4 -8
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs +13 -13
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DistributionStepper.vue.d.ts +44 -40
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +105 -95
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Dropup.vue.d.ts +4 -4
- package/dist/data-provider-interface/components/Dropup.vue.mjs +22 -22
- package/dist/data-provider-interface/components/Dropup.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +3 -3
- package/dist/data-provider-interface/components/FileUpload.vue.mjs +114 -114
- package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/InfoSlot.vue.d.ts +4 -4
- package/dist/data-provider-interface/components/InfoSlot.vue.mjs +14 -14
- package/dist/data-provider-interface/components/InfoSlot.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/InputPageStep.vue.d.ts +3 -3
- package/dist/data-provider-interface/components/LanguageSelector.vue.d.ts +5 -5
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +5 -11
- package/dist/data-provider-interface/components/Navigation.vue.mjs +58 -58
- package/dist/data-provider-interface/components/Navigation.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.d.ts +3 -3
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.mjs +22 -22
- package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleInput.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs +13 -13
- package/dist/data-provider-interface/components/SimpleInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleSelect.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs +40 -40
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs +131 -127
- package/dist/data-provider-interface/components/SpatialInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SpatialInput.vue2.mjs +2 -2
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.d.ts +3 -5
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs +9 -9
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/composables/useDpiEditMode.d.ts +1 -1
- package/dist/data-provider-interface/composables/useDpiStepper.d.ts +3 -3
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs +9 -9
- package/dist/data-provider-interface/store/modules/autocompleteStore.mjs.map +1 -1
- package/dist/data-provider-interface/views/DistributionInputPage.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs +56 -56
- package/dist/data-provider-interface/views/DistributionInputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/DistributionOverview.vue.d.ts +4 -6
- package/dist/data-provider-interface/views/DistributionOverview.vue.mjs +128 -128
- package/dist/data-provider-interface/views/DistributionOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +5 -3
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +136 -136
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +1209 -9
- package/dist/data-provider-interface/views/InputPage.vue.mjs +111 -110
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.d.ts +3 -3
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.mjs +12 -12
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.d.ts +120 -3
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs +38 -38
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +369 -3
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +83 -83
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.d.ts +120 -3
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs +128 -128
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.d.ts +26 -4
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +312 -312
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.d.ts +3 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs +31 -31
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.d.ts +3 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs +52 -52
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.d.ts +5 -3
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.mjs +35 -35
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.d.ts +98 -3
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs +40 -40
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +783 -4
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs +72 -48
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/PropertyChooser.vue.mjs +31 -31
- package/dist/data-provider-interface/views/PropertyChooser.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +17 -17
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserProfilePage.vue.d.ts +2 -2
- package/dist/data-provider-interface/views/UserProfilePage.vue.mjs +27 -27
- package/dist/data-provider-interface/views/UserProfilePage.vue.mjs.map +1 -1
- package/dist/datasetDetails/AppMarkdownContent.vue.d.ts +4 -4
- package/dist/datasetDetails/AppMarkdownContent.vue.mjs +20 -20
- package/dist/datasetDetails/AppMarkdownContent.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetails.vue.mjs +35 -35
- package/dist/datasetDetails/DatasetDetails.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsActivityStream.vue.d.ts +1 -1
- package/dist/datasetDetails/DatasetDetailsActivityStream.vue.mjs +11 -12
- package/dist/datasetDetails/DatasetDetailsActivityStream.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsBanners.vue.d.ts +9 -5
- package/dist/datasetDetails/DatasetDetailsBanners.vue.mjs +33 -33
- package/dist/datasetDetails/DatasetDetailsBanners.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsCSVLinter.vue.mjs +93 -93
- package/dist/datasetDetails/DatasetDetailsCSVLinter.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsCategories.vue.mjs +23 -23
- package/dist/datasetDetails/DatasetDetailsCategories.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs +42 -42
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDescription.vue.d.ts +31 -4
- package/dist/datasetDetails/DatasetDetailsDescription.vue.mjs +34 -34
- package/dist/datasetDetails/DatasetDetailsDescription.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsLinkedMetricsButton.vue.d.ts +6 -4
- package/dist/datasetDetails/DatasetDetailsQuality.vue.mjs +416 -416
- package/dist/datasetDetails/DatasetDetailsQuality.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsShareButton.vue.d.ts +6 -4
- package/dist/datasetDetails/DatasetDetailsSimilarDatasets.vue.mjs +40 -40
- package/dist/datasetDetails/DatasetDetailsSimilarDatasets.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsSkeleton.vue.d.ts +4 -6
- package/dist/datasetDetails/DatasetDetailsSkeleton.vue.mjs +40 -40
- package/dist/datasetDetails/DatasetDetailsSkeleton.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/Distribution.vue.mjs +34 -34
- package/dist/datasetDetails/distributions/Distribution.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionAdded.vue.d.ts +3 -5
- package/dist/datasetDetails/distributions/DistributionAdded.vue.mjs +12 -12
- package/dist/datasetDetails/distributions/DistributionAdded.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionDownloadAsModal.vue.d.ts +3 -1
- package/dist/datasetDetails/distributions/DistributionDownloadAsModal.vue.mjs +177 -177
- package/dist/datasetDetails/distributions/DistributionDownloadAsModal.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionFormat.vue.d.ts +4 -9
- package/dist/datasetDetails/distributions/Distributions.vue.d.ts +7 -4
- package/dist/datasetDetails/distributions/Distributions.vue.mjs +41 -41
- package/dist/datasetDetails/distributions/Distributions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionsHeader.vue.d.ts +6 -10
- package/dist/datasetDetails/distributions/DistributionsHeader.vue.mjs +25 -25
- package/dist/datasetDetails/distributions/DistributionsHeader.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.d.ts +4 -12
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.mjs +128 -128
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/FadingDistributionOverlay.vue.d.ts +3 -3
- package/dist/datasetDetails/distributions/FadingDistributionOverlay.vue.mjs +23 -23
- package/dist/datasetDetails/distributions/FadingDistributionOverlay.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.d.ts +9 -4
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs +31 -31
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.d.ts +8 -12
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs +79 -79
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownloadAs.vue.d.ts +3 -3
- package/dist/datasetDetails/distributions/distributionActions/DistributionDropdownDownload.vue.d.ts +6 -11
- package/dist/datasetDetails/distributions/distributionActions/DistributionDropdownDownload.vue.mjs +26 -26
- package/dist/datasetDetails/distributions/distributionActions/DistributionDropdownDownload.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.d.ts +7 -11
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.mjs +41 -41
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionPreview.vue.d.ts +6 -11
- package/dist/datasetDetails/distributions/distributionActions/LinkedDataButtonsDropdown.vue.d.ts +7 -7
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs +311 -311
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDescription.vue.d.ts +4 -11
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDetails.vue.d.ts +9 -24
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDetails.vue.mjs +11 -11
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDetails.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionDetails/DistributionExpand.vue.d.ts +3 -8
- package/dist/datasetDetails/distributions/distributionDetails/DistributionExpand.vue.mjs +18 -18
- package/dist/datasetDetails/distributions/distributionDetails/DistributionExpand.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.d.ts +1 -1
- package/dist/datasetDetails/features/DatasetDetailsCategoriesKey.vue.d.ts +5 -3
- package/dist/datasetDetails/features/DatasetDetailsCategoriesKey.vue.mjs +40 -40
- package/dist/datasetDetails/features/DatasetDetailsCategoriesKey.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsDataServices.vue.d.ts +5 -3
- package/dist/datasetDetails/features/DatasetDetailsDataServices.vue.mjs +93 -93
- package/dist/datasetDetails/features/DatasetDetailsDataServices.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsFeatureHeader.vue.d.ts +4 -4
- package/dist/datasetDetails/features/DatasetDetailsFeatureHeader.vue.mjs +5 -5
- package/dist/datasetDetails/features/DatasetDetailsFeatureHeader.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.d.ts +42 -3
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.mjs +85 -85
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsHvdThemes.vue.d.ts +4 -8
- package/dist/datasetDetails/features/DatasetDetailsHvdThemes.vue.mjs +45 -45
- package/dist/datasetDetails/features/DatasetDetailsHvdThemes.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsIsUsedBy.vue.d.ts +1 -1
- package/dist/datasetDetails/features/DatasetDetailsIsUsedBy.vue.mjs +26 -26
- package/dist/datasetDetails/features/DatasetDetailsIsUsedBy.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsKeywords.vue.d.ts +5 -3
- package/dist/datasetDetails/features/DatasetDetailsKeywords.vue.mjs +45 -45
- package/dist/datasetDetails/features/DatasetDetailsKeywords.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsMap.vue.d.ts +3 -1
- package/dist/datasetDetails/features/DatasetDetailsMap.vue.mjs +23 -23
- package/dist/datasetDetails/features/DatasetDetailsMap.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsPages.vue.d.ts +5 -3
- package/dist/datasetDetails/features/DatasetDetailsPages.vue.mjs +95 -95
- package/dist/datasetDetails/features/DatasetDetailsPages.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsRelations.vue.d.ts +1 -1
- package/dist/datasetDetails/features/DatasetDetailsRelations.vue.mjs +27 -27
- package/dist/datasetDetails/features/DatasetDetailsRelations.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsSubject.vue.d.ts +4 -1
- package/dist/datasetDetails/features/DatasetDetailsSubject.vue.mjs +20 -20
- package/dist/datasetDetails/features/DatasetDetailsSubject.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsVisualisations.vue.d.ts +5 -3
- package/dist/datasetDetails/features/DatasetDetailsVisualisations.vue.mjs +92 -92
- package/dist/datasetDetails/features/DatasetDetailsVisualisations.vue.mjs.map +1 -1
- package/dist/datasetDetails/header/DatasetDetailsHeader.vue.mjs +24 -24
- package/dist/datasetDetails/header/DatasetDetailsHeader.vue.mjs.map +1 -1
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.d.ts +7 -5
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs +31 -31
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.mjs.map +1 -1
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.d.ts +4 -4
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.mjs +24 -24
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigation.vue.d.ts +81 -3
- package/dist/datasetDetails/navigation/DatasetDetailsNavigation.vue.mjs +24 -24
- package/dist/datasetDetails/navigation/DatasetDetailsNavigation.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +11 -3
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs +148 -148
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs.map +1 -1
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationPage.vue.d.ts +6 -4
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationPages.vue.d.ts +1 -1
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.d.ts +3 -1
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.mjs +29 -29
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.mjs.map +1 -1
- package/dist/datasetDetails/properties/DatasetDetailsProperty.vue.mjs +47 -47
- package/dist/datasetDetails/properties/DatasetDetailsProperty.vue.mjs.map +1 -1
- package/dist/datasetDetails/properties/ValuesList.vue.d.ts +5 -3
- package/dist/datasetDetails/properties/ValuesList.vue.mjs +46 -46
- package/dist/datasetDetails/properties/ValuesList.vue.mjs.map +1 -1
- package/dist/datasets/DatasetDate.vue.d.ts +4 -7
- package/dist/datasets/DatasetDate.vue.mjs +22 -22
- package/dist/datasets/DatasetDate.vue.mjs.map +1 -1
- package/dist/datasets/DatasetList.vue.d.ts +4 -4
- package/dist/datasets/Datasets.vue.mjs +44 -44
- package/dist/datasets/Datasets.vue.mjs.map +1 -1
- package/dist/datasets/DatasetsFilters.vue.d.ts +3 -1
- package/dist/datasets/DatasetsFilters.vue.mjs +48 -48
- package/dist/datasets/DatasetsFilters.vue.mjs.map +1 -1
- package/dist/datasets/DatasetsFiltersTabs.vue.d.ts +5 -5
- package/dist/datasets/DatasetsFiltersTabs.vue.mjs +53 -53
- package/dist/datasets/DatasetsFiltersTabs.vue.mjs.map +1 -1
- package/dist/datasets/DatasetsTopControls.vue.d.ts +6 -8
- package/dist/datasets/DatasetsTopControls.vue.mjs +19 -19
- package/dist/datasets/DatasetsTopControls.vue.mjs.map +1 -1
- package/dist/datasets/datasetsFacets/DatasetsFacets.vue.mjs +16 -16
- package/dist/datasets/datasetsFacets/DatasetsFacets.vue.mjs.map +1 -1
- package/dist/datasets/datasetsFacets/DatasetsFacetsItem.vue.d.ts +4 -4
- package/dist/datasets/datasetsFacets/DatasetsFacetsItem.vue.mjs +12 -12
- package/dist/datasets/datasetsFacets/DatasetsFacetsItem.vue.mjs.map +1 -1
- package/dist/datasets/datasetsFacets/DatasetsMapFacet.vue.d.ts +131 -6
- package/dist/datasets/datasetsFacets/DatasetsMapFacet.vue.mjs +104 -104
- package/dist/datasets/datasetsFacets/DatasetsMapFacet.vue.mjs.map +1 -1
- package/dist/datasets/datasetsFacets/SettingsFacet.vue.d.ts +1 -1
- package/dist/embed/DatasetEmbedModal.vue.d.ts +1 -1
- package/dist/embed/DatasetEmbedModal.vue.mjs +103 -103
- package/dist/embed/DatasetEmbedModal.vue.mjs.map +1 -1
- package/dist/embed/EmbedDataset.vue.mjs +56 -56
- package/dist/embed/EmbedDataset.vue.mjs.map +1 -1
- package/dist/embed/EmbedDatasetSnippet.vue.mjs +50 -50
- package/dist/embed/EmbedDatasetSnippet.vue.mjs.map +1 -1
- package/dist/external/@vueuse/core/index +196 -137
- package/dist/external/@vueuse/core/index.map +1 -1
- package/dist/external/@vueuse/shared/index +44 -43
- package/dist/external/@vueuse/shared/index.map +1 -1
- package/dist/facets/CatalogDetailsFacet.vue.mjs +252 -252
- package/dist/facets/CatalogDetailsFacet.vue.mjs.map +1 -1
- package/dist/facets/ExpandableSelectFacet.vue.d.ts +55 -4
- package/dist/facets/ExpandableSelectFacet.vue.mjs +28 -28
- package/dist/facets/ExpandableSelectFacet.vue.mjs.map +1 -1
- package/dist/facets/Facet.vue.d.ts +4 -4
- package/dist/facets/Facet.vue.mjs +38 -38
- package/dist/facets/Facet.vue.mjs.map +1 -1
- package/dist/facets/FacetTitle.vue.d.ts +4 -4
- package/dist/facets/FacetTitle.vue.mjs +12 -12
- package/dist/facets/FacetTitle.vue.mjs.map +1 -1
- package/dist/facets/RadioFacet.vue.d.ts +21 -3
- package/dist/facets/RadioFacet.vue.mjs +26 -26
- package/dist/facets/RadioFacet.vue.mjs.map +1 -1
- package/dist/facets/SelectedFacetsOverview.vue.d.ts +4 -4
- package/dist/facets/SelectedFacetsOverview.vue.mjs +1 -1
- package/dist/facets/SelectedFacetsOverview.vue.mjs.map +1 -1
- package/dist/form/FormKitGroup.vue.d.ts +3 -3
- package/dist/form/FormKitGroup.vue.mjs +9 -9
- package/dist/form/FormKitGroup.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue.d.ts +1 -1
- package/dist/form/Repeatable.vue.mjs +19 -19
- package/dist/form/Repeatable.vue.mjs.map +1 -1
- package/dist/map/MapBasic.vue.d.ts +4 -4
- package/dist/map/MapBoundsReceiver.vue.d.ts +3 -3
- package/dist/map/MapBoundsSender.vue.d.ts +3 -3
- package/dist/mixins/useRouteMetaBreadcrumbs.d.ts +1 -1
- package/dist/modal/AppConfirmationDialog.vue.d.ts +4 -4
- package/dist/modal/AppConfirmationDialog.vue.mjs +44 -44
- package/dist/modal/AppConfirmationDialog.vue.mjs.map +1 -1
- package/dist/modal/AppSnackbar.vue.d.ts +41 -1
- package/dist/modal/AppToast.vue.d.ts +4 -4
- package/dist/modal/AppToast.vue.mjs +54 -54
- package/dist/modal/AppToast.vue.mjs.map +1 -1
- package/dist/navigation/SubNavigation.vue.d.ts +4 -4
- package/dist/navigation/SubNavigation.vue.mjs +25 -25
- package/dist/navigation/SubNavigation.vue.mjs.map +1 -1
- package/dist/pages/Imprint.vue.d.ts +3 -1
- package/dist/pages/NotFound.vue.d.ts +3 -1
- package/dist/pages/NotFound.vue.mjs +23 -23
- package/dist/pages/NotFound.vue.mjs.map +1 -1
- package/dist/pages/PrivacyPolicy.vue.d.ts +3 -1
- package/dist/pages/SparqlSearch.vue.d.ts +1 -1
- package/dist/pages/SparqlSearch.vue.mjs +22 -22
- package/dist/pages/SparqlSearch.vue.mjs.map +1 -1
- package/dist/pages/user/UserImprint.vue.d.ts +1 -1
- package/dist/pages/user/UserImprint.vue.mjs +10 -10
- package/dist/pages/user/UserImprint.vue.mjs.map +1 -1
- package/dist/pages/user/UserPrivacyPolicy.vue.d.ts +1 -1
- package/dist/pages/user/UserPrivacyPolicy.vue.mjs +10 -10
- package/dist/pages/user/UserPrivacyPolicy.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/scss/_dpi-style.scss +8 -6
- package/dist/widgets/Dropdown.vue.d.ts +4 -8
- package/dist/widgets/Dropdown.vue.mjs +20 -20
- package/dist/widgets/Dropdown.vue.mjs.map +1 -1
- package/dist/widgets/Pagination.vue.d.ts +4 -4
- package/dist/widgets/Pagination.vue.mjs +74 -74
- package/dist/widgets/Pagination.vue.mjs.map +1 -1
- package/dist/widgets/PropertyValue.vue.d.ts +6 -4
- package/dist/widgets/PropertyValue.vue.mjs +17 -17
- package/dist/widgets/PropertyValue.vue.mjs.map +1 -1
- package/dist/widgets/PvBanner.vue.d.ts +3 -3
- package/dist/widgets/PvBanner.vue.mjs +29 -29
- package/dist/widgets/PvBanner.vue.mjs.map +1 -1
- package/dist/widgets/PvButton.vue.d.ts +4 -4
- package/dist/widgets/PvShowMore.vue.d.ts +4 -4
- package/dist/widgets/ResourceAccessPopup.vue.d.ts +1 -1
- package/dist/widgets/ResourceAccessPopup.vue.mjs +48 -48
- package/dist/widgets/ResourceAccessPopup.vue.mjs.map +1 -1
- package/dist/widgets/ResourceDetailsLinkedDataButton.vue.d.ts +6 -4
- package/dist/widgets/Tooltip.vue.d.ts +3 -3
- package/package.json +2 -2
- package/dist/datasetDetails/DatasetDetails.vue.d.ts +0 -25
- package/dist/embed/EmbedDataset.vue.d.ts +0 -7
- package/dist/embed/EmbedDatasetSnippet.vue.d.ts +0 -9
|
@@ -1,225 +1,185 @@
|
|
|
1
|
-
import { ref as
|
|
1
|
+
import { ref as v, watchEffect as E, resolveComponent as S, openBlock as n, createElementBlock as a, toDisplayString as m, createTextVNode as l, unref as d, createStaticVNode as I, createCommentVNode as u, createElementVNode as i, withDirectives as V, isRef as $, vModelText as D, Fragment as y, renderList as x, createVNode as b, createBlock as U } from "vue";
|
|
2
2
|
import A from "./AutocompleteInput.vue.mjs";
|
|
3
3
|
import { onClickOutside as B } from "../../external/@vueuse/core/index";
|
|
4
4
|
import { useRuntimeEnv as N } from "../../composables/useRuntimeEnv.mjs";
|
|
5
5
|
import { useI18n as P } from "vue-i18n";
|
|
6
6
|
import "./ConditionalInput.vue2.mjs";
|
|
7
|
-
const
|
|
7
|
+
const F = { class: "formkitProperty" }, H = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "formkitHeader"
|
|
10
|
-
},
|
|
10
|
+
}, R = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "formkitHeader"
|
|
13
|
-
},
|
|
13
|
+
}, j = {
|
|
14
14
|
key: 2,
|
|
15
15
|
class: "d-flex infoLicense py-5"
|
|
16
|
-
}, O =
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
-
width: "30px",
|
|
19
|
-
height: "30px",
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
class: "bi bi-info-circle mx-3 mb-3 mt-1 infoboxI",
|
|
22
|
-
viewBox: "0 0 16 16"
|
|
23
|
-
}, [
|
|
24
|
-
/* @__PURE__ */ t("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
25
|
-
/* @__PURE__ */ s(),
|
|
26
|
-
/* @__PURE__ */ t("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
27
|
-
], -1), X = /* @__PURE__ */ U(`<div class="w-80"><p>For <strong>European</strong> <strong>Commission's datasets</strong>, bear in mind that <a class="external-link" href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833" target="_blank" rel="nofollow noopener"><ins>Decision 2011/833/EU</ins></a>] allows for their commercial
|
|
28
|
-
reuse without prior authorisation, except for the material subject to the third party intellectual property
|
|
29
|
-
rights. This Decision has been implemented under the <a class="external-link" href="https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en" target="_blank" rel="nofollow noopener"><ins>Decision C(2019) 1655 final</ins></a>] by which Creative
|
|
30
|
-
Commons Attribution 4.0 International Public License (CC BY 4.0) is adopted as an open licence for the
|
|
31
|
-
Commission's reuse policy. Additionally, raw data, metadata or other documents of comparable nature may
|
|
32
|
-
alternatively be distributed under the provisions of the Creative Commons Universal Public Domain Dedication
|
|
33
|
-
deed (CC0 1.0).</p> <p>The <strong>Council</strong> and the <strong>European Court of Auditors</strong> have
|
|
34
|
-
approved similar decisions on reuse. It is advisable that you check <strong>the reuse policy of your
|
|
35
|
-
organisation</strong> before publishing or submitting your dataset.</p> <p>If you need further information regarding copyright issues, please contact us at <span class="nobr"><a class="external-link" href="mailto:op-copyright@publications.europa.eu" target="_blank" rel="nofollow noopener">op-copyright@publications.europa.eu<sup><img class="rendericon" src="https://citnet.tech.ec.europa.eu/CITnet/jira/images/icons/mail_small.gif" alt="" width="13" height="12" align="absmiddle" border="0"></sup></a></span></p></div>`, 1), z = {
|
|
16
|
+
}, O = {
|
|
36
17
|
key: 3,
|
|
37
18
|
class: "d-flex infoLicense py-5"
|
|
38
|
-
},
|
|
39
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
40
|
-
width: "30px",
|
|
41
|
-
height: "30px",
|
|
42
|
-
fill: "currentColor",
|
|
43
|
-
class: "bi bi-info-circle mx-3 mb-3 mt-1 infoboxI",
|
|
44
|
-
viewBox: "0 0 16 16"
|
|
45
|
-
}, [
|
|
46
|
-
/* @__PURE__ */ t("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
47
|
-
/* @__PURE__ */ s(),
|
|
48
|
-
/* @__PURE__ */ t("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
49
|
-
], -1), W = /* @__PURE__ */ t("p", { class: "textInfoI" }, [
|
|
50
|
-
/* @__PURE__ */ s(`As owner of your dataset, you guarantee that it does not violate the copyright, other
|
|
51
|
-
intellectual property or
|
|
52
|
-
privacy rights of any third party. In particular, if third party material is included in the dataset, you must
|
|
53
|
-
ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.
|
|
54
|
-
`),
|
|
55
|
-
/* @__PURE__ */ t("br"),
|
|
56
|
-
/* @__PURE__ */ t("br"),
|
|
57
|
-
/* @__PURE__ */ s(`
|
|
58
|
-
If you need further information regarding copyright issues, please contact us at
|
|
59
|
-
`),
|
|
60
|
-
/* @__PURE__ */ t("a", { href: "mailto:op-copyright@publications.europa.eu" }, "op-copyright@publications.europa.eu")
|
|
61
|
-
], -1), Y = {
|
|
19
|
+
}, X = {
|
|
62
20
|
key: 4,
|
|
63
21
|
class: "formkitCmpWrap simpleConditional"
|
|
64
|
-
},
|
|
22
|
+
}, z = { class: "m-3" }, K = { class: "conditionalSelectDiv" }, W = ["placeholder"], Y = { key: 0 }, q = { class: "selectListConditional" }, G = ["onClick"], J = { class: "conditionalManual" }, Q = {
|
|
65
23
|
key: 0,
|
|
66
24
|
class: "d-flex"
|
|
67
|
-
},
|
|
25
|
+
}, Z = { key: 0 }, ee = {
|
|
68
26
|
key: 5,
|
|
69
27
|
class: "formkitCmpWrap simpleConditional"
|
|
70
|
-
},
|
|
28
|
+
}, te = { class: "m-3" }, oe = { class: "conditionalSelectDiv" }, ne = ["placeholder"], ae = { key: 0 }, se = { class: "selectListConditional" }, ie = ["onClick"], le = { class: "conditionalManual" }, re = {
|
|
71
29
|
key: 0,
|
|
72
30
|
class: "d-flex"
|
|
73
|
-
},
|
|
31
|
+
}, de = {
|
|
74
32
|
key: 0,
|
|
75
33
|
class: ""
|
|
76
|
-
},
|
|
34
|
+
}, ue = {
|
|
77
35
|
key: 1,
|
|
78
36
|
class: "conditionalVocabulary d-flex"
|
|
79
|
-
},
|
|
37
|
+
}, ce = { class: "autocompleteInputSingleValue" }, pe = ["innerHTML"], xe = {
|
|
80
38
|
__name: "ConditionalInput",
|
|
81
39
|
props: {
|
|
82
40
|
context: Object
|
|
83
41
|
},
|
|
84
|
-
setup(
|
|
85
|
-
let
|
|
86
|
-
const
|
|
87
|
-
let r =
|
|
88
|
-
|
|
89
|
-
|
|
42
|
+
setup(L) {
|
|
43
|
+
let k = N();
|
|
44
|
+
const t = L, { t: C } = P();
|
|
45
|
+
let r = v(), c = v(!1), p = v(!1);
|
|
46
|
+
E(() => {
|
|
47
|
+
t.context.value.name && (r.value = C("message.dataupload.datasets.conditional.vocabulary")), t.context.value["foaf:name"] && (r.value = C("message.dataupload.datasets.conditional.manually"));
|
|
90
48
|
});
|
|
91
|
-
const
|
|
49
|
+
const h = v(null), w = (s) => {
|
|
92
50
|
p.value = !p.value;
|
|
93
|
-
},
|
|
94
|
-
|
|
95
|
-
},
|
|
96
|
-
r.value =
|
|
51
|
+
}, M = () => {
|
|
52
|
+
t.context.node.reset();
|
|
53
|
+
}, _ = (s, e) => {
|
|
54
|
+
r.value = e, c.value = s, t.context.node.reset(), t.context.value = "";
|
|
97
55
|
};
|
|
98
|
-
return B(
|
|
99
|
-
const g =
|
|
100
|
-
return
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
56
|
+
return B(h, (s) => p.value = !1), (s, e) => {
|
|
57
|
+
const g = S("FormKit");
|
|
58
|
+
return n(), a("div", F, [
|
|
59
|
+
t.context.attrs.class != null && t.context.attrs.class.includes("inDistribution") ? (n(), a("h4", H, m(s.$t("message.dataupload.distributions." + t.context.attrs.identifier + ".label")), 1)) : (n(), a("h4", R, m(s.$t("message.dataupload.datasets." + t.context.attrs.identifier + ".label")), 1)),
|
|
60
|
+
e[17] || (e[17] = l()),
|
|
61
|
+
t.context.attrs.identifier === "licence" && d(k).content.dataProviderInterface.annifIntegration ? (n(), a("div", j, e[6] || (e[6] = [
|
|
62
|
+
I('<svg xmlns="http://www.w3.org/2000/svg" width="30px" height="30px" fill="currentColor" class="bi bi-info-circle mx-3 mb-3 mt-1 infoboxI" viewBox="0 0 16 16"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"></path> <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"></path></svg> <div class="w-80"><p>For <strong>European</strong> <strong>Commission's datasets</strong>, bear in mind that <a class="external-link" href="https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833" target="_blank" rel="nofollow noopener"><ins>Decision 2011/833/EU</ins></a> allows for their commercial reuse without prior authorisation, except for the material subject to the third party intellectual property rights. This Decision has been implemented under the <a class="external-link" href="https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en" target="_blank" rel="nofollow noopener"><ins>Decision C(2019) 1655 final</ins></a> by which Creative Commons Attribution 4.0 International Public License (CC BY 4.0) is adopted as an open licence for the Commission's reuse policy. Additionally, raw data, metadata or other documents of comparable nature may alternatively be distributed under the provisions of the Creative Commons Universal Public Domain Dedication deed (CC0 1.0).</p> <p>The <strong>Council</strong> and the <strong>European Court of Auditors</strong> have approved similar decisions on reuse. It is advisable that you check <strong>the reuse policy of your organisation</strong> before publishing or submitting your dataset.</p> <p>If you need further information regarding copyright issues, please contact us at <span class="nobr"><a class="external-link" href="mailto:op-copyright@publications.europa.eu" target="_blank" rel="nofollow noopener">op-copyright@publications.europa.eu</a></span></p></div>', 3)
|
|
63
|
+
]))) : u("", !0),
|
|
64
|
+
e[18] || (e[18] = l()),
|
|
65
|
+
t.context.attrs.identifier === "rights" && d(k).content.dataProviderInterface.annifIntegration ? (n(), a("div", O, e[7] || (e[7] = [
|
|
66
|
+
I(`<svg xmlns="http://www.w3.org/2000/svg" width="30px" height="30px" fill="currentColor" class="bi bi-info-circle mx-3 mb-3 mt-1 infoboxI" viewBox="0 0 16 16"><path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"></path> <path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"></path></svg> <p class="textInfoI">As owner of your dataset, you guarantee that it does not violate the copyright, other
|
|
67
|
+
intellectual property or
|
|
68
|
+
privacy rights of any third party. In particular, if third party material is included in the dataset, you must
|
|
69
|
+
ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.
|
|
70
|
+
<br><br>
|
|
71
|
+
If you need further information regarding copyright issues, please contact us at
|
|
72
|
+
<a href="mailto:op-copyright@publications.europa.eu">op-copyright@publications.europa.eu</a></p>`, 3)
|
|
73
|
+
]))) : u("", !0),
|
|
74
|
+
e[19] || (e[19] = l()),
|
|
75
|
+
t.context.attrs.identifier === "rights" ? (n(), a("div", X, [
|
|
76
|
+
i("div", z, [
|
|
77
|
+
i("div", K, [
|
|
78
|
+
V(i("input", {
|
|
119
79
|
ref_key: "I1",
|
|
120
|
-
ref:
|
|
80
|
+
ref: h,
|
|
121
81
|
type: "text",
|
|
122
82
|
class: "conditionalSelect formkit-input formkit-inner",
|
|
123
|
-
onClick:
|
|
124
|
-
placeholder:
|
|
125
|
-
"onUpdate:modelValue":
|
|
126
|
-
}, null, 8,
|
|
127
|
-
[
|
|
83
|
+
onClick: e[0] || (e[0] = (o) => w()),
|
|
84
|
+
placeholder: t.context.attrs.placeholder,
|
|
85
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => $(r) ? r.value = o : r = o)
|
|
86
|
+
}, null, 8, W), [
|
|
87
|
+
[D, d(r)]
|
|
128
88
|
]),
|
|
129
|
-
|
|
130
|
-
d(p) ? (
|
|
131
|
-
|
|
132
|
-
(
|
|
89
|
+
e[8] || (e[8] = l()),
|
|
90
|
+
d(p) ? (n(), a("div", Y, [
|
|
91
|
+
i("ul", q, [
|
|
92
|
+
(n(!0), a(y, null, x(t.context.attrs.selection, (o, f) => (n(), a("li", {
|
|
133
93
|
class: "p-2 border-b border-gray-200",
|
|
134
|
-
onClick: (
|
|
135
|
-
}, m(
|
|
94
|
+
onClick: (T) => _(o, s.$t("message.dataupload.datasets.conditional." + o))
|
|
95
|
+
}, m(s.$t("message.dataupload.datasets.conditional." + o)), 9, G))), 256))
|
|
136
96
|
])
|
|
137
|
-
])) :
|
|
97
|
+
])) : u("", !0)
|
|
138
98
|
]),
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
d(
|
|
142
|
-
|
|
99
|
+
e[9] || (e[9] = l()),
|
|
100
|
+
i("div", J, [
|
|
101
|
+
d(c) === "URL" || t.context.node.value["@type"] === "url" ? (n(), a("div", Q, [
|
|
102
|
+
b(g, {
|
|
143
103
|
type: "url",
|
|
144
|
-
placeholder:
|
|
104
|
+
placeholder: s.$t("message.dataupload.datasets.conditional.URL"),
|
|
145
105
|
name: "rdfs:label",
|
|
146
106
|
validation: "url",
|
|
147
107
|
class: "w-100",
|
|
148
108
|
identifier: "rightsUrl",
|
|
149
|
-
modelValue:
|
|
150
|
-
"onUpdate:modelValue":
|
|
109
|
+
modelValue: t.context.value["rdfs:value"],
|
|
110
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => t.context.value["rdfs:value"] = o)
|
|
151
111
|
}, null, 8, ["placeholder", "modelValue"])
|
|
152
|
-
])) :
|
|
112
|
+
])) : u("", !0)
|
|
153
113
|
]),
|
|
154
|
-
|
|
155
|
-
d(
|
|
156
|
-
|
|
114
|
+
e[10] || (e[10] = l()),
|
|
115
|
+
d(c) === "Text" || t.context.value["@type"] === "text" ? (n(), a("div", Z, [
|
|
116
|
+
b(g, {
|
|
157
117
|
type: "text",
|
|
158
|
-
placeholder:
|
|
118
|
+
placeholder: s.$t("message.dataupload.datasets.conditional.Text"),
|
|
159
119
|
name: "rdfs:label",
|
|
160
120
|
class: "w-100",
|
|
161
121
|
identifier: "rightsText",
|
|
162
|
-
modelValue:
|
|
163
|
-
"onUpdate:modelValue":
|
|
122
|
+
modelValue: t.context.value["rdfs:value"],
|
|
123
|
+
"onUpdate:modelValue": e[3] || (e[3] = (o) => t.context.value["rdfs:value"] = o)
|
|
164
124
|
}, null, 8, ["placeholder", "modelValue"])
|
|
165
|
-
])) :
|
|
125
|
+
])) : u("", !0)
|
|
166
126
|
])
|
|
167
|
-
])) : (
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
127
|
+
])) : (n(), a("div", ee, [
|
|
128
|
+
i("div", te, [
|
|
129
|
+
i("div", oe, [
|
|
130
|
+
V(i("input", {
|
|
171
131
|
ref_key: "I1",
|
|
172
|
-
ref:
|
|
132
|
+
ref: h,
|
|
173
133
|
type: "text",
|
|
174
134
|
class: "conditionalSelect formkit-input formkit-inner",
|
|
175
|
-
onClick:
|
|
176
|
-
placeholder:
|
|
177
|
-
"onUpdate:modelValue":
|
|
178
|
-
}, null, 8,
|
|
179
|
-
[
|
|
135
|
+
onClick: e[4] || (e[4] = (o) => w()),
|
|
136
|
+
placeholder: t.context.attrs.placeholder,
|
|
137
|
+
"onUpdate:modelValue": e[5] || (e[5] = (o) => $(r) ? r.value = o : r = o)
|
|
138
|
+
}, null, 8, ne), [
|
|
139
|
+
[D, d(r)]
|
|
180
140
|
]),
|
|
181
|
-
|
|
182
|
-
d(p) ? (
|
|
183
|
-
|
|
184
|
-
(
|
|
141
|
+
e[11] || (e[11] = l()),
|
|
142
|
+
d(p) ? (n(), a("div", ae, [
|
|
143
|
+
i("ul", se, [
|
|
144
|
+
(n(!0), a(y, null, x(t.context.attrs.selection, (o, f) => (n(), a("li", {
|
|
185
145
|
class: "p-2 border-b border-gray-200",
|
|
186
|
-
onClick: (
|
|
187
|
-
}, m(
|
|
146
|
+
onClick: (T) => _(o, s.$t("message.dataupload.datasets.conditional." + o))
|
|
147
|
+
}, m(s.$t("message.dataupload.datasets.conditional." + o)), 9, ie))), 256))
|
|
188
148
|
])
|
|
189
|
-
])) :
|
|
149
|
+
])) : u("", !0)
|
|
190
150
|
]),
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
d(
|
|
194
|
-
(
|
|
195
|
-
type:
|
|
196
|
-
placeholder:
|
|
151
|
+
e[13] || (e[13] = l()),
|
|
152
|
+
i("div", le, [
|
|
153
|
+
d(c) === "manually" || Object.keys(t.context.value).length > 0 && t.context.value["foaf:name"] && d(c) != "vocabulary" ? (n(), a("div", re, [
|
|
154
|
+
(n(!0), a(y, null, x(t.context.attrs.options, (o, f) => (n(), U(g, {
|
|
155
|
+
type: f,
|
|
156
|
+
placeholder: s.$t("message.dataupload.datasets.individual." + o),
|
|
197
157
|
name: o,
|
|
198
|
-
validation:
|
|
158
|
+
validation: f,
|
|
199
159
|
class: "w-100"
|
|
200
160
|
}, null, 8, ["type", "placeholder", "name", "validation"]))), 256))
|
|
201
|
-
])) :
|
|
161
|
+
])) : u("", !0)
|
|
202
162
|
]),
|
|
203
|
-
|
|
204
|
-
d(
|
|
205
|
-
|
|
206
|
-
context:
|
|
163
|
+
e[14] || (e[14] = l()),
|
|
164
|
+
d(c) === "vocabulary" && !t.context.value.name ? (n(), a("div", de, [
|
|
165
|
+
b(A, {
|
|
166
|
+
context: t.context
|
|
207
167
|
}, null, 8, ["context"])
|
|
208
|
-
])) :
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
168
|
+
])) : u("", !0),
|
|
169
|
+
e[15] || (e[15] = l()),
|
|
170
|
+
t.context.value.name ? (n(), a("div", ue, [
|
|
171
|
+
i("a", ce, m(t.context.value.name), 1),
|
|
172
|
+
e[12] || (e[12] = l()),
|
|
173
|
+
i("div", {
|
|
214
174
|
class: "removeX",
|
|
215
|
-
onClick:
|
|
175
|
+
onClick: M
|
|
216
176
|
})
|
|
217
|
-
])) :
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
innerHTML:
|
|
177
|
+
])) : u("", !0),
|
|
178
|
+
e[16] || (e[16] = l()),
|
|
179
|
+
i("div", {
|
|
180
|
+
innerHTML: t.context.help,
|
|
221
181
|
class: "formkit-help"
|
|
222
|
-
}, null, 8,
|
|
182
|
+
}, null, 8, pe)
|
|
223
183
|
])
|
|
224
184
|
]))
|
|
225
185
|
]);
|
|
@@ -227,6 +187,6 @@ const j = { class: "formkitProperty" }, F = {
|
|
|
227
187
|
}
|
|
228
188
|
};
|
|
229
189
|
export {
|
|
230
|
-
|
|
190
|
+
xe as default
|
|
231
191
|
};
|
|
232
192
|
//# sourceMappingURL=ConditionalInput.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/ConditionalInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <!-- <h4 class=\"formkitHeader\">{{ props.context.attrs.identifier.charAt(0).toUpperCase() +\n props.context.attrs.identifier.slice(1) }}</h4> -->\n <h4 class=\"formkitHeader\"\n v-if=\"props.context.attrs.class != undefined && props.context.attrs.class.includes('inDistribution')\">\n {{ $t('message.dataupload.distributions.' + props.context.attrs.identifier + '.label') }}\n </h4>\n <h4 class=\"formkitHeader\" v-else>\n {{ $t('message.dataupload.datasets.' + props.context.attrs.identifier + '.label') }}\n </h4>\n <div v-if=\"props.context.attrs.identifier === 'licence' && env.content.dataProviderInterface.annifIntegration\"\n class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI \" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <div class=\"w-80\">\n <p>For <strong>European</strong> <strong>Commission's datasets</strong>, bear in mind that <a\n class=\"external-link\" href=\"https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833\"\n target=\"_blank\" rel=\"nofollow noopener\"><ins>Decision 2011/833/EU</ins></a>] allows for their commercial\n reuse without prior authorisation, except for the material subject to the third party intellectual property\n rights. This Decision has been implemented under the <a class=\"external-link\"\n href=\"https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en\"\n target=\"_blank\" rel=\"nofollow noopener\"><ins>Decision C(2019) 1655 final</ins></a>] by which Creative\n Commons Attribution 4.0 International Public License (CC BY 4.0) is adopted as an open licence for the\n Commission's reuse policy. Additionally, raw data, metadata or other documents of comparable nature may\n alternatively be distributed under the provisions of the Creative Commons Universal Public Domain Dedication\n deed (CC0 1.0).</p>\n <p>The <strong>Council</strong> and the <strong>European Court of Auditors</strong> have\n approved similar decisions on reuse. It is advisable that you check <strong>the reuse policy of your\n organisation</strong> before publishing or submitting your dataset.</p>\n <p>If you need further information regarding copyright issues, please contact us at <span class=\"nobr\"><a\n class=\"external-link\" href=\"mailto:op-copyright@publications.europa.eu\" target=\"_blank\"\n rel=\"nofollow noopener\">op-copyright@publications.europa.eu<sup><img class=\"rendericon\"\n src=\"https://citnet.tech.ec.europa.eu/CITnet/jira/images/icons/mail_small.gif\" alt=\"\" width=\"13\"\n height=\"12\" align=\"absmiddle\" border=\"0\" /></sup></a></span></p>\n\n </div>\n </div>\n\n <div v-if=\"props.context.attrs.identifier === 'rights' && env.content.dataProviderInterface.annifIntegration\"\n class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI\" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <p class=\"textInfoI\">As owner of your dataset, you guarantee that it does not violate the copyright, other\n intellectual property or\n privacy rights of any third party. In particular, if third party material is included in the dataset, you must\n ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.\n <br><br>\n If you need further information regarding copyright issues, please contact us at\n <a href=\"mailto:op-copyright@publications.europa.eu\">op-copyright@publications.europa.eu</a>\n </p>\n </div>\n <!-- Choice between text and URL -->\n <div class=\"formkitCmpWrap simpleConditional\" v-if=\"props.context.attrs.identifier === 'rights'\">\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n :placeholder=\"props.context.attrs.placeholder\" v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode(el, $t('message.dataupload.datasets.conditional.' + el))\">{{\n $t('message.dataupload.datasets.conditional.' + el) }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'URL' || props.context.node.value['@type'] === 'url'\">\n <FormKit type=\"url\" :placeholder=\"$t('message.dataupload.datasets.conditional.URL')\" name=\"rdfs:label\"\n validation=\"url\" class=\"w-100\" identifier=\"rightsUrl\" v-model=\"props.context.value['rdfs:value']\">\n </FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'Text' || props.context.value['@type'] === 'text'\">\n <FormKit type=\"text\" :placeholder=\"$t('message.dataupload.datasets.conditional.Text')\" name=\"rdfs:label\"\n class=\"w-100\" identifier=\"rightsText\" v-model=\"props.context.value['rdfs:value']\"></FormKit>\n </div>\n </div>\n </div>\n\n <!-- Choice between manualinput and vocabulary search -->\n <div class=\"formkitCmpWrap simpleConditional\" v-else>\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n :placeholder=props.context.attrs.placeholder v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode(el, $t('message.dataupload.datasets.conditional.' + el))\">{{\n $t('message.dataupload.datasets.conditional.' + el) }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'manually' ||\n Object.keys(props.context.value).length > 0 && props.context.value['foaf:name']\n && selectedItem != 'vocabulary'\">\n <FormKit v-for=\"el, key in props.context.attrs.options\" :type=\"key\"\n :placeholder=\"$t('message.dataupload.datasets.individual.' + el)\" :name=\"el\" :validation=\"key\"\n class=\"w-100\"></FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'vocabulary' && !props.context.value['name']\" class=\"\">\n <AutocompleteInput :context=\"props.context\"></AutocompleteInput>\n </div>\n <div v-if=\"props.context.value['name']\" class=\"conditionalVocabulary d-flex\">\n <a class=\"autocompleteInputSingleValue\">{{\n props.context.value['name'] }}</a>\n <div class=\"removeX\" @click=\"removeProperty\"></div>\n\n </div>\n <div v-html=\"props.context.help\" class=\"formkit-help\"></div>\n\n </div>\n\n </div>\n </div>\n\n</template>\n<script setup>\nimport { ref, watchEffect } from 'vue';\nimport AutocompleteInput from './AutocompleteInput.vue';\nimport { onClickOutside } from '@vueuse/core'\nimport { useRuntimeEnv } from \"../../composables/useRuntimeEnv.ts\";\nimport { useI18n } from 'vue-i18n';\n\nlet env = useRuntimeEnv()\nconst props = defineProps({\n context: Object,\n})\nconst { t } = useI18n();\nlet selectModeVal = ref()\nlet selectedItem = ref(false)\nlet showSelect = ref(false)\n\n\n\nwatchEffect(() => {\n if (props.context.value['name']) {\n selectModeVal.value = t('message.dataupload.datasets.conditional.' + 'vocabulary');\n }\n if (props.context.value['foaf:name']) {\n selectModeVal.value = t('message.dataupload.datasets.conditional.' + 'manually');\n }\n});\n\nconst I1 = ref(null)\n\nconst openSelect = (e) => {\n\n showSelect.value = !showSelect.value\n\n}\nconst removeProperty = () => {\n props.context.node.reset()\n}\nconst selectMode = (e, translatedString) => {\n selectModeVal.value = translatedString\n selectedItem.value = e\n props.context.node.reset()\n props.context.value = \"\"\n}\n\nonClickOutside(I1, event => showSelect.value = false)\n\n</script>\n<style>\n.conditionalManual {\n .formkit-outer {\n width: 100%;\n }\n}\n\n.hover {\n text-decoration: underline;\n}\n\n.conditionalVocabulary {\n display: flex;\n align-items: center;\n margin: 1rem 0;\n}\n\n.w-80 {\n width: 80%;\n}\n\n.infoLicense {\n a {\n color: blue;\n }\n\n padding: 1rem;\n background-color: rgb(171, 225, 165)\n}\n\n.infoboxI {\n width: 5%;\n}\n\n.textInfoI {\n width: 95%;\n}\n</style>\n"],"names":["env","useRuntimeEnv","props","__props","t","useI18n","selectModeVal","ref","selectedItem","showSelect","watchEffect","I1","openSelect","e","removeProperty","selectMode","translatedString","onClickOutside","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIA,QAAIA,IAAMC,EAAe;AACzB,UAAMC,IAAQC,GAGR,EAAE,GAAAC,EAAC,IAAKC;AACd,QAAIC,IAAgBC,EAAK,GACrBC,IAAeD,EAAI,EAAK,GACxBE,IAAaF,EAAI,EAAK;AAI1B,IAAAG,EAAY,MAAM;AAChB,MAAIR,EAAM,QAAQ,MAAM,SACtBI,EAAc,QAAQF,EAAE,oDAAyD,IAE/EF,EAAM,QAAQ,MAAM,WAAW,MACjCI,EAAc,QAAQF,EAAE,kDAAuD;AAAA,IAEnF,CAAC;AAED,UAAMO,IAAKJ,EAAI,IAAI,GAEbK,IAAa,CAACC,MAAM;AAExB,MAAAJ,EAAW,QAAQ,CAACA,EAAW;AAAA,IAEjC,GACMK,IAAiB,MAAM;AAC3B,MAAAZ,EAAM,QAAQ,KAAK,MAAO;AAAA,IAC5B,GACMa,IAAa,CAACF,GAAGG,MAAqB;AAC1C,MAAAV,EAAc,QAAQU,GACtBR,EAAa,QAAQK,GACrBX,EAAM,QAAQ,KAAK,MAAO,GAC1BA,EAAM,QAAQ,QAAQ;AAAA,IACxB;AAEA,WAAAe,EAAeN,GAAI,CAAAO,MAAST,EAAW,QAAQ,EAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ConditionalInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/ConditionalInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <!-- <h4 class=\"formkitHeader\">{{ props.context.attrs.identifier.charAt(0).toUpperCase() +\n props.context.attrs.identifier.slice(1) }}</h4> -->\n <h4 class=\"formkitHeader\"\n v-if=\"props.context.attrs.class != undefined && props.context.attrs.class.includes('inDistribution')\">\n {{ $t('message.dataupload.distributions.' + props.context.attrs.identifier + '.label') }}\n </h4>\n <h4 class=\"formkitHeader\" v-else>\n {{ $t('message.dataupload.datasets.' + props.context.attrs.identifier + '.label') }}\n </h4>\n <div v-if=\"props.context.attrs.identifier === 'licence' && env.content.dataProviderInterface.annifIntegration\"\n class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI \" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <div class=\"w-80\">\n <p>For <strong>European</strong> <strong>Commission's datasets</strong>, bear in mind that <a class=\"external-link\" href=\"https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833\" target=\"_blank\" rel=\"nofollow noopener\"><ins>Decision 2011/833/EU</ins></a> allows for their commercial reuse without prior authorisation, except for the material subject to the third party intellectual property rights. This Decision has been implemented under the <a class=\"external-link\" href=\"https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en\" target=\"_blank\" rel=\"nofollow noopener\"><ins>Decision C(2019) 1655 final</ins></a> by which Creative Commons Attribution 4.0 International Public License (CC BY 4.0) is adopted as an open licence for the Commission's reuse policy. Additionally, raw data, metadata or other documents of comparable nature may alternatively be distributed under the provisions of the Creative Commons Universal Public Domain Dedication deed (CC0 1.0).</p>\n <p>The <strong>Council</strong> and the <strong>European Court of Auditors</strong> have approved similar decisions on reuse. It is advisable that you check <strong>the reuse policy of your organisation</strong> before publishing or submitting your dataset.</p>\n <p>If you need further information regarding copyright issues, please contact us at <span class=\"nobr\"><a class=\"external-link\" href=\"mailto:op-copyright@publications.europa.eu\" target=\"_blank\" rel=\"nofollow noopener\">op-copyright@publications.europa.eu</a></span></p>\n </div>\n\n </div>\n\n <div v-if=\"props.context.attrs.identifier === 'rights' && env.content.dataProviderInterface.annifIntegration\"\n class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI\" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <p class=\"textInfoI\">As owner of your dataset, you guarantee that it does not violate the copyright, other\n intellectual property or\n privacy rights of any third party. In particular, if third party material is included in the dataset, you must\n ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.\n <br><br>\n If you need further information regarding copyright issues, please contact us at\n <a href=\"mailto:op-copyright@publications.europa.eu\">op-copyright@publications.europa.eu</a>\n </p>\n </div>\n <!-- Choice between text and URL -->\n <div class=\"formkitCmpWrap simpleConditional\" v-if=\"props.context.attrs.identifier === 'rights'\">\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n :placeholder=\"props.context.attrs.placeholder\" v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode(el, $t('message.dataupload.datasets.conditional.' + el))\">{{\n $t('message.dataupload.datasets.conditional.' + el) }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'URL' || props.context.node.value['@type'] === 'url'\">\n <FormKit type=\"url\" :placeholder=\"$t('message.dataupload.datasets.conditional.URL')\" name=\"rdfs:label\"\n validation=\"url\" class=\"w-100\" identifier=\"rightsUrl\" v-model=\"props.context.value['rdfs:value']\">\n </FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'Text' || props.context.value['@type'] === 'text'\">\n <FormKit type=\"text\" :placeholder=\"$t('message.dataupload.datasets.conditional.Text')\" name=\"rdfs:label\"\n class=\"w-100\" identifier=\"rightsText\" v-model=\"props.context.value['rdfs:value']\"></FormKit>\n </div>\n </div>\n </div>\n\n <!-- Choice between manualinput and vocabulary search -->\n <div class=\"formkitCmpWrap simpleConditional\" v-else>\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n :placeholder=props.context.attrs.placeholder v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode(el, $t('message.dataupload.datasets.conditional.' + el))\">{{\n $t('message.dataupload.datasets.conditional.' + el) }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'manually' ||\n Object.keys(props.context.value).length > 0 && props.context.value['foaf:name']\n && selectedItem != 'vocabulary'\">\n <FormKit v-for=\"el, key in props.context.attrs.options\" :type=\"key\"\n :placeholder=\"$t('message.dataupload.datasets.individual.' + el)\" :name=\"el\" :validation=\"key\"\n class=\"w-100\"></FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'vocabulary' && !props.context.value['name']\" class=\"\">\n <AutocompleteInput :context=\"props.context\"></AutocompleteInput>\n </div>\n <div v-if=\"props.context.value['name']\" class=\"conditionalVocabulary d-flex\">\n <a class=\"autocompleteInputSingleValue\">{{\n props.context.value['name'] }}</a>\n <div class=\"removeX\" @click=\"removeProperty\"></div>\n\n </div>\n <div v-html=\"props.context.help\" class=\"formkit-help\"></div>\n\n </div>\n\n </div>\n </div>\n\n</template>\n<script setup>\nimport { ref, watchEffect } from 'vue';\nimport AutocompleteInput from './AutocompleteInput.vue';\nimport { onClickOutside } from '@vueuse/core'\nimport { useRuntimeEnv } from \"../../composables/useRuntimeEnv.ts\";\nimport { useI18n } from 'vue-i18n';\n\nlet env = useRuntimeEnv()\nconst props = defineProps({\n context: Object,\n})\nconst { t } = useI18n();\nlet selectModeVal = ref()\nlet selectedItem = ref(false)\nlet showSelect = ref(false)\n\n\n\nwatchEffect(() => {\n if (props.context.value['name']) {\n selectModeVal.value = t('message.dataupload.datasets.conditional.' + 'vocabulary');\n }\n if (props.context.value['foaf:name']) {\n selectModeVal.value = t('message.dataupload.datasets.conditional.' + 'manually');\n }\n});\n\nconst I1 = ref(null)\n\nconst openSelect = (e) => {\n\n showSelect.value = !showSelect.value\n\n}\nconst removeProperty = () => {\n props.context.node.reset()\n}\nconst selectMode = (e, translatedString) => {\n selectModeVal.value = translatedString\n selectedItem.value = e\n props.context.node.reset()\n props.context.value = \"\"\n}\n\nonClickOutside(I1, event => showSelect.value = false)\n\n</script>\n<style>\n.conditionalManual {\n .formkit-outer {\n width: 100%;\n }\n}\n\n.hover {\n text-decoration: underline;\n}\n\n.conditionalVocabulary {\n display: flex;\n align-items: center;\n margin: 1rem 0;\n}\n\n.w-80 {\n width: 80%;\n}\n\n.infoLicense {\n a {\n color: blue;\n }\n\n padding: 1rem;\n background-color: rgb(171, 225, 165)\n}\n\n.infoboxI {\n width: 5%;\n}\n\n.textInfoI {\n width: 95%;\n}\n</style>\n"],"names":["env","useRuntimeEnv","props","__props","t","useI18n","selectModeVal","ref","selectedItem","showSelect","watchEffect","I1","openSelect","e","removeProperty","selectMode","translatedString","onClickOutside","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuHA,QAAIA,IAAMC,EAAc;AACxB,UAAMC,IAAQC,GAGR,EAAE,GAAAC,EAAC,IAAKC;AACd,QAAIC,IAAgBC,EAAI,GACpBC,IAAeD,EAAI,EAAK,GACxBE,IAAaF,EAAI,EAAK;AAI1B,IAAAG,EAAY,MAAM;AAChB,MAAIR,EAAM,QAAQ,MAAM,SACtBI,EAAc,QAAQF,EAAE,oDAAyD,IAE/EF,EAAM,QAAQ,MAAM,WAAW,MACjCI,EAAc,QAAQF,EAAE,kDAAuD;AAAA,IAEnF,CAAC;AAED,UAAMO,IAAKJ,EAAI,IAAI,GAEbK,IAAa,CAACC,MAAM;AAExB,MAAAJ,EAAW,QAAQ,CAACA,EAAW;AAAA,IAEjC,GACMK,IAAiB,MAAM;AAC3B,MAAAZ,EAAM,QAAQ,KAAK,MAAM;AAAA,IAC3B,GACMa,IAAa,CAACF,GAAGG,MAAqB;AAC1C,MAAAV,EAAc,QAAQU,GACtBR,EAAa,QAAQK,GACrBX,EAAM,QAAQ,KAAK,MAAM,GACzBA,EAAM,QAAQ,QAAQ;AAAA,IACxB;AAEA,WAAAe,EAAeN,GAAI,CAAAO,MAAST,EAAW,QAAQ,EAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
catalog?: any;
|
|
3
3
|
id?: any;
|
|
4
4
|
property?: any;
|
|
5
|
-
}
|
|
5
|
+
}, {}, {}, {
|
|
6
6
|
token(): any;
|
|
7
7
|
redirectUri(): string;
|
|
8
8
|
getIsDraft: import('vuex').Computed;
|
|
@@ -12,13 +12,9 @@ declare const _default: import('vue').DefineComponent<Readonly<{
|
|
|
12
12
|
convertToInput: import('vuex').ActionMethod;
|
|
13
13
|
setIsEditMode: import('vuex').ActionMethod;
|
|
14
14
|
setIsDraft: import('vuex').ActionMethod;
|
|
15
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
15
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
16
16
|
catalog?: any;
|
|
17
17
|
id?: any;
|
|
18
18
|
property?: any;
|
|
19
|
-
}
|
|
20
|
-
readonly catalog?: any;
|
|
21
|
-
readonly id?: any;
|
|
22
|
-
readonly property?: any;
|
|
23
|
-
}, {}>;
|
|
19
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
20
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mapGetters as s, mapActions as o } from "vuex";
|
|
2
|
-
import { openBlock as i, createElementBlock as n, createElementVNode as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
2
|
+
import { openBlock as i, createElementBlock as n, createElementVNode as p } from "vue";
|
|
3
|
+
import c from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const u = {
|
|
5
5
|
props: ["id", "property", "catalog"],
|
|
6
6
|
data() {
|
|
7
7
|
return {};
|
|
@@ -40,19 +40,19 @@ const d = {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
beforeRouteEnter(a,
|
|
44
|
-
r((
|
|
45
|
-
|
|
43
|
+
beforeRouteEnter(a, t, r) {
|
|
44
|
+
r((e) => {
|
|
45
|
+
t.fullPath.startsWith(e.redirectUri) ? e.$router.go(-1) : e.setupEditPage();
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
]
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
}, d = { style: { height: "370px" } };
|
|
49
|
+
function l(a, t, r, e, h, f) {
|
|
50
|
+
return i(), n("div", d, t[0] || (t[0] = [
|
|
51
|
+
p("div", { class: "spinner" }, null, -1)
|
|
52
|
+
]));
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const y = /* @__PURE__ */ c(u, [["render", l]]);
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
y as default
|
|
57
57
|
};
|
|
58
58
|
//# sourceMappingURL=DataFetchingComponent.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataFetchingComponent.vue.mjs","sources":["../../../lib/data-provider-interface/components/DataFetchingComponent.vue"],"sourcesContent":["<template>\n <div style=\"height:370px;\">\n <div class=\"spinner\"></div>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex';\n\nexport default {\n props: ['id', 'property', 'catalog'],\n data() {\n return {};\n },\n computed: {\n ...mapGetters('auth', [\n 'getIsDraft',\n 'getUserData',\n ]),\n token() {\n return this.getUserData.rtpToken;\n },\n redirectUri() {\n return `${this.$env.content.dataProviderInterface.basePath}/${this.property}?locale=${this.$i18n.locale}`;\n },\n },\n methods: {\n ...mapActions('auth', [\n 'setIsEditMode',\n 'setIsDraft',\n ]),\n ...mapActions('dpiStore', [\n 'convertToInput',\n ]),\n async setupEditPage() {\n this.$router.push({\n name: 'DataProviderInterface-Input',\n params: { property: this.property },\n query: { \n locale: this.$route.query.locale,\n edit: true,\n id: !this.getIsDraft && this.property === 'catalogues'\n ? this.catalog\n : this.id,\n catalog: this.catalog,\n fromDraft: this.getIsDraft ? 'true' : undefined,\n },\n })\n\n return;\n\n let endpoint;\n this.setIsEditMode(true);\n const specification = this.$env.content.dataProviderInterface.specification;\n\n if (this.getIsDraft) {\n this.setIsDraft(true);\n endpoint = `${this.$env.api.hubUrl}drafts/datasets/${this.id}.nt?catalogue=${this.catalog}`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.id, specification: specification });\n } else {\n this.setIsDraft(false);\n if (this.property === 'catalogues') {\n endpoint = `${this.$env.api.hubUrl}catalogues/${this.catalog}.nt`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.catalog, specification: specification });\n } else {\n endpoint = `${this.$env.api.hubUrl}datasets/${this.id}.nt?useNormalizedId=true`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.id, specification: specification });\n } \n }\n\n this.$router.push(this.redirectUri).catch(() => {});\n },\n },\n beforeRouteEnter(to, from, next) {\n next(vm => {\n if (from.fullPath.startsWith(vm.redirectUri)) {\n vm.$router.go(-1);\n } else vm.setupEditPage();\n });\n },\n};\n</script>\n"],"names":["_sfc_main","mapGetters","mapActions","to","from","next","vm","_hoisted_1","
|
|
1
|
+
{"version":3,"file":"DataFetchingComponent.vue.mjs","sources":["../../../lib/data-provider-interface/components/DataFetchingComponent.vue"],"sourcesContent":["<template>\n <div style=\"height:370px;\">\n <div class=\"spinner\"></div>\n </div>\n</template>\n\n<script>\nimport { mapActions, mapGetters } from 'vuex';\n\nexport default {\n props: ['id', 'property', 'catalog'],\n data() {\n return {};\n },\n computed: {\n ...mapGetters('auth', [\n 'getIsDraft',\n 'getUserData',\n ]),\n token() {\n return this.getUserData.rtpToken;\n },\n redirectUri() {\n return `${this.$env.content.dataProviderInterface.basePath}/${this.property}?locale=${this.$i18n.locale}`;\n },\n },\n methods: {\n ...mapActions('auth', [\n 'setIsEditMode',\n 'setIsDraft',\n ]),\n ...mapActions('dpiStore', [\n 'convertToInput',\n ]),\n async setupEditPage() {\n this.$router.push({\n name: 'DataProviderInterface-Input',\n params: { property: this.property },\n query: { \n locale: this.$route.query.locale,\n edit: true,\n id: !this.getIsDraft && this.property === 'catalogues'\n ? this.catalog\n : this.id,\n catalog: this.catalog,\n fromDraft: this.getIsDraft ? 'true' : undefined,\n },\n })\n\n return;\n\n let endpoint;\n this.setIsEditMode(true);\n const specification = this.$env.content.dataProviderInterface.specification;\n\n if (this.getIsDraft) {\n this.setIsDraft(true);\n endpoint = `${this.$env.api.hubUrl}drafts/datasets/${this.id}.nt?catalogue=${this.catalog}`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.id, specification: specification });\n } else {\n this.setIsDraft(false);\n if (this.property === 'catalogues') {\n endpoint = `${this.$env.api.hubUrl}catalogues/${this.catalog}.nt`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.catalog, specification: specification });\n } else {\n endpoint = `${this.$env.api.hubUrl}datasets/${this.id}.nt?useNormalizedId=true`;\n await this.convertToInput({endpoint, token: this.token, property: this.property, id: this.id, specification: specification });\n } \n }\n\n this.$router.push(this.redirectUri).catch(() => {});\n },\n },\n beforeRouteEnter(to, from, next) {\n next(vm => {\n if (from.fullPath.startsWith(vm.redirectUri)) {\n vm.$router.go(-1);\n } else vm.setupEditPage();\n });\n },\n};\n</script>\n"],"names":["_sfc_main","mapGetters","mapActions","to","from","next","vm","_hoisted_1","_openBlock","_createElementBlock","_cache","_createElementVNode"],"mappings":";;;AASA,MAAKA,IAAU;AAAA,EACb,OAAO,CAAC,MAAM,YAAY,SAAS;AAAA,EACnC,OAAO;AACL,WAAO;EACR;AAAA,EACD,UAAU;AAAA,IACR,GAAGC,EAAW,QAAQ;AAAA,MACpB;AAAA,MACA;AAAA,IACF,CAAC;AAAA,IACD,QAAQ;AACN,aAAO,KAAK,YAAY;AAAA,IACzB;AAAA,IACD,cAAc;AACZ,aAAO,GAAG,KAAK,KAAK,QAAQ,sBAAsB,QAAQ,IAAI,KAAK,QAAQ,WAAW,KAAK,MAAM,MAAM;AAAA,IACxG;AAAA,EACF;AAAA,EACD,SAAS;AAAA,IACP,GAAGC,EAAW,QAAQ;AAAA,MACpB;AAAA,MACA;AAAA,IACF,CAAC;AAAA,IACD,GAAGA,EAAW,YAAY;AAAA,MACxB;AAAA,IACF,CAAC;AAAA,IACD,MAAM,gBAAgB;AACpB,WAAK,QAAQ,KAAK;AAAA,QAChB,MAAM;AAAA,QACN,QAAQ,EAAE,UAAU,KAAK,SAAU;AAAA,QACnC,OAAO;AAAA,UACL,QAAQ,KAAK,OAAO,MAAM;AAAA,UAC1B,MAAM;AAAA,UACN,IAAI,CAAC,KAAK,cAAc,KAAK,aAAa,eACtC,KAAK,UACL,KAAK;AAAA,UACT,SAAS,KAAK;AAAA,UACd,WAAW,KAAK,aAAa,SAAS;AAAA,QACvC;AAAA,OACF;AAAA,IAwBF;AAAA,EACF;AAAA,EACD,iBAAiBC,GAAIC,GAAMC,GAAM;AAC/B,IAAAA,EAAK,CAAAC,MAAM;AACT,MAAIF,EAAK,SAAS,WAAWE,EAAG,WAAW,IACzCA,EAAG,QAAQ,GAAG,EAAE,IACXA,EAAG;IACZ,CAAC;AAAA,EACF;AACH,GA/EOC,IAAA,EAAA,OAAA,EAAqB,QAAA,QAAA,EAAA;;AAA1B,SAAAC,EAAA,GAAAC,EAEM,OAFNF,GAEMG,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,IADJC,EAA2B,OAAA,EAAtB,OAAM,UAAS,GAAA,MAAA,EAAA;AAAA;;;"}
|