@piveau/piveau-hub-ui-modules 4.6.85 → 4.6.86
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/CatalogueMQA.vue.mjs +107 -109
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.mjs +10 -10
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +6 -8
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
- package/dist/datasets/DatasetList.vue.mjs +10 -10
- package/dist/datasets/DatasetList.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { computed as
|
|
1
|
+
import { computed as P, ref as u, getCurrentInstance as rt, openBlock as d, createElementBlock as v, createElementVNode as e, createTextVNode as l, toDisplayString as a, unref as s, createCommentVNode as q, normalizeClass as y, withDirectives as N, isRef as G, vModelText as T, Fragment as X, renderList as Y } from "vue";
|
|
2
2
|
import { useRouter as dt, useRoute as vt } from "vue-router";
|
|
3
3
|
import { useStore as pt, mapActions as mt } from "vuex";
|
|
4
|
-
import
|
|
4
|
+
import H from "axios";
|
|
5
5
|
import "./CatalogueMQA.vue2.mjs";
|
|
6
6
|
import gt from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 },
|
|
7
|
+
const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = ["innerHTML"], kt = { key: 0 }, $t = { key: 1 }, wt = { class: "mr-1" }, qt = { key: 0 }, Ct = { class: "mqaWrapper" }, Mt = ["innerHTML"], St = { class: "w-50 mt-4" }, Vt = { class: "mqaWrapper" }, Bt = { class: "d-flex mt-3" }, It = { class: "mr-3 my-3" }, Ut = ["disabled", "onClick"], Dt = { class: "my-3" }, At = ["disabled"], Nt = { class: "caretWrap" }, Tt = { class: "mqaWrapper" }, Wt = { key: 0 }, Et = ["onUpdate:modelValue", "onInput"], Lt = ["onClick"], zt = ["onClick"], Pt = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "errormsg"
|
|
10
|
-
},
|
|
10
|
+
}, Ht = { class: "d-flex mt-3" }, Rt = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "errormsg"
|
|
13
|
-
},
|
|
13
|
+
}, jt = { class: "actionWrapper" }, Ft = {
|
|
14
14
|
__name: "CatalogueMQA",
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const Z =
|
|
15
|
+
setup(Jt) {
|
|
16
|
+
const W = pt(), E = dt();
|
|
17
|
+
P(() => W.getters["auth/getUserDrafts"]);
|
|
18
|
+
const Z = P(() => W.getters["auth/getUserData"]), D = P(() => Z.value.rtpToken);
|
|
19
19
|
mt("auth", {
|
|
20
20
|
updateUserData: "updateUserData"
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
|
|
22
|
+
const R = (n) => {
|
|
23
|
+
W.dispatch("snackbar/showSnackbar", n);
|
|
24
24
|
}, A = () => {
|
|
25
|
-
|
|
25
|
+
R({
|
|
26
26
|
message: "Saved Successfully",
|
|
27
27
|
variant: "success"
|
|
28
28
|
});
|
|
29
|
-
},
|
|
30
|
-
let k = u(!1), g = u(!1), x = u(null), B = u("Activate"),
|
|
31
|
-
const I =
|
|
32
|
-
|
|
29
|
+
}, j = vt();
|
|
30
|
+
let k = u(!1), g = u(!1), x = u(null), B = u("Activate"), L = u(!1), i = u(!1), f = u(), h = ["Mo", "Tue", "We", "Th", "Fr", "Sa", "Su"], p = u(1), S = u(!1), $ = u(1), C = u(""), b = u(""), M = u(null);
|
|
31
|
+
const I = j.params.id, F = rt(), z = F.appContext.app.config.globalProperties.$env.api.notificationBaseUrl;
|
|
32
|
+
F.appContext.app.config.globalProperties.$env.api.apiKey;
|
|
33
33
|
const c = () => {
|
|
34
|
-
const n = "https://data.europa.eu", t =
|
|
34
|
+
const n = "https://data.europa.eu", t = j.query.locale || "en", o = `${n}/mqa/catalogues/${I}?locale=${t}`;
|
|
35
35
|
window.open(o, "_blank");
|
|
36
36
|
}, J = (n) => {
|
|
37
37
|
g.value && (M.value = n, b.value = M);
|
|
@@ -44,13 +44,13 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
44
44
|
const et = async () => {
|
|
45
45
|
const n = {
|
|
46
46
|
method: "get",
|
|
47
|
-
url: `${
|
|
47
|
+
url: `${z}/catalogue/${I}/setting`,
|
|
48
48
|
headers: {
|
|
49
49
|
Authorization: `Bearer ${D.value}`
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
try {
|
|
53
|
-
const t = await
|
|
53
|
+
const t = await H.request(n);
|
|
54
54
|
w.value = t.data, w.value.activeStatus === !0 && (i.value = !0, B.value = "Deactivate"), w.value.activeStatus === !1 && (i.value = !1, B.value = "Activate"), f.value = w.value.receiverEmailList, C.value = w.value.frequency.unit, b.value = w.value.frequency.value, $.value = w.value.threshold, C.value === "week" ? (g.value = !0, k.value = !1, M.value = b.value) : C.value === "month" && (g.value = !1, k.value = !0, p.value = b.value), console.log("Response:", t);
|
|
55
55
|
} catch (t) {
|
|
56
56
|
console.log("Full error:", t);
|
|
@@ -59,7 +59,7 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
59
59
|
g.value === !0 ? (C.value = "week", b.value = M.value) : k.value === !0 && (C.value = "month", b.value = p.value);
|
|
60
60
|
const n = {
|
|
61
61
|
method: "post",
|
|
62
|
-
url: `${
|
|
62
|
+
url: `${z}/catalogue/${I}/setting`,
|
|
63
63
|
headers: {
|
|
64
64
|
Authorization: `Bearer ${D.value}`,
|
|
65
65
|
"Content-Type": "application/json"
|
|
@@ -76,17 +76,17 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
76
76
|
})
|
|
77
77
|
};
|
|
78
78
|
try {
|
|
79
|
-
const t = await
|
|
80
|
-
return console.log("Settings updated:", t.data), A(),
|
|
79
|
+
const t = await H.request(n);
|
|
80
|
+
return console.log("Settings updated:", t.data), A(), E.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
81
81
|
} catch (t) {
|
|
82
82
|
throw A(), console.log("Error updating settings:", t), t;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
et();
|
|
86
|
-
const
|
|
86
|
+
const Q = async () => {
|
|
87
87
|
const n = {
|
|
88
88
|
method: "post",
|
|
89
|
-
url: `${
|
|
89
|
+
url: `${z}/catalogue/${I}/setting`,
|
|
90
90
|
headers: {
|
|
91
91
|
Authorization: `Bearer ${D.value}`,
|
|
92
92
|
"Content-Type": "application/json"
|
|
@@ -97,13 +97,13 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
97
97
|
})
|
|
98
98
|
};
|
|
99
99
|
try {
|
|
100
|
-
const t = await
|
|
101
|
-
return console.log("Settings updated:", t.data), A(), i.value ||
|
|
100
|
+
const t = await H.request(n);
|
|
101
|
+
return console.log("Settings updated:", t.data), A(), i.value || E.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
102
102
|
} catch (t) {
|
|
103
103
|
throw A(), console.log("Error updating settings:", t), t;
|
|
104
104
|
}
|
|
105
105
|
}, st = () => {
|
|
106
|
-
S.value = !0,
|
|
106
|
+
S.value = !0, R({
|
|
107
107
|
message: "Email added successfully.",
|
|
108
108
|
variant: "success"
|
|
109
109
|
});
|
|
@@ -113,7 +113,7 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
113
113
|
}, at = (n) => {
|
|
114
114
|
f.value.splice(n, 1);
|
|
115
115
|
}, K = (n) => {
|
|
116
|
-
n === "up" && p.value < 28 ? (p.value > 8 && (
|
|
116
|
+
n === "up" && p.value < 28 ? (p.value > 8 && (L.value = !0), p.value++) : p.value > 1 && (p.value < 11 && (L.value = !1), p.value--);
|
|
117
117
|
}, ot = () => {
|
|
118
118
|
if (m.value.mail.trim() === "") {
|
|
119
119
|
m.value.isValid = !1;
|
|
@@ -121,9 +121,9 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
121
121
|
}
|
|
122
122
|
O(m.value.mail) ? (f.value.push(m.value.mail), m.value.mail = "", m.value.isValid = !0) : m.value.isValid = !1;
|
|
123
123
|
}, ut = () => {
|
|
124
|
-
i.value ? (i.value = !1, B.value = "Activate",
|
|
124
|
+
i.value ? (i.value = !1, B.value = "Activate", Q()) : (i.value = !0, B.value = "Deactivate", Q());
|
|
125
125
|
}, it = () => {
|
|
126
|
-
|
|
126
|
+
E.push({ name: "DataProviderInterface-UserCatalogues" });
|
|
127
127
|
};
|
|
128
128
|
return (n, t) => (d(), v("div", ft, [
|
|
129
129
|
e("div", null, [
|
|
@@ -171,38 +171,40 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
171
171
|
t[40] || (t[40] = l()),
|
|
172
172
|
e("h1", null, a(n.$t("message.dpi.catalogue.mqa.settings")), 1),
|
|
173
173
|
t[41] || (t[41] = l()),
|
|
174
|
-
t[42] || (t[42] = e("h1", null, "MQA notification settings", -1)),
|
|
175
|
-
t[43] || (t[43] = l()),
|
|
176
174
|
e("p", null, [
|
|
177
175
|
l(a(n.$t("message.dpi.catalogue.mqa.configurationfor")) + " ", 1),
|
|
178
176
|
e("strong", null, a(s(I)), 1)
|
|
179
177
|
]),
|
|
180
|
-
t[
|
|
178
|
+
t[42] || (t[42] = l()),
|
|
179
|
+
e("div", {
|
|
180
|
+
innerHTML: n.$t("message.dpi.catalogue.mqa.ratingchecks")
|
|
181
|
+
}, null, 8, yt),
|
|
182
|
+
t[43] || (t[43] = l()),
|
|
181
183
|
e("p", null, [
|
|
182
|
-
l(a(n.$t("message.dpi.catalogue.mqa.ratingchecks")) + " ", 1),
|
|
183
184
|
e("b", null, [
|
|
184
|
-
s(i) ? q("", !0) : (d(), v("span",
|
|
185
|
+
s(i) ? q("", !0) : (d(), v("span", kt, a(n.$t("message.dpi.catalogue.mqa.deactivated")), 1)),
|
|
185
186
|
t[38] || (t[38] = l()),
|
|
186
|
-
s(i) ? (d(), v("span",
|
|
187
|
+
s(i) ? (d(), v("span", $t, a(n.$t("message.dpi.catalogue.mqa.activated")), 1)) : q("", !0)
|
|
187
188
|
]),
|
|
188
|
-
t[39] || (t[39] = l(
|
|
189
|
+
t[39] || (t[39] = l(`.
|
|
190
|
+
`, -1))
|
|
189
191
|
])
|
|
190
192
|
]),
|
|
191
|
-
t[
|
|
193
|
+
t[46] || (t[46] = l()),
|
|
192
194
|
e("button", {
|
|
193
195
|
type: "button",
|
|
194
196
|
class: y({ "btn btn-primary mb-5": !s(i), "btn btn-secondary": s(i) }),
|
|
195
197
|
onClick: t[0] || (t[0] = (o) => ut())
|
|
196
198
|
}, a(s(B)), 3),
|
|
197
|
-
t[
|
|
199
|
+
t[47] || (t[47] = l()),
|
|
198
200
|
e("button", {
|
|
199
201
|
type: "button",
|
|
200
202
|
class: y({ "btn btn-action mb-5": !s(i), "btn btn-action": s(i) }),
|
|
201
203
|
onClick: t[1] || (t[1] = (o) => c())
|
|
202
204
|
}, [
|
|
203
|
-
e("span",
|
|
204
|
-
t[
|
|
205
|
-
t[
|
|
205
|
+
e("span", wt, a(n.$t("message.dpi.catalogue.mqa.mqareport")), 1),
|
|
206
|
+
t[44] || (t[44] = l()),
|
|
207
|
+
t[45] || (t[45] = e("svg", {
|
|
206
208
|
xmlns: "http://www.w3.org/2000/svg",
|
|
207
209
|
width: "16",
|
|
208
210
|
height: "16",
|
|
@@ -222,13 +224,17 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
222
224
|
], -1))
|
|
223
225
|
], 2)
|
|
224
226
|
]),
|
|
225
|
-
t[
|
|
226
|
-
s(i) ? (d(), v("div",
|
|
227
|
-
e("div",
|
|
228
|
-
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.notificationthreshold")), 1),
|
|
229
|
-
|
|
230
|
-
e("div",
|
|
231
|
-
|
|
227
|
+
t[79] || (t[79] = l()),
|
|
228
|
+
s(i) ? (d(), v("div", qt, [
|
|
229
|
+
e("div", Ct, [
|
|
230
|
+
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.notificationthreshold.title")), 1),
|
|
231
|
+
t[52] || (t[52] = l()),
|
|
232
|
+
e("div", {
|
|
233
|
+
innerHTML: n.$t("message.dpi.catalogue.mqa.notificationthreshold.description")
|
|
234
|
+
}, null, 8, Mt),
|
|
235
|
+
t[53] || (t[53] = l()),
|
|
236
|
+
e("div", St, [
|
|
237
|
+
t[48] || (t[48] = e("div", { class: "d-flex justify-content-between" }, [
|
|
232
238
|
e("span", null, [
|
|
233
239
|
e("b", null, "-1")
|
|
234
240
|
]),
|
|
@@ -237,41 +243,35 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
237
243
|
e("b", null, "-405")
|
|
238
244
|
])
|
|
239
245
|
], -1)),
|
|
240
|
-
t[
|
|
246
|
+
t[49] || (t[49] = l()),
|
|
241
247
|
N(e("input", {
|
|
242
248
|
type: "range",
|
|
243
249
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => G($) ? $.value = o : $ = o),
|
|
244
250
|
min: "1",
|
|
245
251
|
max: "405"
|
|
246
252
|
}, null, 512), [
|
|
247
|
-
[
|
|
253
|
+
[T, s($)]
|
|
248
254
|
]),
|
|
249
|
-
t[
|
|
250
|
-
e("p", null, [
|
|
251
|
-
t[49] || (t[49] = l("Notify on a decrease greater than ", -1)),
|
|
252
|
-
e("b", null, "-" + a(s($)), 1),
|
|
253
|
-
t[50] || (t[50] = l(" Points", -1))
|
|
254
|
-
]),
|
|
255
|
-
t[54] || (t[54] = l()),
|
|
255
|
+
t[50] || (t[50] = l()),
|
|
256
256
|
e("p", null, a(n.$t("message.dpi.catalogue.mqa.notificationthreshold.notify")), 1),
|
|
257
|
-
t[
|
|
257
|
+
t[51] || (t[51] = l()),
|
|
258
258
|
e("b", null, "-" + a(s($)), 1)
|
|
259
259
|
])
|
|
260
260
|
]),
|
|
261
|
-
t[
|
|
262
|
-
e("div",
|
|
261
|
+
t[76] || (t[76] = l()),
|
|
262
|
+
e("div", Vt, [
|
|
263
263
|
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.frequencyratingchecks")), 1),
|
|
264
|
-
t[
|
|
264
|
+
t[62] || (t[62] = l()),
|
|
265
265
|
e("span", null, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency")), 1),
|
|
266
|
-
t[
|
|
267
|
-
e("div",
|
|
268
|
-
e("div",
|
|
266
|
+
t[63] || (t[63] = l()),
|
|
267
|
+
e("div", Bt, [
|
|
268
|
+
e("div", It, [
|
|
269
269
|
e("button", {
|
|
270
270
|
type: "button",
|
|
271
271
|
class: y(["btn btn-simple", { activeChoiceButton: s(g) }]),
|
|
272
272
|
onClick: t[3] || (t[3] = (o) => _())
|
|
273
273
|
}, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency.weekly")), 3),
|
|
274
|
-
t[
|
|
274
|
+
t[54] || (t[54] = l()),
|
|
275
275
|
e("div", {
|
|
276
276
|
class: y(["weekdays", { blur: !s(g) }])
|
|
277
277
|
}, [
|
|
@@ -280,35 +280,35 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
280
280
|
disabled: !s(g),
|
|
281
281
|
class: y(["dayButtons", { activeItem: s(M) === r }]),
|
|
282
282
|
onClick: (U) => J(r)
|
|
283
|
-
}, a(o), 11,
|
|
283
|
+
}, a(o), 11, Ut)
|
|
284
284
|
]))), 128))
|
|
285
285
|
], 2)
|
|
286
286
|
]),
|
|
287
|
-
t[
|
|
288
|
-
e("div",
|
|
287
|
+
t[61] || (t[61] = l()),
|
|
288
|
+
e("div", Dt, [
|
|
289
289
|
e("button", {
|
|
290
290
|
type: "button",
|
|
291
291
|
class: y([{ activeChoiceButton: s(k) }, "btn btn-simple"]),
|
|
292
292
|
onClick: t[4] || (t[4] = (o) => tt())
|
|
293
|
-
}, a(n.$t("message.dpi.catalogue.mqa.
|
|
294
|
-
t[
|
|
293
|
+
}, a(n.$t("message.dpi.catalogue.mqa.configuremonthly")), 3),
|
|
294
|
+
t[60] || (t[60] = l()),
|
|
295
295
|
e("div", {
|
|
296
296
|
class: y(["d-flex daypicker my-3", { blur: !s(k) }])
|
|
297
297
|
}, [
|
|
298
298
|
N(e("input", {
|
|
299
299
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => G(p) ? p.value = o : p = o),
|
|
300
300
|
onInput: t[6] || (t[6] = (o) => J(n.index)),
|
|
301
|
-
class: y({ dynamicWidth: s(
|
|
301
|
+
class: y({ dynamicWidth: s(L) }),
|
|
302
302
|
disabled: !s(k)
|
|
303
|
-
}, null, 42,
|
|
304
|
-
[
|
|
303
|
+
}, null, 42, At), [
|
|
304
|
+
[T, s(p)]
|
|
305
305
|
]),
|
|
306
|
-
t[
|
|
307
|
-
e("div",
|
|
306
|
+
t[58] || (t[58] = l()),
|
|
307
|
+
e("div", Nt, [
|
|
308
308
|
e("button", {
|
|
309
309
|
onClick: t[7] || (t[7] = (o) => K("up")),
|
|
310
310
|
class: "caretButtons ml-1"
|
|
311
|
-
}, [...t[
|
|
311
|
+
}, [...t[55] || (t[55] = [
|
|
312
312
|
e("svg", {
|
|
313
313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
314
314
|
width: "12",
|
|
@@ -320,11 +320,11 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
320
320
|
e("path", { d: "m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z" })
|
|
321
321
|
], -1)
|
|
322
322
|
])]),
|
|
323
|
-
t[
|
|
323
|
+
t[57] || (t[57] = l()),
|
|
324
324
|
e("button", {
|
|
325
325
|
onClick: t[8] || (t[8] = (o) => K()),
|
|
326
326
|
class: "caretButtons mr-1"
|
|
327
|
-
}, [...t[
|
|
327
|
+
}, [...t[56] || (t[56] = [
|
|
328
328
|
e("svg", {
|
|
329
329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
330
330
|
width: "12",
|
|
@@ -337,54 +337,52 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
337
337
|
], -1)
|
|
338
338
|
])])
|
|
339
339
|
]),
|
|
340
|
-
t[
|
|
341
|
-
|
|
342
|
-
t[63] || (t[63] = l()),
|
|
343
|
-
e("span", null, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency.dayofmonth")), 1)
|
|
340
|
+
t[59] || (t[59] = l()),
|
|
341
|
+
e("span", null, a(n.$t("mmessage.dpi.catalogue.mqa.configurethedayofmonth")), 1)
|
|
344
342
|
], 2)
|
|
345
343
|
])
|
|
346
344
|
])
|
|
347
345
|
]),
|
|
348
|
-
t[
|
|
349
|
-
e("div",
|
|
346
|
+
t[77] || (t[77] = l()),
|
|
347
|
+
e("div", Tt, [
|
|
350
348
|
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.recipientsmail")), 1),
|
|
351
|
-
t[
|
|
349
|
+
t[71] || (t[71] = l()),
|
|
352
350
|
e("span", null, a(n.$t("message.dpi.catalogue.mqa.mailaddressesforrecieving")), 1),
|
|
353
|
-
t[
|
|
351
|
+
t[72] || (t[72] = l()),
|
|
354
352
|
s(f).length !== 0 ? (d(), v("table", {
|
|
355
353
|
key: 0,
|
|
356
354
|
class: "mt-4",
|
|
357
355
|
ref_key: "mailButtonWrap",
|
|
358
356
|
ref: x
|
|
359
357
|
}, [
|
|
360
|
-
t[
|
|
358
|
+
t[68] || (t[68] = e("tr", null, [
|
|
361
359
|
e("th", null, "Mail")
|
|
362
360
|
], -1)),
|
|
363
|
-
t[
|
|
361
|
+
t[69] || (t[69] = l()),
|
|
364
362
|
(d(!0), v(X, null, Y(s(f), (o, r) => (d(), v("tr", {
|
|
365
363
|
class: "mailItems",
|
|
366
364
|
key: r
|
|
367
365
|
}, [
|
|
368
366
|
e("td", null, [
|
|
369
|
-
s(S) ? q("", !0) : (d(), v("span",
|
|
370
|
-
t[
|
|
367
|
+
s(S) ? q("", !0) : (d(), v("span", Wt, a(o), 1)),
|
|
368
|
+
t[65] || (t[65] = l()),
|
|
371
369
|
s(S) ? N((d(), v("input", {
|
|
372
370
|
key: 1,
|
|
373
371
|
type: "text",
|
|
374
372
|
"onUpdate:modelValue": (U) => s(f)[r] = U,
|
|
375
373
|
class: y(["mail-input", { invalidNewMail: s(V)[r] }]),
|
|
376
374
|
onInput: (U) => s(V)[r] = ""
|
|
377
|
-
}, null, 42,
|
|
378
|
-
[
|
|
375
|
+
}, null, 42, Et)), [
|
|
376
|
+
[T, s(f)[r]]
|
|
379
377
|
]) : q("", !0),
|
|
380
|
-
t[
|
|
378
|
+
t[66] || (t[66] = l()),
|
|
381
379
|
e("div", null, [
|
|
382
380
|
e("button", {
|
|
383
381
|
type: "button",
|
|
384
382
|
class: "btn btn-simple",
|
|
385
383
|
onClick: (U) => s(S) ? nt(r) : st()
|
|
386
|
-
}, a(s(S) ? "Save" : "Edit"), 9,
|
|
387
|
-
t[
|
|
384
|
+
}, a(s(S) ? "Save" : "Edit"), 9, Lt),
|
|
385
|
+
t[64] || (t[64] = l()),
|
|
388
386
|
e("button", {
|
|
389
387
|
type: "button",
|
|
390
388
|
class: "btn btn-simple",
|
|
@@ -392,39 +390,39 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
392
390
|
}, "Delete", 8, zt)
|
|
393
391
|
])
|
|
394
392
|
]),
|
|
395
|
-
t[
|
|
393
|
+
t[67] || (t[67] = l()),
|
|
396
394
|
s(V)[r] ? (d(), v("span", Pt, a(s(V)[r]), 1)) : q("", !0)
|
|
397
395
|
]))), 128))
|
|
398
396
|
], 512)) : q("", !0),
|
|
399
|
-
t[
|
|
400
|
-
e("div",
|
|
397
|
+
t[73] || (t[73] = l()),
|
|
398
|
+
e("div", Ht, [
|
|
401
399
|
N(e("input", {
|
|
402
400
|
type: "text",
|
|
403
401
|
"onUpdate:modelValue": t[9] || (t[9] = (o) => s(m).mail = o),
|
|
404
402
|
onInput: t[10] || (t[10] = (o) => s(m).isValid = !0),
|
|
405
403
|
class: y([{ invalidNewMail: !s(m).isValid }, "mail"]),
|
|
406
|
-
placeholder: "
|
|
404
|
+
placeholder: "$t('message.dpi.catalogue.mqa.enteremail')"
|
|
407
405
|
}, null, 34), [
|
|
408
|
-
[
|
|
406
|
+
[T, s(m).mail]
|
|
409
407
|
]),
|
|
410
|
-
t[
|
|
408
|
+
t[70] || (t[70] = l()),
|
|
411
409
|
e("button", {
|
|
412
410
|
type: "button",
|
|
413
411
|
class: "btn btn-simple mx-3",
|
|
414
412
|
onClick: t[11] || (t[11] = (o) => ot())
|
|
415
413
|
}, a(n.$t("message.dpi.catalogue.mqa.addmail")), 1)
|
|
416
414
|
]),
|
|
417
|
-
t[
|
|
418
|
-
s(m).isValid ? q("", !0) : (d(), v("span",
|
|
415
|
+
t[74] || (t[74] = l()),
|
|
416
|
+
s(m).isValid ? q("", !0) : (d(), v("span", Rt, "*Invalid email format"))
|
|
419
417
|
]),
|
|
420
|
-
t[
|
|
421
|
-
e("div",
|
|
418
|
+
t[78] || (t[78] = l()),
|
|
419
|
+
e("div", jt, [
|
|
422
420
|
e("button", {
|
|
423
421
|
type: "button",
|
|
424
422
|
class: "btn btn-primary",
|
|
425
423
|
onClick: lt
|
|
426
424
|
}, a(n.$t("message.dpi.catalogue.mqa.save")), 1),
|
|
427
|
-
t[
|
|
425
|
+
t[75] || (t[75] = l()),
|
|
428
426
|
e("button", {
|
|
429
427
|
type: "button",
|
|
430
428
|
class: "btn btn-cancel",
|
|
@@ -434,8 +432,8 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
434
432
|
])) : q("", !0)
|
|
435
433
|
]));
|
|
436
434
|
}
|
|
437
|
-
},
|
|
435
|
+
}, Zt = /* @__PURE__ */ gt(Ft, [["__scopeId", "data-v-899a29dd"]]);
|
|
438
436
|
export {
|
|
439
|
-
|
|
437
|
+
Zt as default
|
|
440
438
|
};
|
|
441
439
|
//# sourceMappingURL=CatalogueMQA.vue.mjs.map
|