@piveau/piveau-hub-ui-modules 4.1.3 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-provider-interface/DPIMenu.vue.mjs +74 -68
- package/dist/data-provider-interface/DPIMenu.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +182 -48
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +33 -32
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +3 -0
- package/dist/data-provider-interface/components/FileUpload.vue.mjs +146 -139
- package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs +55 -44
- package/dist/data-provider-interface/components/SimpleSelect.vue.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/format-types.mjs +3 -3
- package/dist/data-provider-interface/config/dcatap/format-types.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs +108 -86
- package/dist/data-provider-interface/config/dcatap/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs +3 -3
- package/dist/data-provider-interface/config/dcatapde/input-definition.mjs.map +1 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +13 -1
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +154 -111
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.mjs +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs +27 -24
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue.mjs +33 -33
- package/dist/form/Repeatable.vue.mjs.map +1 -1
- package/dist/form/inputDefinitions.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/scss/_dpi-style.scss +17 -3
- package/dist/store/modules/authStore.d.ts +9 -0
- package/dist/store/modules/authStore.mjs +32 -24
- package/dist/store/modules/authStore.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,80 +1,214 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import
|
|
3
|
-
import { onClickOutside as
|
|
1
|
+
import { ref as h, resolveComponent as T, openBlock as i, createElementBlock as l, createElementVNode as e, toDisplayString as x, createTextVNode as o, unref as r, createCommentVNode as u, withDirectives as I, isRef as M, vModelText as V, Fragment as b, renderList as _, createVNode as g, createBlock as D } from "vue";
|
|
2
|
+
import U from "./AutocompleteInput.vue.mjs";
|
|
3
|
+
import { onClickOutside as A } from "../../external/@vueuse/core/index";
|
|
4
|
+
import { useRuntimeEnv as E } from "../../composables/useRuntimeEnv.mjs";
|
|
4
5
|
import "./ConditionalInput.vue2.mjs";
|
|
5
|
-
const
|
|
6
|
+
const P = { class: "formkitProperty" }, S = { class: "formkitHeader" }, B = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "d-flex infoLicense py-5"
|
|
9
|
+
}, H = /* @__PURE__ */ e("svg", {
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
width: "30px",
|
|
12
|
+
height: "30px",
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
class: "bi bi-info-circle mx-3 mb-3 mt-1 infoboxI",
|
|
15
|
+
viewBox: "0 0 16 16"
|
|
16
|
+
}, [
|
|
17
|
+
/* @__PURE__ */ e("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
18
|
+
/* @__PURE__ */ o(),
|
|
19
|
+
/* @__PURE__ */ e("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
20
|
+
], -1), N = /* @__PURE__ */ e("p", { class: "textInfoI" }, [
|
|
21
|
+
/* @__PURE__ */ o("For European Commission’s datasets, bear in mind that Decision "),
|
|
22
|
+
/* @__PURE__ */ e("a", { href: "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833" }, "2011/833/EU"),
|
|
23
|
+
/* @__PURE__ */ o(` allows for their
|
|
24
|
+
commercial reuse
|
|
25
|
+
without prior authorisation, except for the material subject to the third party intellectual property rights.
|
|
26
|
+
This Decision has been implemented under the `),
|
|
27
|
+
/* @__PURE__ */ e("a", { href: "https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en" }, `Decision C(2019)
|
|
28
|
+
1655 final`),
|
|
29
|
+
/* @__PURE__ */ o(` by which Creative Commons Attribution
|
|
30
|
+
4.0 International Public License (CC BY 4.0) is adopted as an open licence for the Commission’s reuse policy.
|
|
31
|
+
Additionally, raw data, metadata or other documents of comparable nature may alternatively be distributed under
|
|
32
|
+
the provisions of the Creative Commons Universal Public Domain Dedication deed (CC0 1.0).
|
|
33
|
+
`),
|
|
34
|
+
/* @__PURE__ */ e("br"),
|
|
35
|
+
/* @__PURE__ */ e("br"),
|
|
36
|
+
/* @__PURE__ */ o(`
|
|
37
|
+
The Council and the European Court of Auditors have approved similar decisions on reuse. It is advisable that
|
|
38
|
+
you check the reuse policy of your organisation before publishing or submitting your dataset.
|
|
39
|
+
`)
|
|
40
|
+
], -1), j = {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: "d-flex infoLicense py-5"
|
|
43
|
+
}, F = /* @__PURE__ */ e("svg", {
|
|
44
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
45
|
+
width: "30px",
|
|
46
|
+
height: "30px",
|
|
47
|
+
fill: "currentColor",
|
|
48
|
+
class: "bi bi-info-circle mx-3 mb-3 mt-1 infoboxI",
|
|
49
|
+
viewBox: "0 0 16 16"
|
|
50
|
+
}, [
|
|
51
|
+
/* @__PURE__ */ e("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
52
|
+
/* @__PURE__ */ o(),
|
|
53
|
+
/* @__PURE__ */ e("path", { d: "m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })
|
|
54
|
+
], -1), O = /* @__PURE__ */ e("p", { class: "textInfoI" }, [
|
|
55
|
+
/* @__PURE__ */ o(`As owner of your dataset, you guarantee that it does not violate the copyright, other intellectual property or
|
|
56
|
+
privacy rights of any third party. In particular, if third party material is included in the dataset, you must
|
|
57
|
+
ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.
|
|
58
|
+
`),
|
|
59
|
+
/* @__PURE__ */ e("br"),
|
|
60
|
+
/* @__PURE__ */ e("br"),
|
|
61
|
+
/* @__PURE__ */ o(`
|
|
62
|
+
If you need further information regarding copyright issues, please contact us at
|
|
63
|
+
`),
|
|
64
|
+
/* @__PURE__ */ e("a", { href: "mailto:op-copyright@publications.europa.eu" }, "op-copyright@publications.europa.eu")
|
|
65
|
+
], -1), R = {
|
|
66
|
+
key: 2,
|
|
67
|
+
class: "formkitCmpWrap simpleConditional"
|
|
68
|
+
}, z = { class: "m-3" }, K = { class: "conditionalSelectDiv" }, W = { key: 0 }, X = { class: "selectListConditional" }, Y = { class: "conditionalManual" }, $ = {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: "d-flex"
|
|
71
|
+
}, q = { key: 0 }, G = {
|
|
72
|
+
key: 3,
|
|
73
|
+
class: "formkitCmpWrap simpleConditional"
|
|
74
|
+
}, J = { class: "m-3" }, Q = { class: "conditionalSelectDiv" }, Z = { key: 0 }, ee = { class: "selectListConditional" }, te = { class: "conditionalManual" }, oe = {
|
|
6
75
|
key: 0,
|
|
7
76
|
class: "d-flex"
|
|
8
|
-
},
|
|
77
|
+
}, ne = {
|
|
9
78
|
key: 0,
|
|
10
79
|
class: "conditionalVocabulary"
|
|
11
|
-
},
|
|
80
|
+
}, ce = {
|
|
12
81
|
__name: "ConditionalInput",
|
|
13
82
|
props: {
|
|
14
83
|
context: Object
|
|
15
84
|
},
|
|
16
|
-
setup(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
85
|
+
setup(L) {
|
|
86
|
+
let C = E();
|
|
87
|
+
const t = L;
|
|
88
|
+
let c = h(), s = h(!1), p = h(!1);
|
|
89
|
+
const f = h(null), k = (d) => {
|
|
90
|
+
p.value = !p.value;
|
|
91
|
+
}, w = (d) => {
|
|
92
|
+
c.value = d.target.innerHTML, d.target.innerHTML === "Manually" && (s.value = "manually"), d.target.innerHTML === "Vocabulary" && (s.value = "vocabulary"), d.target.innerHTML === "URL" && (s.value = "url"), d.target.innerHTML === "Text" && (s.value = "text"), t.context.node.reset(), t.context.value = "";
|
|
23
93
|
};
|
|
24
|
-
return
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
94
|
+
return A(f, (d) => p.value = !1), (d, a) => {
|
|
95
|
+
const v = T("FormKit");
|
|
96
|
+
return i(), l("div", P, [
|
|
97
|
+
e("h4", S, x(t.context.attrs.identifier.charAt(0).toUpperCase() + t.context.attrs.identifier.slice(1)), 1),
|
|
98
|
+
o(),
|
|
99
|
+
t.context.attrs.identifier === "licence" && r(C).content.dataProviderInterface.annifIntegration ? (i(), l("div", B, [
|
|
100
|
+
H,
|
|
101
|
+
o(),
|
|
102
|
+
N
|
|
103
|
+
])) : u("", !0),
|
|
104
|
+
o(),
|
|
105
|
+
t.context.attrs.identifier === "rights" && r(C).content.dataProviderInterface.annifIntegration ? (i(), l("div", j, [
|
|
106
|
+
F,
|
|
107
|
+
o(),
|
|
108
|
+
O
|
|
109
|
+
])) : u("", !0),
|
|
110
|
+
o(),
|
|
111
|
+
t.context.attrs.identifier === "rights" ? (i(), l("div", R, [
|
|
112
|
+
e("div", z, [
|
|
113
|
+
e("div", K, [
|
|
114
|
+
I(e("input", {
|
|
115
|
+
ref_key: "I1",
|
|
116
|
+
ref: f,
|
|
117
|
+
type: "text",
|
|
118
|
+
class: "conditionalSelect formkit-input formkit-inner",
|
|
119
|
+
onClick: a[0] || (a[0] = (n) => k()),
|
|
120
|
+
placeholder: "Choose input method",
|
|
121
|
+
"onUpdate:modelValue": a[1] || (a[1] = (n) => M(c) ? c.value = n : c = n)
|
|
122
|
+
}, null, 512), [
|
|
123
|
+
[V, r(c)]
|
|
124
|
+
]),
|
|
125
|
+
o(),
|
|
126
|
+
r(p) ? (i(), l("div", W, [
|
|
127
|
+
e("ul", X, [
|
|
128
|
+
(i(!0), l(b, null, _(t.context.attrs.selection, (n, m) => (i(), l("li", {
|
|
129
|
+
class: "p-2 border-b border-gray-200",
|
|
130
|
+
onClick: a[2] || (a[2] = (y) => w(y))
|
|
131
|
+
}, x(n), 1))), 256))
|
|
132
|
+
])
|
|
133
|
+
])) : u("", !0)
|
|
134
|
+
]),
|
|
135
|
+
o(),
|
|
136
|
+
e("div", Y, [
|
|
137
|
+
r(s) === "url" || t.context.node.value["@type"] === "url" ? (i(), l("div", $, [
|
|
138
|
+
g(v, {
|
|
139
|
+
type: "url",
|
|
140
|
+
placeholder: "Please provide a valid URL",
|
|
141
|
+
name: "rdfs:label",
|
|
142
|
+
validation: "url",
|
|
143
|
+
class: "w-100",
|
|
144
|
+
identifier: "rightsUrl",
|
|
145
|
+
modelValue: t.context.value["rdfs:value"],
|
|
146
|
+
"onUpdate:modelValue": a[3] || (a[3] = (n) => t.context.value["rdfs:value"] = n)
|
|
147
|
+
}, null, 8, ["modelValue"])
|
|
148
|
+
])) : u("", !0)
|
|
149
|
+
]),
|
|
150
|
+
o(),
|
|
151
|
+
r(s) === "text" || t.context.value["@type"] === "text" ? (i(), l("div", q, [
|
|
152
|
+
g(v, {
|
|
153
|
+
type: "text",
|
|
154
|
+
placeholder: "Please provide a Text",
|
|
155
|
+
name: "rdfs:label",
|
|
156
|
+
class: "w-100",
|
|
157
|
+
identifier: "rightsText",
|
|
158
|
+
modelValue: t.context.value["rdfs:value"],
|
|
159
|
+
"onUpdate:modelValue": a[4] || (a[4] = (n) => t.context.value["rdfs:value"] = n)
|
|
160
|
+
}, null, 8, ["modelValue"])
|
|
161
|
+
])) : u("", !0)
|
|
162
|
+
])
|
|
163
|
+
])) : (i(), l("div", G, [
|
|
164
|
+
e("div", J, [
|
|
165
|
+
e("div", Q, [
|
|
166
|
+
I(e("input", {
|
|
33
167
|
ref_key: "I1",
|
|
34
168
|
ref: f,
|
|
35
169
|
type: "text",
|
|
36
170
|
class: "conditionalSelect formkit-input formkit-inner",
|
|
37
|
-
onClick:
|
|
171
|
+
onClick: a[5] || (a[5] = (n) => k()),
|
|
38
172
|
placeholder: "Choose input method",
|
|
39
|
-
"onUpdate:modelValue":
|
|
173
|
+
"onUpdate:modelValue": a[6] || (a[6] = (n) => M(c) ? c.value = n : c = n)
|
|
40
174
|
}, null, 512), [
|
|
41
|
-
[
|
|
175
|
+
[V, r(c)]
|
|
42
176
|
]),
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
(
|
|
177
|
+
o(),
|
|
178
|
+
r(p) ? (i(), l("div", Z, [
|
|
179
|
+
e("ul", ee, [
|
|
180
|
+
(i(!0), l(b, null, _(t.context.attrs.selection, (n, m) => (i(), l("li", {
|
|
47
181
|
class: "p-2 border-b border-gray-200",
|
|
48
|
-
onClick:
|
|
49
|
-
},
|
|
182
|
+
onClick: a[7] || (a[7] = (y) => w(y))
|
|
183
|
+
}, x(n), 1))), 256))
|
|
50
184
|
])
|
|
51
|
-
])) :
|
|
185
|
+
])) : u("", !0)
|
|
52
186
|
]),
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(
|
|
57
|
-
type:
|
|
58
|
-
placeholder:
|
|
59
|
-
name:
|
|
60
|
-
validation:
|
|
187
|
+
o(),
|
|
188
|
+
e("div", te, [
|
|
189
|
+
r(s) === "manually" || Object.keys(t.context.value).length > 0 && t.context.value["foaf:name"] && r(s) != "vocabulary" ? (i(), l("div", oe, [
|
|
190
|
+
(i(!0), l(b, null, _(t.context.attrs.options, (n, m) => (i(), D(v, {
|
|
191
|
+
type: m,
|
|
192
|
+
placeholder: m,
|
|
193
|
+
name: n,
|
|
194
|
+
validation: m,
|
|
61
195
|
class: "w-100"
|
|
62
196
|
}, null, 8, ["type", "placeholder", "name", "validation"]))), 256))
|
|
63
|
-
])) :
|
|
197
|
+
])) : u("", !0)
|
|
64
198
|
]),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
context:
|
|
199
|
+
o(),
|
|
200
|
+
r(s) === "vocabulary" || Object.keys(t.context.value).length > 0 && t.context.value.name && r(s) != "manually" ? (i(), l("div", ne, [
|
|
201
|
+
g(U, {
|
|
202
|
+
context: t.context
|
|
69
203
|
}, null, 8, ["context"])
|
|
70
|
-
])) :
|
|
204
|
+
])) : u("", !0)
|
|
71
205
|
])
|
|
72
|
-
])
|
|
206
|
+
]))
|
|
73
207
|
]);
|
|
74
208
|
};
|
|
75
209
|
}
|
|
76
210
|
};
|
|
77
211
|
export {
|
|
78
|
-
|
|
212
|
+
ce as default
|
|
79
213
|
};
|
|
80
214
|
//# sourceMappingURL=ConditionalInput.vue.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/ConditionalInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <h4>{{ props.context.attrs.identifier }}</h4>\n <div class=\"formkitCmpWrap simpleConditional\">\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n placeholder=\"Choose input method\" v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode($event)\">{{ el }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'manually' ||\n Object.keys(props.context.value).length > 0 && props.context.value['foaf:name']\n && selectedItem != 'vocabulary'\">\n <FormKit v-for=\"el, key in props.context.attrs.options\" :type=\"key\" :placeholder=\"key\" :name=\"el\"\n :validation=\"key\" class=\"w-100\"></FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'vocabulary' || Object.keys(props.context.value).length > 0\n && props.context.value.name && selectedItem != 'manually'\" class=\"conditionalVocabulary\">\n <AutocompleteInput :context=\"props.context\"></AutocompleteInput>\n </div>\n\n\n </div>\n\n </div>\n </div>\n\n</template>\n<script setup>\nimport { ref } from 'vue';\nimport AutocompleteInput from './AutocompleteInput.vue';\nimport { onClickOutside } from '@vueuse/core'\n\nconst props = defineProps({\n context: Object,\n})\nlet selectModeVal = ref()\nlet selectedItem = ref(false)\nlet showSelect = ref(false)\n\n\nconst I1 = ref(null)\n\nconst openSelect = (e) => {\n\n showSelect.value = !showSelect.value\n\n}\nconst selectMode = (e) => {\n selectModeVal.value = e.target.innerHTML\n\n if (e.target.innerHTML === '
|
|
1
|
+
{"version":3,"file":"ConditionalInput.vue.mjs","sources":["../../../lib/data-provider-interface/components/ConditionalInput.vue"],"sourcesContent":["<template>\n <div class=\"formkitProperty\">\n <h4 class=\"formkitHeader\">{{ props.context.attrs.identifier.charAt(0).toUpperCase() + props.context.attrs.identifier.slice(1) }}</h4>\n <div v-if=\"props.context.attrs.identifier === 'licence' && env.content.dataProviderInterface.annifIntegration\" class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI \" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <p class=\"textInfoI\">For European Commission’s datasets, bear in mind that Decision <a\n href=\"https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32011D0833\">2011/833/EU</a> allows for their\n commercial reuse\n without prior authorisation, except for the material subject to the third party intellectual property rights.\n This Decision has been implemented under the <a\n href=\"https://ec.europa.eu/transparency/documents-register/detail?ref=C(2019)1655&lang=en\">Decision C(2019)\n 1655 final</a> by which Creative Commons Attribution\n 4.0 International Public License (CC BY 4.0) is adopted as an open licence for the Commission’s reuse policy.\n Additionally, raw data, metadata or other documents of comparable nature may alternatively be distributed under\n the provisions of the Creative Commons Universal Public Domain Dedication deed (CC0 1.0).\n <br><br>\n The Council and the European Court of Auditors have approved similar decisions on reuse. It is advisable that\n you check the reuse policy of your organisation before publishing or submitting your dataset.\n </p>\n </div>\n <div v-if=\"props.context.attrs.identifier === 'rights' && env.content.dataProviderInterface.annifIntegration\" class=\"d-flex infoLicense py-5\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30px\" height=\"30px\" fill=\"currentColor\"\n class=\"bi bi-info-circle mx-3 mb-3 mt-1 infoboxI\" viewBox=\"0 0 16 16\">\n <path d=\"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16\" />\n <path\n d=\"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\" />\n </svg>\n <p class=\"textInfoI\">As owner of your dataset, you guarantee that it does not violate the copyright, other intellectual property or\n privacy rights of any third party. In particular, if third party material is included in the dataset, you must\n ensure that all necessary permissions have been obtained and appropriate acknowledgment is given, if necessary.\n <br><br>\n If you need further information regarding copyright issues, please contact us at \n <a href=\"mailto:op-copyright@publications.europa.eu\">op-copyright@publications.europa.eu</a>\n </p>\n </div>\n <!-- Choice between text and URL -->\n <div class=\"formkitCmpWrap simpleConditional\" v-if=\"props.context.attrs.identifier === 'rights'\">\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n placeholder=\"Choose input method\" v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode($event)\">{{ el }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'url' || props.context.node.value['@type'] === 'url'\">\n <FormKit type=\"url\" placeholder=\"Please provide a valid URL\" name=\"rdfs:label\" validation=\"url\"\n class=\"w-100\" identifier=\"rightsUrl\" v-model=\"props.context.value['rdfs:value']\"></FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'text' || props.context.value['@type'] === 'text'\">\n <FormKit type=\"text\" placeholder=\"Please provide a Text\" name=\"rdfs:label\" class=\"w-100\"\n identifier=\"rightsText\" v-model=\"props.context.value['rdfs:value']\"></FormKit>\n </div>\n </div>\n </div>\n\n <!-- Choice between manualinput and vocabulary search -->\n <div class=\"formkitCmpWrap simpleConditional\" v-else>\n <div class=\"m-3\">\n <div class=\"conditionalSelectDiv\">\n <input ref=\"I1\" type=\"text\" class=\"conditionalSelect formkit-input formkit-inner\" @click=\"openSelect($event)\"\n placeholder=\"Choose input method\" v-model=\"selectModeVal\">\n <div v-if=\"showSelect\">\n <ul class=\"selectListConditional\">\n <li v-for=\"el, index in props.context.attrs.selection\" class=\"p-2 border-b border-gray-200 \"\n @click=\"selectMode($event)\">{{ el }}</li>\n </ul>\n </div>\n </div>\n <div class=\"conditionalManual\">\n <div class=\"d-flex\" v-if=\"selectedItem === 'manually' ||\n Object.keys(props.context.value).length > 0 && props.context.value['foaf:name']\n && selectedItem != 'vocabulary'\">\n <FormKit v-for=\"el, key in props.context.attrs.options\" :type=\"key\" :placeholder=\"key\" :name=\"el\"\n :validation=\"key\" class=\"w-100\"></FormKit>\n </div>\n </div>\n <div v-if=\"selectedItem === 'vocabulary' || Object.keys(props.context.value).length > 0\n && props.context.value.name && selectedItem != 'manually'\" class=\"conditionalVocabulary\">\n <AutocompleteInput :context=\"props.context\"></AutocompleteInput>\n </div>\n\n\n </div>\n\n </div>\n </div>\n\n</template>\n<script setup>\nimport { ref } from 'vue';\nimport AutocompleteInput from './AutocompleteInput.vue';\nimport { onClickOutside } from '@vueuse/core'\nimport { useRuntimeEnv } from \"../../composables/useRuntimeEnv.ts\";\n\nlet env = useRuntimeEnv()\nconst props = defineProps({\n context: Object,\n})\nlet selectModeVal = ref()\nlet selectedItem = ref(false)\nlet showSelect = ref(false)\n\n\nconst I1 = ref(null)\n\nconst openSelect = (e) => {\n\n showSelect.value = !showSelect.value\n\n}\nconst selectMode = (e) => {\n selectModeVal.value = e.target.innerHTML\n\n if (e.target.innerHTML === 'Manually') { selectedItem.value = \"manually\" }\n if (e.target.innerHTML === 'Vocabulary') { selectedItem.value = \"vocabulary\" }\n if (e.target.innerHTML === 'URL') { selectedItem.value = \"url\" }\n if (e.target.innerHTML === 'Text') { selectedItem.value = \"text\" }\n\n props.context.node.reset()\n props.context.value = \"\"\n}\n\nonClickOutside(I1, event => showSelect.value = false)\n\n</script>\n<style>\n.conditionalManual {\n .formkit-outer {\n width: 100%;\n }\n}\n\n.infoLicense {\n a {\n color: blue;\n }\n\n padding: 1rem;\n background-color: rgb(171, 225, 165)\n}\n.infoboxI{\n width: 5%;\n}\n.textInfoI{\n width: 95%;\n}\n</style>"],"names":["env","useRuntimeEnv","props","__props","selectModeVal","ref","selectedItem","showSelect","I1","openSelect","e","selectMode","onClickOutside","event"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGA,QAAIA,IAAMC,EAAe;AACzB,UAAMC,IAAQC;AAGd,QAAIC,IAAgBC,EAAK,GACrBC,IAAeD,EAAI,EAAK,GACxBE,IAAaF,EAAI,EAAK;AAG1B,UAAMG,IAAKH,EAAI,IAAI,GAEbI,IAAa,CAACC,MAAM;AAExB,MAAAH,EAAW,QAAQ,CAACA,EAAW;AAAA,IAEjC,GACMI,IAAa,CAACD,MAAM;AACxB,MAAAN,EAAc,QAAQM,EAAE,OAAO,WAE3BA,EAAE,OAAO,cAAc,eAAcJ,EAAa,QAAQ,aAC1DI,EAAE,OAAO,cAAc,iBAAgBJ,EAAa,QAAQ,eAC5DI,EAAE,OAAO,cAAc,UAASJ,EAAa,QAAQ,QACrDI,EAAE,OAAO,cAAc,WAAUJ,EAAa,QAAQ,SAE1DJ,EAAM,QAAQ,KAAK,MAAO,GAC1BA,EAAM,QAAQ,QAAQ;AAAA,IACxB;AAEA,WAAAU,EAAeJ,GAAI,CAAAK,MAASN,EAAW,QAAQ,EAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as k, markRaw as $, resolveComponent as v, openBlock as i, createBlock as D, withCtx as
|
|
1
|
+
import { defineComponent as k, markRaw as $, resolveComponent as v, openBlock as i, createBlock as D, withCtx as y, createElementVNode as n, createElementBlock as o, Fragment as b, renderList as C, normalizeClass as I, toDisplayString as h, createTextVNode as r, createCommentVNode as l, createVNode as g } from "vue";
|
|
2
2
|
import { mapGetters as P } from "vuex";
|
|
3
3
|
import { useDpiStepper as F } from "../composables/useDpiStepper.mjs";
|
|
4
4
|
import V from "./InputPageStep.vue.mjs";
|
|
@@ -66,26 +66,26 @@ const K = k({
|
|
|
66
66
|
const {
|
|
67
67
|
steps: e,
|
|
68
68
|
activeStep: a,
|
|
69
|
-
visitedSteps:
|
|
70
|
-
previousStep:
|
|
71
|
-
nextStep:
|
|
72
|
-
stepPlugin:
|
|
69
|
+
visitedSteps: c,
|
|
70
|
+
previousStep: S,
|
|
71
|
+
nextStep: _,
|
|
72
|
+
stepPlugin: f,
|
|
73
73
|
goToNextStep: p,
|
|
74
74
|
goToPreviousStep: d
|
|
75
|
-
} = F(), u = (t) => (e[t].errorCount > 0 || e[t].blockingCount > 0) &&
|
|
75
|
+
} = F(), u = (t) => (e[t].errorCount > 0 || e[t].blockingCount > 0) && c.value.includes(t), s = $({
|
|
76
76
|
SelectControlledGroup: w
|
|
77
77
|
});
|
|
78
78
|
return {
|
|
79
79
|
steps: e,
|
|
80
|
-
visitedSteps:
|
|
80
|
+
visitedSteps: c,
|
|
81
81
|
activeStep: a,
|
|
82
|
-
previousStep:
|
|
83
|
-
nextStep:
|
|
84
|
-
stepPlugin:
|
|
82
|
+
previousStep: S,
|
|
83
|
+
nextStep: _,
|
|
84
|
+
stepPlugin: f,
|
|
85
85
|
checkStepValidity: u,
|
|
86
86
|
goToNextStep: p,
|
|
87
87
|
goToPreviousStep: d,
|
|
88
|
-
library:
|
|
88
|
+
library: s
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
}), j = {
|
|
@@ -94,10 +94,7 @@ const K = k({
|
|
|
94
94
|
}, z = {
|
|
95
95
|
key: 0,
|
|
96
96
|
class: "disInfoWrapper"
|
|
97
|
-
}, L = { class: "steps" }, O = ["data-step-active", "data-step-valid", "onClick"], T = { class: "stepBubbleWrap" }, q = { class: "circle stepCircle" }, A = {
|
|
98
|
-
key: 0,
|
|
99
|
-
class: "step--errors"
|
|
100
|
-
}, E = {
|
|
97
|
+
}, L = { class: "steps" }, O = ["data-step-active", "data-step-valid", "onClick"], T = { class: "stepBubbleWrap" }, q = { class: "circle stepCircle" }, A = ["textContent"], E = {
|
|
101
98
|
key: 0,
|
|
102
99
|
class: "seperatorHorizontalStepper"
|
|
103
100
|
}, G = {
|
|
@@ -112,18 +109,18 @@ const K = k({
|
|
|
112
109
|
key: 0,
|
|
113
110
|
class: "p-1"
|
|
114
111
|
}, Z = /* @__PURE__ */ n("b", null, "*", -1);
|
|
115
|
-
function J(e, a,
|
|
112
|
+
function J(e, a, c, S, _, f) {
|
|
116
113
|
const p = v("FormKitSchema"), d = v("InputPageStep"), u = v("FormKit");
|
|
117
114
|
return i(), D(u, {
|
|
118
115
|
type: "form",
|
|
119
116
|
actions: !1,
|
|
120
117
|
plugins: [e.stepPlugin]
|
|
121
118
|
}, {
|
|
122
|
-
default:
|
|
119
|
+
default: y(() => [
|
|
123
120
|
n("div", j, [
|
|
124
|
-
e.isCollapsed ?
|
|
121
|
+
e.isCollapsed ? l("", !0) : (i(), o("div", z, [
|
|
125
122
|
n("ul", L, [
|
|
126
|
-
(i(!0),
|
|
123
|
+
(i(!0), o(b, null, C(e.steps, (s, t, m) => (i(), o("li", {
|
|
127
124
|
key: m,
|
|
128
125
|
class: I(["step", {
|
|
129
126
|
activeItem: e.activeStep === t,
|
|
@@ -131,37 +128,41 @@ function J(e, a, l, h, S, _) {
|
|
|
131
128
|
"has-errors": e.checkStepValidity(t)
|
|
132
129
|
}]),
|
|
133
130
|
"data-step-active": e.activeStep === t,
|
|
134
|
-
"data-step-valid":
|
|
131
|
+
"data-step-valid": s.valid && s.errorCount === 0,
|
|
135
132
|
onClick: (Q) => e.activeStep = t
|
|
136
133
|
}, [
|
|
137
134
|
n("div", T, [
|
|
138
|
-
n("div", q,
|
|
135
|
+
n("div", q, h(m + 1), 1),
|
|
139
136
|
r(),
|
|
140
|
-
e.checkStepValidity(t) ? (i(),
|
|
141
|
-
|
|
137
|
+
e.checkStepValidity(t) ? (i(), o("span", {
|
|
138
|
+
key: 0,
|
|
139
|
+
class: "step--errors",
|
|
140
|
+
textContent: h(s.errorCount + s.blockingCount)
|
|
141
|
+
}, null, 8, A)) : l("", !0),
|
|
142
|
+
r(" " + h(e.camel2title(t)), 1)
|
|
142
143
|
]),
|
|
143
144
|
r(),
|
|
144
|
-
m + 1 != Object.keys(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions).length ? (i(),
|
|
145
|
+
m + 1 != Object.keys(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions).length ? (i(), o("div", E)) : l("", !0),
|
|
145
146
|
r(),
|
|
146
|
-
e.activeStep === "overview" ? (i(),
|
|
147
|
+
e.activeStep === "overview" ? (i(), o("div", G)) : l("", !0)
|
|
147
148
|
], 10, O))), 128)),
|
|
148
149
|
r(),
|
|
149
|
-
e.activeStep === "overview" ? (i(),
|
|
150
|
+
e.activeStep === "overview" ? (i(), o("li", H, R)) : l("", !0)
|
|
150
151
|
]),
|
|
151
152
|
r(),
|
|
152
153
|
n("div", U, [
|
|
153
|
-
(i(!0),
|
|
154
|
-
g(d, { name:
|
|
155
|
-
default:
|
|
154
|
+
(i(!0), o(b, null, C(e.getNavSteps(e.$env.content.dataProviderInterface.specification).distributions, (s, t) => (i(), o("div", { key: t }, [
|
|
155
|
+
g(d, { name: s }, {
|
|
156
|
+
default: y(() => [
|
|
156
157
|
g(p, {
|
|
157
|
-
schema: e.schema[
|
|
158
|
+
schema: e.schema[s],
|
|
158
159
|
library: e.library
|
|
159
160
|
}, null, 8, ["schema", "library"]),
|
|
160
161
|
r(),
|
|
161
|
-
|
|
162
|
+
s === "Mandatory" ? (i(), o("p", W, [
|
|
162
163
|
Z,
|
|
163
164
|
r(" mandatory")
|
|
164
|
-
])) :
|
|
165
|
+
])) : l("", !0)
|
|
165
166
|
]),
|
|
166
167
|
_: 2
|
|
167
168
|
}, 1032, ["name"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DistributionStepper.vue.mjs","sources":["../../../lib/data-provider-interface/components/DistributionStepper.vue"],"sourcesContent":["<template>\n <FormKit type=\"form\" :actions=\"false\" :plugins=\"[stepPlugin]\">\n <div name=\"distribution-stepper\" class=\"singleDistributions\">\n <div class=\"disInfoWrapper\" v-if=\"!isCollapsed\">\n <ul class=\"steps\">\n <li v-for=\"(step, stepName, index) in steps\" :key=\"index\" class=\"step\"\n :data-step-active=\"activeStep === stepName\" :data-step-valid=\"step.valid && step.errorCount === 0\" :class=\"{\n activeItem: activeStep === stepName, inactiveStep: stepName != activeStep, 'has-errors': checkStepValidity(stepName)\n }\" @click=\"activeStep = stepName\">\n <div class=\"stepBubbleWrap\">\n <div class=\"circle stepCircle\">{{ index + 1 }}</div>\n <span v-if=\"checkStepValidity(stepName)\" class=\"step--errors\"
|
|
1
|
+
{"version":3,"file":"DistributionStepper.vue.mjs","sources":["../../../lib/data-provider-interface/components/DistributionStepper.vue"],"sourcesContent":["<template>\n <FormKit type=\"form\" :actions=\"false\" :plugins=\"[stepPlugin]\">\n <div name=\"distribution-stepper\" class=\"singleDistributions\">\n <div class=\"disInfoWrapper\" v-if=\"!isCollapsed\">\n <ul class=\"steps\">\n <li v-for=\"(step, stepName, index) in steps\" :key=\"index\" class=\"step\"\n :data-step-active=\"activeStep === stepName\" :data-step-valid=\"step.valid && step.errorCount === 0\" :class=\"{\n activeItem: activeStep === stepName, inactiveStep: stepName != activeStep, 'has-errors': checkStepValidity(stepName)\n }\" @click=\"activeStep = stepName\">\n <div class=\"stepBubbleWrap\">\n <div class=\"circle stepCircle\">{{ index + 1 }}</div>\n <span v-if=\"checkStepValidity(stepName)\" class=\"step--errors\" \n v-text=\"step.errorCount + step.blockingCount\" />\n {{ camel2title(stepName) }}\n </div>\n <div v-if=\"index + 1 != Object.keys(getNavSteps($env.content.dataProviderInterface.specification).distributions).length\" class=\"seperatorHorizontalStepper\">\n </div>\n <div v-if=\"activeStep === 'overview'\" class=\"seperatorHorizontalStepper\"></div>\n </li>\n <li class=\"step inactiveStep\" v-if=\"activeStep === 'overview'\">\n <div class=\"circle stepCircle\"></div>\n </li>\n </ul>\n <div class=\"d-flex flex-column w-100\">\n <div v-for=\"(stepName, index) in getNavSteps($env.content.dataProviderInterface.specification).distributions\" :key=\"index\">\n <InputPageStep :name=\"stepName\">\n <!-- <PropertyChooser></PropertyChooser> -->\n <FormKitSchema :schema=\"schema[stepName]\" :library=\"library\" />\n <p v-if=\"stepName === 'Mandatory'\" class=\"p-1\"> <b>*</b> mandatory</p>\n </InputPageStep>\n </div>\n </div>\n </div>\n </div>\n </FormKit>\n</template>\n\n<script>\nimport { defineComponent, markRaw } from 'vue';\nimport { mapGetters } from 'vuex';\nimport { useDpiStepper } from '../composables/useDpiStepper';\nimport InputPageStep from '../components/InputPageStep.vue';\nimport SelectControlledGroup from './SelectControlledGroup.vue';\n\n\nexport default defineComponent({\n props: {\n name: {\n type: String,\n default: '',\n },\n index: {\n required: true\n },\n schema: {\n required: true,\n type: Object,\n },\n context: {\n type: Object,\n },\n distributionIsCollapsed: {\n type: Boolean,\n },\n collapseDistributions: {\n type: Function,\n },\n deleteDistribution: {\n type: Function,\n },\n },\n components: {\n InputPageStep,\n },\n data() {\n return {\n isCollapsed: false,\n camel2title: (str) =>\n str\n .replace(/([A-Z])/g, (match) => ` ${match}`)\n .replace(/^./, (match) => match.toUpperCase())\n .trim(),\n isActive: false\n }\n }, \n methods: {\n editDistribution() {\n this.isCollapsed = !this.isCollapsed;\n this.collapseDistributions(this.index);\n }\n }, \n computed: {\n ...mapGetters('dpiStore', [\n 'getNavSteps'\n ]),\n getName() {\n return this.name \n || values['Distributions']['distributionList'][this.name - 1]['Mandatory']['dcat:accessURL'][0]['@id'];\n },\n },\n watch: {\n distributionIsCollapsed: {\n handler(newValue) {\n this.isCollapsed = newValue;\n },\n },\n },\n created() {},\n setup() {\n const {\n steps,\n activeStep,\n visitedSteps,\n previousStep,\n nextStep,\n stepPlugin,\n goToNextStep,\n goToPreviousStep,\n } = useDpiStepper();\n\n const checkStepValidity = (stepName) => {\n return (steps[stepName].errorCount > 0 || steps[stepName].blockingCount > 0) && visitedSteps.value.includes(stepName)\n }\n\n const library = markRaw({\n SelectControlledGroup,\n })\n\n return {\n steps,\n visitedSteps,\n activeStep,\n previousStep,\n nextStep,\n stepPlugin,\n checkStepValidity,\n goToNextStep,\n goToPreviousStep,\n \n library,\n }\n }\n});\n</script>\n\n<style></style>"],"names":["_sfc_main","defineComponent","InputPageStep","str","match","mapGetters","newValue","steps","activeStep","visitedSteps","previousStep","nextStep","stepPlugin","goToNextStep","goToPreviousStep","useDpiStepper","checkStepValidity","stepName","library","markRaw","SelectControlledGroup","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_createElementVNode","_hoisted_11","_hoisted_13","_hoisted_15","_createBlock","_component_FormKit","_ctx","_withCtx","_hoisted_1","_createCommentVNode","_openBlock","_createElementBlock","_hoisted_2","_Fragment","_renderList","step","index","_normalizeClass","$event","_toDisplayString","_createTextVNode","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_12","_createVNode","_component_InputPageStep","_component_FormKitSchema","_hoisted_14"],"mappings":";;;;;;AA6CA,MAAKA,IAAaC,EAAa;AAAA,EAC7B,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA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GAnBVC,CAAA,KAAAf,EAAA,IAAA,EAAA;AAAA;UAAAW,EAAA;AAAA,UAuBQpB,EAQM,OARNE,GAQM;AAAA,aAPJQ,EAAA,EAAA,GAAAC,EAMME,SA9BhBC,EAwB2CR,EAAA,YAAYA,EAAA,KAAK,QAAQ,sBAAsB,aAAa,EAAE,eAxBzG,CAwBuBf,GAAUyB,YAAvBL,EAMM,OAAA,EANyG,KAAKK,KAAK;AAAA,cACvHS,EAIgBC,GAAA,EAJA,MAAMnC,EAAQ,GAAA;AAAA,gBAzB1C,SAAAgB,EA2Bc,MAA+D;AAAA,kBAA/DkB,EAA+DE,GAAA;AAAA,oBAA/C,QAAQrB,EAAM,OAACf,CAAQ;AAAA,oBAAI,SAASe,EAAO;AAAA;kBA3BzEc,EAAA;AAAA,kBA4BuB7B,MAAQ,eAAjBmB,KAAAC,EAAsE,KAAtEiB,GAAsE;AAAA,oBAAtBzB;AAAA,oBA5B9DiB,EA4BsE,YAAU;AAAA,wBA5BhFX,EAAA,IAAA,EAAA;AAAA;gBAAA,GAAA;AAAA;;;;;;IAAA,GAAA;AAAA;;;"}
|
|
@@ -10,7 +10,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
10
|
};
|
|
11
11
|
onClickOutside: typeof onClickOutside;
|
|
12
12
|
triggerDropdown: (e: any) => void;
|
|
13
|
+
validationMessage: string;
|
|
14
|
+
placeholderMessage: string;
|
|
13
15
|
}, {
|
|
16
|
+
inputChoice: string;
|
|
14
17
|
error: string;
|
|
15
18
|
URLValue: string;
|
|
16
19
|
uploadURL: boolean;
|