@piveau/piveau-hub-ui-modules 4.4.10 → 4.4.12
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/data-provider-interface/DataProviderInterface.vue.d.ts +37 -0
- package/dist/data-provider-interface/components/DistributionStepper.vue.d.ts +1 -0
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +101 -96
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs +2 -2
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +16 -8
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +37 -37
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +37 -0
- package/dist/data-provider-interface/views/InputPage.vue.mjs +111 -149
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.d.ts +12 -0
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.d.ts +25 -0
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +18 -14
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.d.ts +12 -0
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs +89 -79
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.d.ts +13 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.mjs +21 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.mjs.map +1 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +48 -48
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs +17 -17
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.mjs +42 -32
- 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 +12 -0
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs +48 -38
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +37 -0
- package/dist/datasetDetails/distributions/Distribution.vue.mjs +31 -29
- package/dist/datasetDetails/distributions/Distribution.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/Distributions.vue.d.ts +6 -2
- package/dist/datasetDetails/distributions/Distributions.vue.mjs +44 -37
- package/dist/datasetDetails/distributions/Distributions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.d.ts +3 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs +35 -24
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue2.mjs +2 -2
- package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.d.ts +9 -1
- package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.mjs +21 -8
- package/dist/datasetDetails/distributions/distributionPreview/DistributionVisualisationSlot.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import k from "
|
|
1
|
+
import g from "./Properties/URIProp.vue.mjs";
|
|
2
|
+
import P from "./Properties/URLProp.vue.mjs";
|
|
3
|
+
import f from "./Properties/StringProp.vue.mjs";
|
|
4
|
+
import S from "./Properties/SpecialProp.vue.mjs";
|
|
5
|
+
import k from "./Properties/MultilingualProp.vue.mjs";
|
|
6
|
+
import R from "../../utils/general-helper.mjs";
|
|
6
7
|
import "lodash-es";
|
|
7
|
-
import { resolveComponent as o, openBlock as t, createElementBlock as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
8
|
+
import { resolveComponent as o, openBlock as t, createElementBlock as r, createBlock as i, createCommentVNode as l, createTextVNode as n, createVNode as d, Fragment as U, renderList as I } from "vue";
|
|
9
|
+
import s from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
|
+
const H = {
|
|
10
11
|
components: {
|
|
11
|
-
URIProp:
|
|
12
|
-
URLProp:
|
|
13
|
-
StringProp:
|
|
14
|
-
SpecialProp:
|
|
12
|
+
URIProp: g,
|
|
13
|
+
URLProp: P,
|
|
14
|
+
StringProp: f,
|
|
15
|
+
SpecialProp: S,
|
|
16
|
+
MultilingualProp: k
|
|
15
17
|
},
|
|
16
18
|
props: {
|
|
17
19
|
profile: String,
|
|
@@ -25,62 +27,70 @@ const s = {
|
|
|
25
27
|
},
|
|
26
28
|
computed: {
|
|
27
29
|
isSet() {
|
|
28
|
-
return
|
|
30
|
+
return R.propertyHasValue(this.data[this.property]);
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
|
-
},
|
|
33
|
+
}, x = {
|
|
32
34
|
key: 0,
|
|
33
35
|
class: "align-items-center"
|
|
34
|
-
},
|
|
35
|
-
key:
|
|
36
|
+
}, b = {
|
|
37
|
+
key: 4,
|
|
36
38
|
class: "w-100"
|
|
37
|
-
},
|
|
38
|
-
function
|
|
39
|
-
const
|
|
40
|
-
return t(),
|
|
41
|
-
|
|
42
|
-
e.value.type === "singularURI" || e.value.type === "multiURI" || e.value.type === "singularURI" ? (t(),
|
|
39
|
+
}, N = { key: 0 }, V = { key: 1 }, B = { key: 2 };
|
|
40
|
+
function M(h, a, e, j, C, y) {
|
|
41
|
+
const c = o("URIProp"), p = o("URLProp"), m = o("StringProp"), v = o("MultilingualProp"), u = o("SpecialProp");
|
|
42
|
+
return t(), r("div", null, [
|
|
43
|
+
y.isSet ? (t(), r("tr", x, [
|
|
44
|
+
e.value.type === "singularURI" || e.value.type === "multiURI" || e.value.type === "singularURI" ? (t(), i(c, {
|
|
43
45
|
key: 0,
|
|
44
46
|
property: e.property,
|
|
45
47
|
value: e.value,
|
|
46
48
|
data: e.data,
|
|
47
49
|
inHeader: e.inHeader
|
|
48
50
|
}, null, 8, ["property", "value", "data", "inHeader"])) : l("", !0),
|
|
49
|
-
|
|
50
|
-
e.value.type === "singularURL" || e.value.type === "multiURL" ? (t(),
|
|
51
|
+
a[0] || (a[0] = n()),
|
|
52
|
+
e.value.type === "singularURL" || e.value.type === "multiURL" ? (t(), i(p, {
|
|
51
53
|
key: 1,
|
|
52
54
|
property: e.property,
|
|
53
55
|
value: e.value,
|
|
54
56
|
data: e.data
|
|
55
57
|
}, null, 8, ["property", "value", "data"])) : l("", !0),
|
|
56
|
-
|
|
57
|
-
e.value.type === "singularString" || e.value.type === "multiString" ? (t(),
|
|
58
|
+
a[1] || (a[1] = n()),
|
|
59
|
+
e.value.type === "singularString" || e.value.type === "multiString" ? (t(), i(m, {
|
|
58
60
|
key: 2,
|
|
59
61
|
property: e.property,
|
|
60
62
|
value: e.value,
|
|
61
63
|
data: e.data,
|
|
62
64
|
dpiLocale: e.dpiLocale
|
|
63
65
|
}, null, 8, ["property", "value", "data", "dpiLocale"])) : l("", !0),
|
|
64
|
-
|
|
65
|
-
e.value.type === "
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
a[2] || (a[2] = n()),
|
|
67
|
+
e.value.type === "multiLingual" ? (t(), i(v, {
|
|
68
|
+
key: 3,
|
|
69
|
+
property: e.property,
|
|
70
|
+
value: e.value,
|
|
71
|
+
data: e.data,
|
|
72
|
+
dpiLocale: e.dpiLocale
|
|
73
|
+
}, null, 8, ["property", "value", "data", "dpiLocale"])) : l("", !0),
|
|
74
|
+
a[3] || (a[3] = n()),
|
|
75
|
+
e.value.type === "special" ? (t(), r("div", b, [
|
|
76
|
+
e.property === "dct:publisher" || e.property === "dct:license" ? (t(), r("div", N, [
|
|
77
|
+
d(u, {
|
|
68
78
|
property: e.property,
|
|
69
79
|
value: e.value,
|
|
70
80
|
data: e.data,
|
|
71
81
|
dpiLocale: e.dpiLocale
|
|
72
82
|
}, null, 8, ["property", "value", "data", "dpiLocale"])
|
|
73
|
-
])) : e.property != "dct:creator" && e.property != "dcat:temporalResolution" && e.property != "spdx:checksum" ? (t(),
|
|
74
|
-
(t(!0),
|
|
75
|
-
u
|
|
83
|
+
])) : e.property != "dct:creator" && e.property != "dcat:temporalResolution" && e.property != "spdx:checksum" ? (t(), r("div", V, [
|
|
84
|
+
(t(!0), r(U, null, I(e.data[e.property], (L, _) => (t(), r("div", { key: _ }, [
|
|
85
|
+
d(u, {
|
|
76
86
|
property: e.property,
|
|
77
87
|
value: e.value,
|
|
78
|
-
data:
|
|
88
|
+
data: L,
|
|
79
89
|
dpiLocale: e.dpiLocale
|
|
80
90
|
}, null, 8, ["property", "value", "data", "dpiLocale"])
|
|
81
91
|
]))), 128))
|
|
82
|
-
])) : (t(),
|
|
83
|
-
u
|
|
92
|
+
])) : (t(), r("div", B, [
|
|
93
|
+
d(u, {
|
|
84
94
|
property: e.property,
|
|
85
95
|
value: e.value,
|
|
86
96
|
data: e.data[e.property],
|
|
@@ -91,8 +101,8 @@ function N(V, r, e, B, j, c) {
|
|
|
91
101
|
])) : l("", !0)
|
|
92
102
|
]);
|
|
93
103
|
}
|
|
94
|
-
const
|
|
104
|
+
const G = /* @__PURE__ */ s(H, [["render", M]]);
|
|
95
105
|
export {
|
|
96
|
-
|
|
106
|
+
G as default
|
|
97
107
|
};
|
|
98
108
|
//# sourceMappingURL=PropertyEntry.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyEntry.vue.mjs","sources":["../../../../lib/data-provider-interface/views/OverviewPage/PropertyEntry.vue"],"sourcesContent":["<template>\n <div>\n
|
|
1
|
+
{"version":3,"file":"PropertyEntry.vue.mjs","sources":["../../../../lib/data-provider-interface/views/OverviewPage/PropertyEntry.vue"],"sourcesContent":["<template>\n <div>\n\n <tr class=\"align-items-center\" v-if=\"isSet\">\n <!-- <td class=\" font-weight-bold\" v-if=\"value.type !== 'special'\">{{ $t(`${value.label}`) }}:</td> -->\n <URIProp v-if=\"value.type === 'singularURI' || value.type === 'multiURI' || value.type === 'singularURI'\"\n :property=\"property\" :value=\"value\" :data=\"data\" :inHeader=\"inHeader\">\n </URIProp>\n <URLProp v-if=\"value.type === 'singularURL' || value.type === 'multiURL'\" :property=\"property\"\n :value=\"value\" :data=\"data\"></URLProp>\n <StringProp v-if=\"value.type === 'singularString' || value.type === 'multiString'\" :property=\"property\"\n :value=\"value\" :data=\"data\" :dpiLocale=\"dpiLocale\"></StringProp>\n <MultilingualProp v-if=\"value.type === 'multiLingual' \" :property=\"property\"\n :value=\"value\" :data=\"data\" :dpiLocale=\"dpiLocale\"></MultilingualProp>\n\n <!-- SPECIAL -->\n <div class=\"w-100\" v-if=\"value.type === 'special'\">\n <div v-if=\"property === 'dct:publisher' || property === 'dct:license'\">\n <SpecialProp :property=\"property\" :value=\"value\" :data=\"data\" :dpiLocale=\"dpiLocale\"></SpecialProp>\n </div>\n <div\n v-else-if=\"property != 'dct:creator' && property != 'dcat:temporalResolution' && property != 'spdx:checksum'\">\n <div v-for=\"(elem, index) in data[property]\" :key=\"index\">\n <SpecialProp :property=\"property\" :value=\"value\" :data=\"elem\" :dpiLocale=\"dpiLocale\">\n </SpecialProp>\n </div>\n </div>\n <div v-else>\n <SpecialProp :property=\"property\" :value=\"value\" :data=\"data[property]\" :dpiLocale=\"dpiLocale\">\n </SpecialProp>\n </div>\n\n </div>\n\n </tr>\n </div>\n</template>\n\n<script>\nimport URIProp from './Properties/URIProp.vue';\nimport URLProp from './Properties/URLProp.vue';\nimport StringProp from './Properties/StringProp.vue';\nimport SpecialProp from './Properties/SpecialProp.vue';\nimport MultilingualProp from './Properties/MultilingualProp.vue';\nimport generalHelper from '../../utils/general-helper';\n\nimport { has, isNil, isEmpty } from 'lodash';\n\nexport default {\n components: {\n URIProp,\n URLProp,\n StringProp,\n SpecialProp,\n MultilingualProp\n },\n props: {\n profile: String,\n data: Object,\n property: String,\n value: Object,\n dpiLocale: String,\n distId: Number,\n type: String,\n inHeader: String\n },\n computed: {\n isSet() {\n return generalHelper.propertyHasValue(this.data[this.property]);\n }\n }\n}\n</script>\n"],"names":["_sfc_main","URIProp","URLProp","StringProp","SpecialProp","MultilingualProp","generalHelper","_createElementBlock","$options","_openBlock","_hoisted_1","$props","_createBlock","_component_URIProp","_createCommentVNode","_cache","_createTextVNode","_component_URLProp","_component_StringProp","_component_MultilingualProp","_hoisted_2","_hoisted_3","_createVNode","_component_SpecialProp","_hoisted_4","_Fragment","_renderList","elem","index","_hoisted_5"],"mappings":";;;;;;;;;AAgDA,MAAKA,IAAU;AAAA,EACX,YAAY;AAAA,IACR,SAAAC;AAAA,IACA,SAAAC;AAAA,IACA,YAAAC;AAAA,IACA,aAAAC;AAAA,IACA,kBAAAC;AAAAA,EACH;AAAA,EACD,OAAO;AAAA,IACH,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,UAAU;AAAA,EACb;AAAA,EACD,UAAU;AAAA,IACN,QAAQ;AACJ,aAAOC,EAAc,iBAAiB,KAAK,KAAK,KAAK,QAAQ,CAAC;AAAA,IAClE;AAAA,EACJ;AACJ;EAvEA,KAAA;AAAA,EAGY,OAAM;;EAHlB,KAAA;A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AAS;AAAA,iEAbjEG,EAAA,IAAA,EAAA;AAAA,MAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAAC,EAAA;AAAA,MAgBqCL,EAAA,MAAM,SAAI,aAAnCF,KAAAF,EAgBM,OAhBNa,GAgBM;AAAA,QAfST,EAAA,gCAAgCA,EAAQ,aAAA,iBAAnDF,KAAAF,EAEM,OAnBtBc,GAAA;AAAA,UAkBoBC,EAAmGC,GAAA;AAAA,YAArF,UAAUZ,EAAQ;AAAA,YAAG,OAAOA,EAAK;AAAA,YAAG,MAAMA,EAAI;AAAA,YAAG,WAAWA,EAAS;AAAA;cAGxEA,EAAQ,YAAA,iBAAqBA,EAAQ,YAAA,6BAAiCA,EAAQ,YAAA,mBAD7FF,KAAAF,EAMM,OA1BtBiB,GAAA;AAAA,kBAsBoBjB,EAGMkB,GAAA,MAzB1BC,EAsBiDf,EAAI,KAACA,UAAQ,GAtB9D,CAsBiCgB,GAAMC,YAAnBrB,EAGM,OAAA,EAHwC,KAAKqB,KAAK;AAAA,YACpDN,EACcC,GAAA;AAAA,cADA,UAAUZ,EAAQ;AAAA,cAAG,OAAOA,EAAK;AAAA,cAAG,MAAMgB;AAAA,cAAO,WAAWhB,EAAS;AAAA;;eAI3FF,KAAAF,EAGM,OA9BtBsB,GAAA;AAAA,UA4BoBP,EACcC,GAAA;AAAA,YADA,UAAUZ,EAAQ;AAAA,YAAG,OAAOA,EAAK;AAAA,YAAG,MAAMA,EAAI,KAACA,EAAQ,QAAA;AAAA,YAAI,WAAWA,EAAS;AAAA;;YA5BjHG,EAAA,IAAA,EAAA;AAAA,UAAAA,EAAA,IAAA,EAAA;AAAA;;;"}
|
|
@@ -254,6 +254,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
254
254
|
getData: import('vuex').Computed;
|
|
255
255
|
}, {
|
|
256
256
|
checkIfPropertySet(data: any, property: any): any;
|
|
257
|
+
getDate(date: any): any;
|
|
257
258
|
checkIfPropertyValueSet(data: any, property: any, value: any): any;
|
|
258
259
|
reqName(URI: any): Promise<any>;
|
|
259
260
|
requestFirstEntrySuggestions: import('vuex').ActionMethod;
|
|
@@ -376,6 +377,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
376
377
|
inHeader: StringConstructor;
|
|
377
378
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
378
379
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
380
|
+
MultilingualProp: import('vue').DefineComponent<{}, {
|
|
381
|
+
value?: Record<string, any> | undefined;
|
|
382
|
+
data?: Record<string, any> | undefined;
|
|
383
|
+
property?: Record<string, any> | undefined;
|
|
384
|
+
dpiLocale?: Record<string, any> | undefined;
|
|
385
|
+
$props: {
|
|
386
|
+
readonly value?: Record<string, any> | undefined;
|
|
387
|
+
readonly data?: Record<string, any> | undefined;
|
|
388
|
+
readonly property?: Record<string, any> | undefined;
|
|
389
|
+
readonly dpiLocale?: Record<string, any> | undefined;
|
|
390
|
+
};
|
|
391
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
379
392
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
380
393
|
DistributionOverview: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
381
394
|
dpiLocale: StringConstructor;
|
|
@@ -624,6 +637,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
624
637
|
inHeader: StringConstructor;
|
|
625
638
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
626
639
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
640
|
+
MultilingualProp: import('vue').DefineComponent<{}, {
|
|
641
|
+
value?: Record<string, any> | undefined;
|
|
642
|
+
data?: Record<string, any> | undefined;
|
|
643
|
+
property?: Record<string, any> | undefined;
|
|
644
|
+
dpiLocale?: Record<string, any> | undefined;
|
|
645
|
+
$props: {
|
|
646
|
+
readonly value?: Record<string, any> | undefined;
|
|
647
|
+
readonly data?: Record<string, any> | undefined;
|
|
648
|
+
readonly property?: Record<string, any> | undefined;
|
|
649
|
+
readonly dpiLocale?: Record<string, any> | undefined;
|
|
650
|
+
};
|
|
651
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
627
652
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
628
653
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
629
654
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -802,6 +827,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
802
827
|
inHeader: StringConstructor;
|
|
803
828
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
804
829
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
830
|
+
MultilingualProp: import('vue').DefineComponent<{}, {
|
|
831
|
+
value?: Record<string, any> | undefined;
|
|
832
|
+
data?: Record<string, any> | undefined;
|
|
833
|
+
property?: Record<string, any> | undefined;
|
|
834
|
+
dpiLocale?: Record<string, any> | undefined;
|
|
835
|
+
$props: {
|
|
836
|
+
readonly value?: Record<string, any> | undefined;
|
|
837
|
+
readonly data?: Record<string, any> | undefined;
|
|
838
|
+
readonly property?: Record<string, any> | undefined;
|
|
839
|
+
readonly dpiLocale?: Record<string, any> | undefined;
|
|
840
|
+
};
|
|
841
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
805
842
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
806
843
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
807
844
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { has as w, isNil as F } from "lodash-es";
|
|
2
2
|
import { truncate as g } from "../../utils/helpers.mjs";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import h from "./distributionDetails/DistributionExpand.vue.mjs";
|
|
4
|
+
import f from "./distributionDetails/DistributionVisibleContent.vue.mjs";
|
|
5
5
|
import U from "./distributionDetails/DistributionExpandedContent.vue.mjs";
|
|
6
6
|
import y from "./distributionDetails/DistributionDescription.vue.mjs";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { resolveComponent as n, openBlock as
|
|
7
|
+
import p from "./DistributionFormat.vue.mjs";
|
|
8
|
+
import v from "./FadingDistributionOverlay.vue.mjs";
|
|
9
|
+
import C from "./distributionActions/DistributionActions.vue.mjs";
|
|
10
|
+
import E from "./DistributionAdded.vue.mjs";
|
|
11
|
+
import { resolveComponent as n, openBlock as u, createElementBlock as x, createElementVNode as a, createVNode as s, createTextVNode as o, renderSlot as I, createBlock as L, createCommentVNode as O } from "vue";
|
|
12
12
|
import "./Distribution.vue2.mjs";
|
|
13
|
-
import
|
|
14
|
-
const
|
|
13
|
+
import V from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
14
|
+
const k = {
|
|
15
15
|
name: "Distribution",
|
|
16
16
|
components: {
|
|
17
|
-
DistributionAdded:
|
|
18
|
-
DistributionActions:
|
|
19
|
-
FadingDistributionOverlay:
|
|
20
|
-
DistributionFormat:
|
|
17
|
+
DistributionAdded: E,
|
|
18
|
+
DistributionActions: C,
|
|
19
|
+
FadingDistributionOverlay: v,
|
|
20
|
+
DistributionFormat: p,
|
|
21
21
|
DistributionDescription: y,
|
|
22
22
|
DistributionExpandedContent: U,
|
|
23
|
-
DistributionVisibleContent:
|
|
24
|
-
DistributionExpand:
|
|
23
|
+
DistributionVisibleContent: f,
|
|
24
|
+
DistributionExpand: h
|
|
25
25
|
},
|
|
26
26
|
props: {
|
|
27
27
|
fading: Boolean,
|
|
@@ -73,25 +73,26 @@ const V = {
|
|
|
73
73
|
isNil: F,
|
|
74
74
|
truncate: g,
|
|
75
75
|
selectForPreview() {
|
|
76
|
-
this
|
|
76
|
+
const r = this.distribution.downloadUrls && this.distribution.downloadUrls.length ? this.distribution.downloadUrls[0] : this.distribution.accessUrl[0];
|
|
77
|
+
this.$emit("selectForPreview", { title: this.getDistributionTitle(this.distribution), url: r, format: this.getDistributionFormat(this.distribution).toLowerCase() });
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
}, A = { class: "mb-3 d-flex flex-row flex-wrap flex-md-nowrap distributions__item" }, _ = { class: "actions-container" };
|
|
80
|
-
function T(
|
|
81
|
+
function T(r, t, i, N, j, e) {
|
|
81
82
|
const d = n("distribution-format"), l = n("distribution-details"), b = n("distribution-added"), c = n("distribution-actions"), D = n("fading-distribution-overlay");
|
|
82
|
-
return
|
|
83
|
+
return u(), x("div", {
|
|
83
84
|
class: "position-relative",
|
|
84
|
-
onClick: t[0] || (t[0] = (...m) =>
|
|
85
|
+
onClick: t[0] || (t[0] = (...m) => e.selectForPreview && e.selectForPreview(...m))
|
|
85
86
|
}, [
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
a("div", A, [
|
|
88
|
+
s(d, {
|
|
88
89
|
distribution: i.distribution,
|
|
89
90
|
getDistributionFormat: i.getDistributionFormat,
|
|
90
91
|
distributionFormatTruncated: i.distributionFormatTruncated,
|
|
91
92
|
embed: i.embed
|
|
92
93
|
}, null, 8, ["distribution", "getDistributionFormat", "distributionFormatTruncated", "embed"]),
|
|
93
94
|
t[2] || (t[2] = o()),
|
|
94
|
-
|
|
95
|
+
s(l, {
|
|
95
96
|
getDistributionTitle: i.getDistributionTitle,
|
|
96
97
|
distribution: i.distribution,
|
|
97
98
|
distributions: i.distributions,
|
|
@@ -113,10 +114,11 @@ function T(a, t, i, N, j, s) {
|
|
|
113
114
|
toggleDistribution: i.toggleDistribution
|
|
114
115
|
}, null, 8, ["getDistributionTitle", "distribution", "distributions", "distributionDescriptionIsExpanded", "getDistributionDescription", "toggleDistributionDescription", "distributionDescriptionIsExpandable", "distributionVisibleContent", "distributionExpandedContent", "distributionIsExpanded", "showLicensingAssistant", "showLicence", "filterDateFormatEU", "showArray", "showNumber", "showObject", "showObjectArray", "appendCurrentLocaleToURL", "toggleDistribution"]),
|
|
115
116
|
t[3] || (t[3] = o()),
|
|
116
|
-
|
|
117
|
+
s(b, { date: e.updatedDate }, null, 8, ["date"]),
|
|
117
118
|
t[4] || (t[4] = o()),
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
a("div", _, [
|
|
120
|
+
s(c, {
|
|
121
|
+
onDisplayVisualisation: e.selectForPreview,
|
|
120
122
|
distribution: i.distribution,
|
|
121
123
|
distributions: i.distributions,
|
|
122
124
|
isUrlInvalid: i.isUrlInvalid,
|
|
@@ -131,13 +133,13 @@ function T(a, t, i, N, j, s) {
|
|
|
131
133
|
trackGoto: i.trackGoto,
|
|
132
134
|
getDistributionFormat: i.getDistributionFormat,
|
|
133
135
|
replaceHttp: i.replaceHttp
|
|
134
|
-
}, null, 8, ["distribution", "distributions", "isUrlInvalid", "getVisualisationLink", "showTooltipVisualiseButton", "previewLinkCallback", "openIfValidUrl", "showDownloadDropdown", "getDownloadUrl", "showAccessUrls", "isOnlyOneUrl", "trackGoto", "getDistributionFormat", "replaceHttp"]),
|
|
136
|
+
}, null, 8, ["onDisplayVisualisation", "distribution", "distributions", "isUrlInvalid", "getVisualisationLink", "showTooltipVisualiseButton", "previewLinkCallback", "openIfValidUrl", "showDownloadDropdown", "getDownloadUrl", "showAccessUrls", "isOnlyOneUrl", "trackGoto", "getDistributionFormat", "replaceHttp"]),
|
|
135
137
|
t[1] || (t[1] = o()),
|
|
136
|
-
I(
|
|
138
|
+
I(r.$slots, "additional-actions", {}, void 0, !0)
|
|
137
139
|
])
|
|
138
140
|
]),
|
|
139
141
|
t[5] || (t[5] = o()),
|
|
140
|
-
i.fading ? (
|
|
142
|
+
i.fading ? (u(), L(D, {
|
|
141
143
|
key: 0,
|
|
142
144
|
distributions: i.distributions,
|
|
143
145
|
setDistributionsDisplayCount: i.setDistributionsDisplayCount,
|
|
@@ -146,7 +148,7 @@ function T(a, t, i, N, j, s) {
|
|
|
146
148
|
}, null, 8, ["distributions", "setDistributionsDisplayCount", "increaseNumDisplayedDistributions", "nonOverflowingIncrementsForDistributions"])) : O("", !0)
|
|
147
149
|
]);
|
|
148
150
|
}
|
|
149
|
-
const X = /* @__PURE__ */ k
|
|
151
|
+
const X = /* @__PURE__ */ V(k, [["render", T], ["__scopeId", "data-v-87cb6876"]]);
|
|
150
152
|
export {
|
|
151
153
|
X as default
|
|
152
154
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Distribution.vue.mjs","sources":["../../../lib/datasetDetails/distributions/Distribution.vue"],"sourcesContent":["<template>\n <div class=\"position-relative\" @click=\"selectForPreview\">\n <div class=\"mb-3 d-flex flex-row flex-wrap flex-md-nowrap distributions__item\">\n <distribution-format :distribution=\"distribution\" :getDistributionFormat=\"getDistributionFormat\"\n :distributionFormatTruncated=\"distributionFormatTruncated\" :embed=\"embed\" />\n <distribution-details :getDistributionTitle=\"getDistributionTitle\" :distribution=\"distribution\"\n :distributions=\"distributions\" :distributionDescriptionIsExpanded=\"distributionDescriptionIsExpanded\"\n :getDistributionDescription=\"getDistributionDescription\"\n :toggleDistributionDescription=\"toggleDistributionDescription\"\n :distributionDescriptionIsExpandable=\"distributionDescriptionIsExpandable\"\n :distributionVisibleContent=\"distributionVisibleContent\"\n :distributionExpandedContent=\"distributionExpandedContent\" :distributionIsExpanded=\"distributionIsExpanded\"\n :showLicensingAssistant=\"showLicensingAssistant\" :showLicence=\"showLicence\"\n :filterDateFormatEU=\"filterDateFormatEU\" :showArray=\"showArray\" :showNumber=\"showNumber\"\n :showObject=\"showObject\" :showObjectArray=\"showObjectArray\" :appendCurrentLocaleToURL=\"appendCurrentLocaleToURL\"\n :toggleDistribution=\"toggleDistribution\" />\n <distribution-added :date=\"updatedDate\" />\n\n <div class=\"actions-container\">\n <distribution-actions :distribution=\"distribution\" :distributions=\"distributions\" :isUrlInvalid=\"isUrlInvalid\"\n :getVisualisationLink=\"getVisualisationLink\" :showTooltipVisualiseButton=\"showTooltipVisualiseButton\"\n :previewLinkCallback=\"previewLinkCallback\" :openIfValidUrl=\"openIfValidUrl\"\n :showDownloadDropdown=\"showDownloadDropdown\" :getDownloadUrl=\"getDownloadUrl\" :showAccessUrls=\"showAccessUrls\"\n :isOnlyOneUrl=\"isOnlyOneUrl\" :trackGoto=\"trackGoto\" :getDistributionFormat=\"getDistributionFormat\"\n :replaceHttp=\"replaceHttp\" />\n <slot name=\"additional-actions\"></slot>\n </div>\n\n </div>\n <fading-distribution-overlay v-if=\"fading\" :distributions=\"distributions\"\n :setDistributionsDisplayCount=\"setDistributionsDisplayCount\"\n :increaseNumDisplayedDistributions=\"increaseNumDisplayedDistributions\"\n :nonOverflowingIncrementsForDistributions=\"nonOverflowingIncrementsForDistributions\" />\n </div>\n</template>\n\n<script>\nimport {\n has,\n isNil\n} from 'lodash';\nimport { truncate } from '../../utils/helpers';\nimport DistributionExpand from \"./distributionDetails/DistributionExpand\";\nimport DistributionVisibleContent\n from \"./distributionDetails/DistributionVisibleContent\";\nimport DistributionExpandedContent\n from \"./distributionDetails/DistributionExpandedContent\";\nimport DistributionDescription\n from \"./distributionDetails/DistributionDescription\";\nimport DistributionFormat from \"./DistributionFormat\";\nimport FadingDistributionOverlay\n from \"./FadingDistributionOverlay\";\nimport DistributionActions from \"./distributionActions/DistributionActions\";\nimport DistributionAdded from \"./DistributionAdded\";\n\nexport default {\n name: 'Distribution',\n components: {\n DistributionAdded,\n DistributionActions,\n FadingDistributionOverlay,\n DistributionFormat,\n DistributionDescription,\n DistributionExpandedContent,\n DistributionVisibleContent,\n DistributionExpand\n },\n props: {\n fading: Boolean,\n distribution: Object,\n distributions: Object,\n setDistributionsDisplayCount: Function,\n openModal: Function,\n getDistributionFormat: Function,\n distributionFormatTruncated: Function,\n getDistributionTitle: Function,\n distributionVisibleContent: Array,\n distributionExpandedContent: Array,\n distributionDescriptionIsExpanded: Function,\n distributionDescriptionIsExpandable: Function,\n getDistributionDescription: Function,\n distributionIsExpanded: Function,\n showObject: Function,\n showNumber: Function,\n showDownloadDropdown: Function,\n showLicence: Function,\n showLicensingAssistant: Function,\n filterDateFormatEU: Function,\n showArray: Function,\n showObjectArray: Function,\n getVisualisationLink: Function,\n isOnlyOneUrl: Function,\n getDownloadUrl: Function,\n trackGoto: Function,\n showAccessUrls: Function,\n replaceHttp: Function,\n previewLinkCallback: Function,\n toggleDistribution: Function,\n toggleDistributionDescription: Function,\n increaseNumDisplayedDistributions: Function,\n nonOverflowingIncrementsForDistributions: Function,\n isUrlInvalid: Function,\n openIfValidUrl: Function,\n showTooltipVisualiseButton: Function,\n appendCurrentLocaleToURL: Function,\n embed: Boolean,\n },\n computed: {\n updatedDate() {\n if (this.has(this.distribution, 'modificationDate') && !this.isNil(this.distribution.modificationDate)) {\n return this.filterDateFormatEU(this.distribution.modificationDate);\n } else {\n return this.filterDateFormatEU(this.distribution.releaseDate);\n }\n }\n },\n methods: {\n has,\n isNil,\n truncate,\n selectForPreview() {\n this.$emit('selectForPreview', this.getDistributionTitle(this.distribution))\n }\n }\n};\n</script>\n\n\n<style lang=\"scss\" scoped>\n.text-break {\n word-break: break-word;\n}\n\ntd {\n padding-left: 0 !important;\n padding-top: 1% !important;\n padding-bottom: 1% !important;\n}\n\n/*** BOOTSTRAP ***/\nbutton:focus {\n outline: 0;\n}\n\n.options,\n.download {\n .dropdown-menu {\n .dropdown-item {\n &:hover {\n color: initial;\n background-color: initial;\n }\n }\n }\n}\n\n.material-icons.small-icon {\n font-size: 20px;\n}\n\n.distributions__item {\n //position: relative;\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n</style>\n"],"names":["_sfc_main","DistributionAdded","DistributionActions","FadingDistributionOverlay","DistributionFormat","DistributionDescription","DistributionExpandedContent","DistributionVisibleContent","DistributionExpand","has","isNil","truncate","_hoisted_1","_hoisted_2","_createElementBlock","$options","args","_createElementVNode","_createVNode","_component_distribution_format","$props","_cache","_createTextVNode","_component_distribution_details","_component_distribution_added","_component_distribution_actions","_renderSlot","_ctx","_createBlock","_component_fading_distribution_overlay","_createCommentVNode"],"mappings":";;;;;;;;;;;;;AAuDA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,2BAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,yBAAAC;AAAA,IACA,6BAAAC;AAAA,IACA,4BAAAC;AAAA,IACA,oBAAAC;AAAA,EACD;AAAA,EACD,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,eAAe;AAAA,IACf,8BAA8B;AAAA,IAC9B,WAAW;AAAA,IACX,uBAAuB;AAAA,IACvB,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,4BAA4B;AAAA,IAC5B,6BAA6B;AAAA,IAC7B,mCAAmC;AAAA,IACnC,qCAAqC;AAAA,IACrC,4BAA4B;AAAA,IAC5B,wBAAwB;AAAA,IACxB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,wBAAwB;AAAA,IACxB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,cAAc;AAAA,IACd,gBAAgB;AA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CAAA,IAAAC,EAAA;AAAA,IA6BuCF,EAAM,eAAzCQ,EAGyFC,GAAA;AAAA,MAhC7F,KAAA;AAAA,MA6BgD,eAAeT,EAAa;AAAA,MACrE,8BAA8BA,EAA4B;AAAA,MAC1D,mCAAmCA,EAAiC;AAAA,MACpE,0CAA0CA,EAAwC;AAAA,uJAhCzFU,EAAA,IAAA,EAAA;AAAA;;;"}
|
|
1
|
+
{"version":3,"file":"Distribution.vue.mjs","sources":["../../../lib/datasetDetails/distributions/Distribution.vue"],"sourcesContent":["<template>\n <div class=\"position-relative\" @click=\"selectForPreview\">\n <div class=\"mb-3 d-flex flex-row flex-wrap flex-md-nowrap distributions__item\">\n <distribution-format :distribution=\"distribution\" :getDistributionFormat=\"getDistributionFormat\"\n :distributionFormatTruncated=\"distributionFormatTruncated\" :embed=\"embed\" />\n <distribution-details :getDistributionTitle=\"getDistributionTitle\" :distribution=\"distribution\"\n :distributions=\"distributions\" :distributionDescriptionIsExpanded=\"distributionDescriptionIsExpanded\"\n :getDistributionDescription=\"getDistributionDescription\"\n :toggleDistributionDescription=\"toggleDistributionDescription\"\n :distributionDescriptionIsExpandable=\"distributionDescriptionIsExpandable\"\n :distributionVisibleContent=\"distributionVisibleContent\"\n :distributionExpandedContent=\"distributionExpandedContent\" :distributionIsExpanded=\"distributionIsExpanded\"\n :showLicensingAssistant=\"showLicensingAssistant\" :showLicence=\"showLicence\"\n :filterDateFormatEU=\"filterDateFormatEU\" :showArray=\"showArray\" :showNumber=\"showNumber\"\n :showObject=\"showObject\" :showObjectArray=\"showObjectArray\" :appendCurrentLocaleToURL=\"appendCurrentLocaleToURL\"\n :toggleDistribution=\"toggleDistribution\" />\n <distribution-added :date=\"updatedDate\" />\n\n <div class=\"actions-container\">\n <distribution-actions @display-visualisation=\"selectForPreview\" :distribution=\"distribution\" :distributions=\"distributions\" :isUrlInvalid=\"isUrlInvalid\"\n :getVisualisationLink=\"getVisualisationLink\" :showTooltipVisualiseButton=\"showTooltipVisualiseButton\"\n :previewLinkCallback=\"previewLinkCallback\" :openIfValidUrl=\"openIfValidUrl\"\n :showDownloadDropdown=\"showDownloadDropdown\" :getDownloadUrl=\"getDownloadUrl\" :showAccessUrls=\"showAccessUrls\"\n :isOnlyOneUrl=\"isOnlyOneUrl\" :trackGoto=\"trackGoto\" :getDistributionFormat=\"getDistributionFormat\"\n :replaceHttp=\"replaceHttp\" />\n <slot name=\"additional-actions\"></slot>\n </div>\n\n </div>\n <fading-distribution-overlay v-if=\"fading\" :distributions=\"distributions\"\n :setDistributionsDisplayCount=\"setDistributionsDisplayCount\"\n :increaseNumDisplayedDistributions=\"increaseNumDisplayedDistributions\"\n :nonOverflowingIncrementsForDistributions=\"nonOverflowingIncrementsForDistributions\" />\n </div>\n</template>\n\n<script>\nimport {\n has,\n isNil\n} from 'lodash';\nimport { truncate } from '../../utils/helpers';\nimport DistributionExpand from \"./distributionDetails/DistributionExpand\";\nimport DistributionVisibleContent\n from \"./distributionDetails/DistributionVisibleContent\";\nimport DistributionExpandedContent\n from \"./distributionDetails/DistributionExpandedContent\";\nimport DistributionDescription\n from \"./distributionDetails/DistributionDescription\";\nimport DistributionFormat from \"./DistributionFormat\";\nimport FadingDistributionOverlay\n from \"./FadingDistributionOverlay\";\nimport DistributionActions from \"./distributionActions/DistributionActions\";\nimport DistributionAdded from \"./DistributionAdded\";\n\nexport default {\n name: 'Distribution',\n components: {\n DistributionAdded,\n DistributionActions,\n FadingDistributionOverlay,\n DistributionFormat,\n DistributionDescription,\n DistributionExpandedContent,\n DistributionVisibleContent,\n DistributionExpand\n },\n props: {\n fading: Boolean,\n distribution: Object,\n distributions: Object,\n setDistributionsDisplayCount: Function,\n openModal: Function,\n getDistributionFormat: Function,\n distributionFormatTruncated: Function,\n getDistributionTitle: Function,\n distributionVisibleContent: Array,\n distributionExpandedContent: Array,\n distributionDescriptionIsExpanded: Function,\n distributionDescriptionIsExpandable: Function,\n getDistributionDescription: Function,\n distributionIsExpanded: Function,\n showObject: Function,\n showNumber: Function,\n showDownloadDropdown: Function,\n showLicence: Function,\n showLicensingAssistant: Function,\n filterDateFormatEU: Function,\n showArray: Function,\n showObjectArray: Function,\n getVisualisationLink: Function,\n isOnlyOneUrl: Function,\n getDownloadUrl: Function,\n trackGoto: Function,\n showAccessUrls: Function,\n replaceHttp: Function,\n previewLinkCallback: Function,\n toggleDistribution: Function,\n toggleDistributionDescription: Function,\n increaseNumDisplayedDistributions: Function,\n nonOverflowingIncrementsForDistributions: Function,\n isUrlInvalid: Function,\n openIfValidUrl: Function,\n showTooltipVisualiseButton: Function,\n appendCurrentLocaleToURL: Function,\n embed: Boolean,\n },\n computed: {\n updatedDate() {\n if (this.has(this.distribution, 'modificationDate') && !this.isNil(this.distribution.modificationDate)) {\n return this.filterDateFormatEU(this.distribution.modificationDate);\n } else {\n return this.filterDateFormatEU(this.distribution.releaseDate);\n }\n }\n },\n methods: {\n has,\n isNil,\n truncate,\n selectForPreview() {\n const accessUrl = this.distribution.downloadUrls && this.distribution.downloadUrls.length ? this.distribution.downloadUrls[0] : this.distribution.accessUrl[0]\n this.$emit('selectForPreview', {'title': this.getDistributionTitle(this.distribution),'url': accessUrl, 'format': this.getDistributionFormat(this.distribution).toLowerCase()})\n }\n }\n};\n</script>\n\n\n<style lang=\"scss\" scoped>\n.text-break {\n word-break: break-word;\n}\n\ntd {\n padding-left: 0 !important;\n padding-top: 1% !important;\n padding-bottom: 1% !important;\n}\n\n/*** BOOTSTRAP ***/\nbutton:focus {\n outline: 0;\n}\n\n.options,\n.download {\n .dropdown-menu {\n .dropdown-item {\n &:hover {\n color: initial;\n background-color: initial;\n }\n }\n }\n}\n\n.material-icons.small-icon {\n font-size: 20px;\n}\n\n.distributions__item {\n //position: relative;\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n}\n</style>\n"],"names":["_sfc_main","DistributionAdded","DistributionActions","FadingDistributionOverlay","DistributionFormat","DistributionDescription","DistributionExpandedContent","DistributionVisibleContent","DistributionExpand","has","isNil","truncate","accessUrl","_hoisted_1","_hoisted_2","_createElementBlock","$options","args","_createElementVNode","_createVNode","_component_distribution_format","$props","_cache","_createTextVNode","_component_distribution_details","_component_distribution_added","_component_distribution_actions","_renderSlot","_ctx","_createBlock","_component_fading_distribution_overlay","_createCommentVNode"],"mappings":";;;;;;;;;;;;;AAuDA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,YAAY;AAAA,IACV,mBAAAC;AAAA,IACA,qBAAAC;AAAA,IACA,2BAAAC;AAAA,IACA,oBAAAC;AAAA,IACA,yBAAAC;AAAA,IACA,6BAAAC;AAAA,IACA,4BAAAC;AAAA,IACA,oBAAAC;AAAA,EACD;AAAA,EACD,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,cAAc;AAAA,IACd,eAAe;AAAA,IACf,8BAA8B;AAAA,IAC9B,WAAW;AAAA,IACX,uBAAuB;AAAA,IACvB,6BAA6B;AAAA,IAC7B,sBAAsB;AAAA,IACtB,4BAA4B;AAAA,IAC5B,6BAA6B;AAAA,IAC7B,mCAAmC;AAAA,IACnC,qCAAqC;AAAA,IACrC,4BAA4B;AAAA,IAC5B,wBAAwB;AAAA,IACxB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,sBAAsB;AAAA,IACtB,aAAa;AAAA,IACb,wBAAwB;AAAA,IACxB,oBAAoB;AAAA,IACpB,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,sBAAsB;AAAA,IACtB,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,IACpB,+BAA+B;AAAA,IAC/B,mCAAmC;AAAA,IACnC,0CAA0C;AAAA,IAC1C,cAAc;AAAA,IACd,gBAAgB;AAAA,IAChB,4BAA4B;AAAA,IAC5B,0BAA0B;AAAA,IAC1B,OAAO;AAAA,EACR;AAAA,EACD,UAAU;AAAA,IACR,cAAc;AACZ,aAAI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AA;AAAA,MA6BgD,eAAeT,EAAa;AAAA,MACrE,8BAA8BA,EAA4B;AAAA,MAC1D,mCAAmCA,EAAiC;AAAA,MACpE,0CAA0CA,EAAwC;AAAA,uJAhCzFU,EAAA,IAAA,EAAA;AAAA;;;"}
|
|
@@ -43,13 +43,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
43
43
|
embed: BooleanConstructor;
|
|
44
44
|
}>, {}, {
|
|
45
45
|
downloadAllTop: boolean;
|
|
46
|
-
showDistibutionVisualisation:
|
|
46
|
+
showDistibutionVisualisation: boolean;
|
|
47
|
+
previewedDistributionTitle: string;
|
|
48
|
+
previewedDistDownloadUrl: string;
|
|
49
|
+
previewedDistFormat: string;
|
|
50
|
+
selectedDistribution: null;
|
|
47
51
|
}, {
|
|
48
52
|
getCatalog: import('vuex').Computed;
|
|
49
53
|
getLanguages: import('vuex').Computed;
|
|
50
54
|
}, {
|
|
51
55
|
getDistributionDescription(distribution: any): any;
|
|
52
|
-
selectDistribution(
|
|
56
|
+
selectDistribution(dist: any): void;
|
|
53
57
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
54
58
|
openModal: FunctionConstructor;
|
|
55
59
|
expandedDistributions: ArrayConstructor;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { has as
|
|
1
|
+
import v from "./DownloadAllDistributions.vue.mjs";
|
|
2
|
+
import { has as y, isNil as p } from "lodash-es";
|
|
3
3
|
import { getTranslationFor as f } from "../../utils/helpers.mjs";
|
|
4
|
-
import { mapGetters as
|
|
5
|
-
import
|
|
6
|
-
import { resolveComponent as e, openBlock as o, createElementBlock as
|
|
4
|
+
import { mapGetters as I } from "vuex";
|
|
5
|
+
import T from "./DistributionDownloadAsModal.vue.mjs";
|
|
6
|
+
import { resolveComponent as e, openBlock as o, createElementBlock as a, createVNode as D, createTextVNode as l, createElementVNode as d, Fragment as A, renderList as L, createBlock as u, createCommentVNode as w } from "vue";
|
|
7
7
|
import "./Distributions.vue2.mjs";
|
|
8
8
|
import _ from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
|
-
const
|
|
9
|
+
const V = {
|
|
10
10
|
name: "Distributions",
|
|
11
11
|
components: {
|
|
12
|
-
DownloadAllDistributions:
|
|
12
|
+
DownloadAllDistributions: v,
|
|
13
13
|
// Distribution,
|
|
14
|
-
DownloadAsModal:
|
|
14
|
+
DownloadAsModal: T
|
|
15
15
|
// DistributionVisualisation,
|
|
16
16
|
},
|
|
17
17
|
props: {
|
|
@@ -62,32 +62,36 @@ const x = {
|
|
|
62
62
|
return {
|
|
63
63
|
downloadAllTop: this.$env.content.datasetDetails.bulkDownload.buttonPosition === "top",
|
|
64
64
|
// previewedDistributionTitle: this.getDistributionTitle(this.displayedDistributions[0]),
|
|
65
|
-
showDistibutionVisualisation:
|
|
65
|
+
showDistibutionVisualisation: !1,
|
|
66
|
+
previewedDistributionTitle: "",
|
|
67
|
+
previewedDistDownloadUrl: "",
|
|
68
|
+
previewedDistFormat: "",
|
|
69
|
+
selectedDistribution: null
|
|
66
70
|
};
|
|
67
71
|
},
|
|
68
72
|
computed: {
|
|
69
|
-
...
|
|
73
|
+
...I("datasetDetails", [
|
|
70
74
|
"getLanguages",
|
|
71
75
|
"getCatalog"
|
|
72
76
|
])
|
|
73
77
|
},
|
|
74
78
|
methods: {
|
|
75
|
-
getDistributionDescription(
|
|
76
|
-
return
|
|
79
|
+
getDistributionDescription(t) {
|
|
80
|
+
return y(t, "description") && !p(t.description) ? f(t.description, this.$route.query.locale, this.getLanguages) : "-";
|
|
77
81
|
},
|
|
78
|
-
selectDistribution(
|
|
79
|
-
this.
|
|
82
|
+
selectDistribution(t) {
|
|
83
|
+
this.previewedDistTitle = t.title, this.previewedDistDownloadUrl = t.url, this.previewedDistFormat = t.format, this.showDistibutionVisualisation = !0, this.showDistibutionVisualisation = !1, this.showDistibutionVisualisation = !0;
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
86
|
// created() {
|
|
83
87
|
// this.showDistibutionVisualisation = this.$env.content.datasetDetails.distributions.showVisualisation
|
|
84
88
|
// }
|
|
85
|
-
}, k = { class: "mt-1 dsd-distributions" },
|
|
86
|
-
function O(
|
|
87
|
-
const
|
|
88
|
-
return o(),
|
|
89
|
-
D(
|
|
90
|
-
getDistributionDescription:
|
|
89
|
+
}, k = { class: "mt-1 dsd-distributions" }, x = { class: "row" }, C = { class: "list list-unstyled w-100" }, E = { class: "w-100 d-flex flex-row justify-content-end" };
|
|
90
|
+
function O(t, n, i, N, s, r) {
|
|
91
|
+
const m = e("distributions-header"), g = e("distribution"), h = e("download-all-distributions"), F = e("download-as-modal"), U = e("distribution-visualisation-slot");
|
|
92
|
+
return o(), a("div", k, [
|
|
93
|
+
D(m, {
|
|
94
|
+
getDistributionDescription: r.getDistributionDescription,
|
|
91
95
|
openModal: i.openModal,
|
|
92
96
|
getDistributionTitle: i.getDistributionTitle,
|
|
93
97
|
showDownloadUrls: i.showDownloadUrls,
|
|
@@ -95,15 +99,15 @@ function O(n, t, i, N, d, s) {
|
|
|
95
99
|
showPublisher: i.showPublisher,
|
|
96
100
|
embed: i.embed
|
|
97
101
|
}, null, 8, ["getDistributionDescription", "openModal", "getDistributionTitle", "showDownloadUrls", "isUrlInvalid", "showPublisher", "embed"]),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
(o(),
|
|
102
|
+
n[1] || (n[1] = l()),
|
|
103
|
+
d("div", x, [
|
|
104
|
+
d("ul", C, [
|
|
105
|
+
(o(), a("div", {
|
|
102
106
|
class: "distributions",
|
|
103
107
|
key: `${i.expandedDistributions.length}--${i.expandedDistributionDescriptions.length}`
|
|
104
108
|
}, [
|
|
105
|
-
(o(!0),
|
|
106
|
-
onSelectForPreview:
|
|
109
|
+
(o(!0), a(A, null, L(i.displayedDistributions, (c, b) => (o(), u(g, {
|
|
110
|
+
onSelectForPreview: r.selectDistribution,
|
|
107
111
|
key: `${b}--${c.id}`,
|
|
108
112
|
distribution: c,
|
|
109
113
|
fading: !i.distributions.displayAll && !i.isDistributionsAllDisplayed && b === i.distributions.displayCount - 1,
|
|
@@ -116,7 +120,7 @@ function O(n, t, i, N, d, s) {
|
|
|
116
120
|
distributionExpandedContent: i.distributionExpandedContent,
|
|
117
121
|
distributionDescriptionIsExpanded: i.distributionDescriptionIsExpanded,
|
|
118
122
|
distributionDescriptionIsExpandable: i.distributionDescriptionIsExpandable,
|
|
119
|
-
getDistributionDescription:
|
|
123
|
+
getDistributionDescription: r.getDistributionDescription,
|
|
120
124
|
distributionIsExpanded: i.distributionIsExpanded,
|
|
121
125
|
showObject: i.showObject,
|
|
122
126
|
showNumber: i.showNumber,
|
|
@@ -145,11 +149,11 @@ function O(n, t, i, N, d, s) {
|
|
|
145
149
|
}, null, 8, ["onSelectForPreview", "distribution", "fading", "distributions", "setDistributionsDisplayCount", "getDistributionFormat", "distributionFormatTruncated", "getDistributionTitle", "distributionVisibleContent", "distributionExpandedContent", "distributionDescriptionIsExpanded", "distributionDescriptionIsExpandable", "getDistributionDescription", "distributionIsExpanded", "showObject", "showNumber", "showDownloadDropdown", "showLicence", "showLicensingAssistant", "filterDateFormatEU", "showArray", "showObjectArray", "getVisualisationLink", "isOnlyOneUrl", "getDownloadUrl", "trackGoto", "showAccessUrls", "replaceHttp", "previewLinkCallback", "toggleDistribution", "toggleDistributionDescription", "increaseNumDisplayedDistributions", "nonOverflowingIncrementsForDistributions", "isUrlInvalid", "openIfValidUrl", "showTooltipVisualiseButton", "appendCurrentLocaleToURL", "embed"]))), 128))
|
|
146
150
|
]))
|
|
147
151
|
]),
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
n[0] || (n[0] = l()),
|
|
153
|
+
d("div", E, [
|
|
154
|
+
s.downloadAllTop ? w("", !0) : (o(), u(h, {
|
|
151
155
|
key: 0,
|
|
152
|
-
getDistributionDescription:
|
|
156
|
+
getDistributionDescription: r.getDistributionDescription,
|
|
153
157
|
openModal: i.openModal,
|
|
154
158
|
getDistributionTitle: i.getDistributionTitle,
|
|
155
159
|
showDownloadUrls: i.showDownloadUrls,
|
|
@@ -157,16 +161,19 @@ function O(n, t, i, N, d, s) {
|
|
|
157
161
|
}, null, 8, ["getDistributionDescription", "openModal", "getDistributionTitle", "showDownloadUrls", "isUrlInvalid"]))
|
|
158
162
|
])
|
|
159
163
|
]),
|
|
160
|
-
|
|
164
|
+
n[2] || (n[2] = l()),
|
|
161
165
|
D(F),
|
|
162
|
-
|
|
163
|
-
|
|
166
|
+
n[3] || (n[3] = l()),
|
|
167
|
+
s.showDistibutionVisualisation ? (o(), u(U, {
|
|
164
168
|
key: 0,
|
|
165
|
-
class: "mb-4"
|
|
166
|
-
|
|
169
|
+
class: "mb-4",
|
|
170
|
+
title: t.previewedDistTitle,
|
|
171
|
+
downloadUrl: s.previewedDistDownloadUrl,
|
|
172
|
+
format: s.previewedDistFormat
|
|
173
|
+
}, null, 8, ["title", "downloadUrl", "format"])) : w("", !0)
|
|
167
174
|
]);
|
|
168
175
|
}
|
|
169
|
-
const q = /* @__PURE__ */ _(
|
|
176
|
+
const q = /* @__PURE__ */ _(V, [["render", O], ["__scopeId", "data-v-257adc6f"]]);
|
|
170
177
|
export {
|
|
171
178
|
q as default
|
|
172
179
|
};
|