@piveau/dpi 0.2.0-alpha.50 → 0.2.0-alpha.51
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/assets/dpi.css +1 -1
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue.js +2 -2
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ResourceTable.vue2.js +30 -30
- package/dist/packages/dpi/src/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +71 -68
- package/dist/packages/dpi/src/data-provider-interface/components/DistLicense.vue.js +42 -42
- package/dist/packages/dpi/src/data-provider-interface/views/InputPage.vue.js +18 -21
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as f, computed as H, watch as I, onMounted as R, getCurrentInstance as G, onUnmounted as J, createElementBlock as w, openBlock as
|
|
1
|
+
import { ref as f, computed as H, watch as I, onMounted as R, getCurrentInstance as G, onUnmounted as J, createElementBlock as w, openBlock as y, createElementVNode as a, createVNode as m, createCommentVNode as k, toDisplayString as u, unref as o, isRef as C, createBlock as K, createTextVNode as B } from "vue";
|
|
2
2
|
import { PhWarning as S, PhLightbulb as Q, PhArrowSquareOut as X } from "@phosphor-icons/vue";
|
|
3
3
|
import { useEditModeInfo as Y } from "../composables/useDpiEditMode.js";
|
|
4
4
|
import { useFormValues as Z } from "../composables/useDpiFormValues.js";
|
|
@@ -13,10 +13,10 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
13
13
|
}, ne = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "validation-error"
|
|
16
|
-
}, oe = { class: "copy-mini-regular" }, de = { class: "input-container" },
|
|
16
|
+
}, oe = { class: "copy-mini-regular" }, de = { class: "input-container" }, ue = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "dpiV3_errormsgWrapper"
|
|
19
|
-
},
|
|
19
|
+
}, re = { class: "copy-mini-regular" }, ce = { class: "dpiV3_Content_InputPage" }, pe = { class: "dpiV3_Card_Tips" }, ve = { class: "dpiV3_Icon_Title" }, fe = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, me = { class: "dpiV3_CT-Content" }, ge = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, he = { class: "dpiV3_hvd_frame3846" }, _e = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, be = { class: "dpiV3_normal" }, ye = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, Ve = { class: "dpiV3_normal" }, ze = { class: "dpiV3_dots dpiV3_copy_large_semi_bold" }, Le = { class: "dpiV3_normal" }, we = {
|
|
20
20
|
href: "https://oc.bydata.de/sharing/articles/licenses",
|
|
21
21
|
target: "_blank",
|
|
22
22
|
rel: "noopener noreferrer",
|
|
@@ -32,8 +32,8 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
32
32
|
changeLicenseDropdownText: { type: String, default: "" }
|
|
33
33
|
},
|
|
34
34
|
setup(F) {
|
|
35
|
-
const
|
|
36
|
-
let T = f(!1), z = f([]), g = f(""), h = f(null),
|
|
35
|
+
const V = F, { isEditMode: M } = Y(), { formValues: Be } = Z();
|
|
36
|
+
let T = f(!1), z = f([]), g = f(""), h = f(null), r = f("");
|
|
37
37
|
const p = f(""), $ = {
|
|
38
38
|
"freie Nutzung": [
|
|
39
39
|
"dl-zero-de/2.0",
|
|
@@ -88,19 +88,19 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
88
88
|
message: "Bitte geben Sie einen Namensnennungstext für diese Lizenz ein."
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
M.value ||
|
|
91
|
+
M.value || V.context.node.input(s);
|
|
92
92
|
const b = H(() => {
|
|
93
|
-
if (!
|
|
93
|
+
if (!r.value)
|
|
94
94
|
return [];
|
|
95
|
-
const e = $[
|
|
96
|
-
console.log("Selected license type:",
|
|
95
|
+
const e = $[r.value] || [];
|
|
96
|
+
console.log("Selected license type:", r.value), console.log("Allowed licenses for this type:", e), console.log("All available license options:", z.value.map((i) => i["@value"]));
|
|
97
97
|
const t = z.value.filter(
|
|
98
98
|
(i) => e.includes(i["@value"])
|
|
99
99
|
);
|
|
100
100
|
return console.log("Filtered licenses:", t.map((i) => i["@value"])), t;
|
|
101
101
|
});
|
|
102
102
|
function E(e) {
|
|
103
|
-
|
|
103
|
+
r.value = e, g.value = "", p.value = "", T.value = !1, d.value[1] = "unset", d.value[2] = "unset", s.value[0].isValid = "unset", v.value[2].show = !1, s.value = s.value.map((t) => ({ ...t, "dcterms:license": "", uri: "", title: "", attribution: "" })), V.context.node.input(s.value);
|
|
104
104
|
}
|
|
105
105
|
function O(e, t, i) {
|
|
106
106
|
N(e, t, i);
|
|
@@ -114,7 +114,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
114
114
|
function q(e, t, i) {
|
|
115
115
|
p.value = "";
|
|
116
116
|
const l = b.value.find((n) => n["@value"] === e);
|
|
117
|
-
l ? N(e, t, i, l.uri) : e === "" ? (d.value[i] = !1, s.value[0].isValid = "unset", T.value = !1, v.value[2].show = !1, s.value = s.value.map((n) => t in n ? { ...n, [t]: "", uri: "", title: "" } : n),
|
|
117
|
+
l ? N(e, t, i, l.uri) : e === "" ? (d.value[i] = !1, s.value[0].isValid = "unset", T.value = !1, v.value[2].show = !1, s.value = s.value.map((n) => t in n ? { ...n, [t]: "", uri: "", title: "" } : n), V.context.node.input(s.value)) : (d.value[i] = "unset", s.value[0].isValid = "unset");
|
|
118
118
|
}
|
|
119
119
|
function A(e, t, i) {
|
|
120
120
|
if (e === "") {
|
|
@@ -134,13 +134,13 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
134
134
|
s.value = s.value.map((n) => t in n ? { ...n, [t]: e } : n);
|
|
135
135
|
{
|
|
136
136
|
const n = ((l = s.value[0]) == null ? void 0 : l["dcterms:license"]) || "";
|
|
137
|
-
if (n !== "" && (n.includes("cc-by") || n.includes("dl-by-de"))) {
|
|
137
|
+
if (n !== "" && (n.includes("cc-by") || n.includes("dl-by-de") || n.includes("dl-by-nc-de"))) {
|
|
138
138
|
const c = e && e.trim() !== "";
|
|
139
139
|
v.value[2].show = !c, d.value[2] = c, d.value[1] === !0 && c ? s.value[0].isValid = !0 : s.value[0].isValid = "unset";
|
|
140
140
|
} else
|
|
141
141
|
v.value[2].show = !1, d.value[2] = "unset";
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
V.context.node.input(s.value);
|
|
144
144
|
}
|
|
145
145
|
function N(e, t, i, l) {
|
|
146
146
|
var L;
|
|
@@ -148,7 +148,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
148
148
|
p.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste", d.value[i] = !1, s.value[0].isValid = "unset";
|
|
149
149
|
else {
|
|
150
150
|
p.value = "";
|
|
151
|
-
const c = e !== "" && (e.includes("cc-by") || e.includes("dl-by-de"));
|
|
151
|
+
const c = e !== "" && (e.includes("cc-by") || e.includes("dl-by-de") || e.includes("dl-by-nc-de"));
|
|
152
152
|
if (T.value = c, e !== "") {
|
|
153
153
|
d.value[i] = !0;
|
|
154
154
|
const _ = ((L = s.value[0]) == null ? void 0 : L.title) || "", j = !c || c && _.trim() !== "";
|
|
@@ -157,7 +157,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
157
157
|
d.value[i] = !1, s.value[0].isValid = "unset", v.value[2].show = !1;
|
|
158
158
|
s.value = s.value.map((_) => t in _ ? { ..._, [t]: e, uri: l } : _);
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
V.context.node.input(s.value);
|
|
161
161
|
}
|
|
162
162
|
return I(g, (e) => {
|
|
163
163
|
var i;
|
|
@@ -173,7 +173,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
173
173
|
const l = ((t = s.value[0]) == null ? void 0 : t["dcterms:license"]) || "";
|
|
174
174
|
l === "" ? p.value = "Bitte wählen Sie eine Lizenz aus." : z.value.find(
|
|
175
175
|
(c) => c["@value"] === l
|
|
176
|
-
) || (p.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste"), l !== "" && (l.includes("cc-by") || l.includes("dl-by-de")) && (((i = s.value[0]) == null ? void 0 : i.title) || "").trim() === "" && (v.value[2].show = !0);
|
|
176
|
+
) || (p.value = "Bitte wählen Sie eine gültige Lizenz aus der Liste"), l !== "" && (l.includes("cc-by") || l.includes("dl-by-de") || l.includes("dl-by-nc-de")) && (((i = s.value[0]) == null ? void 0 : i.title) || "").trim() === "" && (v.value[2].show = !0);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
), R(async () => {
|
|
@@ -190,13 +190,13 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
190
190
|
}
|
|
191
191
|
}), J(() => {
|
|
192
192
|
h.value && clearTimeout(h.value);
|
|
193
|
-
}), (e, t) => (
|
|
194
|
-
a("h4", null,
|
|
195
|
-
a("div", le,
|
|
193
|
+
}), (e, t) => (y(), w("div", se, [
|
|
194
|
+
a("h4", null, u(e.$t("message.dataupload.datasets.dct:license.title")), 1),
|
|
195
|
+
a("div", le, u(e.$t("message.dataupload.datasets.dct:license.description")), 1),
|
|
196
196
|
m(D, {
|
|
197
|
-
modelValue: o(
|
|
197
|
+
modelValue: o(r),
|
|
198
198
|
"onUpdate:modelValue": [
|
|
199
|
-
t[0] || (t[0] = (i) => C(
|
|
199
|
+
t[0] || (t[0] = (i) => C(r) ? r.value = i : r = i),
|
|
200
200
|
E
|
|
201
201
|
],
|
|
202
202
|
"dropdown-width": "large",
|
|
@@ -211,7 +211,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
211
211
|
dropdown_dpiV3: !0,
|
|
212
212
|
placeholder: "Art der Lizenz wählen...",
|
|
213
213
|
inputFieldSize: "large",
|
|
214
|
-
modelValue: o(
|
|
214
|
+
modelValue: o(r),
|
|
215
215
|
defaultInput: !0,
|
|
216
216
|
showError: !1
|
|
217
217
|
},
|
|
@@ -233,19 +233,19 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
233
233
|
preIcon: !1,
|
|
234
234
|
label: "Lizenz",
|
|
235
235
|
dropdown_dpiV3: !0,
|
|
236
|
-
placeholder: o(
|
|
236
|
+
placeholder: o(r) ? "Lizenz wählen..." : "Bitte wählen Sie zuerst eine Art der Lizenz...",
|
|
237
237
|
inputFieldSize: "large",
|
|
238
238
|
modelValue: o(g),
|
|
239
239
|
defaultInput: !0,
|
|
240
240
|
showError: p.value !== "" || s.value[0].isValid === "unset" && o(d)[1] === !1,
|
|
241
|
-
disabled: !o(
|
|
241
|
+
disabled: !o(r)
|
|
242
242
|
},
|
|
243
243
|
data: b.value,
|
|
244
244
|
onInput: P,
|
|
245
245
|
onBlur: U,
|
|
246
246
|
onDeleteButtonClicked: e.deleteModifiedField
|
|
247
247
|
}, null, 8, ["modelValue", "input-field-props", "data", "onDeleteButtonClicked"]),
|
|
248
|
-
o(
|
|
248
|
+
o(r) && b.value.length === 0 ? (y(), w("div", ae, [
|
|
249
249
|
m(o(S), {
|
|
250
250
|
size: 16,
|
|
251
251
|
weight: "fill",
|
|
@@ -253,15 +253,15 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
253
253
|
}),
|
|
254
254
|
t[4] || (t[4] = a("span", { class: "copy-mini-regular" }, "Für diese Lizenzkategorie sind derzeit keine Lizenzen verfügbar.", -1))
|
|
255
255
|
])) : k("", !0),
|
|
256
|
-
p.value ? (
|
|
256
|
+
p.value ? (y(), w("div", ne, [
|
|
257
257
|
m(o(S), {
|
|
258
258
|
size: 16,
|
|
259
259
|
weight: "fill"
|
|
260
260
|
}),
|
|
261
|
-
a("span", oe,
|
|
261
|
+
a("span", oe, u(p.value), 1)
|
|
262
262
|
])) : k("", !0),
|
|
263
263
|
a("div", de, [
|
|
264
|
-
o(T) ? (
|
|
264
|
+
o(T) ? (y(), K(te, {
|
|
265
265
|
key: 0,
|
|
266
266
|
"model-value": s.value[0].title,
|
|
267
267
|
"add-on-text": !1,
|
|
@@ -280,12 +280,12 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
280
280
|
"onUpdate:modelValue": t[3] || (t[3] = (i) => W(i, "title")),
|
|
281
281
|
onDeleteButtonClicked: e.deleteModifiedField
|
|
282
282
|
}, null, 8, ["model-value", "label", "onDeleteButtonClicked"])) : k("", !0),
|
|
283
|
-
s.value[0].isValid === !1 && v.value[2].show ? (
|
|
283
|
+
s.value[0].isValid === !1 && v.value[2].show ? (y(), w("div", ue, [
|
|
284
284
|
m(o(S), {
|
|
285
285
|
size: 16,
|
|
286
286
|
weight: "fill"
|
|
287
287
|
}),
|
|
288
|
-
a("span",
|
|
288
|
+
a("span", re, u(v.value[2].message), 1)
|
|
289
289
|
])) : k("", !0)
|
|
290
290
|
]),
|
|
291
291
|
a("div", ce, [
|
|
@@ -295,38 +295,38 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
295
295
|
size: 32,
|
|
296
296
|
color: "#009fe3"
|
|
297
297
|
}),
|
|
298
|
-
a("div", fe,
|
|
298
|
+
a("div", fe, u(e.$t("message.dataupload.datasets.dct:license.advices.title")), 1)
|
|
299
299
|
]),
|
|
300
300
|
a("div", me, [
|
|
301
|
-
a("div", ge,
|
|
301
|
+
a("div", ge, u(e.$t("message.dataupload.datasets.dct:license.advices.description")), 1),
|
|
302
302
|
a("div", he, [
|
|
303
303
|
a("div", _e, [
|
|
304
|
-
B(
|
|
304
|
+
B(u(e.$t(
|
|
305
305
|
"message.dataupload.datasets.dct:license.advices.licenseName1"
|
|
306
306
|
)) + " ", 1),
|
|
307
|
-
a("span", be,
|
|
307
|
+
a("span", be, u(e.$t(
|
|
308
308
|
"message.dataupload.datasets.dct:license.advices.licenseName1_desc"
|
|
309
309
|
)), 1)
|
|
310
310
|
]),
|
|
311
|
-
a("div",
|
|
312
|
-
B(
|
|
311
|
+
a("div", ye, [
|
|
312
|
+
B(u(e.$t(
|
|
313
313
|
"message.dataupload.datasets.dct:license.advices.licenseName2"
|
|
314
314
|
)) + " ", 1),
|
|
315
|
-
a("span",
|
|
315
|
+
a("span", Ve, u(e.$t(
|
|
316
316
|
"message.dataupload.datasets.dct:license.advices.licenseName2_desc"
|
|
317
317
|
)), 1)
|
|
318
318
|
]),
|
|
319
319
|
a("div", ze, [
|
|
320
|
-
B(
|
|
320
|
+
B(u(e.$t(
|
|
321
321
|
"message.dataupload.datasets.dct:license.advices.licenseName3"
|
|
322
322
|
)) + " ", 1),
|
|
323
|
-
a("span", Le,
|
|
323
|
+
a("span", Le, u(e.$t(
|
|
324
324
|
"message.dataupload.datasets.dct:license.advices.licenseName3_desc"
|
|
325
325
|
)), 1)
|
|
326
326
|
]),
|
|
327
327
|
a("a", we, [
|
|
328
328
|
m(o(X), { size: 24 }),
|
|
329
|
-
B(" " +
|
|
329
|
+
B(" " + u(e.$t(
|
|
330
330
|
"message.dataupload.datasets.dct:license.advices.linkToLicenses"
|
|
331
331
|
)), 1)
|
|
332
332
|
])
|
|
@@ -336,7 +336,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
336
336
|
]),
|
|
337
337
|
a("div", ke, [
|
|
338
338
|
t[6] || (t[6] = a("span", { class: "copy-large-regular" }, " Die Wahl der Lizenz spielt eine wichtige Rolle für den korrekten Umgang mit Ihrem Datensatz. ", -1)),
|
|
339
|
-
s.value.find((i) => i.isValid === !1) ? (
|
|
339
|
+
s.value.find((i) => i.isValid === !1) ? (y(), w("div", Te, [
|
|
340
340
|
m(o(S), {
|
|
341
341
|
size: 16,
|
|
342
342
|
weight: "fill"
|
|
@@ -346,7 +346,7 @@ const se = { class: "dpiV3InnerComponentWrap" }, le = { class: "copy-large-regul
|
|
|
346
346
|
])
|
|
347
347
|
]));
|
|
348
348
|
}
|
|
349
|
-
}, Ee = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-
|
|
349
|
+
}, Ee = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-c7269484"]]);
|
|
350
350
|
export {
|
|
351
351
|
Ee as default
|
|
352
352
|
};
|
|
@@ -5,7 +5,7 @@ import { putDataset as ge } from "@piveau/sdk-core/hubRepo";
|
|
|
5
5
|
import { useWindowScroll as ve } from "@vueuse/core";
|
|
6
6
|
import fe from "jquery";
|
|
7
7
|
import { has as w, isNil as x } from "lodash-es";
|
|
8
|
-
import { defineComponent as be, resolveComponent as h, createElementBlock as a, openBlock as s, createCommentVNode as p, createElementVNode as i, createVNode as m, createBlock as v,
|
|
8
|
+
import { defineComponent as be, resolveComponent as h, createElementBlock as a, openBlock as s, createCommentVNode as p, createElementVNode as i, createVNode as m, createBlock as v, withModifiers as Se, withCtx as ee, Fragment as k, renderList as I, withDirectives as te, normalizeClass as C, toDisplayString as n, vShow as ie, createTextVNode as _, ref as se, markRaw as ye, getCurrentInstance as _e } from "vue";
|
|
9
9
|
import { useI18n as Ce } from "vue-i18n";
|
|
10
10
|
import { useRoute as Ve } from "vue-router";
|
|
11
11
|
import { mapActions as ae, mapGetters as oe } from "vuex";
|
|
@@ -34,13 +34,13 @@ import Ge from "../HappyFlowComponents/ui/Illustration.vue.js";
|
|
|
34
34
|
import qe from "../HappyFlowComponents/ui/LogoV3.vue.js";
|
|
35
35
|
import Ke from "../HappyFlowComponents/ui/ModalSimpleV3.vue.js";
|
|
36
36
|
import Ze from "../HappyFlowComponents/ui/TextButtonSmall.vue.js";
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
37
|
+
import Xe from "./DistributionInputPage.vue.js";
|
|
38
|
+
import Ne from "./OverviewPage.vue.js";
|
|
39
|
+
import Ye from "./PropertyChooser.vue.js";
|
|
40
40
|
/* empty css */
|
|
41
41
|
/* empty css */
|
|
42
42
|
/* empty css */
|
|
43
|
-
import
|
|
43
|
+
import Je from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
44
44
|
import { useDpiContext as Qe } from "../composables/useDpiContext.js";
|
|
45
45
|
import { useEditModeInfo as xe } from "../composables/useDpiEditMode.js";
|
|
46
46
|
import { useFormSchema as et } from "../composables/useFormSchema.js";
|
|
@@ -88,8 +88,8 @@ const tt = be({
|
|
|
88
88
|
},
|
|
89
89
|
components: {
|
|
90
90
|
InputPageStep: Ie,
|
|
91
|
-
DistributionInputPage:
|
|
92
|
-
PropertyChooser:
|
|
91
|
+
DistributionInputPage: Xe,
|
|
92
|
+
PropertyChooser: Ye,
|
|
93
93
|
Navigation: De,
|
|
94
94
|
LogoV3: qe,
|
|
95
95
|
ButtonV3: We,
|
|
@@ -761,7 +761,7 @@ const tt = be({
|
|
|
761
761
|
}), u = () => {
|
|
762
762
|
let { x: y, y: F } = ve({ behavior: "smooth" });
|
|
763
763
|
F.value = 0;
|
|
764
|
-
}, c = (y) => (l[y].errorCount > 0 || l[y].blockingCount > 0) && D.value.includes(y), b = ye({ OverviewPage:
|
|
764
|
+
}, c = (y) => (l[y].errorCount > 0 || l[y].blockingCount > 0) && D.value.includes(y), b = ye({ OverviewPage: Ne }), S = se("");
|
|
765
765
|
t.value && (r.value = "ReviewAndPublish", S.value = "reviewAndPublishPage");
|
|
766
766
|
const { organization: re, catalogDataset: O, startFetchPermissions: le, authToken: ne } = we({
|
|
767
767
|
keycloak: ((H = (j = o.authentication) == null ? void 0 : j.keycloak) == null ? void 0 : H.url) || "https://keycloak.twin.bydata.de",
|
|
@@ -771,7 +771,7 @@ const tt = be({
|
|
|
771
771
|
le();
|
|
772
772
|
const de = Ve();
|
|
773
773
|
async function ce(y, F, z, q) {
|
|
774
|
-
var K, Z, N,
|
|
774
|
+
var K, Z, X, N, Y, J;
|
|
775
775
|
console.log("body:", y, F, "params:", z, q);
|
|
776
776
|
try {
|
|
777
777
|
await ge({
|
|
@@ -781,11 +781,11 @@ const tt = be({
|
|
|
781
781
|
data: y,
|
|
782
782
|
authToken: ne.value,
|
|
783
783
|
publicationStatus: q === "publish" ? "published" : "draft",
|
|
784
|
-
accessLevel: ((
|
|
784
|
+
accessLevel: ((N = (X = (Z = (K = g.value) == null ? void 0 : K.Discoverability) == null ? void 0 : Z.visibilityPage) == null ? void 0 : X[0]) == null ? void 0 : N.visibility) || de.query.visibility || "public",
|
|
785
785
|
type: "dataset"
|
|
786
|
-
}), (
|
|
786
|
+
}), (Y = this.$Progress) == null || Y.finish(), this.clearAll();
|
|
787
787
|
} catch (Q) {
|
|
788
|
-
console.error(Q), (
|
|
788
|
+
console.error(Q), (J = this.$Progress) == null || J.fail();
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
791
|
return {
|
|
@@ -854,7 +854,7 @@ const tt = be({
|
|
|
854
854
|
}, zt = { class: "dpiV3_CTANav" }, Mt = { class: "dpiV3_CTANav" }, Ot = {
|
|
855
855
|
key: 3,
|
|
856
856
|
class: "dpiV3_Content_InputPage"
|
|
857
|
-
}, jt = { class: "dpiV3_Card_Tips" }, Ht = { class: "dpiV3_Icon_Title" }, Wt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Gt = { class: "dpiV3_CT-Content" }, qt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Kt = { class: "dpiV3_hvd_frame3846" }, Zt = { class: "dpiV3_copy_large_semi_bold" },
|
|
857
|
+
}, jt = { class: "dpiV3_Card_Tips" }, Ht = { class: "dpiV3_Icon_Title" }, Wt = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, Gt = { class: "dpiV3_CT-Content" }, qt = { class: "dpiV3_copy_large_regular dpiV3_hvd_frame3846" }, Kt = { class: "dpiV3_hvd_frame3846" }, Zt = { class: "dpiV3_copy_large_semi_bold" }, Xt = { class: "dpiV3_copy_large_regular" }, Nt = { class: "dpiV3_hvd_frame3846" }, Yt = { class: "dpiV3_copy_large_semi_bold" }, Jt = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, Qt = { class: "dpiV3_hvd_frame3846" }, xt = { class: "dpiV3_copy_large_semi_bold" }, ei = { class: "dpiV3_copy_large_regular compact_margin_bottom" }, ti = { class: "dpiV3_hvd_frame3846" }, ii = { class: "dpiV3_copy_large_semi_bold" }, si = { class: "dpiV3_copy_large_regular" }, ai = {
|
|
858
858
|
key: 4,
|
|
859
859
|
class: "dpiV3_Content_InputPage"
|
|
860
860
|
}, oi = { class: "dpiV3_Card_Tips" }, ri = { class: "dpiV3_Icon_Title" }, li = { class: "dpiV3_Info-Text dpiV3_activeStepName" }, ni = { class: "dpiV3_CT-Content" }, di = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, ci = { class: "dpiV3_Info-Text" }, pi = { class: "dpiV3_copy_large_regular cleanPaddingMargins" }, ui = { class: "dpiV3_Info-Text" }, hi = {
|
|
@@ -869,9 +869,6 @@ function bi(e, t, o, l, r, f) {
|
|
|
869
869
|
return s(), a("div", it, [
|
|
870
870
|
e.isInput ? (s(), a("div", st, [
|
|
871
871
|
i("div", at, [
|
|
872
|
-
i("details", null, [
|
|
873
|
-
i("pre", null, n(JSON.stringify(e.formValues, null, 2)), 1)
|
|
874
|
-
]),
|
|
875
872
|
m(E, {
|
|
876
873
|
id: "dpiForm",
|
|
877
874
|
modelValue: e.formValues,
|
|
@@ -1133,7 +1130,7 @@ function bi(e, t, o, l, r, f) {
|
|
|
1133
1130
|
i("div", Zt, " 1. " + n(e.$t(
|
|
1134
1131
|
"message.dataupload.datasets.hvdPage.tips-question-1"
|
|
1135
1132
|
)), 1),
|
|
1136
|
-
i("ul",
|
|
1133
|
+
i("ul", Xt, [
|
|
1137
1134
|
i("li", null, n(e.$t(
|
|
1138
1135
|
"message.dataupload.datasets.hvdPage.hvd-category-1"
|
|
1139
1136
|
)), 1),
|
|
@@ -1154,11 +1151,11 @@ function bi(e, t, o, l, r, f) {
|
|
|
1154
1151
|
)), 1)
|
|
1155
1152
|
])
|
|
1156
1153
|
]),
|
|
1157
|
-
i("div",
|
|
1158
|
-
i("div",
|
|
1154
|
+
i("div", Nt, [
|
|
1155
|
+
i("div", Yt, " 2. " + n(e.$t(
|
|
1159
1156
|
"message.dataupload.datasets.hvdPage.tips-question-2"
|
|
1160
1157
|
)), 1),
|
|
1161
|
-
i("p",
|
|
1158
|
+
i("p", Jt, n(e.$t("message.dataupload.datasets.hvdPage.tips-example-2")), 1)
|
|
1162
1159
|
]),
|
|
1163
1160
|
i("div", Qt, [
|
|
1164
1161
|
i("div", xt, " 3. " + n(e.$t(
|
|
@@ -1249,7 +1246,7 @@ function bi(e, t, o, l, r, f) {
|
|
|
1249
1246
|
], 512)) : p("", !0)
|
|
1250
1247
|
]);
|
|
1251
1248
|
}
|
|
1252
|
-
const ps = /* @__PURE__ */
|
|
1249
|
+
const ps = /* @__PURE__ */ Je(tt, [["render", bi]]);
|
|
1253
1250
|
export {
|
|
1254
1251
|
ps as default
|
|
1255
1252
|
};
|