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