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