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