@piveau/piveau-hub-ui-modules 4.7.0 → 4.7.3

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.
@@ -153,6 +153,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
153
153
  type: {
154
154
  type: string;
155
155
  fields: string;
156
+ preTransform: (value: any) => any;
156
157
  };
157
158
  temporalResolution: {
158
159
  type: string;
@@ -7,6 +7,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
7
7
  }>, {}, {}, {}, {
8
8
  truncate: typeof truncate;
9
9
  removeMailtoOrTel: typeof removeMailtoOrTel;
10
+ isExternalUrl(url: any): boolean;
10
11
  getLabel(v: any): any;
11
12
  isLink(v: any): boolean;
12
13
  shouldHideField(v: any): boolean;
@@ -1,10 +1,10 @@
1
1
  import L from "../../widgets/AppLink.vue.mjs";
2
- import { truncate as f, removeMailtoOrTel as _ } from "../../utils/helpers.mjs";
3
- import b from "../../filters/dateFilters.mjs";
4
- import { resolveComponent as C, openBlock as a, createElementBlock as l, Fragment as c, renderList as k, normalizeStyle as V, normalizeClass as y, createElementVNode as p, toDisplayString as o, createTextVNode as m, createBlock as w, withCtx as x } from "vue";
2
+ import { truncate as h, removeMailtoOrTel as b } from "../../utils/helpers.mjs";
3
+ import _ from "../../filters/dateFilters.mjs";
4
+ import { resolveComponent as C, openBlock as a, createElementBlock as n, Fragment as c, renderList as y, normalizeStyle as w, normalizeClass as m, createElementVNode as g, toDisplayString as o, createTextVNode as d, createBlock as x, withCtx as V } from "vue";
5
5
  import "./ValuesList.vue2.mjs";
6
- import T from "../../_virtual/_plugin-vue_export-helper.mjs";
7
- const v = {
6
+ import E from "../../_virtual/_plugin-vue_export-helper.mjs";
7
+ const F = {
8
8
  name: "ValuesList",
9
9
  props: {
10
10
  values: Array,
@@ -16,19 +16,22 @@ const v = {
16
16
  AppLink: L
17
17
  },
18
18
  methods: {
19
- truncate: f,
20
- removeMailtoOrTel: _,
19
+ truncate: h,
20
+ removeMailtoOrTel: b,
21
+ isExternalUrl(e) {
22
+ return typeof e == "string" && !e.startsWith("mailto:") && !e.startsWith("tel:");
23
+ },
21
24
  getLabel(e) {
22
25
  const t = "message.metadata";
23
- return e.key.toLowerCase() === "name" ? "" : typeof e.translation == "string" ? this.interpretTranslateKey(e.translation, t) : `${this.i18n.global.t(`${t}.${e.key}`)}:`;
26
+ return e.key.toLowerCase() === "name" || e.key.toLowerCase() === "label" ? "" : typeof e.translation == "string" ? this.interpretTranslateKey(e.translation, t) : `${this.i18n.global.t(`${t}.${e.key}`)}:`;
24
27
  },
25
28
  isLink(e) {
26
- var h;
27
- const t = e.key.toLowerCase(), s = (h = e.type) == null ? void 0 : h.toLowerCase();
29
+ var p;
30
+ const t = e.key.toLowerCase(), s = (p = e.type) == null ? void 0 : p.toLowerCase();
28
31
  return ["homepage", "resource"].includes(t) || s === "link" || s === "link_blank";
29
32
  },
30
33
  shouldHideField(e) {
31
- return ["resource", "homepage"].includes(e.key.toLowerCase());
34
+ return ["homepage", "resource"].includes(e.key.toLowerCase());
32
35
  },
33
36
  hasLinkInValues() {
34
37
  return this.values.some((e) => ["resource", "homepage"].includes(e.key.toLowerCase()));
@@ -45,9 +48,9 @@ const v = {
45
48
  displayValue(e, t) {
46
49
  switch (t) {
47
50
  case "date":
48
- return b.formatEU(e);
51
+ return _.formatEU(e);
49
52
  default:
50
- return typeof e == "string" ? f(e, 75) : e;
53
+ return typeof e == "string" ? h(e, 75) : e;
51
54
  }
52
55
  },
53
56
  handleClick(e, t) {
@@ -55,66 +58,74 @@ const v = {
55
58
  this.track && this.track.includes(s) && this.$emit("track-link", e, "link");
56
59
  }
57
60
  }
58
- }, F = { class: "dsd-properties-inner-label" }, N = { class: "dsd-properties-inner-label" }, A = ["href", "onClick"], B = { class: "dsd-properties-inner-label" }, E = { key: 0 }, I = ["href"];
59
- function S(e, t, s, h, z, n) {
60
- const g = C("app-link");
61
- return a(), l("div", null, [
62
- (a(!0), l(c, null, k(s.values, (r, u) => (a(), l("div", {
61
+ }, N = { class: "dsd-properties-inner-label" }, T = { class: "dsd-properties-inner-label" }, U = ["href", "target", "rel", "onClick"], v = { class: "dsd-properties-inner-label" }, A = { key: 0 }, B = ["href", "target", "rel"];
62
+ function I(e, t, s, p, S, r) {
63
+ const f = C("app-link");
64
+ return a(), n("div", null, [
65
+ (a(!0), n(c, null, y(s.values, (l, u) => (a(), n("div", {
63
66
  key: u,
64
- style: V(s.itemstyles)
67
+ style: w(s.itemstyles)
65
68
  }, [
66
- r.key === "email" ? (a(), l("div", {
69
+ l.key === "email" ? (a(), n("div", {
67
70
  key: 0,
68
- class: y({ "mb-1": u < s.values.length })
71
+ class: m({ "mb-1": u < s.values.length })
69
72
  }, [
70
- p("span", F, o(n.getLabel(r)), 1),
71
- t[0] || (t[0] = m()),
72
- (a(!0), l(c, null, k(r.value, (i, d) => (a(), w(g, {
73
- key: d,
74
- to: `mailto:${n.removeMailtoOrTel(i)}`
73
+ g("span", N, o(r.getLabel(l)), 1),
74
+ t[0] || (t[0] = d()),
75
+ (a(!0), n(c, null, y(l.value, (i, k) => (a(), x(f, {
76
+ key: k,
77
+ to: `mailto:${r.removeMailtoOrTel(i)}`
75
78
  }, {
76
- default: x(() => [
77
- m(o(n.displayValue(i, r.type)), 1)
79
+ default: V(() => [
80
+ d(o(r.displayValue(i, l.type)), 1)
78
81
  ]),
79
82
  _: 2
80
83
  }, 1032, ["to"]))), 128))
81
- ], 2)) : r.key === "identifier" ? (a(), l("div", {
84
+ ], 2)) : l.key === "identifier" ? (a(), n("div", {
82
85
  key: 1,
83
- class: y({ "mb-1": u < s.values.length })
84
- }, o(n.getLabel(r)) + " " + o(r.value[u]), 3)) : n.isLink(r) && !["resource", "homepage"].includes(r.key) ? (a(), l("div", {
86
+ class: m({ "mb-1": u < s.values.length })
87
+ }, o(r.getLabel(l)) + " " + o(l.value[u]), 3)) : r.isLink(l) && !["resource", "homepage"].includes(l.key.toLowerCase()) ? (a(), n("div", {
85
88
  key: 2,
86
- class: y({ "mb-1": u < s.values.length })
89
+ class: m({ "mb-1": u < s.values.length })
87
90
  }, [
88
- p("span", N, o(n.getLabel(r)), 1),
89
- t[1] || (t[1] = m()),
90
- (a(!0), l(c, null, k(r.value, (i, d) => (a(), l("a", {
91
- key: d,
91
+ g("span", T, o(r.getLabel(l)), 1),
92
+ t[2] || (t[2] = d()),
93
+ (a(!0), n(c, null, y(l.value, (i, k) => (a(), n("a", {
94
+ key: k,
92
95
  href: i,
93
- target: "_blank",
94
- onClick: (H) => n.handleClick(i, r)
95
- }, o(n.displayValue(i, r.type)), 9, A))), 128))
96
- ], 2)) : n.shouldHideField(r) ? (a(), l("div", {
96
+ target: r.isExternalUrl(i) ? "_blank" : null,
97
+ rel: r.isExternalUrl(i) ? "noopener noreferrer" : null,
98
+ onClick: (z) => r.handleClick(i, l)
99
+ }, [
100
+ d(o(r.displayValue(i, l.type)) + " ", 1),
101
+ t[1] || (t[1] = g("span", { class: "external-link-icon" }, null, -1))
102
+ ], 8, U))), 128))
103
+ ], 2)) : r.shouldHideField(l) ? (a(), n("div", {
97
104
  key: 3,
98
- class: y({ "mb-1": u < s.values.length })
99
- }, null, 2)) : (a(), l("div", {
105
+ class: m({ "mb-1": u < s.values.length })
106
+ }, null, 2)) : (a(), n("div", {
100
107
  key: 4,
101
- class: y({ "mb-1": u < s.values.length })
108
+ class: m({ "mb-1": u < s.values.length })
102
109
  }, [
103
- p("span", B, o(n.getLabel(r)), 1),
104
- t[2] || (t[2] = m()),
105
- r.key === "name" && n.hasLinkInValues() ? (a(), l("span", E, [
106
- (a(!0), l(c, null, k(r.value, (i, d) => (a(), l("a", {
107
- key: d,
108
- href: n.getLinkForName(),
109
- target: "_blank"
110
- }, o(n.displayValue(i, r.type)), 9, I))), 128))
111
- ])) : (a(!0), l(c, { key: 1 }, k(r.value, (i, d) => (a(), l("span", { key: d }, o(n.displayValue(i, r.type)), 1))), 128))
110
+ g("span", v, o(r.getLabel(l)), 1),
111
+ t[4] || (t[4] = d()),
112
+ ["name", "label"].includes(l.key.toLowerCase()) && r.hasLinkInValues() ? (a(), n("span", A, [
113
+ (a(!0), n(c, null, y(l.value, (i, k) => (a(), n("a", {
114
+ key: k,
115
+ href: r.getLinkForName(),
116
+ target: r.isExternalUrl(r.getLinkForName()) ? "_blank" : null,
117
+ rel: r.isExternalUrl(r.getLinkForName()) ? "noopener noreferrer" : null
118
+ }, [
119
+ d(o(r.displayValue(i, l.type)) + " ", 1),
120
+ t[3] || (t[3] = g("span", { class: "external-link-icon" }, null, -1))
121
+ ], 8, B))), 128))
122
+ ])) : (a(!0), n(c, { key: 1 }, y(l.value, (i, k) => (a(), n("span", { key: k }, o(r.displayValue(i, l.type)), 1))), 128))
112
123
  ], 2))
113
124
  ], 4))), 128))
114
125
  ]);
115
126
  }
116
- const q = /* @__PURE__ */ T(v, [["render", S], ["__scopeId", "data-v-16dff1ff"]]);
127
+ const j = /* @__PURE__ */ E(F, [["render", I], ["__scopeId", "data-v-91a4c4ec"]]);
117
128
  export {
118
- q as default
129
+ j as default
119
130
  };
120
131
  //# sourceMappingURL=ValuesList.vue.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValuesList.vue.mjs","sources":["../../../lib/datasetDetails/properties/ValuesList.vue"],"sourcesContent":["<template>\n <div>\n <div v-for=\"(v, i) of values\" :key=\"i\" :style=\"itemstyles\">\n <div v-if=\"v.key === 'email'\" :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <app-link v-for=\"(item, j) in v.value\" :key=\"j\" :to=\"`mailto:${removeMailtoOrTel(item)}`\">\n {{ displayValue(item, v.type) }}\n </app-link>\n </div>\n <div v-else-if=\"v.key === 'identifier'\" :class=\"{'mb-1':i<values.length}\">\n {{ getLabel(v) }} {{ v.value[i] }}\n </div>\n <div v-else-if=\"isLink(v) && !['resource', 'homepage'].includes(v.key)\" :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <a v-for=\"(item, j) in v.value\" :key=\"j\" :href=\"item\"\n target=\"_blank\"\n @click=\"handleClick(item, v)\">\n {{ displayValue(item, v.type) }}\n </a>\n </div>\n <div v-else-if=\"shouldHideField(v)\" :class=\"{'mb-1':i<values.length}\">\n <!-- Hidden fields like resource/homepage that are used as links for name -->\n </div>\n <div v-else :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <span v-if=\"v.key === 'name' && hasLinkInValues()\">\n <a v-for=\"(item, j) in v.value\" :key=\"j\" \n :href=\"getLinkForName()\" \n target=\"_blank\">\n {{ displayValue(item, v.type) }}\n </a>\n </span>\n <span v-else v-for=\"(item, j) in v.value\" :key=\"j\">{{ displayValue(item, v.type) }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport AppLink from \"../../widgets/AppLink\";\nimport {removeMailtoOrTel, truncate} from \"../../utils/helpers.ts\";\nimport dateFilters from \"../../filters/dateFilters.ts\";\n\nexport default {\n name: \"ValuesList\",\n props: {\n values: Array,\n track: Array,\n itemstyles: String,\n interpretTranslateKey: Function\n },\n components: {\n AppLink\n },\n methods: {\n truncate,\n removeMailtoOrTel,\n getLabel(v) {\n const prefix = \"message.metadata\";\n // Don't show labels for name field\n if (v.key.toLowerCase() === 'name') {\n return '';\n }\n if (typeof v.translation === 'string') {\n return this.interpretTranslateKey(v.translation, prefix);\n }\n return `${this.i18n.global.t(`${prefix}.${v.key}`)}:`;\n },\n isLink(v) {\n const key = v.key.toLowerCase();\n const type = v.type?.toLowerCase();\n return ['homepage', 'resource'].includes(key) || type === 'link' || type === 'link_blank';\n },\n shouldHideField(v) {\n return ['resource', 'homepage'].includes(v.key.toLowerCase());\n },\n hasLinkInValues() {\n return this.values.some(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n },\n getLinkForName() {\n const linkField = this.values.find(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n return linkField?.value?.[0] || '#';\n },\n getLinkType() {\n const linkField = this.values.find(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n return linkField?.type || '';\n },\n displayValue(item, type) {\n switch (type) {\n case 'date':\n return dateFilters.formatEU(item);\n default:\n return typeof item === 'string' ? truncate(item, 75) : item;\n }\n },\n handleClick(item, v) {\n const key = v.key.toLowerCase();\n if (this.track && this.track.includes(key)) {\n this.$emit('track-link', item, 'link');\n }\n }\n }\n}\n</script>\n\n<style scoped>\n.dsd-properties-inner-label {\n white-space: pre;\n}\n</style>"],"names":["_sfc_main","AppLink","truncate","removeMailtoOrTel","v","prefix","key","type","_a","linkField","item","dateFilters","_hoisted_1","_hoisted_2","_hoisted_4","_createElementBlock","_openBlock","_Fragment","_renderList","$props","i","_normalizeClass","_createElementVNode","_toDisplayString","$options","j","_createBlock","_component_app_link","_createTextVNode","$event","_hoisted_3","_hoisted_5","_hoisted_6"],"mappings":";;;;;;AA2CA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,uBAAuB;AAAA,EACxB;AAAA,EACD,YAAY;AAAA,IACV,SAAAC;AAAA,EACD;AAAA,EACD,SAAS;AAAA,IACP,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,SAASC,GAAG;AACV,YAAMC,IAAS;AAEf,aAAID,EAAE,IAAI,YAAW,MAAO,SACnB,KAEL,OAAOA,EAAE,eAAgB,WACpB,KAAK,sBAAsBA,EAAE,aAAaC,CAAM,IAElD,GAAG,KAAK,KAAK,OAAO,EAAE,GAAGA,CAAM,IAAID,EAAE,GAAG,EAAE,CAAC;AAAA,IACnD;AAAA,IACD,OAAOA,GAAG;;AACR,YAAME,IAAMF,EAAE,IAAI,YAAW,GACvBG,KAAOC,IAAAJ,EAAE,SAAF,gBAAAI,EAAQ;AACrB,aAAO,CAAC,YAAY,UAAU,EAAE,SAASF,CAAG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AmB,MAAAL,EAAA,YAAYd,GAAMN,CAAC;AAAA,QACzB,GAAAmB,EAAAC,EAAA,aAAad,GAAMN,EAAE,IAAI,CAAA,GAAA,GAAA0B,CAAA;eAGhBN,EAAA,gBAAgBpB,CAAC,UAAjCW,EAEM,OAAA;AAAA;QAF+B,OAAeM,EAAA,EAAA,QAAAD,IAAED,EAAA,OAAO,OAAM,CAAA;AAAA,2BAGnEJ,EAUM,OAAA;AAAA;QAVO,OAAeM,EAAA,EAAA,QAAAD,IAAED,EAAA,OAAO,OAAM,CAAA;AAAA;QACzCG,EAAiE,QAAjER,GAA4CS,EAAAC,EAAA,SAASpB,CAAC,CAAA,GAAA,CAAA;AAAA;QAC1CA,EAAE,QAAG,UAAeoB,EAAe,gBAAA,UAA/CT,EAMO,QAAAgB,GAAA;AAAA,WALLf,EAAA,EAAA,GAAAD,EAIIE,WAJmBb,EAAE,OAAd,CAAAM,GAAMe,YAAjBV,EAII,KAAA;AAAA,YAJ6B,KAAKU;AAAA,YAClC,MAAMD,EAAc,eAAA;AAAA,YACrB,QAAO;AAAA,UACL,GAAAD,EAAAC,EAAA,aAAad,GAAMN,EAAE,IAAI,CAAA,GAAA,GAAA4B,CAAA;eAGhChB,EAAA,EAAA,GAAAD,EAA0FE,iBAAzDb,EAAE,OAAd,CAAAM,GAAMe,YAA3BV,EAA0F,QAAA,EAA/C,KAAKU,KAACF,EAAKC,EAAY,aAACd,GAAMN,EAAE,IAAI,CAAA,GAAA,CAAA;;;;;;"}
1
+ {"version":3,"file":"ValuesList.vue.mjs","sources":["../../../lib/datasetDetails/properties/ValuesList.vue"],"sourcesContent":["<template>\n <div>\n <div v-for=\"(v, i) of values\" :key=\"i\" :style=\"itemstyles\">\n <div v-if=\"v.key === 'email'\" :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <app-link v-for=\"(item, j) in v.value\" :key=\"j\" :to=\"`mailto:${removeMailtoOrTel(item)}`\">\n {{ displayValue(item, v.type) }}\n </app-link>\n </div>\n\n <div v-else-if=\"v.key === 'identifier'\" :class=\"{'mb-1':i<values.length}\">\n {{ getLabel(v) }} {{ v.value[i] }}\n </div>\n\n <div v-else-if=\"isLink(v) && !['resource', 'homepage'].includes(v.key.toLowerCase())\" :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <a\n v-for=\"(item, j) in v.value\"\n :key=\"j\"\n :href=\"item\"\n :target=\"isExternalUrl(item) ? '_blank' : null\"\n :rel=\"isExternalUrl(item) ? 'noopener noreferrer' : null\"\n @click=\"handleClick(item, v)\"\n >\n {{ displayValue(item, v.type) }}\n <span class=\"external-link-icon\">\n <!-- <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-box-arrow-up-right\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5\"/>\n <path fill-rule=\"evenodd\" d=\"M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z\"/>\n </svg> -->\n </span>\n </a>\n </div>\n\n <div v-else-if=\"shouldHideField(v)\" :class=\"{'mb-1':i<values.length}\">\n <!-- Hidden fields like resource/homepage that are used as links for name -->\n </div>\n\n <div v-else :class=\"{'mb-1':i<values.length}\">\n <span class=\"dsd-properties-inner-label\">{{ getLabel(v) }}</span>\n <span v-if=\"['name', 'label'].includes(v.key.toLowerCase()) && hasLinkInValues()\">\n <a\n v-for=\"(item, j) in v.value\"\n :key=\"j\"\n :href=\"getLinkForName()\"\n :target=\"isExternalUrl(getLinkForName()) ? '_blank' : null\"\n :rel=\"isExternalUrl(getLinkForName()) ? 'noopener noreferrer' : null\"\n >\n {{ displayValue(item, v.type) }}\n <span class=\"external-link-icon\">\n <!-- <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-box-arrow-up-right\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\" d=\"M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5\"/>\n <path fill-rule=\"evenodd\" d=\"M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z\"/>\n </svg> -->\n </span>\n </a>\n </span>\n <span v-else v-for=\"(item, j) in v.value\" :key=\"j\">{{ displayValue(item, v.type) }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport AppLink from \"../../widgets/AppLink\";\nimport {removeMailtoOrTel, truncate} from \"../../utils/helpers.ts\";\nimport dateFilters from \"../../filters/dateFilters.ts\";\n\nexport default {\n name: \"ValuesList\",\n props: {\n values: Array,\n track: Array,\n itemstyles: String,\n interpretTranslateKey: Function\n },\n components: {\n AppLink\n },\n methods: {\n truncate,\n removeMailtoOrTel,\n isExternalUrl(url) {\n // Zeige Icon für alle URLs außer mailto: und tel:\n return typeof url === \"string\" && !url.startsWith('mailto:') && !url.startsWith('tel:');\n },\n getLabel(v) {\n const prefix = \"message.metadata\";\n // Don't show labels for name field\n if (v.key.toLowerCase() === 'name' || v.key.toLowerCase() === 'label') {\n return '';\n }\n if (typeof v.translation === 'string') {\n return this.interpretTranslateKey(v.translation, prefix);\n }\n return `${this.i18n.global.t(`${prefix}.${v.key}`)}:`;\n },\n isLink(v) {\n const key = v.key.toLowerCase();\n const type = v.type?.toLowerCase();\n return ['homepage', 'resource'].includes(key) || type === 'link' || type === 'link_blank';\n },\n shouldHideField(v) {\n return ['homepage','resource'].includes(v.key.toLowerCase());\n },\n hasLinkInValues() {\n return this.values.some(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n },\n getLinkForName() {\n const linkField = this.values.find(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n return linkField?.value?.[0] || '#';\n },\n getLinkType() {\n const linkField = this.values.find(v => ['resource', 'homepage'].includes(v.key.toLowerCase()));\n return linkField?.type || '';\n },\n displayValue(item, type) {\n switch (type) {\n case 'date':\n return dateFilters.formatEU(item);\n default:\n return typeof item === 'string' ? truncate(item, 75) : item;\n }\n },\n handleClick(item, v) {\n const key = v.key.toLowerCase();\n if (this.track && this.track.includes(key)) {\n this.$emit('track-link', item, 'link');\n }\n }\n }\n}\n</script>\n\n<style scoped>\n.dsd-properties-inner-label {\n white-space: pre;\n}\n\n.external-link-icon svg {\n margin-bottom: 5px;\n margin-left: 10;\n}\n</style>"],"names":["_sfc_main","AppLink","truncate","removeMailtoOrTel","url","v","prefix","key","type","_a","linkField","item","dateFilters","_hoisted_1","_hoisted_2","_hoisted_4","_createElementBlock","_openBlock","_Fragment","_renderList","$props","i","_normalizeClass","_createElementVNode","_toDisplayString","$options","j","_createBlock","_component_app_link","_createTextVNode","$event","_hoisted_5"],"mappings":";;;;;;AAoEA,MAAKA,IAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,YAAY;AAAA,IACZ,uBAAuB;AAAA,EACxB;AAAA,EACD,YAAY;AAAA,IACV,SAAAC;AAAA,EACD;AAAA,EACD,SAAS;AAAA,IACP,UAAA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AA9ET,EAgBO,QAAAe,GAAA;AAAA,WAfLd,EAAA,EAAA,GAAAD,EAcIE,WAbkBb,EAAE,OAAd,CAAAM,GAAMe,YADhBV,EAcI,KAAA;AAAA,YAZD,KAAKU;AAAA,YACL,MAAMD,EAAc,eAAA;AAAA,YACpB,QAAQA,EAAa,cAACA,EAAc,eAAA,CAAA,IAAA,WAAA;AAAA,YACpC,KAAKA,EAAa,cAACA,EAAc,eAAA,CAAA,IAAA,wBAAA;AAAA;YAE/BI,EAAAL,EAAAC,EAAA,aAAad,GAAMN,EAAE,IAAI,KAAI,KAChC,CAAA;AAAA,4BAAAkB,EAKO,QAAA,EALD,OAAM,qBAAoB,GAAA,MAAA,EAAA;AAAA;eAQpCN,EAAA,EAAA,GAAAD,EAA0FE,iBAAzDb,EAAE,OAAd,CAAAM,GAAMe,YAA3BV,EAA0F,QAAA,EAA/C,KAAKU,KAACF,EAAKC,EAAY,aAACd,GAAMN,EAAE,IAAI,CAAA,GAAA,CAAA;;;;;;"}
@@ -1,4 +1,4 @@
1
- export declare const dcatFields = "releaseDate,modificationDate,creator,landingPages,sources,\n languages,publisher,contactPoints,catalogRecord,spatial,\n spatialResource,conformsTo,provenances,identifiers,otherIdentifiers,resource,\n frequency,accessRights,accrualPeriodicity,hasVersion,isVersionOf,\n temporal,versionInfo,versionNotes,attributes,dimensions,numSeries,hasQualityAnnotations,\n statUnitMeasures,isReferencedBy,qualifiedAttributions,wasGeneratedBy,\n qualifiedRelations,sample,spatialResolutionInMeters,type,temporalResolution";
1
+ export declare const dcatFields = "releaseDate,modificationDate,creator,landingPages,sources,\n languages,publisher,contactPoints,catalogRecord,spatial,\n spatialResource,conformsTo,provenances,identifiers,otherIdentifiers, resource,\n frequency,accessRights,accrualPeriodicity,hasVersion,isVersionOf,\n temporal,versionInfo,versionNotes,attributes,dimensions,numSeries,hasQualityAnnotations,\n statUnitMeasures,isReferencedBy,qualifiedAttributions,wasGeneratedBy,\n qualifiedRelations,sample,spatialResolutionInMeters,type,temporalResolution";
2
2
  export declare const dcatDeFields = "politicalGeocodingLevelURI,politicalGeocodingURI,availability,\n contributorID,geocodingDescriptionDe,legalBasis,qualityProcessURI,typeDe,\n references,contributor,originator,maintainer";
3
3
  export declare const dcatSchema: (t: any) => {
4
4
  releaseDate: {
@@ -149,6 +149,7 @@ export declare const dcatSchema: (t: any) => {
149
149
  type: {
150
150
  type: string;
151
151
  fields: string;
152
+ preTransform: (value: any) => any;
152
153
  };
153
154
  temporalResolution: {
154
155
  type: string;
@@ -1,12 +1,12 @@
1
1
  const a = `releaseDate,modificationDate,creator,landingPages,sources,
2
2
  languages,publisher,contactPoints,catalogRecord,spatial,
3
- spatialResource,conformsTo,provenances,identifiers,otherIdentifiers,resource,
3
+ spatialResource,conformsTo,provenances,identifiers,otherIdentifiers, resource,
4
4
  frequency,accessRights,accrualPeriodicity,hasVersion,isVersionOf,
5
5
  temporal,versionInfo,versionNotes,attributes,dimensions,numSeries,hasQualityAnnotations,
6
6
  statUnitMeasures,isReferencedBy,qualifiedAttributions,wasGeneratedBy,
7
7
  qualifiedRelations,sample,spatialResolutionInMeters,type,temporalResolution`, i = `politicalGeocodingLevelURI,politicalGeocodingURI,availability,
8
8
  contributorID,geocodingDescriptionDe,legalBasis,qualityProcessURI,typeDe,
9
- references,contributor,originator,maintainer`, s = (e) => ({
9
+ references,contributor,originator,maintainer`, s = (t) => ({
10
10
  releaseDate: { type: "date", translate: "created" },
11
11
  modificationDate: { type: "date", translate: "updated" },
12
12
  landingPages: { type: "links", translate: "landingPage" },
@@ -16,12 +16,12 @@ const a = `releaseDate,modificationDate,creator,landingPages,sources,
16
16
  contactPoints: { type: "objects", translate: "/message.tooltip.contactPoints,contactPoints", fields: "name::/message.metadata.name,organisation_name::/message.datasetDetails.contactPoints.organizationName,email,telephone,address,url:link" },
17
17
  catalogRecord: { type: "object", translate: "/message.tooltip.catalogRecord,catalogRecord", fields: "issued:date:addedToDataEuropaEU,modified:date:updatedOnDataEuropaEU,homepage" },
18
18
  spatial: { type: "objects", fields: "coordinates,type" },
19
- spatialResource: { type: "objects", translate: ",spatialResource", fields: "resource:link" },
19
+ spatialResource: { type: "links", translate: ",spatialResource", fields: "resource:link" },
20
20
  conformsTo: { type: "objects", fields: "title::label,label,resource:link_blank", track: "resource" },
21
21
  provenances: { type: "objects", translate: "provenance,provenances", fields: "label,resource:link" },
22
22
  // relatedResources: {type: 'links', translate: 'relatedResource,relatedResources'},
23
23
  identifiers: { type: "links", translate: "identifier,identifiers" },
24
- otherIdentifiers: { type: "objects", translate: "otherIdentifier,otherIdentifiers", fields: "identifier:link,resource:link:identifier,scheme:link" },
24
+ otherIdentifiers: { type: "links", translate: "otherIdentifier,otherIdentifiers", fields: "identifier:link,resource:link:identifier,scheme:link" },
25
25
  resource: { type: "uri", translate: ",'uriRef:'" },
26
26
  frequency: { type: "object", fields: "title,resource:link" },
27
27
  accessRights: { type: "object", translate: "/message.tooltip.datasetDetails.distributions.rights,accessRights", fields: "label::" },
@@ -45,9 +45,12 @@ const a = `releaseDate,modificationDate,creator,landingPages,sources,
45
45
  spatialResolutionInMeters: {
46
46
  type: "number",
47
47
  translate: "spatialResolutionInMeters,spatialResolutionInMeters.label",
48
- transform: (t) => e("message.metadata.spatialResolutionInMeters.value", { number: t })
48
+ transform: (e) => t("message.metadata.spatialResolutionInMeters.value", { number: e })
49
49
  },
50
- type: { type: "object", fields: "label,resource:link" },
50
+ type: { type: "object", fields: "label,resource:link_blank", preTransform: (e) => ({
51
+ ...e,
52
+ name: (e == null ? void 0 : e.name) ?? (e == null ? void 0 : e.label)
53
+ }) },
51
54
  temporalResolution: { type: "string" }
52
55
  }), n = () => ({
53
56
  politicalGeocodingLevelURI: { type: "objects", fields: "label,resource:link" },
@@ -1 +1 @@
1
- {"version":3,"file":"specification.mjs","sources":["../../../lib/datasetDetails/properties/specification.ts"],"sourcesContent":["export const dcatFields = `releaseDate,modificationDate,creator,landingPages,sources,\n languages,publisher,contactPoints,catalogRecord,spatial,\n spatialResource,conformsTo,provenances,identifiers,otherIdentifiers,resource,\n frequency,accessRights,accrualPeriodicity,hasVersion,isVersionOf,\n temporal,versionInfo,versionNotes,attributes,dimensions,numSeries,hasQualityAnnotations,\n statUnitMeasures,isReferencedBy,qualifiedAttributions,wasGeneratedBy,\n qualifiedRelations,sample,spatialResolutionInMeters,type,temporalResolution`;\n\nexport const dcatDeFields = `politicalGeocodingLevelURI,politicalGeocodingURI,availability,\n contributorID,geocodingDescriptionDe,legalBasis,qualityProcessURI,typeDe,\n references,contributor,originator,maintainer`;\n\n/*\n Below we have schemata describing how properties should be rendered in DatasetDatailsProperties.vue. A schema is\n an object where keys correspond to the above defined fields. For each key, the value is an object the format of which\n we will now describe:\n\n - type: is the the only required property. Will be evaluated in typeCheckers.ts. It reflects the format of the\n data item (CALLED \"response\" BELOW!) retrieved by from the search network response (number, string, url, array, object, array of objects).\n Supported values are:\n * \"number\": response is a single number\n * \"first:number\": render response[0] as a number\n * \"string\": response a simple string\n * \"uri\": response a simple string, rendered as a link\n * \"date\": response a simple string, formatted as a date conforming to the current locale\n * \"translation\": response an object containing locale keys (like \"en\", \"de\"). The value corresponding to the\n current locale is rendered\n * \"object\": response an object whose where each key-value pair is rendered on a separate line\n * \"array\": response an array whose elements are rendered vertically\n * \"links\": reponse either an array of uri-strings rendered as links, or an\n array of objects with a label field that is displayed as a link and another field\n holding the href; that other field is either resource, label or id\n\n - translate: for a property \"xxx\", we have a bold label and tooltip to the left which comes from\n an i18n translation; the default i18n keys are: message.tooltip.datasetDetails.xxx for the tooltip and\n message.metadata.xxx for the displayed label. if instead of xxx, you want to use another key (with the same prefixes),\n translate can provide it. If translate is two strings separated by commas, the left one applies to the tooltip, the right\n to the label. Instead of just a replacement for xxx, you can provide i18n keys without the prefixes by starting the string with\n a slash (example: translate:\"/message.tooltip.yyy,/message.mykey.mylabelkey\"). Instead of translation keys, you can also\n provide literal values as tooltip or label by enclosing the strings in single quotes.\n\n - fields: for objects and arrays of objects, this comma-separated value indicates, what keys of the objects should\n be used for display (filtering out any additional data in the object). If not present, all existent keys will be used.\n A key given in this comma separated list can be of the form \"x\": just a key, or of the form \"x:y\": key x of type y (where\n the type is any of \"link\", \"link_blank\", \"date\" or empty; accordingly, a link (possibly target=\"_blank\") or date will be displayed).\n Also the form \"x:y:z\" is possible, where z is an indication how to translate the key for rendering. If z does not exist,\n the i18n key message.metadata.x will be translated; if z exists, we use message.metadata.z instead. The additional properties for\n \"translate\" above can also be applied to z: leading slash or single quotes.\n\n - track: enable Matomo tracking for a link. track is a string value indicating the key of the data object for which\n tracking should be enabled.\n\n - itemstyles: a string of CSS properties that applies to key-value items of a rendered object\n\n - transform: a function that maps the data to be rendered. Applies after the data has been processed in the value-method of\n DatsetDetailsProperty.vue\n\n - preTransform: same as transform, only applied to the raw data value before processing in the value-method\n\n */\n\nexport const dcatSchema = (t) => ({\n releaseDate: {type: 'date', translate: 'created'},\n modificationDate: {type: 'date', translate: 'updated'},\n landingPages: {type: 'links', translate: 'landingPage'},\n sources: {type: 'links', translate:',sources'},\n languages: {type: 'links', translate: 'language,languages'},\n publisher: {type: 'object', fields: 'name,email,homepage'},\n contactPoints: {type: 'objects', translate:\"/message.tooltip.contactPoints,contactPoints\", fields: \"name::/message.metadata.name,organisation_name::/message.datasetDetails.contactPoints.organizationName,email,telephone,address,url:link\"},\n catalogRecord: {type: 'object', translate:\"/message.tooltip.catalogRecord,catalogRecord\", fields: \"issued:date:addedToDataEuropaEU,modified:date:updatedOnDataEuropaEU,homepage\"},\n spatial: {type: 'objects', fields: \"coordinates,type\"},\n spatialResource: {type: 'objects', translate:\",spatialResource\", fields: \"resource:link\"},\n conformsTo: {type: 'objects', fields: \"title::label,label,resource:link_blank\", track:\"resource\"},\n provenances: {type: 'objects', translate: 'provenance,provenances', fields: \"label,resource:link\"},\n // relatedResources: {type: 'links', translate: 'relatedResource,relatedResources'},\n identifiers: {type: 'links', translate: 'identifier,identifiers'},\n otherIdentifiers: {type: 'objects', translate: 'otherIdentifier,otherIdentifiers', fields:\"identifier:link,resource:link:identifier,scheme:link\"},\n resource: {type: 'uri', translate: \",'uriRef:'\"},\n frequency: {type: 'object', fields:\"title,resource:link\"},\n accessRights: {type: 'object', translate:\"/message.tooltip.datasetDetails.distributions.rights,accessRights\", fields:\"label::\"},\n accrualPeriodicity: {type: 'object', translate:\"frequency,accrualPeriodicity\", fields:\"label::\"},\n creator: {type: 'objects', fields:\"type,name,resource:link,email,homepage:link\"},\n hasVersion: {type: 'links'},\n isVersionOf: {type: 'links', translate:\"versionOf,isVersionOf\"},\n temporal: {type: 'objects', translate:\"/message.tooltip.datasetDetails.distributions.temporalResolution,temporal\", fields: \"gte:date:,lte:date:' -'\", itemstyles:\"float:left\"},\n versionInfo: {type: 'string'},\n versionNotes: {type: 'translation'},\n attributes: {type: 'links', translate:\",attributes\"},\n dimensions: {type: 'links', translate:\",dimensions\"},\n numSeries: {type: 'number'},\n hasQualityAnnotations: {type: 'links', translate: \",qualityAnnotations\"},\n statUnitMeasures: {type: 'links', translate: \"unitsOfMeasurement\"},\n isReferencedBy: {type: 'links'},\n qualifiedAttributions: {type: 'links', translate: \"qualifiedAttribution\"},\n wasGeneratedBy: {type: 'links'},\n qualifiedRelations: {type: 'objects', translate: \"qualifiedRelation\", fields: \"relation:link,had_role:link:role\"},\n sample: {type: 'links'},\n spatialResolutionInMeters: {\n type: 'number', translate: \"spatialResolutionInMeters,spatialResolutionInMeters.label\",\n transform: value => t('message.metadata.spatialResolutionInMeters.value', {number: value})\n },\n type: {type: 'object', fields: \"label,resource:link\"},\n temporalResolution: {type: 'string'}\n});\n\nexport const dcatDeSchema = () => ({\n politicalGeocodingLevelURI: {type: 'objects', fields:\"label,resource:link\"},\n politicalGeocodingURI: {type: 'objects', fields:\"label,resource:link\"},\n availability: {type: 'object', translate:\"availabilityDE,availability\", fields:\"label,resource:link\"},\n contributorID: {type: 'objects', fields:\"label,resource:link\"},\n geocodingDescriptionDe: {type: 'translation'},\n legalBasis: {type: 'translation'},\n qualityProcessURI: {type: 'uri'},\n typeDe: {type: 'string', translate:\"type,type\"},\n references: {type: 'uri'},\n contributor: {type: 'objects', fields:\"name,type,homepage,email,resource\"},\n originator: {type: 'objects', fields:\"name,type,homepage,email,resource\"},\n maintainer: {type: 'objects', fields:\"name,type,homepage,email,resource\"}\n});\n"],"names":["dcatFields","dcatDeFields","dcatSchema","t","value","dcatDeSchema"],"mappings":"AAAO,MAAMA,IAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kFAQbC,IAAe;AAAA;AAAA,mDAqDfC,IAAa,CAACC,OAAO;AAAA,EAC9B,aAAa,EAAC,MAAM,QAAQ,WAAW,UAAS;AAAA,EAChD,kBAAkB,EAAC,MAAM,QAAQ,WAAW,UAAS;AAAA,EACrD,cAAc,EAAC,MAAM,SAAS,WAAW,cAAa;AAAA,EACtD,SAAS,EAAC,MAAM,SAAS,WAAU,WAAU;AAAA,EAC7C,WAAW,EAAC,MAAM,SAAS,WAAW,qBAAoB;AAAA,EAC1D,WAAW,EAAC,MAAM,UAAU,QAAQ,sBAAqB;AAAA,EACzD,eAAe,EAAC,MAAM,WAAW,WAAU,gDAAgD,QAAQ,0IAAyI;AAAA,EAC5O,eAAe,EAAC,MAAM,UAAU,WAAU,gDAAgD,QAAQ,+EAA8E;AAAA,EAChL,SAAS,EAAC,MAAM,WAAW,QAAQ,mBAAkB;AAAA,EACrD,iBAAiB,EAAC,MAAM,WAAW,WAAU,oBAAoB,QAAQ,gBAAe;AAAA,EACxF,YAAY,EAAC,MAAM,WAAW,QAAQ,0CAA0C,OAAM,WAAU;AAAA,EAChG,aAAa,EAAC,MAAM,WAAW,WAAW,0BAA0B,QAAQ,sBAAqB;AAAA;AAAA,EAEjG,aAAa,EAAC,MAAM,SAAS,WAAW,yBAAwB;AAAA,EAChE,kBAAkB,EAAC,MAAM,WAAW,WAAW,oCAAoC,QAAO,uDAAsD;AAAA,EAChJ,UAAU,EAAC,MAAM,OAAO,WAAW,aAAY;AAA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M,WAAW,QAAO,sBAAqB;AAAA,EAC1E,uBAAuB,EAAC,MAAM,WAAW,QAAO,sBAAqB;AAAA,EACrE,cAAc,EAAC,MAAM,UAAU,WAAU,+BAA+B,QAAO,sBAAqB;AAAA,EACpG,eAAe,EAAC,MAAM,WAAW,QAAO,sBAAqB;AAAA,EAC7D,wBAAwB,EAAC,MAAM,cAAa;AAAA,EAC5C,YAAY,EAAC,MAAM,cAAa;AAAA,EAChC,mBAAmB,EAAC,MAAM,MAAK;AAAA,EAC/B,QAAQ,EAAC,MAAM,UAAU,WAAU,YAAW;AAAA,EAC9C,YAAY,EAAC,MAAM,MAAK;AAAA,EACxB,aAAa,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAAA,EACzE,YAAY,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAAA,EACxE,YAAY,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAC5E;"}
1
+ {"version":3,"file":"specification.mjs","sources":["../../../lib/datasetDetails/properties/specification.ts"],"sourcesContent":["export const dcatFields = `releaseDate,modificationDate,creator,landingPages,sources,\n languages,publisher,contactPoints,catalogRecord,spatial,\n spatialResource,conformsTo,provenances,identifiers,otherIdentifiers, resource,\n frequency,accessRights,accrualPeriodicity,hasVersion,isVersionOf,\n temporal,versionInfo,versionNotes,attributes,dimensions,numSeries,hasQualityAnnotations,\n statUnitMeasures,isReferencedBy,qualifiedAttributions,wasGeneratedBy,\n qualifiedRelations,sample,spatialResolutionInMeters,type,temporalResolution`;\n\nexport const dcatDeFields = `politicalGeocodingLevelURI,politicalGeocodingURI,availability,\n contributorID,geocodingDescriptionDe,legalBasis,qualityProcessURI,typeDe,\n references,contributor,originator,maintainer`;\n\n/*\n Below we have schemata describing how properties should be rendered in DatasetDatailsProperties.vue. A schema is\n an object where keys correspond to the above defined fields. For each key, the value is an object the format of which\n we will now describe:\n\n - type: is the the only required property. Will be evaluated in typeCheckers.ts. It reflects the format of the\n data item (CALLED \"response\" BELOW!) retrieved by from the search network response (number, string, url, array, object, array of objects).\n Supported values are:\n * \"number\": response is a single number\n * \"first:number\": render response[0] as a number\n * \"string\": response a simple string\n * \"uri\": response a simple string, rendered as a link\n * \"date\": response a simple string, formatted as a date conforming to the current locale\n * \"translation\": response an object containing locale keys (like \"en\", \"de\"). The value corresponding to the\n current locale is rendered\n * \"object\": response an object whose where each key-value pair is rendered on a separate line\n * \"array\": response an array whose elements are rendered vertically\n * \"links\": reponse either an array of uri-strings rendered as links, or an\n array of objects with a label field that is displayed as a link and another field\n holding the href; that other field is either resource, label or id\n\n - translate: for a property \"xxx\", we have a bold label and tooltip to the left which comes from\n an i18n translation; the default i18n keys are: message.tooltip.datasetDetails.xxx for the tooltip and\n message.metadata.xxx for the displayed label. if instead of xxx, you want to use another key (with the same prefixes),\n translate can provide it. If translate is two strings separated by commas, the left one applies to the tooltip, the right\n to the label. Instead of just a replacement for xxx, you can provide i18n keys without the prefixes by starting the string with\n a slash (example: translate:\"/message.tooltip.yyy,/message.mykey.mylabelkey\"). Instead of translation keys, you can also\n provide literal values as tooltip or label by enclosing the strings in single quotes.\n\n - fields: for objects and arrays of objects, this comma-separated value indicates, what keys of the objects should\n be used for display (filtering out any additional data in the object). If not present, all existent keys will be used.\n A key given in this comma separated list can be of the form \"x\": just a key, or of the form \"x:y\": key x of type y (where\n the type is any of \"link\", \"link_blank\", \"date\" or empty; accordingly, a link (possibly target=\"_blank\") or date will be displayed).\n Also the form \"x:y:z\" is possible, where z is an indication how to translate the key for rendering. If z does not exist,\n the i18n key message.metadata.x will be translated; if z exists, we use message.metadata.z instead. The additional properties for\n \"translate\" above can also be applied to z: leading slash or single quotes.\n\n - track: enable Matomo tracking for a link. track is a string value indicating the key of the data object for which\n tracking should be enabled.\n\n - itemstyles: a string of CSS properties that applies to key-value items of a rendered object\n\n - transform: a function that maps the data to be rendered. Applies after the data has been processed in the value-method of\n DatsetDetailsProperty.vue\n\n - preTransform: same as transform, only applied to the raw data value before processing in the value-method\n\n */\n\nexport const dcatSchema = (t) => ({\n releaseDate: {type: 'date', translate: 'created'},\n modificationDate: {type: 'date', translate: 'updated'},\n landingPages: {type: 'links', translate: 'landingPage'},\n sources: {type: 'links', translate:',sources'},\n languages: {type: 'links', translate: 'language,languages'},\n publisher: {type: 'object', fields: 'name,email,homepage'},\n contactPoints: {type: 'objects', translate:\"/message.tooltip.contactPoints,contactPoints\", fields: \"name::/message.metadata.name,organisation_name::/message.datasetDetails.contactPoints.organizationName,email,telephone,address,url:link\"},\n catalogRecord: {type: 'object', translate:\"/message.tooltip.catalogRecord,catalogRecord\", fields: \"issued:date:addedToDataEuropaEU,modified:date:updatedOnDataEuropaEU,homepage\"},\n spatial: {type: 'objects', fields: \"coordinates,type\"},\n spatialResource: {type: 'links', translate:\",spatialResource\", fields: \"resource:link\"},\n conformsTo: {type: 'objects', fields: \"title::label,label,resource:link_blank\", track:\"resource\"},\n provenances: {type: 'objects', translate: 'provenance,provenances', fields: \"label,resource:link\"},\n // relatedResources: {type: 'links', translate: 'relatedResource,relatedResources'},\n identifiers: {type: 'links', translate: 'identifier,identifiers'},\n otherIdentifiers: {type: 'links', translate: 'otherIdentifier,otherIdentifiers', fields:\"identifier:link,resource:link:identifier,scheme:link\"},\n resource: {type: 'uri', translate: \",'uriRef:'\"},\n frequency: {type: 'object', fields:\"title,resource:link\"},\n accessRights: {type: 'object', translate:\"/message.tooltip.datasetDetails.distributions.rights,accessRights\", fields:\"label::\"},\n accrualPeriodicity: {type: 'object', translate:\"frequency,accrualPeriodicity\", fields:\"label::\"},\n creator: {type: 'objects', fields:\"type,name,resource:link,email,homepage:link\"},\n hasVersion: {type: 'links'},\n isVersionOf: {type: 'links', translate:\"versionOf,isVersionOf\"},\n temporal: {type: 'objects', translate:\"/message.tooltip.datasetDetails.distributions.temporalResolution,temporal\", fields: \"gte:date:,lte:date:' -'\", itemstyles:\"float:left\"},\n versionInfo: {type: 'string'},\n versionNotes: {type: 'translation'},\n attributes: {type: 'links', translate:\",attributes\"},\n dimensions: {type: 'links', translate:\",dimensions\"},\n numSeries: {type: 'number'},\n hasQualityAnnotations: {type: 'links', translate: \",qualityAnnotations\"},\n statUnitMeasures: {type: 'links', translate: \"unitsOfMeasurement\"},\n isReferencedBy: {type: 'links'},\n qualifiedAttributions: {type: 'links', translate: \"qualifiedAttribution\"},\n wasGeneratedBy: {type: 'links'},\n qualifiedRelations: {type: 'objects', translate: \"qualifiedRelation\", fields: \"relation:link,had_role:link:role\"},\n sample: {type: 'links'},\n spatialResolutionInMeters: {\n type: 'number', translate: \"spatialResolutionInMeters,spatialResolutionInMeters.label\",\n transform: value => t('message.metadata.spatialResolutionInMeters.value', {number: value})\n },\n type: {type: 'object', fields: \"label,resource:link_blank\", preTransform: (value) => ({\n ...value,\n name: value?.name ?? value?.label\n })},\n temporalResolution: {type: 'string'}\n});\n\nexport const dcatDeSchema = () => ({\n politicalGeocodingLevelURI: {type: 'objects', fields:\"label,resource:link\"},\n politicalGeocodingURI: {type: 'objects', fields:\"label,resource:link\"},\n availability: {type: 'object', translate:\"availabilityDE,availability\", fields:\"label,resource:link\"},\n contributorID: {type: 'objects', fields:\"label,resource:link\"},\n geocodingDescriptionDe: {type: 'translation'},\n legalBasis: {type: 'translation'},\n qualityProcessURI: {type: 'uri'},\n typeDe: {type: 'string', translate:\"type,type\"},\n references: {type: 'uri'},\n contributor: {type: 'objects', fields:\"name,type,homepage,email,resource\"},\n originator: {type: 'objects', fields:\"name,type,homepage,email,resource\"},\n maintainer: {type: 'objects', fields:\"name,type,homepage,email,resource\"}\n});\n"],"names":["dcatFields","dcatDeFields","dcatSchema","value","dcatDeSchema"],"mappings":"AAAO,MAAMA,IAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kFAQbC,IAAe;AAAA;AAAA,mDAqDfC,IAAa,CAAC,OAAO;AAAA,EAC9B,aAAa,EAAC,MAAM,QAAQ,WAAW,UAAS;AAAA,EAChD,kBAAkB,EAAC,MAAM,QAAQ,WAAW,UAAS;AAAA,EACrD,cAAc,EA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,YAAY,EAAC,MAAM,MAAK;AAAA,EACxB,aAAa,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAAA,EACzE,YAAY,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAAA,EACxE,YAAY,EAAC,MAAM,WAAW,QAAO,oCAAmC;AAC5E;"}
@@ -78,10 +78,7 @@ declare const _default: import('vue').DefineComponent<{
78
78
  getGeoBoundsById: import('vuex').Computed;
79
79
  }, {
80
80
  isNil: (value: any) => value is null | undefined;
81
- isArray: {
82
- (value?: any): value is any[];
83
- <T>(value?: any): value is any[];
84
- };
81
+ isArray: (value?: any) => value is any[];
85
82
  isString: (value?: any) => value is string;
86
83
  isNumber: (value?: any) => value is number;
87
84
  initBounds(): void;
@@ -141,10 +138,7 @@ declare const _default: import('vue').DefineComponent<{
141
138
  getGeoBoundsById: import('vuex').Computed;
142
139
  }, {
143
140
  isNil: (value: any) => value is null | undefined;
144
- isArray: {
145
- (value?: any): value is any[];
146
- <T>(value?: any): value is any[];
147
- };
141
+ isArray: (value?: any) => value is any[];
148
142
  isString: (value?: any) => value is string;
149
143
  isNumber: (value?: any) => value is number;
150
144
  initBounds(): void;
@@ -30,10 +30,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
30
30
  getGeoBoundsById: import('vuex').Computed;
31
31
  }, {
32
32
  isNil: (value: any) => value is null | undefined;
33
- isArray: {
34
- (value?: any): value is any[];
35
- <T>(value?: any): value is any[];
36
- };
33
+ isArray: (value?: any) => value is any[];
37
34
  isString: (value?: any) => value is string;
38
35
  isNumber: (value?: any) => value is number;
39
36
  initBounds(): void;
@@ -31,10 +31,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
31
31
  getGeoBoundsById: import('vuex').Computed;
32
32
  }, {
33
33
  isNil: (value: any) => value is null | undefined;
34
- isArray: {
35
- (value?: any): value is any[];
36
- <T>(value?: any): value is any[];
37
- };
34
+ isArray: (value?: any) => value is any[];
38
35
  isString: (value?: any) => value is string;
39
36
  isNumber: (value?: any) => value is number;
40
37
  initBounds(): void;