@piveau/piveau-hub-ui-modules 4.6.70 → 4.6.73
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 +315 -273
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +73 -43
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/package.json +1 -1
|
@@ -1,64 +1,67 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { useStore 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
|
+
import { useRouter as dt, useRoute as vt } from "vue-router";
|
|
3
|
+
import { useStore as pt, mapActions as mt } from "vuex";
|
|
4
4
|
import z from "axios";
|
|
5
5
|
import "./CatalogueMQA.vue2.mjs";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import ft from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
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 = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "errormsg"
|
|
13
|
-
},
|
|
13
|
+
}, Tt = { class: "actionWrapper" }, zt = {
|
|
14
14
|
__name: "CatalogueMQA",
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
const X =
|
|
19
|
-
|
|
15
|
+
setup(Pt) {
|
|
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
|
+
mt("auth", {
|
|
20
20
|
updateUserData: "updateUserData"
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
|
|
22
|
+
const P = (s) => {
|
|
23
|
+
E.dispatch("snackbar/showSnackbar", s);
|
|
24
|
+
}, D = () => {
|
|
25
|
+
P({
|
|
26
26
|
message: "Saved Successfully",
|
|
27
27
|
variant: "success"
|
|
28
28
|
});
|
|
29
|
-
},
|
|
30
|
-
let
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
}, F = vt();
|
|
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
|
+
const I = F.params.id, L = rt(), R = L.appContext.app.config.globalProperties.$env.api.notificationBaseUrl;
|
|
32
|
+
L.appContext.app.config.globalProperties.$env.api.apiKey;
|
|
33
|
+
const c = () => {
|
|
34
|
+
const s = "https://data.europa.eu", t = F.query.locale || "en", o = `${s}/mqa/catalogues/${I}?locale=${t}`;
|
|
35
|
+
window.open(o, "_blank");
|
|
36
|
+
}, j = (s) => {
|
|
37
|
+
f.value && (A.value = s, g.value = A);
|
|
37
38
|
}, _ = () => {
|
|
38
|
-
f.value = !
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
f.value = !0, k.value = !1, A.value = g.value;
|
|
40
|
+
}, tt = () => {
|
|
41
|
+
f.value = !1, k.value = !0, A.value = g.value;
|
|
42
|
+
}, C = i({}), J = (s) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s);
|
|
43
|
+
let m = i({ mail: "", isValid: !0 }), q = i({});
|
|
44
|
+
const et = async () => {
|
|
42
45
|
const s = {
|
|
43
46
|
method: "get",
|
|
44
|
-
url: `${
|
|
47
|
+
url: `${R}/catalogue/${I}/setting`,
|
|
45
48
|
headers: {
|
|
46
|
-
Authorization: `Bearer ${
|
|
49
|
+
Authorization: `Bearer ${U.value}`
|
|
47
50
|
}
|
|
48
51
|
};
|
|
49
52
|
try {
|
|
50
53
|
const t = await z.request(s);
|
|
51
|
-
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);
|
|
52
55
|
} catch (t) {
|
|
53
56
|
console.log("Full error:", t);
|
|
54
57
|
}
|
|
55
58
|
}, lt = async () => {
|
|
56
|
-
f.value === !0 ? ($.value = "week", g.value =
|
|
59
|
+
f.value === !0 ? ($.value = "week", g.value = A.value) : k.value === !0 && ($.value = "month", g.value = p.value);
|
|
57
60
|
const s = {
|
|
58
61
|
method: "post",
|
|
59
|
-
url: `${
|
|
62
|
+
url: `${R}/catalogue/${I}/setting`,
|
|
60
63
|
headers: {
|
|
61
|
-
Authorization: `Bearer ${
|
|
64
|
+
Authorization: `Bearer ${U.value}`,
|
|
62
65
|
"Content-Type": "application/json"
|
|
63
66
|
},
|
|
64
67
|
withCredentials: !0,
|
|
@@ -74,251 +77,251 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, gt = { key: 0 }
|
|
|
74
77
|
};
|
|
75
78
|
try {
|
|
76
79
|
const t = await z.request(s);
|
|
77
|
-
return console.log("Settings updated:", t.data),
|
|
80
|
+
return console.log("Settings updated:", t.data), D(), W.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
78
81
|
} catch (t) {
|
|
79
|
-
throw
|
|
82
|
+
throw D(), console.log("Error updating settings:", t), t;
|
|
80
83
|
}
|
|
81
84
|
};
|
|
82
|
-
|
|
83
|
-
const
|
|
85
|
+
et();
|
|
86
|
+
const O = async () => {
|
|
84
87
|
const s = {
|
|
85
88
|
method: "post",
|
|
86
|
-
url: `${
|
|
89
|
+
url: `${R}/catalogue/${I}/setting`,
|
|
87
90
|
headers: {
|
|
88
|
-
Authorization: `Bearer ${
|
|
91
|
+
Authorization: `Bearer ${U.value}`,
|
|
89
92
|
"Content-Type": "application/json"
|
|
90
93
|
},
|
|
91
94
|
withCredentials: !0,
|
|
92
95
|
data: JSON.stringify({
|
|
93
|
-
activeStatus:
|
|
96
|
+
activeStatus: a.value
|
|
94
97
|
})
|
|
95
98
|
};
|
|
96
99
|
try {
|
|
97
100
|
const t = await z.request(s);
|
|
98
|
-
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;
|
|
99
102
|
} catch (t) {
|
|
100
|
-
throw
|
|
103
|
+
throw D(), console.log("Error updating settings:", t), t;
|
|
101
104
|
}
|
|
102
|
-
},
|
|
103
|
-
|
|
105
|
+
}, nt = () => {
|
|
106
|
+
S.value = !0, P({
|
|
104
107
|
message: "Email added successfully.",
|
|
105
108
|
variant: "success"
|
|
106
109
|
});
|
|
107
|
-
}, nt = (s) => {
|
|
108
|
-
const t = b.value[s].trim();
|
|
109
|
-
j(t) ? (A.value = !1, delete I.value[s]) : I.value[s] = "*Invalid email format";
|
|
110
110
|
}, st = (s) => {
|
|
111
|
+
const t = b.value[s].trim();
|
|
112
|
+
J(t) ? (S.value = !1, delete q.value[s]) : q.value[s] = "*Invalid email format";
|
|
113
|
+
}, ot = (s) => {
|
|
111
114
|
b.value.splice(s, 1);
|
|
112
|
-
},
|
|
113
|
-
s === "up" && p.value < 28 ? (p.value > 8 && (
|
|
114
|
-
},
|
|
115
|
+
}, Y = (s) => {
|
|
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
|
+
}, it = () => {
|
|
115
118
|
if (m.value.mail.trim() === "") {
|
|
116
119
|
m.value.isValid = !1;
|
|
117
120
|
return;
|
|
118
121
|
}
|
|
119
|
-
|
|
122
|
+
J(m.value.mail) ? (b.value.push(m.value.mail), m.value.mail = "", m.value.isValid = !0) : m.value.isValid = !1;
|
|
120
123
|
}, ut = () => {
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
+
a.value ? (a.value = !1, V.value = "Activate", O()) : (a.value = !0, V.value = "Deactivate", O());
|
|
125
|
+
}, at = () => {
|
|
126
|
+
W.push({ name: "DataProviderInterface-UserCatalogues" });
|
|
124
127
|
};
|
|
125
|
-
return (s, t) => (
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
t[
|
|
130
|
-
t[
|
|
131
|
-
t[
|
|
132
|
-
t[
|
|
133
|
-
t[
|
|
134
|
-
|
|
135
|
-
t[
|
|
136
|
-
t[
|
|
137
|
-
|
|
138
|
-
t[
|
|
139
|
-
t[
|
|
140
|
-
t[
|
|
141
|
-
|
|
142
|
-
t[
|
|
143
|
-
t[
|
|
144
|
-
t[
|
|
145
|
-
t[
|
|
146
|
-
t[
|
|
147
|
-
t[
|
|
148
|
-
t[
|
|
149
|
-
|
|
150
|
-
weekly: ` +
|
|
151
|
-
t[
|
|
152
|
-
|
|
153
|
-
monthly: ` +
|
|
154
|
-
t[
|
|
155
|
-
t[
|
|
156
|
-
t[
|
|
157
|
-
|
|
158
|
-
unit: ` +
|
|
159
|
-
t[
|
|
160
|
-
|
|
161
|
-
value: ` +
|
|
162
|
-
t[
|
|
163
|
-
t[
|
|
164
|
-
t[
|
|
165
|
-
|
|
166
|
-
threshold: ` +
|
|
128
|
+
return (s, t) => (d(), v("div", bt, [
|
|
129
|
+
e("div", null, [
|
|
130
|
+
e("div", null, [
|
|
131
|
+
e("div", gt, [
|
|
132
|
+
t[13] || (t[13] = e("strong", null, " API object:", -1)),
|
|
133
|
+
t[14] || (t[14] = l()),
|
|
134
|
+
t[15] || (t[15] = e("br", null, null, -1)),
|
|
135
|
+
t[16] || (t[16] = e("br", null, null, -1)),
|
|
136
|
+
t[17] || (t[17] = l()),
|
|
137
|
+
e("textarea", null, " " + u(U.value) + " ", 1),
|
|
138
|
+
t[18] || (t[18] = l()),
|
|
139
|
+
t[19] || (t[19] = e("hr", null, null, -1)),
|
|
140
|
+
l(" " + u(C.value) + " ", 1),
|
|
141
|
+
t[20] || (t[20] = e("br", null, null, -1)),
|
|
142
|
+
t[21] || (t[21] = l(" --- ")),
|
|
143
|
+
t[22] || (t[22] = e("br", null, null, -1)),
|
|
144
|
+
l(" " + u(n(b)) + " ", 1),
|
|
145
|
+
t[23] || (t[23] = e("br", null, null, -1)),
|
|
146
|
+
t[24] || (t[24] = l("---")),
|
|
147
|
+
t[25] || (t[25] = e("br", null, null, -1)),
|
|
148
|
+
t[26] || (t[26] = l()),
|
|
149
|
+
t[27] || (t[27] = e("strong", null, "Fequency:", -1)),
|
|
150
|
+
t[28] || (t[28] = l()),
|
|
151
|
+
t[29] || (t[29] = e("br", null, null, -1)),
|
|
152
|
+
l(`
|
|
153
|
+
weekly: ` + u(n(f)), 1),
|
|
154
|
+
t[30] || (t[30] = e("br", null, null, -1)),
|
|
155
|
+
l(`
|
|
156
|
+
monthly: ` + u(n(k)) + " ", 1),
|
|
157
|
+
t[31] || (t[31] = e("br", null, null, -1)),
|
|
158
|
+
t[32] || (t[32] = l()),
|
|
159
|
+
t[33] || (t[33] = e("p", null, null, -1)),
|
|
160
|
+
l(`
|
|
161
|
+
unit: ` + u(n($)) + " ", 1),
|
|
162
|
+
t[34] || (t[34] = e("br", null, null, -1)),
|
|
163
|
+
l(`
|
|
164
|
+
value: ` + u(n(g)) + " ", 1),
|
|
165
|
+
t[35] || (t[35] = e("br", null, null, -1)),
|
|
166
|
+
t[36] || (t[36] = l("---")),
|
|
167
|
+
t[37] || (t[37] = e("br", null, null, -1)),
|
|
168
|
+
l(`
|
|
169
|
+
threshold: ` + u(n(w)), 1)
|
|
167
170
|
]),
|
|
168
|
-
t[
|
|
169
|
-
t[
|
|
170
|
-
t[
|
|
171
|
-
|
|
172
|
-
t[
|
|
171
|
+
t[44] || (t[44] = l()),
|
|
172
|
+
t[45] || (t[45] = e("h1", null, "MQA notification settings", -1)),
|
|
173
|
+
t[46] || (t[46] = l()),
|
|
174
|
+
e("p", null, [
|
|
175
|
+
t[38] || (t[38] = l(`Configuration for
|
|
173
176
|
|
|
174
177
|
`)),
|
|
175
|
-
|
|
178
|
+
e("strong", null, u(n(I)), 1)
|
|
176
179
|
]),
|
|
177
|
-
t[
|
|
178
|
-
|
|
179
|
-
t[
|
|
180
|
-
t[
|
|
181
|
-
t[
|
|
182
|
-
|
|
183
|
-
n(
|
|
184
|
-
t[
|
|
185
|
-
n(
|
|
180
|
+
t[47] || (t[47] = l()),
|
|
181
|
+
e("p", null, [
|
|
182
|
+
t[40] || (t[40] = l("For this Catalogue the ")),
|
|
183
|
+
t[41] || (t[41] = e("b", null, "MQA Rating Checks ", -1)),
|
|
184
|
+
t[42] || (t[42] = l("are currently ")),
|
|
185
|
+
e("b", null, [
|
|
186
|
+
n(a) ? M("", !0) : (d(), v("span", yt, "deactivated")),
|
|
187
|
+
t[39] || (t[39] = l()),
|
|
188
|
+
n(a) ? (d(), v("span", kt, "activated")) : M("", !0)
|
|
186
189
|
]),
|
|
187
|
-
t[
|
|
190
|
+
t[43] || (t[43] = l("."))
|
|
188
191
|
])
|
|
189
192
|
]),
|
|
190
|
-
t[
|
|
191
|
-
|
|
193
|
+
t[49] || (t[49] = l()),
|
|
194
|
+
e("button", {
|
|
192
195
|
type: "button",
|
|
193
|
-
class:
|
|
196
|
+
class: y({ "btn btn-primary mb-5": !n(a), "btn btn-secondary": n(a) }),
|
|
194
197
|
onClick: t[0] || (t[0] = (o) => ut())
|
|
195
|
-
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
t[
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
198
|
+
}, u(n(V)), 3),
|
|
199
|
+
t[50] || (t[50] = l()),
|
|
200
|
+
e("button", {
|
|
201
|
+
type: "button",
|
|
202
|
+
class: y({ "btn btn-action mb-5": !n(a), "btn btn-action": n(a) }),
|
|
203
|
+
onClick: t[1] || (t[1] = (o) => c())
|
|
204
|
+
}, t[48] || (t[48] = [
|
|
205
|
+
e("span", { class: "mr-1" }, " MQA report ", -1),
|
|
206
|
+
l(),
|
|
207
|
+
e("svg", {
|
|
208
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
209
|
+
width: "16",
|
|
210
|
+
height: "16",
|
|
211
|
+
fill: "currentColor",
|
|
212
|
+
class: "bi bi-box-arrow-up-right mb-1",
|
|
213
|
+
viewBox: "0 0 16 16"
|
|
209
214
|
}, [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
(
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
215
|
+
e("path", {
|
|
216
|
+
"fill-rule": "evenodd",
|
|
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
|
+
}),
|
|
219
|
+
l(),
|
|
220
|
+
e("path", {
|
|
221
|
+
"fill-rule": "evenodd",
|
|
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
|
+
})
|
|
224
|
+
], -1)
|
|
225
|
+
]), 2)
|
|
226
|
+
]),
|
|
227
|
+
t[90] || (t[90] = l()),
|
|
228
|
+
n(a) ? (d(), v("div", wt, [
|
|
229
|
+
e("div", Ct, [
|
|
230
|
+
t[56] || (t[56] = e("h3", null, "Notification threshold", -1)),
|
|
231
|
+
t[57] || (t[57] = l()),
|
|
232
|
+
t[58] || (t[58] = e("span", null, [
|
|
233
|
+
l(`The slider sets a threshold value. If your catalogue’s MQA rating decreases by a value higher than
|
|
234
|
+
this threshold, this is notified to the email recipients you define at the end of this page. You can
|
|
235
|
+
adjust the frequency of the rating checks below. `),
|
|
236
|
+
e("p"),
|
|
237
|
+
l(),
|
|
238
|
+
e("strong", null, "Example:"),
|
|
239
|
+
l(` You setup the MQA checking to be done weekly and the threshold to -10;
|
|
240
|
+
your current catalogue MQA rating is 200; if your rating drops to 180, on the next weekly rating
|
|
241
|
+
schedule the new value (180) is compared with the previous one (200) and, as the difference (-20) is
|
|
242
|
+
higher than the setup notification threshold (-10), the listed recipients are notified by
|
|
243
|
+
email.`)
|
|
244
|
+
], -1)),
|
|
245
|
+
t[59] || (t[59] = l()),
|
|
246
|
+
e("div", Mt, [
|
|
247
|
+
t[53] || (t[53] = e("div", { class: "d-flex justify-content-between" }, [
|
|
248
|
+
e("span", null, [
|
|
249
|
+
e("b", null, "-1")
|
|
244
250
|
]),
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
x(
|
|
252
|
-
type: "
|
|
253
|
-
"onUpdate:modelValue": t[
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
[N, n(m).mail]
|
|
251
|
+
l(),
|
|
252
|
+
e("span", null, [
|
|
253
|
+
e("b", null, "-400")
|
|
254
|
+
])
|
|
255
|
+
], -1)),
|
|
256
|
+
t[54] || (t[54] = l()),
|
|
257
|
+
x(e("input", {
|
|
258
|
+
type: "range",
|
|
259
|
+
"onUpdate:modelValue": t[2] || (t[2] = (o) => H(w) ? w.value = o : w = o),
|
|
260
|
+
min: "0",
|
|
261
|
+
max: "400"
|
|
262
|
+
}, null, 512), [
|
|
263
|
+
[N, n(w)]
|
|
259
264
|
]),
|
|
260
|
-
t[
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
])
|
|
267
|
-
t[60] || (t[60] = e()),
|
|
268
|
-
n(m).isValid ? M("", !0) : (r(), v("span", Dt, "*Invalid email format"))
|
|
265
|
+
t[55] || (t[55] = l()),
|
|
266
|
+
e("p", null, [
|
|
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
|
+
t[52] || (t[52] = l(" Points"))
|
|
270
|
+
])
|
|
271
|
+
])
|
|
269
272
|
]),
|
|
270
|
-
t[
|
|
271
|
-
|
|
272
|
-
t[
|
|
273
|
-
t[
|
|
274
|
-
t[
|
|
275
|
-
t[
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
273
|
+
t[87] || (t[87] = l()),
|
|
274
|
+
e("div", $t, [
|
|
275
|
+
t[69] || (t[69] = e("h3", null, "Frequency of Rating Checks", -1)),
|
|
276
|
+
t[70] || (t[70] = l()),
|
|
277
|
+
t[71] || (t[71] = e("span", null, "Configure the frequency of the MQA rating checks.", -1)),
|
|
278
|
+
t[72] || (t[72] = l()),
|
|
279
|
+
e("div", At, [
|
|
280
|
+
e("div", St, [
|
|
281
|
+
e("button", {
|
|
279
282
|
type: "button",
|
|
280
|
-
class:
|
|
281
|
-
onClick: t[
|
|
283
|
+
class: y(["btn btn-simple", { activeChoiceButton: n(f) }]),
|
|
284
|
+
onClick: t[3] || (t[3] = (o) => _())
|
|
282
285
|
}, "Weekly", 2),
|
|
283
|
-
t[
|
|
284
|
-
|
|
285
|
-
class:
|
|
286
|
+
t[60] || (t[60] = l()),
|
|
287
|
+
e("div", {
|
|
288
|
+
class: y(["weekdays", { blur: !n(f) }])
|
|
286
289
|
}, [
|
|
287
|
-
(
|
|
288
|
-
|
|
290
|
+
(d(!0), v(K, null, G(n(h), (o, r) => (d(), v("span", { key: r }, [
|
|
291
|
+
e("button", {
|
|
289
292
|
disabled: !n(f),
|
|
290
|
-
class:
|
|
291
|
-
onClick: (
|
|
292
|
-
},
|
|
293
|
+
class: y(["dayButtons", { activeItem: n(A) === r }]),
|
|
294
|
+
onClick: (B) => j(r)
|
|
295
|
+
}, u(o), 11, qt)
|
|
293
296
|
]))), 128))
|
|
294
297
|
], 2)
|
|
295
298
|
]),
|
|
296
|
-
t[
|
|
297
|
-
|
|
298
|
-
|
|
299
|
+
t[68] || (t[68] = l()),
|
|
300
|
+
e("div", Vt, [
|
|
301
|
+
e("button", {
|
|
299
302
|
type: "button",
|
|
300
|
-
class:
|
|
301
|
-
onClick: t[
|
|
303
|
+
class: y([{ activeChoiceButton: n(k) }, "btn btn-simple"]),
|
|
304
|
+
onClick: t[4] || (t[4] = (o) => tt())
|
|
302
305
|
}, "Monthly", 2),
|
|
303
|
-
t[
|
|
304
|
-
|
|
305
|
-
class:
|
|
306
|
+
t[67] || (t[67] = l()),
|
|
307
|
+
e("div", {
|
|
308
|
+
class: y(["d-flex daypicker my-3", { blur: !n(k) }])
|
|
306
309
|
}, [
|
|
307
|
-
x(
|
|
308
|
-
"onUpdate:modelValue": t[
|
|
309
|
-
onInput: t[
|
|
310
|
-
class:
|
|
311
|
-
disabled: !n(
|
|
312
|
-
}, null, 42,
|
|
310
|
+
x(e("input", {
|
|
311
|
+
"onUpdate:modelValue": t[5] || (t[5] = (o) => H(p) ? p.value = o : p = o),
|
|
312
|
+
onInput: t[6] || (t[6] = (o) => j(s.index)),
|
|
313
|
+
class: y({ dynamicWidth: n(Q) }),
|
|
314
|
+
disabled: !n(k)
|
|
315
|
+
}, null, 42, It), [
|
|
313
316
|
[N, n(p)]
|
|
314
317
|
]),
|
|
315
|
-
t[
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
onClick: t[
|
|
318
|
+
t[64] || (t[64] = l()),
|
|
319
|
+
e("div", Bt, [
|
|
320
|
+
e("button", {
|
|
321
|
+
onClick: t[7] || (t[7] = (o) => Y("up")),
|
|
319
322
|
class: "caretButtons ml-1"
|
|
320
|
-
}, t[
|
|
321
|
-
|
|
323
|
+
}, t[61] || (t[61] = [
|
|
324
|
+
e("svg", {
|
|
322
325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
323
326
|
width: "12",
|
|
324
327
|
height: "12",
|
|
@@ -326,15 +329,15 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, gt = { key: 0 }
|
|
|
326
329
|
class: "bi bi-caret-up-fill",
|
|
327
330
|
viewBox: "0 0 16 16"
|
|
328
331
|
}, [
|
|
329
|
-
|
|
332
|
+
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" })
|
|
330
333
|
], -1)
|
|
331
334
|
])),
|
|
332
|
-
t[
|
|
333
|
-
|
|
334
|
-
onClick: t[
|
|
335
|
+
t[63] || (t[63] = l()),
|
|
336
|
+
e("button", {
|
|
337
|
+
onClick: t[8] || (t[8] = (o) => Y()),
|
|
335
338
|
class: "caretButtons mr-1"
|
|
336
|
-
}, t[
|
|
337
|
-
|
|
339
|
+
}, t[62] || (t[62] = [
|
|
340
|
+
e("svg", {
|
|
338
341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
339
342
|
width: "12",
|
|
340
343
|
height: "12",
|
|
@@ -342,68 +345,107 @@ const ft = { class: "container mb-3" }, bt = { class: "debug" }, gt = { key: 0 }
|
|
|
342
345
|
class: "bi bi-caret-down-fill",
|
|
343
346
|
viewBox: "0 0 16 16"
|
|
344
347
|
}, [
|
|
345
|
-
|
|
348
|
+
e("path", { 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" })
|
|
346
349
|
], -1)
|
|
347
350
|
]))
|
|
348
351
|
]),
|
|
349
|
-
t[
|
|
350
|
-
t[
|
|
352
|
+
t[65] || (t[65] = l()),
|
|
353
|
+
t[66] || (t[66] = e("span", null, "day of the month", -1))
|
|
351
354
|
], 2)
|
|
352
355
|
])
|
|
353
356
|
])
|
|
354
357
|
]),
|
|
355
|
-
t[
|
|
356
|
-
|
|
357
|
-
t[
|
|
358
|
-
t[
|
|
359
|
-
t[
|
|
360
|
-
t[
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
])
|
|
358
|
+
t[88] || (t[88] = l()),
|
|
359
|
+
e("div", Ut, [
|
|
360
|
+
t[80] || (t[80] = e("h3", null, "Recipients Mail", -1)),
|
|
361
|
+
t[81] || (t[81] = l()),
|
|
362
|
+
t[82] || (t[82] = e("span", null, "Add and edit mail addresses for recieving the MQA report", -1)),
|
|
363
|
+
t[83] || (t[83] = l()),
|
|
364
|
+
n(b).length !== 0 ? (d(), v("table", {
|
|
365
|
+
key: 0,
|
|
366
|
+
class: "mt-4",
|
|
367
|
+
ref_key: "mailButtonWrap",
|
|
368
|
+
ref: Z
|
|
369
|
+
}, [
|
|
370
|
+
t[77] || (t[77] = e("tr", null, [
|
|
371
|
+
e("th", null, "Mail")
|
|
370
372
|
], -1)),
|
|
371
|
-
t[
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
373
|
+
t[78] || (t[78] = l()),
|
|
374
|
+
(d(!0), v(K, null, G(n(b), (o, r) => (d(), v("tr", {
|
|
375
|
+
class: "mailItems",
|
|
376
|
+
key: r
|
|
377
|
+
}, [
|
|
378
|
+
e("td", null, [
|
|
379
|
+
n(S) ? M("", !0) : (d(), v("span", Dt, u(o), 1)),
|
|
380
|
+
t[74] || (t[74] = l()),
|
|
381
|
+
n(S) ? x((d(), v("input", {
|
|
382
|
+
key: 1,
|
|
383
|
+
type: "text",
|
|
384
|
+
"onUpdate:modelValue": (B) => n(b)[r] = B,
|
|
385
|
+
class: y(["mail-input", { invalidNewMail: n(q)[r] }]),
|
|
386
|
+
onInput: (B) => n(q)[r] = ""
|
|
387
|
+
}, null, 42, xt)), [
|
|
388
|
+
[N, n(b)[r]]
|
|
389
|
+
]) : M("", !0),
|
|
390
|
+
t[75] || (t[75] = l()),
|
|
391
|
+
e("div", null, [
|
|
392
|
+
e("button", {
|
|
393
|
+
type: "button",
|
|
394
|
+
class: "btn btn-simple",
|
|
395
|
+
onClick: (B) => n(S) ? st(r) : nt()
|
|
396
|
+
}, u(n(S) ? "Save" : "Edit"), 9, Nt),
|
|
397
|
+
t[73] || (t[73] = l()),
|
|
398
|
+
e("button", {
|
|
399
|
+
type: "button",
|
|
400
|
+
class: "btn btn-simple",
|
|
401
|
+
onClick: (B) => ot(r)
|
|
402
|
+
}, "Delete", 8, Et)
|
|
403
|
+
])
|
|
404
|
+
]),
|
|
405
|
+
t[76] || (t[76] = l()),
|
|
406
|
+
n(q)[r] ? (d(), v("span", Wt, u(n(q)[r]), 1)) : M("", !0)
|
|
407
|
+
]))), 128))
|
|
408
|
+
], 512)) : M("", !0),
|
|
409
|
+
t[84] || (t[84] = l()),
|
|
410
|
+
e("div", Qt, [
|
|
411
|
+
x(e("input", {
|
|
412
|
+
type: "text",
|
|
413
|
+
"onUpdate:modelValue": t[9] || (t[9] = (o) => n(m).mail = o),
|
|
414
|
+
onInput: t[10] || (t[10] = (o) => n(m).isValid = !0),
|
|
415
|
+
class: y([{ invalidNewMail: !n(m).isValid }, "mail"]),
|
|
416
|
+
placeholder: "Enter email address"
|
|
417
|
+
}, null, 34), [
|
|
418
|
+
[N, n(m).mail]
|
|
379
419
|
]),
|
|
380
|
-
t[
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
t[
|
|
385
|
-
|
|
386
|
-
])
|
|
420
|
+
t[79] || (t[79] = l()),
|
|
421
|
+
e("button", {
|
|
422
|
+
type: "button",
|
|
423
|
+
class: "btn btn-simple mx-3",
|
|
424
|
+
onClick: t[11] || (t[11] = (o) => it())
|
|
425
|
+
}, "+ Add Mail")
|
|
426
|
+
]),
|
|
427
|
+
t[85] || (t[85] = l()),
|
|
428
|
+
n(m).isValid ? M("", !0) : (d(), v("span", Rt, "*Invalid email format"))
|
|
387
429
|
]),
|
|
388
|
-
t[
|
|
389
|
-
|
|
390
|
-
|
|
430
|
+
t[89] || (t[89] = l()),
|
|
431
|
+
e("div", Tt, [
|
|
432
|
+
e("button", {
|
|
391
433
|
type: "button",
|
|
392
434
|
class: "btn btn-primary",
|
|
393
435
|
onClick: lt
|
|
394
436
|
}, "Save"),
|
|
395
|
-
t[
|
|
396
|
-
|
|
437
|
+
t[86] || (t[86] = l()),
|
|
438
|
+
e("button", {
|
|
397
439
|
type: "button",
|
|
398
440
|
class: "btn btn-cancel",
|
|
399
|
-
onClick: t[
|
|
441
|
+
onClick: t[12] || (t[12] = (o) => at())
|
|
400
442
|
}, "Cancel")
|
|
401
443
|
])
|
|
402
444
|
])) : M("", !0)
|
|
403
445
|
]));
|
|
404
446
|
}
|
|
405
|
-
},
|
|
447
|
+
}, Ht = /* @__PURE__ */ ft(zt, [["__scopeId", "data-v-9d158fcf"]]);
|
|
406
448
|
export {
|
|
407
|
-
|
|
449
|
+
Ht as default
|
|
408
450
|
};
|
|
409
451
|
//# sourceMappingURL=CatalogueMQA.vue.mjs.map
|