@piveau/piveau-hub-ui-modules 4.6.72 → 4.6.74
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 +71 -71
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/services/datasetService.d.ts +2 -1
- package/dist/services/datasetService.mjs +15 -13
- package/dist/services/datasetService.mjs.map +1 -1
- package/dist/store/modules/datasetsStore.d.ts +10 -1
- package/dist/store/modules/datasetsStore.mjs +28 -15
- package/dist/store/modules/datasetsStore.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed as T, ref as i, getCurrentInstance as rt, openBlock as
|
|
1
|
+
import { computed as T, ref as i, getCurrentInstance as rt, openBlock as d, createElementBlock as v, createElementVNode as e, createTextVNode as l, toDisplayString as u, unref as n, createCommentVNode as M, normalizeClass as y, withDirectives as x, isRef as H, vModelText as N, Fragment as K, renderList as G } 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
4
|
import z from "axios";
|
|
5
5
|
import "./CatalogueMQA.vue2.mjs";
|
|
6
6
|
import ft from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
-
const
|
|
7
|
+
const bt = { class: "container mb-3" }, gt = { class: "debug" }, yt = { key: 0 }, kt = { key: 1 }, wt = { key: 0 }, Ct = { class: "mqaWrapper" }, Mt = { class: "w-50 mt-4" }, $t = { class: "mqaWrapper" }, At = { class: "d-flex mt-3" }, St = { class: "mr-3 my-3" }, qt = ["disabled", "onClick"], Vt = { class: "my-3" }, It = ["disabled"], Bt = { class: "caretWrap" }, Ut = { class: "mqaWrapper" }, Dt = { key: 0 }, xt = ["onUpdate:modelValue", "onInput"], Nt = ["onClick"], Et = ["onClick"], Wt = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "errormsg"
|
|
10
10
|
}, Qt = { class: "d-flex mt-3" }, Rt = {
|
|
@@ -13,32 +13,32 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
13
13
|
}, Tt = { class: "actionWrapper" }, zt = {
|
|
14
14
|
__name: "CatalogueMQA",
|
|
15
15
|
setup(Pt) {
|
|
16
|
-
const
|
|
17
|
-
T(() =>
|
|
18
|
-
const X = T(() =>
|
|
16
|
+
const E = pt(), W = dt();
|
|
17
|
+
T(() => E.getters["auth/getUserDrafts"]);
|
|
18
|
+
const X = T(() => E.getters["auth/getUserData"]), U = T(() => X.value.rtpToken);
|
|
19
19
|
mt("auth", {
|
|
20
20
|
updateUserData: "updateUserData"
|
|
21
21
|
});
|
|
22
22
|
const P = (s) => {
|
|
23
|
-
|
|
24
|
-
},
|
|
23
|
+
E.dispatch("snackbar/showSnackbar", s);
|
|
24
|
+
}, D = () => {
|
|
25
25
|
P({
|
|
26
26
|
message: "Saved Successfully",
|
|
27
27
|
variant: "success"
|
|
28
28
|
});
|
|
29
29
|
}, F = vt();
|
|
30
|
-
let
|
|
30
|
+
let k = i(!1), f = i(!1), Z = i(null), V = i("Activate"), Q = i(!1), a = i(!1), b = i(), h = ["Mo", "Tue", "We", "Th", "Fr", "Sa", "Su"], p = i(1), S = i(!1), w = i(0), $ = i(""), g = i(""), A = i(null);
|
|
31
31
|
const I = F.params.id, L = rt(), R = L.appContext.app.config.globalProperties.$env.api.notificationBaseUrl;
|
|
32
32
|
L.appContext.app.config.globalProperties.$env.api.apiKey;
|
|
33
33
|
const c = () => {
|
|
34
34
|
const s = "https://data.europa.eu", t = F.query.locale || "en", o = `${s}/mqa/catalogues/${I}?locale=${t}`;
|
|
35
35
|
window.open(o, "_blank");
|
|
36
36
|
}, j = (s) => {
|
|
37
|
-
f.value && (A.value = s,
|
|
37
|
+
f.value && (A.value = s, g.value = A);
|
|
38
38
|
}, _ = () => {
|
|
39
|
-
f.value = !0,
|
|
39
|
+
f.value = !0, k.value = !1, A.value = g.value;
|
|
40
40
|
}, tt = () => {
|
|
41
|
-
f.value = !1,
|
|
41
|
+
f.value = !1, k.value = !0, A.value = g.value;
|
|
42
42
|
}, C = i({}), J = (s) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s);
|
|
43
43
|
let m = i({ mail: "", isValid: !0 }), q = i({});
|
|
44
44
|
const et = async () => {
|
|
@@ -46,40 +46,40 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
46
46
|
method: "get",
|
|
47
47
|
url: `${R}/catalogue/${I}/setting`,
|
|
48
48
|
headers: {
|
|
49
|
-
Authorization: `Bearer ${
|
|
49
|
+
Authorization: `Bearer ${U.value}`
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
try {
|
|
53
53
|
const t = await z.request(s);
|
|
54
|
-
C.value = t.data, C.value.activeStatus === !0 && (
|
|
54
|
+
C.value = t.data, C.value.activeStatus === !0 && (a.value = !0, V.value = "Deactivate"), C.value.activeStatus === !1 && (a.value = !1, V.value = "Activate"), b.value = C.value.receiverEmailList, $.value = C.value.frequency.unit, g.value = C.value.frequency.value, w.value = C.value.threshold, $.value === "week" ? (f.value = !0, k.value = !1, A.value = g.value) : $.value === "month" && (f.value = !1, k.value = !0, p.value = g.value), console.log("Response:", t);
|
|
55
55
|
} catch (t) {
|
|
56
56
|
console.log("Full error:", t);
|
|
57
57
|
}
|
|
58
58
|
}, lt = async () => {
|
|
59
|
-
f.value === !0 ? ($.value = "week",
|
|
59
|
+
f.value === !0 ? ($.value = "week", g.value = A.value) : k.value === !0 && ($.value = "month", g.value = p.value);
|
|
60
60
|
const s = {
|
|
61
61
|
method: "post",
|
|
62
62
|
url: `${R}/catalogue/${I}/setting`,
|
|
63
63
|
headers: {
|
|
64
|
-
Authorization: `Bearer ${
|
|
64
|
+
Authorization: `Bearer ${U.value}`,
|
|
65
65
|
"Content-Type": "application/json"
|
|
66
66
|
},
|
|
67
67
|
withCredentials: !0,
|
|
68
68
|
data: JSON.stringify({
|
|
69
|
-
receiverEmailList:
|
|
69
|
+
receiverEmailList: b.value,
|
|
70
70
|
threshold: Number(w.value),
|
|
71
71
|
frequency: {
|
|
72
72
|
unit: $.value,
|
|
73
|
-
value:
|
|
73
|
+
value: g.value
|
|
74
74
|
},
|
|
75
75
|
activeStatus: !0
|
|
76
76
|
})
|
|
77
77
|
};
|
|
78
78
|
try {
|
|
79
79
|
const t = await z.request(s);
|
|
80
|
-
return console.log("Settings updated:", t.data),
|
|
80
|
+
return console.log("Settings updated:", t.data), D(), W.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
81
81
|
} catch (t) {
|
|
82
|
-
throw
|
|
82
|
+
throw D(), console.log("Error updating settings:", t), t;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
et();
|
|
@@ -88,19 +88,19 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
88
88
|
method: "post",
|
|
89
89
|
url: `${R}/catalogue/${I}/setting`,
|
|
90
90
|
headers: {
|
|
91
|
-
Authorization: `Bearer ${
|
|
91
|
+
Authorization: `Bearer ${U.value}`,
|
|
92
92
|
"Content-Type": "application/json"
|
|
93
93
|
},
|
|
94
94
|
withCredentials: !0,
|
|
95
95
|
data: JSON.stringify({
|
|
96
|
-
activeStatus:
|
|
96
|
+
activeStatus: a.value
|
|
97
97
|
})
|
|
98
98
|
};
|
|
99
99
|
try {
|
|
100
100
|
const t = await z.request(s);
|
|
101
|
-
return console.log("Settings updated:", t.data),
|
|
101
|
+
return console.log("Settings updated:", t.data), D(), a.value || W.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
102
102
|
} catch (t) {
|
|
103
|
-
throw
|
|
103
|
+
throw D(), console.log("Error updating settings:", t), t;
|
|
104
104
|
}
|
|
105
105
|
}, nt = () => {
|
|
106
106
|
S.value = !0, P({
|
|
@@ -108,10 +108,10 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
108
108
|
variant: "success"
|
|
109
109
|
});
|
|
110
110
|
}, st = (s) => {
|
|
111
|
-
const t =
|
|
111
|
+
const t = b.value[s].trim();
|
|
112
112
|
J(t) ? (S.value = !1, delete q.value[s]) : q.value[s] = "*Invalid email format";
|
|
113
113
|
}, ot = (s) => {
|
|
114
|
-
|
|
114
|
+
b.value.splice(s, 1);
|
|
115
115
|
}, Y = (s) => {
|
|
116
116
|
s === "up" && p.value < 28 ? (p.value > 8 && (Q.value = !0), p.value++) : p.value > 1 && (p.value < 11 && (Q.value = !1), p.value--);
|
|
117
117
|
}, it = () => {
|
|
@@ -119,29 +119,29 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
119
119
|
m.value.isValid = !1;
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
|
-
J(m.value.mail) ? (
|
|
122
|
+
J(m.value.mail) ? (b.value.push(m.value.mail), m.value.mail = "", m.value.isValid = !0) : m.value.isValid = !1;
|
|
123
123
|
}, ut = () => {
|
|
124
|
-
|
|
124
|
+
a.value ? (a.value = !1, V.value = "Activate", O()) : (a.value = !0, V.value = "Deactivate", O());
|
|
125
125
|
}, at = () => {
|
|
126
126
|
W.push({ name: "DataProviderInterface-UserCatalogues" });
|
|
127
127
|
};
|
|
128
|
-
return (s, t) => (
|
|
128
|
+
return (s, t) => (d(), v("div", bt, [
|
|
129
129
|
e("div", null, [
|
|
130
130
|
e("div", null, [
|
|
131
|
-
e("div",
|
|
131
|
+
e("div", gt, [
|
|
132
132
|
t[13] || (t[13] = e("strong", null, " API object:", -1)),
|
|
133
133
|
t[14] || (t[14] = l()),
|
|
134
134
|
t[15] || (t[15] = e("br", null, null, -1)),
|
|
135
135
|
t[16] || (t[16] = e("br", null, null, -1)),
|
|
136
136
|
t[17] || (t[17] = l()),
|
|
137
|
-
e("textarea", null, " " + u(
|
|
137
|
+
e("textarea", null, " " + u(U.value) + " ", 1),
|
|
138
138
|
t[18] || (t[18] = l()),
|
|
139
139
|
t[19] || (t[19] = e("hr", null, null, -1)),
|
|
140
140
|
l(" " + u(C.value) + " ", 1),
|
|
141
141
|
t[20] || (t[20] = e("br", null, null, -1)),
|
|
142
142
|
t[21] || (t[21] = l(" --- ")),
|
|
143
143
|
t[22] || (t[22] = e("br", null, null, -1)),
|
|
144
|
-
l(" " + u(n(
|
|
144
|
+
l(" " + u(n(b)) + " ", 1),
|
|
145
145
|
t[23] || (t[23] = e("br", null, null, -1)),
|
|
146
146
|
t[24] || (t[24] = l("---")),
|
|
147
147
|
t[25] || (t[25] = e("br", null, null, -1)),
|
|
@@ -153,7 +153,7 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
153
153
|
weekly: ` + u(n(f)), 1),
|
|
154
154
|
t[30] || (t[30] = e("br", null, null, -1)),
|
|
155
155
|
l(`
|
|
156
|
-
monthly: ` + u(n(
|
|
156
|
+
monthly: ` + u(n(k)) + " ", 1),
|
|
157
157
|
t[31] || (t[31] = e("br", null, null, -1)),
|
|
158
158
|
t[32] || (t[32] = l()),
|
|
159
159
|
t[33] || (t[33] = e("p", null, null, -1)),
|
|
@@ -161,7 +161,7 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
161
161
|
unit: ` + u(n($)) + " ", 1),
|
|
162
162
|
t[34] || (t[34] = e("br", null, null, -1)),
|
|
163
163
|
l(`
|
|
164
|
-
value: ` + u(n(
|
|
164
|
+
value: ` + u(n(g)) + " ", 1),
|
|
165
165
|
t[35] || (t[35] = e("br", null, null, -1)),
|
|
166
166
|
t[36] || (t[36] = l("---")),
|
|
167
167
|
t[37] || (t[37] = e("br", null, null, -1)),
|
|
@@ -183,9 +183,9 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
183
183
|
t[41] || (t[41] = e("b", null, "MQA Rating Checks ", -1)),
|
|
184
184
|
t[42] || (t[42] = l("are currently ")),
|
|
185
185
|
e("b", null, [
|
|
186
|
-
n(
|
|
186
|
+
n(a) ? M("", !0) : (d(), v("span", yt, "deactivated")),
|
|
187
187
|
t[39] || (t[39] = l()),
|
|
188
|
-
n(
|
|
188
|
+
n(a) ? (d(), v("span", kt, "activated")) : M("", !0)
|
|
189
189
|
]),
|
|
190
190
|
t[43] || (t[43] = l("."))
|
|
191
191
|
])
|
|
@@ -193,13 +193,13 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
193
193
|
t[49] || (t[49] = l()),
|
|
194
194
|
e("button", {
|
|
195
195
|
type: "button",
|
|
196
|
-
class:
|
|
196
|
+
class: y({ "btn btn-primary mb-5": !n(a), "btn btn-secondary": n(a) }),
|
|
197
197
|
onClick: t[0] || (t[0] = (o) => ut())
|
|
198
198
|
}, u(n(V)), 3),
|
|
199
199
|
t[50] || (t[50] = l()),
|
|
200
200
|
e("button", {
|
|
201
201
|
type: "button",
|
|
202
|
-
class: "btn btn-action mb-5",
|
|
202
|
+
class: y({ "btn btn-action mb-5": !n(a), "btn btn-action": n(a) }),
|
|
203
203
|
onClick: t[1] || (t[1] = (o) => c())
|
|
204
204
|
}, t[48] || (t[48] = [
|
|
205
205
|
e("span", { class: "mr-1" }, " MQA report ", -1),
|
|
@@ -222,10 +222,10 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
222
222
|
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"
|
|
223
223
|
})
|
|
224
224
|
], -1)
|
|
225
|
-
]))
|
|
225
|
+
]), 2)
|
|
226
226
|
]),
|
|
227
227
|
t[90] || (t[90] = l()),
|
|
228
|
-
n(
|
|
228
|
+
n(a) ? (d(), v("div", wt, [
|
|
229
229
|
e("div", Ct, [
|
|
230
230
|
t[56] || (t[56] = e("h3", null, "Notification threshold", -1)),
|
|
231
231
|
t[57] || (t[57] = l()),
|
|
@@ -260,12 +260,12 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
260
260
|
min: "0",
|
|
261
261
|
max: "400"
|
|
262
262
|
}, null, 512), [
|
|
263
|
-
[
|
|
263
|
+
[N, n(w)]
|
|
264
264
|
]),
|
|
265
265
|
t[55] || (t[55] = l()),
|
|
266
266
|
e("p", null, [
|
|
267
|
-
t[51] || (t[51] = l("
|
|
268
|
-
e("b", null, "-" + u(n(w)), 1),
|
|
267
|
+
t[51] || (t[51] = l("Notify on a decrease greater than ")),
|
|
268
|
+
e("b", null, "-" + u(n(w) === 0 ? 1 : n(w)), 1),
|
|
269
269
|
t[52] || (t[52] = l(" Points"))
|
|
270
270
|
])
|
|
271
271
|
])
|
|
@@ -280,18 +280,18 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
280
280
|
e("div", St, [
|
|
281
281
|
e("button", {
|
|
282
282
|
type: "button",
|
|
283
|
-
class:
|
|
283
|
+
class: y(["btn btn-simple", { activeChoiceButton: n(f) }]),
|
|
284
284
|
onClick: t[3] || (t[3] = (o) => _())
|
|
285
285
|
}, "Weekly", 2),
|
|
286
286
|
t[60] || (t[60] = l()),
|
|
287
287
|
e("div", {
|
|
288
|
-
class:
|
|
288
|
+
class: y(["weekdays", { blur: !n(f) }])
|
|
289
289
|
}, [
|
|
290
|
-
(
|
|
290
|
+
(d(!0), v(K, null, G(n(h), (o, r) => (d(), v("span", { key: r }, [
|
|
291
291
|
e("button", {
|
|
292
292
|
disabled: !n(f),
|
|
293
|
-
class:
|
|
294
|
-
onClick: (B) => j(
|
|
293
|
+
class: y(["dayButtons", { activeItem: n(A) === r }]),
|
|
294
|
+
onClick: (B) => j(r)
|
|
295
295
|
}, u(o), 11, qt)
|
|
296
296
|
]))), 128))
|
|
297
297
|
], 2)
|
|
@@ -300,20 +300,20 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
300
300
|
e("div", Vt, [
|
|
301
301
|
e("button", {
|
|
302
302
|
type: "button",
|
|
303
|
-
class:
|
|
303
|
+
class: y([{ activeChoiceButton: n(k) }, "btn btn-simple"]),
|
|
304
304
|
onClick: t[4] || (t[4] = (o) => tt())
|
|
305
305
|
}, "Monthly", 2),
|
|
306
306
|
t[67] || (t[67] = l()),
|
|
307
307
|
e("div", {
|
|
308
|
-
class:
|
|
308
|
+
class: y(["d-flex daypicker my-3", { blur: !n(k) }])
|
|
309
309
|
}, [
|
|
310
310
|
x(e("input", {
|
|
311
311
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => H(p) ? p.value = o : p = o),
|
|
312
312
|
onInput: t[6] || (t[6] = (o) => j(s.index)),
|
|
313
|
-
class:
|
|
314
|
-
disabled: !n(
|
|
313
|
+
class: y({ dynamicWidth: n(Q) }),
|
|
314
|
+
disabled: !n(k)
|
|
315
315
|
}, null, 42, It), [
|
|
316
|
-
[
|
|
316
|
+
[N, n(p)]
|
|
317
317
|
]),
|
|
318
318
|
t[64] || (t[64] = l()),
|
|
319
319
|
e("div", Bt, [
|
|
@@ -356,12 +356,12 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
356
356
|
])
|
|
357
357
|
]),
|
|
358
358
|
t[88] || (t[88] = l()),
|
|
359
|
-
e("div",
|
|
359
|
+
e("div", Ut, [
|
|
360
360
|
t[80] || (t[80] = e("h3", null, "Recipients Mail", -1)),
|
|
361
361
|
t[81] || (t[81] = l()),
|
|
362
362
|
t[82] || (t[82] = e("span", null, "Add and edit mail addresses for recieving the MQA report", -1)),
|
|
363
363
|
t[83] || (t[83] = l()),
|
|
364
|
-
n(
|
|
364
|
+
n(b).length !== 0 ? (d(), v("table", {
|
|
365
365
|
key: 0,
|
|
366
366
|
class: "mt-4",
|
|
367
367
|
ref_key: "mailButtonWrap",
|
|
@@ -371,39 +371,39 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
371
371
|
e("th", null, "Mail")
|
|
372
372
|
], -1)),
|
|
373
373
|
t[78] || (t[78] = l()),
|
|
374
|
-
(
|
|
374
|
+
(d(!0), v(K, null, G(n(b), (o, r) => (d(), v("tr", {
|
|
375
375
|
class: "mailItems",
|
|
376
|
-
key:
|
|
376
|
+
key: r
|
|
377
377
|
}, [
|
|
378
378
|
e("td", null, [
|
|
379
|
-
n(S) ? M("", !0) : (
|
|
379
|
+
n(S) ? M("", !0) : (d(), v("span", Dt, u(o), 1)),
|
|
380
380
|
t[74] || (t[74] = l()),
|
|
381
|
-
n(S) ? x((
|
|
381
|
+
n(S) ? x((d(), v("input", {
|
|
382
382
|
key: 1,
|
|
383
383
|
type: "text",
|
|
384
|
-
"onUpdate:modelValue": (B) => n(
|
|
385
|
-
class:
|
|
386
|
-
onInput: (B) => n(q)[
|
|
384
|
+
"onUpdate:modelValue": (B) => n(b)[r] = B,
|
|
385
|
+
class: y(["mail-input", { invalidNewMail: n(q)[r] }]),
|
|
386
|
+
onInput: (B) => n(q)[r] = ""
|
|
387
387
|
}, null, 42, xt)), [
|
|
388
|
-
[
|
|
388
|
+
[N, n(b)[r]]
|
|
389
389
|
]) : M("", !0),
|
|
390
390
|
t[75] || (t[75] = l()),
|
|
391
391
|
e("div", null, [
|
|
392
392
|
e("button", {
|
|
393
393
|
type: "button",
|
|
394
394
|
class: "btn btn-simple",
|
|
395
|
-
onClick: (B) => n(S) ? st(
|
|
396
|
-
}, u(n(S) ? "Save" : "Edit"), 9,
|
|
395
|
+
onClick: (B) => n(S) ? st(r) : nt()
|
|
396
|
+
}, u(n(S) ? "Save" : "Edit"), 9, Nt),
|
|
397
397
|
t[73] || (t[73] = l()),
|
|
398
398
|
e("button", {
|
|
399
399
|
type: "button",
|
|
400
400
|
class: "btn btn-simple",
|
|
401
|
-
onClick: (B) => ot(
|
|
402
|
-
}, "Delete", 8,
|
|
401
|
+
onClick: (B) => ot(r)
|
|
402
|
+
}, "Delete", 8, Et)
|
|
403
403
|
])
|
|
404
404
|
]),
|
|
405
405
|
t[76] || (t[76] = l()),
|
|
406
|
-
n(q)[
|
|
406
|
+
n(q)[r] ? (d(), v("span", Wt, u(n(q)[r]), 1)) : M("", !0)
|
|
407
407
|
]))), 128))
|
|
408
408
|
], 512)) : M("", !0),
|
|
409
409
|
t[84] || (t[84] = l()),
|
|
@@ -412,10 +412,10 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
412
412
|
type: "text",
|
|
413
413
|
"onUpdate:modelValue": t[9] || (t[9] = (o) => n(m).mail = o),
|
|
414
414
|
onInput: t[10] || (t[10] = (o) => n(m).isValid = !0),
|
|
415
|
-
class:
|
|
415
|
+
class: y([{ invalidNewMail: !n(m).isValid }, "mail"]),
|
|
416
416
|
placeholder: "Enter email address"
|
|
417
417
|
}, null, 34), [
|
|
418
|
-
[
|
|
418
|
+
[N, n(m).mail]
|
|
419
419
|
]),
|
|
420
420
|
t[79] || (t[79] = l()),
|
|
421
421
|
e("button", {
|
|
@@ -425,7 +425,7 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
425
425
|
}, "+ Add Mail")
|
|
426
426
|
]),
|
|
427
427
|
t[85] || (t[85] = l()),
|
|
428
|
-
n(m).isValid ? M("", !0) : (
|
|
428
|
+
n(m).isValid ? M("", !0) : (d(), v("span", Rt, "*Invalid email format"))
|
|
429
429
|
]),
|
|
430
430
|
t[89] || (t[89] = l()),
|
|
431
431
|
e("div", Tt, [
|
|
@@ -444,7 +444,7 @@ const gt = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }
|
|
|
444
444
|
])) : M("", !0)
|
|
445
445
|
]));
|
|
446
446
|
}
|
|
447
|
-
}, Ht = /* @__PURE__ */ ft(zt, [["__scopeId", "data-v-
|
|
447
|
+
}, Ht = /* @__PURE__ */ ft(zt, [["__scopeId", "data-v-9d158fcf"]]);
|
|
448
448
|
export {
|
|
449
449
|
Ht as default
|
|
450
450
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogueMQA.vue.mjs","sources":["../../lib/data-provider-interface/CatalogueMQA.vue"],"sourcesContent":["<template>\n <div class=\"container mb-3\">\n <div>\n <div>\n <div class=\"debug\">\n <strong> API object:</strong> <br><br>\n\n <textarea> {{ token }} </textarea>\n <hr>\n <!-- Disabled for PPE release (no backend on PPE yet)-->\n {{ notficationInfo }}\n\n <br> --- <br>\n\n {{ mailList }}\n\n <br>---<br>\n <strong>Fequency:</strong> <br>\n weekly: {{ weekly }}<br>\n monthly: {{ monthly }} <br>\n <p></p>\n unit: {{ frequencyUnit }} <br>\n value: {{ frequencyValue }}\n\n <br>---<br>\n threshold: {{ threshold }}\n\n </div>\n <h1>MQA notification settings</h1>\n <p>Configuration for\n\n <strong>{{ catalogId }}</strong>\n <!-- <strong>Test Catalogue</strong> -->\n </p>\n <p>For this Catalogue the <b>MQA Rating Checks </b>are currently <b>\n <span v-if=\"!active\">deactivated</span>\n <span v-if=\"active\">activated</span></b>.</p>\n </div>\n\n <button type=\"button\" :class=\"{ 'btn btn-primary mb-5': !active, 'btn btn-secondary': active }\"\n @click=\"handleActivate()\">\n {{ activatedString }}\n </button>\n\n <button type=\"button\" class=\"btn btn-action mb-5\" @click=\"openMqaReport()\">\n <span class=\"mr-1\"> MQA report </span>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-box-arrow-up-right mb-1\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\"\n 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\"\n 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 </button>\n\n\n\n </div>\n\n <div v-if=\"active\">\n <div class=\"mqaWrapper\">\n <h3>Notification threshold</h3>\n <span>The slider sets a threshold value. If your catalogue’s MQA rating decreases by a value higher than\n this threshold, this is notified to the email recipients you define at the end of this page. You can\n adjust the frequency of the rating checks below. <p></p>\n <strong>Example:</strong> You setup the MQA checking to be done weekly and the threshold to -10;\n your current catalogue MQA rating is 200; if your rating drops to 180, on the next weekly rating\n schedule the new value (180) is compared with the previous one (200) and, as the difference (-20) is\n higher than the setup notification threshold (-10), the listed recipients are notified by\n email.</span>\n <div class=\"w-50 mt-3\">\n <div class=\"d-flex justify-content-between\">\n <span><b>-1</b></span>\n <span><b>-400</b></span>\n </div>\n <input type=\"range\" v-model=\"threshold\" min=\"0\" max=\"400\" />\n <p>Decrease higher than <b>-{{ threshold }}</b> Points</p>\n </div>\n </div>\n\n <div class=\"mqaWrapper\">\n <h3>Frequency of Rating Checks</h3>\n <span>Configure the frequency of the MQA rating checks.</span>\n\n <div class=\"d-flex mt-3\">\n <div class=\"mr-3 my-3\">\n <button type=\"button\" class=\"btn btn-simple\" @click=\"setWeekly()\"\n :class=\"{ 'activeChoiceButton': weekly }\">Weekly</button>\n <div class=\"weekdays\" :class=\"{ 'blur': !weekly }\">\n <span v-for=\"(day, index) in week\" :key=\"index\">\n <button :disabled=\"!weekly\" class=\"dayButtons\"\n :class=\"{ 'activeItem': selectedDay === index }\" @click=\"selectDay(index)\">\n {{ day }}\n </button>\n </span>\n </div>\n </div>\n <div class=\"my-3\">\n <button type=\"button\" :class=\"{ 'activeChoiceButton': monthly }\" class=\"btn btn-simple\"\n @click=\"setMonthly()\">Monthly</button>\n <div class=\"d-flex daypicker my-3\" :class=\"{ 'blur': !monthly }\">\n <input v-model=\"daysInMonth\" @input=\"selectDay(index)\" :class=\"{ dynamicWidth: inputWidth }\"\n :disabled=\"!monthly\">\n <div class=\"caretWrap\">\n <button @click=\"editDate('up')\" class=\"caretButtons ml-1\"><svg\n xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill=\"currentColor\"\n class=\"bi bi-caret-up-fill\" viewBox=\"0 0 16 16\">\n <path\n 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\" />\n </svg></button>\n <button @click=\"editDate()\" class=\"caretButtons mr-1\"><svg\n xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill=\"currentColor\"\n class=\"bi bi-caret-down-fill\" viewBox=\"0 0 16 16\">\n <path\n d=\"M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z\" />\n </svg></button>\n </div>\n <span>day of the month</span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"mqaWrapper\">\n <h3>Recipients Mail</h3>\n <span>Add and edit mail addresses for recieving the MQA report</span>\n <table class=\"mt-4\" ref=\"mailButtonWrap\" v-if=\"mailList.length !== 0\">\n <tr>\n <th>Mail</th>\n </tr>\n <tr v-for=\"(item, index) in mailList\" class=\"mailItems\" :key=\"index\">\n <td>\n <span v-if=\"!editMode\">{{ item }}</span>\n <input type=\"text\" v-model=\"mailList[index]\" class=\"mail-input\" v-if=\"editMode\"\n @input=\"editErrors[index] = ''\" :class=\"{ 'invalidNewMail': editErrors[index] }\">\n\n <div>\n <button type=\"button\" class=\"btn btn-simple\"\n @click=\"editMode ? saveMail(index) : editMail(index)\">\n {{ editMode ? 'Save' : 'Edit' }}\n </button>\n <button type=\"button\" class=\"btn btn-simple\" @click=\"deleteMail(index)\">Delete</button>\n </div>\n </td>\n <span class=\"errormsg\" v-if=\"editErrors[index]\">{{ editErrors[index] }}</span>\n </tr>\n </table>\n <div class=\"d-flex mt-3\">\n <input type=\"text\" v-model=\"newMail.mail\" @input=\"newMail.isValid = true\"\n :class=\"{ 'invalidNewMail': !newMail.isValid }\" placeholder=\"Enter email address\" class=\"mail\">\n <button type=\"button\" class=\"btn btn-simple mx-3\" @click=\"addNewMail()\">+ Add Mail</button>\n </div>\n <span class=\"errormsg\" v-if=\"!newMail.isValid\">*Invalid email format</span>\n </div>\n\n <div class=\"actionWrapper\">\n <button type=\"button\" class=\"btn btn-primary\" @click=\"postNotificationSettings\">Save</button>\n <button type=\"button\" class=\"btn btn-cancel\" @click=\"back()\">Cancel</button>\n </div>\n </div>\n </div>\n\n</template>\n<script setup>\n\nimport { ref } from 'vue';\nimport { useRoute } from 'vue-router'\nimport { getCurrentInstance } from \"vue\";\nimport { useStore } from 'vuex';\nimport { useRouter } from 'vue-router';\nimport { mapActions } from 'vuex'\nimport { computed } from 'vue'\nimport { mapGetters } from 'vuex'\n\nimport axios from 'axios'\n\nconst store = useStore();\nconst router = useRouter();\nconst getUserDrafts = computed(() => store.getters['auth/getUserDrafts'])\nconst getUserData = computed(() => store.getters['auth/getUserData'])\nconst token = computed(() => getUserData.value.rtpToken)\n\n// Update the mapActions usage\nconst authActions = mapActions('auth', {\n updateUserData: 'updateUserData'\n})\n\n// Destructure the action\nconst { updateUserData } = authActions\n\nconst showSnackbar = (payload) => {\n store.dispatch('snackbar/showSnackbar', payload);\n};\n\nconst triggerSnackbar = () => {\n showSnackbar({\n message: 'Saved Successfully',\n variant: 'success',\n });\n};\n\n// Map the showSnackbar action from the snackbar module\n\nconst route = useRoute()\n\nlet monthly = ref(false)\nlet weekly = ref(false)\nlet mailButtonWrap = ref(null)\nlet activatedString = ref('Activate')\nlet inputWidth = ref(false)\nlet active = ref(false)\nlet mailList = ref()\nlet week = ['Mo', 'Tue', 'We', 'Th', 'Fr', 'Sa', 'Su']\nlet daysInMonth = ref(1)\nlet editMode = ref(false);\nlet threshold = ref(0);\nlet frequencyUnit = ref('');\nlet frequencyValue = ref('');\nlet selectedDay = ref(null);\nconst catalogId = route.params.id\nconst app = getCurrentInstance()\nconst notificationBaseUrl = app.appContext.app.config.globalProperties.$env.api.notificationBaseUrl\nconst apiKey = app.appContext.app.config.globalProperties.$env.api.apiKey\n\n\nconst openMqaReport = () => {\n const mqaBaseUrl = 'https://data.europa.eu';\n const locale = route.query.locale || 'en';\n const mqaUrl = `${mqaBaseUrl}/mqa/catalogues/${catalogId}?locale=${locale}`;\n window.open(mqaUrl, '_blank');\n}\n\nconst selectDay = (index) => {\n if (weekly.value) {\n selectedDay.value = index;\n frequencyValue.value = selectedDay; // Update frequencyValue when a day is selected\n }\n};\n\nconst setWeekly = () => {\n weekly.value = true;\n monthly.value = false;\n selectedDay.value = frequencyValue.value; // Set the selected day based on frequencyValue\n};\n\nconst setMonthly = () => {\n weekly.value = false;\n monthly.value = true;\n selectedDay.value = frequencyValue.value; // Set the day of the month based on frequencyValue\n};\n\nconst notficationInfo = ref({})\n\nconst isValidEmail = (email) => {\n const regex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return regex.test(email);\n};\n\nlet newMail = ref({ mail: '', isValid: true });\nlet editErrors = ref({});\n\n// enabeld for PPE release (dummy data)\n// mailList.value = [{ 'mail': \"mail@mail2.com\" }, { 'mail': \"mail@mail1.com\" }]\n\nconst fetchNotificationInfo = async () => {\n const config = {\n method: 'get',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n },\n }\n\n try {\n const response = await axios.request(config)\n notficationInfo.value = response.data\n\n if (notficationInfo.value.activeStatus === true) {\n active.value = true\n activatedString.value = 'Deactivate'\n } if (notficationInfo.value.activeStatus === false) {\n active.value = false\n activatedString.value = 'Activate'\n }\n\n mailList.value = notficationInfo.value.receiverEmailList\n frequencyUnit.value = notficationInfo.value.frequency.unit\n frequencyValue.value = notficationInfo.value.frequency.value\n threshold.value = notficationInfo.value.threshold\n\n if (frequencyUnit.value === 'week') {\n weekly.value = true\n monthly.value = false\n selectedDay.value = frequencyValue.value; // Set the selected day based on frequencyValue\n } else if (frequencyUnit.value === 'month') {\n weekly.value = false\n monthly.value = true\n daysInMonth.value = frequencyValue.value\n }\n\n console.log('Response:', response)\n } catch (error) {\n console.log('Full error:', error)\n }\n}\n\nconst postNotificationSettings = async () => {\n\n if (weekly.value === true) {\n frequencyUnit.value = \"week\"\n frequencyValue.value = selectedDay.value\n } else if (monthly.value === true) {\n frequencyUnit.value = \"month\"\n frequencyValue.value = daysInMonth.value\n }\n\n const config = {\n method: 'post',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n data: JSON.stringify({\n receiverEmailList: mailList.value,\n threshold: Number(threshold.value),\n frequency: {\n unit: frequencyUnit.value,\n value: frequencyValue.value\n },\n activeStatus: true\n })\n }\n\n try {\n const response = await axios.request(config)\n console.log('Settings updated:', response.data)\n triggerSnackbar();\n router.push({ name: 'DataProviderInterface-UserCatalogues' });\n return response.data\n\n } catch (error) {\n triggerSnackbar({\n message: 'Error updating settings.',\n variant: 'error',\n });\n\n console.log('Error updating settings:', error)\n\n throw error\n }\n}\n\nfetchNotificationInfo()\n\nconst postDeactive = async () => {\n\n const config = {\n method: 'post',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n data: JSON.stringify({\n activeStatus: active.value\n })\n }\n\n try {\n const response = await axios.request(config)\n console.log('Settings updated:', response.data)\n triggerSnackbar();\n if (!active.value) { router.push({ name: 'DataProviderInterface-UserCatalogues' }); }\n return response.data\n\n\n } catch (error) {\n triggerSnackbar({\n message: 'Error updating settings.',\n variant: 'error',\n });\n\n console.log('Error updating settings:', error)\n\n throw error\n\n }\n}\n\nconst editMail = () => {\n editMode.value = true\n showSnackbar({\n message: 'Email added successfully.',\n variant: 'success',\n });\n}\n\nconst saveMail = (index) => {\n const email = mailList.value[index].trim();\n if (isValidEmail(email)) {\n editMode.value = false;\n delete editErrors.value[index];\n } else {\n editErrors.value[index] = '*Invalid email format';\n }\n};\n\nconst deleteMail = (index) => {\n mailList.value.splice(index, 1);\n}\n\nconst editDate = (count) => {\n if (count === \"up\" && daysInMonth.value < 28) {\n if (daysInMonth.value > 8) {\n inputWidth.value = true\n }\n daysInMonth.value++\n }\n else if (daysInMonth.value > 1) {\n if (daysInMonth.value < 11) {\n inputWidth.value = false\n }\n daysInMonth.value--\n }\n}\n\nconst addNewMail = () => {\n if (newMail.value.mail.trim() === '') {\n newMail.value.isValid = false;\n return;\n }\n if (isValidEmail(newMail.value.mail)) {\n mailList.value.push(newMail.value.mail);\n newMail.value.mail = ''; // Clear input after successful addition\n newMail.value.isValid = true;\n } else {\n newMail.value.isValid = false;\n }\n}\nconst handleActivate = () => {\n if (!active.value) {\n active.value = true\n activatedString.value = 'Deactivate'\n postDeactive()\n } else {\n active.value = false\n activatedString.value = 'Activate'\n postDeactive()\n }\n}\n\nconst back = () => {\n router.push({ name: 'DataProviderInterface-UserCatalogues' });\n}\n\n</script>\n<style scoped>\n\n.btn-action {\n border: solid 1px #3f3f3f;\n}\n\n.btn-action:hover {\n border: solid 1px #3f3f3f;\n background-color: #3f3f3f;\n color: #fff;\n}\n\n.debug {\n position: fixed;\n right: 20px;\n top: 20px;\n border-radius: 20px;\n width: 400px;\n z-index: 999999;\n padding: 20px;\n background: rgba(255, 255, 255, 0.2);\n border-radius: 16px;\n box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);\n backdrop-filter: blur(5px);\n -webkit-backdrop-filter: blur(5px);\n border: 1px solid rgba(255, 255, 255, 0.3);\n display: none;\n}\n\n.btn-simple {\n border-color: rgb(115, 115, 115);\n}\n\n.btn-cancel {\n border-color: transparent;\n}\n\n.mail {\n width: 270px;\n padding: 5px 5px 5px 10px;\n}\n\n\n.errormsg {\n color: red;\n font-size: 10px;\n}\n\n.activeChoiceButton {\n background-color: var(--primary);\n color: white;\n border-color: var(--primary);\n\n &:active {\n background-color: #3E6CD5 !important;\n }\n\n &:focus {\n outline: none;\n background-color: #3E6CD5;\n }\n\n &:focus-visible {\n outline: none;\n background-color: #3E6CD5;\n }\n}\n\n\n.invalid {\n border-bottom: 1px solid red !important;\n}\n\n.blur {\n opacity: 0.3;\n}\n\n.invalidNewMail {\n\n border-radius: 2px;\n border: 2px solid rgba(255, 0, 0, 0.336);\n\n &:focus {\n border-radius: 2px;\n box-shadow: 0 0 0 0.1rem rgba(255, 0, 0, 0.774);\n border: 1px solid rgba(255, 0, 0, 0.336);\n }\n\n &:focus-visible {\n outline: 0;\n border-radius: 2px;\n box-shadow: 0 0 0 0.1rem rgba(255, 0, 0, 0.774);\n border: 1px solid rgba(255, 0, 0, 0.336);\n }\n}\n\n.editable {\n transition: all 200ms ease-in-out;\n padding-left: 0.5rem;\n border-bottom: 2px solid var(--primary) !important;\n}\n\n.invalid {\n border-bottom: 1px solid red !important;\n}\n\n.caretButtons {\n all: unset;\n cursor: pointer;\n}\n\n.caretWrap {\n display: contents;\n\n}\n\n.actionWrapper {\n display: flex;\n flex-direction: row-reverse;\n margin-bottom: 100px;\n\n button {\n margin-left: 1rem;\n }\n}\n\ninput[type=\"range\"] {\n width: 100%;\n}\n\n.mqaWrapper {\n margin: 3rem 0;\n}\n\ntable {\n margin-top: 1rem;\n min-width: 50%;\n}\n\nth {\n border-bottom: 1px solid lightgray;\n}\n\ntd {\n display: flex;\n justify-content: space-between;\n padding: 15px 0 0 0cap;\n}\n\n.daypicker {\n padding: 1rem;\n border: 1px solid lightgray;\n border-radius: 15px;\n\n input {\n width: 25px;\n border: none;\n background-color: unset;\n font-weight: 700;\n }\n\n}\n\n.dynamicWidth {\n width: 22px !important;\n}\n\n.activeItem {\n background-color: var(--primary);\n color: white;\n}\n\n.weekdays {\n border: 1px solid lightgray;\n border-radius: 15px;\n margin: 1rem 0;\n overflow: hidden;\n\n .dayButtons {\n border: none;\n display: inline-block;\n text-align: center;\n flex-direction: row;\n min-width: 60px;\n padding: 1rem;\n border-right: 1px solid lightgray;\n cursor: pointer;\n\n &:focus-visible {\n outline: unset;\n background-color: #3E6CD5;\n color: white;\n }\n\n &:hover {\n background-color: #3E6CD5;\n color: white;\n }\n }\n\n span:last-child button {\n border: none;\n }\n}\n\n.mqaWrapper {\n padding: 1rem;\n background-color: #f3f6fc;\n border-radius: 3px;\n}\n\nbutton {\n background-color: unset;\n border: 1px solid var(--primary);\n color: black;\n\n &:hover {\n background-color: #3E6CD5;\n color: white;\n border: 1px solid #3E6CD5;\n }\n}\n\n.btn-primary {\n background-color: var(--primary);\n color: white;\n\n}\n\n.btn-secondary {\n color: #0e47cb;\n}\n\nbutton,\nspan {\n transition: all 100ms ease-in-out;\n}\n</style>\n"],"names":["store","useStore","router","useRouter","computed","getUserData","token","mapActions","showSnackbar","payload","triggerSnackbar","route","useRoute","monthly","ref","weekly","mailButtonWrap","activatedString","inputWidth","active","mailList","week","daysInMonth","editMode","threshold","frequencyUnit","frequencyValue","selectedDay","catalogId","app","getCurrentInstance","notificationBaseUrl","openMqaReport","mqaBaseUrl","locale","mqaUrl","selectDay","index","setWeekly","setMonthly","notficationInfo","isValidEmail","email","newMail","editErrors","fetchNotificationInfo","config","response","axios","error","postNotificationSettings","postDeactive","editMail","saveMail","deleteMail","editDate","count","addNewMail","handleActivate","back","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_cache","_toDisplayString","_unref","_createTextVNode","_normalizeClass","_hoisted_5","_hoisted_6","_hoisted_7","$event","_hoisted_8","_hoisted_9","_hoisted_10","_Fragment","_renderList","day","_hoisted_11","_hoisted_12","_hoisted_14","_hoisted_15","item","_vModelText","_hoisted_18","_hoisted_19","_hoisted_20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AAA;AAAA,YAArF,MAAK;AAAA,YAAS,OAAM;AAAA,YAAmB,SAAOb;AAAA,aAA0B,MAAI;AAAA;UACpFa,EAA4E,UAAA;AAAA,YAApE,MAAK;AAAA,YAAS,OAAM;AAAA,YAAkB,kCAAOJ,GAAI;AAAA,aAAI,QAAM;AAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"CatalogueMQA.vue.mjs","sources":["../../lib/data-provider-interface/CatalogueMQA.vue"],"sourcesContent":["<template>\n <div class=\"container mb-3\">\n <div>\n <div>\n <div class=\"debug\">\n <strong> API object:</strong> <br><br>\n\n <textarea> {{ token }} </textarea>\n <hr>\n <!-- Disabled for PPE release (no backend on PPE yet)-->\n {{ notficationInfo }}\n\n <br> --- <br>\n\n {{ mailList }}\n\n <br>---<br>\n <strong>Fequency:</strong> <br>\n weekly: {{ weekly }}<br>\n monthly: {{ monthly }} <br>\n <p></p>\n unit: {{ frequencyUnit }} <br>\n value: {{ frequencyValue }}\n\n <br>---<br>\n threshold: {{ threshold }}\n\n </div>\n <h1>MQA notification settings</h1>\n <p>Configuration for\n\n <strong>{{ catalogId }}</strong>\n <!-- <strong>Test Catalogue</strong> -->\n </p>\n <p>For this Catalogue the <b>MQA Rating Checks </b>are currently <b>\n <span v-if=\"!active\">deactivated</span>\n <span v-if=\"active\">activated</span></b>.</p>\n </div>\n\n <button type=\"button\" :class=\"{ 'btn btn-primary mb-5': !active, 'btn btn-secondary': active }\"\n @click=\"handleActivate()\">\n {{ activatedString }}\n </button>\n\n <button type=\"button\" :class=\"{ 'btn btn-action mb-5': !active, 'btn btn-action': active }\" @click=\"openMqaReport()\">\n <span class=\"mr-1\"> MQA report </span>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\"\n class=\"bi bi-box-arrow-up-right mb-1\" viewBox=\"0 0 16 16\">\n <path fill-rule=\"evenodd\"\n 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\"\n 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 </button>\n\n\n\n </div>\n\n <div v-if=\"active\">\n <div class=\"mqaWrapper\">\n <h3>Notification threshold</h3>\n <span>The slider sets a threshold value. If your catalogue’s MQA rating decreases by a value higher than\n this threshold, this is notified to the email recipients you define at the end of this page. You can\n adjust the frequency of the rating checks below. <p></p>\n <strong>Example:</strong> You setup the MQA checking to be done weekly and the threshold to -10;\n your current catalogue MQA rating is 200; if your rating drops to 180, on the next weekly rating\n schedule the new value (180) is compared with the previous one (200) and, as the difference (-20) is\n higher than the setup notification threshold (-10), the listed recipients are notified by\n email.</span>\n <div class=\"w-50 mt-4\">\n <div class=\"d-flex justify-content-between\">\n <span><b>-1</b></span>\n <span><b>-400</b></span>\n </div>\n <input type=\"range\" v-model=\"threshold\" min=\"0\" max=\"400\" />\n <p>Notify on a decrease greater than <b>-{{ threshold === 0 ? 1 : threshold }}</b> Points</p>\n </div>\n </div>\n\n <div class=\"mqaWrapper\">\n <h3>Frequency of Rating Checks</h3>\n <span>Configure the frequency of the MQA rating checks.</span>\n\n <div class=\"d-flex mt-3\">\n <div class=\"mr-3 my-3\">\n <button type=\"button\" class=\"btn btn-simple\" @click=\"setWeekly()\"\n :class=\"{ 'activeChoiceButton': weekly }\">Weekly</button>\n <div class=\"weekdays\" :class=\"{ 'blur': !weekly }\">\n <span v-for=\"(day, index) in week\" :key=\"index\">\n <button :disabled=\"!weekly\" class=\"dayButtons\"\n :class=\"{ 'activeItem': selectedDay === index }\" @click=\"selectDay(index)\">\n {{ day }}\n </button>\n </span>\n </div>\n </div>\n <div class=\"my-3\">\n <button type=\"button\" :class=\"{ 'activeChoiceButton': monthly }\" class=\"btn btn-simple\"\n @click=\"setMonthly()\">Monthly</button>\n <div class=\"d-flex daypicker my-3\" :class=\"{ 'blur': !monthly }\">\n <input v-model=\"daysInMonth\" @input=\"selectDay(index)\" :class=\"{ dynamicWidth: inputWidth }\"\n :disabled=\"!monthly\">\n <div class=\"caretWrap\">\n <button @click=\"editDate('up')\" class=\"caretButtons ml-1\"><svg\n xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill=\"currentColor\"\n class=\"bi bi-caret-up-fill\" viewBox=\"0 0 16 16\">\n <path\n 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\" />\n </svg></button>\n <button @click=\"editDate()\" class=\"caretButtons mr-1\"><svg\n xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" fill=\"currentColor\"\n class=\"bi bi-caret-down-fill\" viewBox=\"0 0 16 16\">\n <path\n d=\"M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z\" />\n </svg></button>\n </div>\n <span>day of the month</span>\n </div>\n </div>\n </div>\n </div>\n <div class=\"mqaWrapper\">\n <h3>Recipients Mail</h3>\n <span>Add and edit mail addresses for recieving the MQA report</span>\n <table class=\"mt-4\" ref=\"mailButtonWrap\" v-if=\"mailList.length !== 0\">\n <tr>\n <th>Mail</th>\n </tr>\n <tr v-for=\"(item, index) in mailList\" class=\"mailItems\" :key=\"index\">\n <td>\n <span v-if=\"!editMode\">{{ item }}</span>\n <input type=\"text\" v-model=\"mailList[index]\" class=\"mail-input\" v-if=\"editMode\"\n @input=\"editErrors[index] = ''\" :class=\"{ 'invalidNewMail': editErrors[index] }\">\n\n <div>\n <button type=\"button\" class=\"btn btn-simple\"\n @click=\"editMode ? saveMail(index) : editMail(index)\">\n {{ editMode ? 'Save' : 'Edit' }}\n </button>\n <button type=\"button\" class=\"btn btn-simple\" @click=\"deleteMail(index)\">Delete</button>\n </div>\n </td>\n <span class=\"errormsg\" v-if=\"editErrors[index]\">{{ editErrors[index] }}</span>\n </tr>\n </table>\n <div class=\"d-flex mt-3\">\n <input type=\"text\" v-model=\"newMail.mail\" @input=\"newMail.isValid = true\"\n :class=\"{ 'invalidNewMail': !newMail.isValid }\" placeholder=\"Enter email address\" class=\"mail\">\n <button type=\"button\" class=\"btn btn-simple mx-3\" @click=\"addNewMail()\">+ Add Mail</button>\n </div>\n <span class=\"errormsg\" v-if=\"!newMail.isValid\">*Invalid email format</span>\n </div>\n\n <div class=\"actionWrapper\">\n <button type=\"button\" class=\"btn btn-primary\" @click=\"postNotificationSettings\">Save</button>\n <button type=\"button\" class=\"btn btn-cancel\" @click=\"back()\">Cancel</button>\n </div>\n </div>\n </div>\n\n</template>\n<script setup>\n\nimport { ref } from 'vue';\nimport { useRoute } from 'vue-router'\nimport { getCurrentInstance } from \"vue\";\nimport { useStore } from 'vuex';\nimport { useRouter } from 'vue-router';\nimport { mapActions } from 'vuex'\nimport { computed } from 'vue'\nimport { mapGetters } from 'vuex'\n\nimport axios from 'axios'\n\nconst store = useStore();\nconst router = useRouter();\nconst getUserDrafts = computed(() => store.getters['auth/getUserDrafts'])\nconst getUserData = computed(() => store.getters['auth/getUserData'])\nconst token = computed(() => getUserData.value.rtpToken)\n\n// Update the mapActions usage\nconst authActions = mapActions('auth', {\n updateUserData: 'updateUserData'\n})\n\n// Destructure the action\nconst { updateUserData } = authActions\n\nconst showSnackbar = (payload) => {\n store.dispatch('snackbar/showSnackbar', payload);\n};\n\nconst triggerSnackbar = () => {\n showSnackbar({\n message: 'Saved Successfully',\n variant: 'success',\n });\n};\n\n// Map the showSnackbar action from the snackbar module\n\nconst route = useRoute()\n\nlet monthly = ref(false)\nlet weekly = ref(false)\nlet mailButtonWrap = ref(null)\nlet activatedString = ref('Activate')\nlet inputWidth = ref(false)\nlet active = ref(false)\nlet mailList = ref()\nlet week = ['Mo', 'Tue', 'We', 'Th', 'Fr', 'Sa', 'Su']\nlet daysInMonth = ref(1)\nlet editMode = ref(false);\nlet threshold = ref(0);\nlet frequencyUnit = ref('');\nlet frequencyValue = ref('');\nlet selectedDay = ref(null);\nconst catalogId = route.params.id\nconst app = getCurrentInstance()\nconst notificationBaseUrl = app.appContext.app.config.globalProperties.$env.api.notificationBaseUrl\nconst apiKey = app.appContext.app.config.globalProperties.$env.api.apiKey\n\n\nconst openMqaReport = () => {\n const mqaBaseUrl = 'https://data.europa.eu';\n const locale = route.query.locale || 'en';\n const mqaUrl = `${mqaBaseUrl}/mqa/catalogues/${catalogId}?locale=${locale}`;\n window.open(mqaUrl, '_blank');\n}\n\nconst selectDay = (index) => {\n if (weekly.value) {\n selectedDay.value = index;\n frequencyValue.value = selectedDay; // Update frequencyValue when a day is selected\n }\n};\n\nconst setWeekly = () => {\n weekly.value = true;\n monthly.value = false;\n selectedDay.value = frequencyValue.value; // Set the selected day based on frequencyValue\n};\n\nconst setMonthly = () => {\n weekly.value = false;\n monthly.value = true;\n selectedDay.value = frequencyValue.value; // Set the day of the month based on frequencyValue\n};\n\nconst notficationInfo = ref({})\n\nconst isValidEmail = (email) => {\n const regex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return regex.test(email);\n};\n\nlet newMail = ref({ mail: '', isValid: true });\nlet editErrors = ref({});\n\n// enabeld for PPE release (dummy data)\n// mailList.value = [{ 'mail': \"mail@mail2.com\" }, { 'mail': \"mail@mail1.com\" }]\n\nconst fetchNotificationInfo = async () => {\n const config = {\n method: 'get',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n },\n }\n\n try {\n const response = await axios.request(config)\n notficationInfo.value = response.data\n\n if (notficationInfo.value.activeStatus === true) {\n active.value = true\n activatedString.value = 'Deactivate'\n } if (notficationInfo.value.activeStatus === false) {\n active.value = false\n activatedString.value = 'Activate'\n }\n\n mailList.value = notficationInfo.value.receiverEmailList\n frequencyUnit.value = notficationInfo.value.frequency.unit\n frequencyValue.value = notficationInfo.value.frequency.value\n threshold.value = notficationInfo.value.threshold\n\n if (frequencyUnit.value === 'week') {\n weekly.value = true\n monthly.value = false\n selectedDay.value = frequencyValue.value; // Set the selected day based on frequencyValue\n } else if (frequencyUnit.value === 'month') {\n weekly.value = false\n monthly.value = true\n daysInMonth.value = frequencyValue.value\n }\n\n console.log('Response:', response)\n } catch (error) {\n console.log('Full error:', error)\n }\n}\n\nconst postNotificationSettings = async () => {\n\n if (weekly.value === true) {\n frequencyUnit.value = \"week\"\n frequencyValue.value = selectedDay.value\n } else if (monthly.value === true) {\n frequencyUnit.value = \"month\"\n frequencyValue.value = daysInMonth.value\n }\n\n const config = {\n method: 'post',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n data: JSON.stringify({\n receiverEmailList: mailList.value,\n threshold: Number(threshold.value),\n frequency: {\n unit: frequencyUnit.value,\n value: frequencyValue.value\n },\n activeStatus: true\n })\n }\n\n try {\n const response = await axios.request(config)\n console.log('Settings updated:', response.data)\n triggerSnackbar();\n router.push({ name: 'DataProviderInterface-UserCatalogues' });\n return response.data\n\n } catch (error) {\n triggerSnackbar({\n message: 'Error updating settings.',\n variant: 'error',\n });\n\n console.log('Error updating settings:', error)\n\n throw error\n }\n}\n\nfetchNotificationInfo()\n\nconst postDeactive = async () => {\n\n const config = {\n method: 'post',\n url: `${notificationBaseUrl}/catalogue/${catalogId}/setting`,\n headers: {\n Authorization: `Bearer ${token.value}`,\n 'Content-Type': 'application/json',\n },\n withCredentials: true,\n data: JSON.stringify({\n activeStatus: active.value\n })\n }\n\n try {\n const response = await axios.request(config)\n console.log('Settings updated:', response.data)\n triggerSnackbar();\n if (!active.value) { router.push({ name: 'DataProviderInterface-UserCatalogues' }); }\n return response.data\n\n\n } catch (error) {\n triggerSnackbar({\n message: 'Error updating settings.',\n variant: 'error',\n });\n\n console.log('Error updating settings:', error)\n\n throw error\n\n }\n}\n\nconst editMail = () => {\n editMode.value = true\n showSnackbar({\n message: 'Email added successfully.',\n variant: 'success',\n });\n}\n\nconst saveMail = (index) => {\n const email = mailList.value[index].trim();\n if (isValidEmail(email)) {\n editMode.value = false;\n delete editErrors.value[index];\n } else {\n editErrors.value[index] = '*Invalid email format';\n }\n};\n\nconst deleteMail = (index) => {\n mailList.value.splice(index, 1);\n}\n\nconst editDate = (count) => {\n if (count === \"up\" && daysInMonth.value < 28) {\n if (daysInMonth.value > 8) {\n inputWidth.value = true\n }\n daysInMonth.value++\n }\n else if (daysInMonth.value > 1) {\n if (daysInMonth.value < 11) {\n inputWidth.value = false\n }\n daysInMonth.value--\n }\n}\n\nconst addNewMail = () => {\n if (newMail.value.mail.trim() === '') {\n newMail.value.isValid = false;\n return;\n }\n if (isValidEmail(newMail.value.mail)) {\n mailList.value.push(newMail.value.mail);\n newMail.value.mail = ''; // Clear input after successful addition\n newMail.value.isValid = true;\n } else {\n newMail.value.isValid = false;\n }\n}\nconst handleActivate = () => {\n if (!active.value) {\n active.value = true\n activatedString.value = 'Deactivate'\n postDeactive()\n } else {\n active.value = false\n activatedString.value = 'Activate'\n postDeactive()\n }\n}\n\nconst back = () => {\n router.push({ name: 'DataProviderInterface-UserCatalogues' });\n}\n\n</script>\n<style scoped>\n\n.btn-action {\n border: solid 1px #3f3f3f;\n}\n\n.btn-action:hover {\n border: solid 1px #3f3f3f;\n background-color: #3f3f3f;\n color: #fff;\n}\n\n.debug {\n position: fixed;\n right: 20px;\n top: 20px;\n border-radius: 20px;\n width: 400px;\n z-index: 999999;\n padding: 20px;\n background: rgba(255, 255, 255, 0.2);\n border-radius: 16px;\n box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);\n backdrop-filter: blur(5px);\n -webkit-backdrop-filter: blur(5px);\n border: 1px solid rgba(255, 255, 255, 0.3);\n display: none;\n}\n\n.btn-simple {\n border-color: rgb(115, 115, 115);\n}\n\n.btn-cancel {\n border-color: transparent;\n}\n\n.mail {\n width: 270px;\n padding: 5px 5px 5px 10px;\n}\n\n\n.errormsg {\n color: red;\n font-size: 10px;\n}\n\n.activeChoiceButton {\n background-color: var(--primary);\n color: white;\n border-color: var(--primary);\n\n &:active {\n background-color: #3E6CD5 !important;\n }\n\n &:focus {\n outline: none;\n background-color: #3E6CD5;\n }\n\n &:focus-visible {\n outline: none;\n background-color: #3E6CD5;\n }\n}\n\n\n.invalid {\n border-bottom: 1px solid red !important;\n}\n\n.blur {\n opacity: 0.3;\n}\n\n.invalidNewMail {\n\n border-radius: 2px;\n border: 2px solid rgba(255, 0, 0, 0.336);\n\n &:focus {\n border-radius: 2px;\n box-shadow: 0 0 0 0.1rem rgba(255, 0, 0, 0.774);\n border: 1px solid rgba(255, 0, 0, 0.336);\n }\n\n &:focus-visible {\n outline: 0;\n border-radius: 2px;\n box-shadow: 0 0 0 0.1rem rgba(255, 0, 0, 0.774);\n border: 1px solid rgba(255, 0, 0, 0.336);\n }\n}\n\n.editable {\n transition: all 200ms ease-in-out;\n padding-left: 0.5rem;\n border-bottom: 2px solid var(--primary) !important;\n}\n\n.invalid {\n border-bottom: 1px solid red !important;\n}\n\n.caretButtons {\n all: unset;\n cursor: pointer;\n}\n\n.caretWrap {\n display: contents;\n\n}\n\n.actionWrapper {\n display: flex;\n flex-direction: row-reverse;\n margin-bottom: 100px;\n\n button {\n margin-left: 1rem;\n }\n}\n\ninput[type=\"range\"] {\n width: 100%;\n}\n\n.mqaWrapper {\n margin: 3rem 0;\n}\n\ntable {\n margin-top: 1rem;\n min-width: 50%;\n}\n\nth {\n border-bottom: 1px solid lightgray;\n}\n\ntd {\n display: flex;\n justify-content: space-between;\n padding: 15px 0 0 0cap;\n}\n\n.daypicker {\n padding: 1rem;\n border: 1px solid lightgray;\n border-radius: 15px;\n\n input {\n width: 25px;\n border: none;\n background-color: unset;\n font-weight: 700;\n }\n\n}\n\n.dynamicWidth {\n width: 22px !important;\n}\n\n.activeItem {\n background-color: var(--primary);\n color: white;\n}\n\n.weekdays {\n border: 1px solid lightgray;\n border-radius: 15px;\n margin: 1rem 0;\n overflow: hidden;\n\n .dayButtons {\n border: none;\n display: inline-block;\n text-align: center;\n flex-direction: row;\n min-width: 60px;\n padding: 1rem;\n border-right: 1px solid lightgray;\n cursor: pointer;\n\n &:focus-visible {\n outline: unset;\n background-color: #3E6CD5;\n color: white;\n }\n\n &:hover {\n background-color: #3E6CD5;\n color: white;\n }\n }\n\n span:last-child button {\n border: none;\n }\n}\n\n.mqaWrapper {\n padding: 1rem;\n background-color: #f3f6fc;\n border-radius: 3px;\n}\n\nbutton {\n background-color: unset;\n border: 1px solid var(--primary);\n color: black;\n\n &:hover {\n background-color: #3E6CD5;\n color: white;\n border: 1px solid #3E6CD5;\n }\n}\n\n.btn-primary {\n background-color: var(--primary);\n color: white;\n\n}\n\n.btn-secondary {\n color: #0e47cb;\n}\n\nbutton,\nspan {\n transition: all 100ms ease-in-out;\n}\n</style>\n"],"names":["store","useStore","router","useRouter","computed","getUserData","token","mapActions","showSnackbar","payload","triggerSnackbar","route","useRoute","monthly","ref","weekly","mailButtonWrap","activatedString","inputWidth","active","mailList","week","daysInMonth","editMode","threshold","frequencyUnit","frequencyValue","selectedDay","catalogId","app","getCurrentInstance","notificationBaseUrl","openMqaReport","mqaBaseUrl","locale","mqaUrl","selectDay","index","setWeekly","setMonthly","notficationInfo","isValidEmail","email","newMail","editErrors","fetchNotificationInfo","config","response","axios","error","postNotificationSettings","postDeactive","editMail","saveMail","deleteMail","editDate","count","addNewMail","handleActivate","back","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_cache","_toDisplayString","_unref","_createTextVNode","_normalizeClass","_hoisted_5","_hoisted_6","_hoisted_7","$event","_hoisted_8","_hoisted_9","_hoisted_10","_Fragment","_renderList","day","_hoisted_11","_hoisted_12","_hoisted_14","_hoisted_15","item","_vModelText","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23"],"mappings":";;;;;;;;;;;;;;;AA+KA,UAAMA,IAAQC,GAAQ,GAChBC,IAASC,GAAS;AACF,IAAAC,EAAS,MAAMJ,EAAM,QAAQ,oBAAoB,CAAC;AACxE,UAAMK,IAAcD,EAAS,MAAMJ,EAAM,QAAQ,kBAAkB,CAAC,GAC9DM,IAAQF,EAAS,MAAMC,EAAY,MAAM,QAAQ;AAGnC,IAAAE,GAAW,QAAQ;AAAA,MACnC,gBAAgB;AAAA,IACpB,CAAC;AAKD,UAAMC,IAAe,CAACC,MAAY;AAC9B,MAAAT,EAAM,SAAS,yBAAyBS,CAAO;AAAA,IACnD,GAEMC,IAAkB,MAAM;AAC1B,MAAAF,EAAa;AAAA,QACT,SAAS;AAAA,QACT,SAAS;AAAA,MACjB,CAAK;AAAA,IACL,GAIMG,IAAQC,GAAS;AAEvB,QAAIC,IAAUC,EAAI,EAAK,GACnBC,IAASD,EAAI,EAAK,GAClBE,IAAiBF,EAAI,IAAI,GACzBG,IAAkBH,EAAI,UAAU,GAChCI,IAAaJ,EAAI,EAAK,GACtBK,IAASL,EAAI,EAAK,GAClBM,IAAWN,EAAI,GACfO,IAAO,CAAC,MAAM,OAAO,MAAM,MAAM,MAAM,MAAM,IAAI,GACjDC,IAAcR,EAAI,CAAC,GACnBS,IAAWT,EAAI,EAAK,GACpBU,IAAYV,EAAI,CAAC,GACjBW,IAAgBX,EAAI,EAAE,GACtBY,IAAiBZ,EAAI,EAAE,GACvBa,IAAcb,EAAI,IAAI;AAC1B,UAAMc,IAAYjB,EAAM,OAAO,IACzBkB,IAAMC,GAAmB,GACzBC,IAAsBF,EAAI,WAAW,IAAI,OAAO,iBAAiB,KAAK,IAAI;AACjE,IAAAA,EAAI,WAAW,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