@piveau/piveau-hub-ui-modules 4.6.86 → 4.6.88

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