@piveau/piveau-hub-ui-modules 4.6.83 → 4.6.85
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/PvDataInfoBox/PvDataInfoBox.vue.mjs +1 -2
- package/dist/PvDataInfoBox/PvDataInfoBox.vue.mjs.map +1 -1
- package/dist/catalogues/CatalogPageDatasetCard.vue.mjs +6 -7
- package/dist/catalogues/CatalogPageDatasetCard.vue.mjs.map +1 -1
- package/dist/catalogues/Catalogues.vue.mjs +2 -2
- package/dist/citation/DatasetCitationTable.vue.mjs +2 -2
- package/dist/citation/DatasetCitationTable.vue.mjs.map +1 -1
- package/dist/composables/useRuntimeEnv.d.ts +1 -1
- package/dist/configurations/config-schema/configSchema.d.ts +1 -1
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs +216 -226
- package/dist/data-provider-interface/CatalogueMQA.vue.mjs.map +1 -1
- package/dist/data-provider-interface/DPIMenu.vue.d.ts +3 -3
- package/dist/data-provider-interface/DataProviderInterface.vue.d.ts +7 -7
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs +110 -106
- package/dist/data-provider-interface/components/AutocompleteInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs +101 -82
- package/dist/data-provider-interface/components/ConditionalInput.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs +2 -2
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs +3 -4
- package/dist/data-provider-interface/components/DistributionStepper.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Dropup.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.d.ts +1 -1
- package/dist/data-provider-interface/components/FileUpload.vue.mjs +4 -4
- package/dist/data-provider-interface/components/FileUpload.vue.mjs.map +1 -1
- package/dist/data-provider-interface/components/Navigation.vue.d.ts +5 -5
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.mjs +2 -3
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/DistributionOverview.vue.d.ts +2 -2
- package/dist/data-provider-interface/views/DistributionOverview.vue.mjs +4 -4
- package/dist/data-provider-interface/views/DraftsPage.vue.d.ts +2 -2
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs +29 -34
- package/dist/data-provider-interface/views/DraftsPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/InputPage.vue.d.ts +7 -7
- package/dist/data-provider-interface/views/InputPage.vue.mjs +4 -6
- package/dist/data-provider-interface/views/InputPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs +6 -6
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs +2 -2
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.d.ts +1 -1
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs +2 -2
- package/dist/data-provider-interface/views/OverviewPage.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/PropertyChooser.vue.mjs +8 -8
- package/dist/data-provider-interface/views/PropertyChooser.vue.mjs.map +1 -1
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs +38 -38
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs +1 -2
- package/dist/datasetDetails/DatasetDetailsDataset.vue.mjs.map +1 -1
- package/dist/datasetDetails/DatasetDetailsQuality.vue.mjs +36 -36
- package/dist/datasetDetails/DatasetDetailsQuality.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionAdded.vue.mjs +2 -2
- package/dist/datasetDetails/distributions/DistributionAdded.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionDownloadAsModal.vue.mjs +9 -9
- package/dist/datasetDetails/distributions/DistributionDownloadAsModal.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/DistributionFormat.vue.d.ts +2 -2
- package/dist/datasetDetails/distributions/DistributionsHeader.vue.d.ts +4 -4
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.d.ts +8 -8
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.mjs +3 -4
- package/dist/datasetDetails/distributions/DownloadAllDistributions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/FadingDistributionOverlay.vue.mjs +5 -7
- package/dist/datasetDetails/distributions/FadingDistributionOverlay.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs +8 -9
- package/dist/datasetDetails/distributions/distributionActions/DistributionActions.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.d.ts +2 -2
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs +22 -25
- package/dist/datasetDetails/distributions/distributionActions/DistributionDownload.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionDropdownDownload.vue.d.ts +2 -2
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.d.ts +4 -4
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.mjs +5 -6
- package/dist/datasetDetails/distributions/distributionActions/DistributionOptionsDropdown.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionActions/DistributionPreview.vue.d.ts +4 -4
- package/dist/datasetDetails/distributions/distributionActions/DistributionVisualizeButton.vue.d.ts +4 -4
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs +41 -42
- package/dist/datasetDetails/distributions/distributionDetails/DistributionContent.vue.mjs.map +1 -1
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDescription.vue.d.ts +6 -6
- package/dist/datasetDetails/distributions/distributionDetails/DistributionDetails.vue.d.ts +16 -16
- package/dist/datasetDetails/distributions/distributionDetails/DistributionExpand.vue.d.ts +2 -2
- package/dist/datasetDetails/features/DatasetDetailsDataServices.vue.mjs +3 -3
- package/dist/datasetDetails/features/DatasetDetailsDataServices.vue.mjs.map +1 -1
- package/dist/datasetDetails/features/DatasetDetailsFeatures.vue.d.ts +1 -1
- package/dist/datasetDetails/features/DatasetDetailsPages.vue.mjs +2 -2
- package/dist/datasetDetails/features/DatasetDetailsVisualisations.vue.mjs +2 -2
- package/dist/datasetDetails/header/DatasetDetailsHeaderCatalogue.vue.d.ts +1 -1
- package/dist/datasetDetails/header/DatasetDetailsHeaderTitle.vue.d.ts +2 -2
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.d.ts +2 -2
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationLinks.vue.mjs +2 -2
- package/dist/datasetDetails/navigation/DatasetDetailsNavigationPages.vue.d.ts +7 -1
- package/dist/datasetDetails/properties/DatasetDetailsProperties.vue.d.ts +200 -1
- package/dist/datasets/DatasetsFilters.vue.mjs +2 -2
- package/dist/datasets/DatasetsTopControls.vue.mjs +12 -14
- package/dist/datasets/DatasetsTopControls.vue.mjs.map +1 -1
- package/dist/datasets/datasetsFacets/DatasetsMapFacet.vue.mjs +4 -4
- package/dist/embed/DatasetEmbedModal.vue.mjs +2 -2
- package/dist/embed/DatasetEmbedModal.vue.mjs.map +1 -1
- package/dist/embed/EmbedDataset.vue.mjs +3 -3
- package/dist/embed/EmbedDataset.vue.mjs.map +1 -1
- package/dist/embed/EmbedDatasetSnippet.vue.mjs +3 -3
- package/dist/embed/EmbedDatasetSnippet.vue.mjs.map +1 -1
- package/dist/form/Repeatable.vue2.mjs +1 -2
- package/dist/form/Repeatable.vue2.mjs.map +1 -1
- package/dist/modal/AppConfirmationDialog.vue.mjs +1 -1
- package/dist/modal/AppConfirmationDialog.vue.mjs.map +1 -1
- package/dist/pages/user/UserImprint.vue.mjs +1 -1
- package/dist/pages/user/UserImprint.vue.mjs.map +1 -1
- package/dist/pages/user/UserPrivacyPolicy.vue.mjs +1 -1
- package/dist/pages/user/UserPrivacyPolicy.vue.mjs.map +1 -1
- package/dist/piveau-hub-ui-modules.css +1 -1
- package/dist/services/datasetService.d.ts +1 -1
- package/dist/widgets/AppLink.vue.mjs +2 -2
- package/dist/widgets/AppLink.vue.mjs.map +1 -1
- package/dist/widgets/Pagination.vue.d.ts +1 -1
- package/dist/widgets/ResourceAccessPopup.vue.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,210 +1,208 @@
|
|
|
1
|
-
import { computed as
|
|
1
|
+
import { computed as L, ref as u, getCurrentInstance as rt, openBlock as d, createElementBlock as v, createElementVNode as e, createTextVNode as l, toDisplayString as a, unref as s, createCommentVNode as q, normalizeClass as y, withDirectives as N, isRef as G, vModelText as W, Fragment as X, renderList as Y } from "vue";
|
|
2
2
|
import { useRouter as dt, useRoute as vt } from "vue-router";
|
|
3
3
|
import { useStore as pt, mapActions as mt } from "vuex";
|
|
4
|
-
import
|
|
4
|
+
import R from "axios";
|
|
5
5
|
import "./CatalogueMQA.vue2.mjs";
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import gt from "../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
+
const ft = { class: "container mb-3" }, bt = { class: "debug" }, yt = { key: 0 }, kt = { key: 1 }, $t = { class: "mr-1" }, wt = { key: 0 }, qt = { class: "mqaWrapper" }, Ct = { class: "w-50 mt-4" }, Mt = { class: "mqaWrapper" }, St = { class: "d-flex mt-3" }, Vt = { class: "mr-3 my-3" }, Bt = ["disabled", "onClick"], It = { class: "my-3" }, Ut = ["disabled"], Dt = { class: "caretWrap" }, At = { class: "mqaWrapper" }, Nt = { key: 0 }, Wt = ["onUpdate:modelValue", "onInput"], Et = ["onClick"], zt = ["onClick"], Pt = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "errormsg"
|
|
10
|
-
},
|
|
10
|
+
}, Tt = { class: "d-flex mt-3" }, Lt = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "errormsg"
|
|
13
|
-
},
|
|
13
|
+
}, Rt = { class: "actionWrapper" }, jt = {
|
|
14
14
|
__name: "CatalogueMQA",
|
|
15
|
-
setup(
|
|
16
|
-
const E = pt(),
|
|
17
|
-
|
|
18
|
-
const
|
|
15
|
+
setup(Ft) {
|
|
16
|
+
const E = pt(), z = dt();
|
|
17
|
+
L(() => E.getters["auth/getUserDrafts"]);
|
|
18
|
+
const Z = L(() => E.getters["auth/getUserData"]), D = L(() => Z.value.rtpToken);
|
|
19
19
|
mt("auth", {
|
|
20
20
|
updateUserData: "updateUserData"
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
E.dispatch("snackbar/showSnackbar",
|
|
24
|
-
},
|
|
25
|
-
|
|
22
|
+
const j = (n) => {
|
|
23
|
+
E.dispatch("snackbar/showSnackbar", n);
|
|
24
|
+
}, A = () => {
|
|
25
|
+
j({
|
|
26
26
|
message: "Saved Successfully",
|
|
27
27
|
variant: "success"
|
|
28
28
|
});
|
|
29
29
|
}, F = vt();
|
|
30
|
-
let k =
|
|
31
|
-
const I = F.params.id,
|
|
32
|
-
|
|
30
|
+
let k = u(!1), g = u(!1), x = u(null), B = u("Activate"), P = u(!1), i = u(!1), f = u(), h = ["Mo", "Tue", "We", "Th", "Fr", "Sa", "Su"], p = u(1), S = u(!1), $ = u(1), C = u(""), b = u(""), M = u(null);
|
|
31
|
+
const I = F.params.id, Q = rt(), T = Q.appContext.app.config.globalProperties.$env.api.notificationBaseUrl;
|
|
32
|
+
Q.appContext.app.config.globalProperties.$env.api.apiKey;
|
|
33
33
|
const c = () => {
|
|
34
|
-
const
|
|
34
|
+
const n = "https://data.europa.eu", t = F.query.locale || "en", o = `${n}/mqa/catalogues/${I}?locale=${t}`;
|
|
35
35
|
window.open(o, "_blank");
|
|
36
|
-
},
|
|
37
|
-
|
|
36
|
+
}, J = (n) => {
|
|
37
|
+
g.value && (M.value = n, b.value = M);
|
|
38
38
|
}, _ = () => {
|
|
39
|
-
|
|
39
|
+
g.value = !0, k.value = !1, M.value = b.value;
|
|
40
40
|
}, tt = () => {
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
let m =
|
|
41
|
+
g.value = !1, k.value = !0, M.value = b.value;
|
|
42
|
+
}, w = u({}), O = (n) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n);
|
|
43
|
+
let m = u({ mail: "", isValid: !0 }), V = u({});
|
|
44
44
|
const et = async () => {
|
|
45
|
-
const
|
|
45
|
+
const n = {
|
|
46
46
|
method: "get",
|
|
47
|
-
url: `${
|
|
47
|
+
url: `${T}/catalogue/${I}/setting`,
|
|
48
48
|
headers: {
|
|
49
|
-
Authorization: `Bearer ${
|
|
49
|
+
Authorization: `Bearer ${D.value}`
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
try {
|
|
53
|
-
const t = await
|
|
54
|
-
|
|
53
|
+
const t = await R.request(n);
|
|
54
|
+
w.value = t.data, w.value.activeStatus === !0 && (i.value = !0, B.value = "Deactivate"), w.value.activeStatus === !1 && (i.value = !1, B.value = "Activate"), f.value = w.value.receiverEmailList, C.value = w.value.frequency.unit, b.value = w.value.frequency.value, $.value = w.value.threshold, C.value === "week" ? (g.value = !0, k.value = !1, M.value = b.value) : C.value === "month" && (g.value = !1, k.value = !0, p.value = b.value), console.log("Response:", t);
|
|
55
55
|
} catch (t) {
|
|
56
56
|
console.log("Full error:", t);
|
|
57
57
|
}
|
|
58
58
|
}, lt = async () => {
|
|
59
|
-
|
|
60
|
-
const
|
|
59
|
+
g.value === !0 ? (C.value = "week", b.value = M.value) : k.value === !0 && (C.value = "month", b.value = p.value);
|
|
60
|
+
const n = {
|
|
61
61
|
method: "post",
|
|
62
|
-
url: `${
|
|
62
|
+
url: `${T}/catalogue/${I}/setting`,
|
|
63
63
|
headers: {
|
|
64
|
-
Authorization: `Bearer ${
|
|
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: f.value,
|
|
70
|
+
threshold: Number($.value),
|
|
71
71
|
frequency: {
|
|
72
|
-
unit:
|
|
73
|
-
value:
|
|
72
|
+
unit: C.value,
|
|
73
|
+
value: b.value
|
|
74
74
|
},
|
|
75
75
|
activeStatus: !0
|
|
76
76
|
})
|
|
77
77
|
};
|
|
78
78
|
try {
|
|
79
|
-
const t = await
|
|
80
|
-
return console.log("Settings updated:", t.data),
|
|
79
|
+
const t = await R.request(n);
|
|
80
|
+
return console.log("Settings updated:", t.data), A(), z.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
81
81
|
} catch (t) {
|
|
82
|
-
throw
|
|
82
|
+
throw A(), console.log("Error updating settings:", t), t;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
et();
|
|
86
|
-
const
|
|
87
|
-
const
|
|
86
|
+
const H = async () => {
|
|
87
|
+
const n = {
|
|
88
88
|
method: "post",
|
|
89
|
-
url: `${
|
|
89
|
+
url: `${T}/catalogue/${I}/setting`,
|
|
90
90
|
headers: {
|
|
91
|
-
Authorization: `Bearer ${
|
|
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: i.value
|
|
97
97
|
})
|
|
98
98
|
};
|
|
99
99
|
try {
|
|
100
|
-
const t = await
|
|
101
|
-
return console.log("Settings updated:", t.data),
|
|
100
|
+
const t = await R.request(n);
|
|
101
|
+
return console.log("Settings updated:", t.data), A(), i.value || z.push({ name: "DataProviderInterface-UserCatalogues" }), t.data;
|
|
102
102
|
} catch (t) {
|
|
103
|
-
throw
|
|
103
|
+
throw A(), console.log("Error updating settings:", t), t;
|
|
104
104
|
}
|
|
105
|
-
},
|
|
106
|
-
S.value = !0,
|
|
105
|
+
}, st = () => {
|
|
106
|
+
S.value = !0, j({
|
|
107
107
|
message: "Email added successfully.",
|
|
108
108
|
variant: "success"
|
|
109
109
|
});
|
|
110
|
-
},
|
|
111
|
-
const t =
|
|
112
|
-
|
|
113
|
-
},
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
},
|
|
110
|
+
}, nt = (n) => {
|
|
111
|
+
const t = f.value[n].trim();
|
|
112
|
+
O(t) ? (S.value = !1, delete V.value[n]) : V.value[n] = "*Invalid email format";
|
|
113
|
+
}, at = (n) => {
|
|
114
|
+
f.value.splice(n, 1);
|
|
115
|
+
}, K = (n) => {
|
|
116
|
+
n === "up" && p.value < 28 ? (p.value > 8 && (P.value = !0), p.value++) : p.value > 1 && (p.value < 11 && (P.value = !1), p.value--);
|
|
117
|
+
}, ot = () => {
|
|
118
118
|
if (m.value.mail.trim() === "") {
|
|
119
119
|
m.value.isValid = !1;
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
|
-
|
|
122
|
+
O(m.value.mail) ? (f.value.push(m.value.mail), m.value.mail = "", m.value.isValid = !0) : m.value.isValid = !1;
|
|
123
123
|
}, ut = () => {
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
|
|
124
|
+
i.value ? (i.value = !1, B.value = "Activate", H()) : (i.value = !0, B.value = "Deactivate", H());
|
|
125
|
+
}, it = () => {
|
|
126
|
+
z.push({ name: "DataProviderInterface-UserCatalogues" });
|
|
127
127
|
};
|
|
128
|
-
return (
|
|
128
|
+
return (n, t) => (d(), v("div", ft, [
|
|
129
129
|
e("div", null, [
|
|
130
130
|
e("div", null, [
|
|
131
|
-
e("div",
|
|
131
|
+
e("div", bt, [
|
|
132
132
|
t[13] || (t[13] = e("strong", null, " API object:", -1)),
|
|
133
133
|
t[14] || (t[14] = l()),
|
|
134
134
|
t[15] || (t[15] = e("br", null, null, -1)),
|
|
135
135
|
t[16] || (t[16] = e("br", null, null, -1)),
|
|
136
136
|
t[17] || (t[17] = l()),
|
|
137
|
-
e("textarea", null, " " +
|
|
137
|
+
e("textarea", null, " " + a(D.value) + " ", 1),
|
|
138
138
|
t[18] || (t[18] = l()),
|
|
139
139
|
t[19] || (t[19] = e("hr", null, null, -1)),
|
|
140
|
-
l(" " +
|
|
140
|
+
l(" " + a(w.value) + " ", 1),
|
|
141
141
|
t[20] || (t[20] = e("br", null, null, -1)),
|
|
142
|
-
t[21] || (t[21] = l(" --- ")),
|
|
142
|
+
t[21] || (t[21] = l(" --- ", -1)),
|
|
143
143
|
t[22] || (t[22] = e("br", null, null, -1)),
|
|
144
|
-
l(" " +
|
|
144
|
+
l(" " + a(s(f)) + " ", 1),
|
|
145
145
|
t[23] || (t[23] = e("br", null, null, -1)),
|
|
146
|
-
t[24] || (t[24] = l("---")),
|
|
146
|
+
t[24] || (t[24] = l("---", -1)),
|
|
147
147
|
t[25] || (t[25] = e("br", null, null, -1)),
|
|
148
148
|
t[26] || (t[26] = l()),
|
|
149
149
|
t[27] || (t[27] = e("strong", null, "Fequency:", -1)),
|
|
150
150
|
t[28] || (t[28] = l()),
|
|
151
151
|
t[29] || (t[29] = e("br", null, null, -1)),
|
|
152
152
|
l(`
|
|
153
|
-
weekly: ` +
|
|
153
|
+
weekly: ` + a(s(g)), 1),
|
|
154
154
|
t[30] || (t[30] = e("br", null, null, -1)),
|
|
155
155
|
l(`
|
|
156
|
-
monthly: ` +
|
|
156
|
+
monthly: ` + a(s(k)) + " ", 1),
|
|
157
157
|
t[31] || (t[31] = e("br", null, null, -1)),
|
|
158
158
|
t[32] || (t[32] = l()),
|
|
159
159
|
t[33] || (t[33] = e("p", null, null, -1)),
|
|
160
160
|
l(`
|
|
161
|
-
unit: ` +
|
|
161
|
+
unit: ` + a(s(C)) + " ", 1),
|
|
162
162
|
t[34] || (t[34] = e("br", null, null, -1)),
|
|
163
163
|
l(`
|
|
164
|
-
value: ` +
|
|
164
|
+
value: ` + a(s(b)) + " ", 1),
|
|
165
165
|
t[35] || (t[35] = e("br", null, null, -1)),
|
|
166
|
-
t[36] || (t[36] = l("---")),
|
|
166
|
+
t[36] || (t[36] = l("---", -1)),
|
|
167
167
|
t[37] || (t[37] = e("br", null, null, -1)),
|
|
168
168
|
l(`
|
|
169
|
-
threshold: ` +
|
|
169
|
+
threshold: ` + a(s($)), 1)
|
|
170
170
|
]),
|
|
171
|
-
t[
|
|
172
|
-
|
|
173
|
-
t[
|
|
171
|
+
t[40] || (t[40] = l()),
|
|
172
|
+
e("h1", null, a(n.$t("message.dpi.catalogue.mqa.settings")), 1),
|
|
173
|
+
t[41] || (t[41] = l()),
|
|
174
|
+
t[42] || (t[42] = e("h1", null, "MQA notification settings", -1)),
|
|
175
|
+
t[43] || (t[43] = l()),
|
|
174
176
|
e("p", null, [
|
|
175
|
-
t
|
|
176
|
-
|
|
177
|
-
`)),
|
|
178
|
-
e("strong", null, u(n(I)), 1)
|
|
177
|
+
l(a(n.$t("message.dpi.catalogue.mqa.configurationfor")) + " ", 1),
|
|
178
|
+
e("strong", null, a(s(I)), 1)
|
|
179
179
|
]),
|
|
180
|
-
t[
|
|
180
|
+
t[44] || (t[44] = l()),
|
|
181
181
|
e("p", null, [
|
|
182
|
-
|
|
183
|
-
t[41] || (t[41] = e("b", null, "MQA Rating Checks ", -1)),
|
|
184
|
-
t[42] || (t[42] = l("are currently ")),
|
|
182
|
+
l(a(n.$t("message.dpi.catalogue.mqa.ratingchecks")) + " ", 1),
|
|
185
183
|
e("b", null, [
|
|
186
|
-
|
|
187
|
-
t[
|
|
188
|
-
|
|
184
|
+
s(i) ? q("", !0) : (d(), v("span", yt, a(n.$t("message.dpi.catalogue.mqa.deactivated")), 1)),
|
|
185
|
+
t[38] || (t[38] = l()),
|
|
186
|
+
s(i) ? (d(), v("span", kt, a(n.$t("message.dpi.catalogue.mqa.activated")), 1)) : q("", !0)
|
|
189
187
|
]),
|
|
190
|
-
t[
|
|
188
|
+
t[39] || (t[39] = l(".", -1))
|
|
191
189
|
])
|
|
192
190
|
]),
|
|
193
|
-
t[
|
|
191
|
+
t[47] || (t[47] = l()),
|
|
194
192
|
e("button", {
|
|
195
193
|
type: "button",
|
|
196
|
-
class: y({ "btn btn-primary mb-5": !
|
|
194
|
+
class: y({ "btn btn-primary mb-5": !s(i), "btn btn-secondary": s(i) }),
|
|
197
195
|
onClick: t[0] || (t[0] = (o) => ut())
|
|
198
|
-
},
|
|
199
|
-
t[
|
|
196
|
+
}, a(s(B)), 3),
|
|
197
|
+
t[48] || (t[48] = l()),
|
|
200
198
|
e("button", {
|
|
201
199
|
type: "button",
|
|
202
|
-
class: y({ "btn btn-action mb-5": !
|
|
200
|
+
class: y({ "btn btn-action mb-5": !s(i), "btn btn-action": s(i) }),
|
|
203
201
|
onClick: t[1] || (t[1] = (o) => c())
|
|
204
|
-
},
|
|
205
|
-
e("span",
|
|
206
|
-
l(),
|
|
207
|
-
e("svg", {
|
|
202
|
+
}, [
|
|
203
|
+
e("span", $t, a(n.$t("message.dpi.catalogue.mqa.mqareport")), 1),
|
|
204
|
+
t[45] || (t[45] = l()),
|
|
205
|
+
t[46] || (t[46] = e("svg", {
|
|
208
206
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
207
|
width: "16",
|
|
210
208
|
height: "16",
|
|
@@ -221,106 +219,96 @@ const bt = { class: "container mb-3" }, gt = { class: "debug" }, yt = { key: 0 }
|
|
|
221
219
|
"fill-rule": "evenodd",
|
|
222
220
|
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
221
|
})
|
|
224
|
-
], -1)
|
|
225
|
-
]
|
|
222
|
+
], -1))
|
|
223
|
+
], 2)
|
|
226
224
|
]),
|
|
227
|
-
t[
|
|
228
|
-
|
|
229
|
-
e("div",
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
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" }, [
|
|
225
|
+
t[83] || (t[83] = l()),
|
|
226
|
+
s(i) ? (d(), v("div", wt, [
|
|
227
|
+
e("div", qt, [
|
|
228
|
+
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.notificationthreshold")), 1),
|
|
229
|
+
l(" " + a(n.$t("message.dpi.catalogue.mqa.notificationthreshold.description")) + " ", 1),
|
|
230
|
+
e("div", Ct, [
|
|
231
|
+
t[51] || (t[51] = e("div", { class: "d-flex justify-content-between" }, [
|
|
248
232
|
e("span", null, [
|
|
249
233
|
e("b", null, "-1")
|
|
250
234
|
]),
|
|
251
235
|
l(),
|
|
252
236
|
e("span", null, [
|
|
253
|
-
e("b", null, "-
|
|
237
|
+
e("b", null, "-405")
|
|
254
238
|
])
|
|
255
239
|
], -1)),
|
|
256
|
-
t[
|
|
257
|
-
|
|
240
|
+
t[52] || (t[52] = l()),
|
|
241
|
+
N(e("input", {
|
|
258
242
|
type: "range",
|
|
259
|
-
"onUpdate:modelValue": t[2] || (t[2] = (o) =>
|
|
260
|
-
min: "
|
|
261
|
-
max: "
|
|
243
|
+
"onUpdate:modelValue": t[2] || (t[2] = (o) => G($) ? $.value = o : $ = o),
|
|
244
|
+
min: "1",
|
|
245
|
+
max: "405"
|
|
262
246
|
}, null, 512), [
|
|
263
|
-
[
|
|
247
|
+
[W, s($)]
|
|
264
248
|
]),
|
|
265
|
-
t[
|
|
249
|
+
t[53] || (t[53] = l()),
|
|
266
250
|
e("p", null, [
|
|
267
|
-
t[
|
|
268
|
-
e("b", null, "-" +
|
|
269
|
-
t[
|
|
270
|
-
])
|
|
251
|
+
t[49] || (t[49] = l("Notify on a decrease greater than ", -1)),
|
|
252
|
+
e("b", null, "-" + a(s($)), 1),
|
|
253
|
+
t[50] || (t[50] = l(" Points", -1))
|
|
254
|
+
]),
|
|
255
|
+
t[54] || (t[54] = l()),
|
|
256
|
+
e("p", null, a(n.$t("message.dpi.catalogue.mqa.notificationthreshold.notify")), 1),
|
|
257
|
+
t[55] || (t[55] = l()),
|
|
258
|
+
e("b", null, "-" + a(s($)), 1)
|
|
271
259
|
])
|
|
272
260
|
]),
|
|
273
|
-
t[
|
|
274
|
-
e("div",
|
|
275
|
-
|
|
276
|
-
t[
|
|
277
|
-
|
|
278
|
-
t[
|
|
279
|
-
e("div",
|
|
280
|
-
e("div",
|
|
261
|
+
t[80] || (t[80] = l()),
|
|
262
|
+
e("div", Mt, [
|
|
263
|
+
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.frequencyratingchecks")), 1),
|
|
264
|
+
t[66] || (t[66] = l()),
|
|
265
|
+
e("span", null, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency")), 1),
|
|
266
|
+
t[67] || (t[67] = l()),
|
|
267
|
+
e("div", St, [
|
|
268
|
+
e("div", Vt, [
|
|
281
269
|
e("button", {
|
|
282
270
|
type: "button",
|
|
283
|
-
class: y(["btn btn-simple", { activeChoiceButton:
|
|
271
|
+
class: y(["btn btn-simple", { activeChoiceButton: s(g) }]),
|
|
284
272
|
onClick: t[3] || (t[3] = (o) => _())
|
|
285
|
-
}, "
|
|
286
|
-
t[
|
|
273
|
+
}, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency.weekly")), 3),
|
|
274
|
+
t[56] || (t[56] = l()),
|
|
287
275
|
e("div", {
|
|
288
|
-
class: y(["weekdays", { blur: !
|
|
276
|
+
class: y(["weekdays", { blur: !s(g) }])
|
|
289
277
|
}, [
|
|
290
|
-
(d(!0), v(
|
|
278
|
+
(d(!0), v(X, null, Y(s(h), (o, r) => (d(), v("span", { key: r }, [
|
|
291
279
|
e("button", {
|
|
292
|
-
disabled: !
|
|
293
|
-
class: y(["dayButtons", { activeItem:
|
|
294
|
-
onClick: (
|
|
295
|
-
},
|
|
280
|
+
disabled: !s(g),
|
|
281
|
+
class: y(["dayButtons", { activeItem: s(M) === r }]),
|
|
282
|
+
onClick: (U) => J(r)
|
|
283
|
+
}, a(o), 11, Bt)
|
|
296
284
|
]))), 128))
|
|
297
285
|
], 2)
|
|
298
286
|
]),
|
|
299
|
-
t[
|
|
300
|
-
e("div",
|
|
287
|
+
t[65] || (t[65] = l()),
|
|
288
|
+
e("div", It, [
|
|
301
289
|
e("button", {
|
|
302
290
|
type: "button",
|
|
303
|
-
class: y([{ activeChoiceButton:
|
|
291
|
+
class: y([{ activeChoiceButton: s(k) }, "btn btn-simple"]),
|
|
304
292
|
onClick: t[4] || (t[4] = (o) => tt())
|
|
305
|
-
}, "
|
|
306
|
-
t[
|
|
293
|
+
}, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency.monthly")), 3),
|
|
294
|
+
t[64] || (t[64] = l()),
|
|
307
295
|
e("div", {
|
|
308
|
-
class: y(["d-flex daypicker my-3", { blur: !
|
|
296
|
+
class: y(["d-flex daypicker my-3", { blur: !s(k) }])
|
|
309
297
|
}, [
|
|
310
|
-
|
|
311
|
-
"onUpdate:modelValue": t[5] || (t[5] = (o) =>
|
|
312
|
-
onInput: t[6] || (t[6] = (o) =>
|
|
313
|
-
class: y({ dynamicWidth:
|
|
314
|
-
disabled: !
|
|
315
|
-
}, null, 42,
|
|
316
|
-
[
|
|
298
|
+
N(e("input", {
|
|
299
|
+
"onUpdate:modelValue": t[5] || (t[5] = (o) => G(p) ? p.value = o : p = o),
|
|
300
|
+
onInput: t[6] || (t[6] = (o) => J(n.index)),
|
|
301
|
+
class: y({ dynamicWidth: s(P) }),
|
|
302
|
+
disabled: !s(k)
|
|
303
|
+
}, null, 42, Ut), [
|
|
304
|
+
[W, s(p)]
|
|
317
305
|
]),
|
|
318
|
-
t[
|
|
319
|
-
e("div",
|
|
306
|
+
t[60] || (t[60] = l()),
|
|
307
|
+
e("div", Dt, [
|
|
320
308
|
e("button", {
|
|
321
|
-
onClick: t[7] || (t[7] = (o) =>
|
|
309
|
+
onClick: t[7] || (t[7] = (o) => K("up")),
|
|
322
310
|
class: "caretButtons ml-1"
|
|
323
|
-
}, t[
|
|
311
|
+
}, [...t[57] || (t[57] = [
|
|
324
312
|
e("svg", {
|
|
325
313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
326
314
|
width: "12",
|
|
@@ -331,12 +319,12 @@ const bt = { class: "container mb-3" }, gt = { class: "debug" }, yt = { key: 0 }
|
|
|
331
319
|
}, [
|
|
332
320
|
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" })
|
|
333
321
|
], -1)
|
|
334
|
-
])),
|
|
335
|
-
t[
|
|
322
|
+
])]),
|
|
323
|
+
t[59] || (t[59] = l()),
|
|
336
324
|
e("button", {
|
|
337
|
-
onClick: t[8] || (t[8] = (o) =>
|
|
325
|
+
onClick: t[8] || (t[8] = (o) => K()),
|
|
338
326
|
class: "caretButtons mr-1"
|
|
339
|
-
}, t[
|
|
327
|
+
}, [...t[58] || (t[58] = [
|
|
340
328
|
e("svg", {
|
|
341
329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
342
330
|
width: "12",
|
|
@@ -347,105 +335,107 @@ const bt = { class: "container mb-3" }, gt = { class: "debug" }, yt = { key: 0 }
|
|
|
347
335
|
}, [
|
|
348
336
|
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" })
|
|
349
337
|
], -1)
|
|
350
|
-
]))
|
|
338
|
+
])])
|
|
351
339
|
]),
|
|
352
|
-
t[
|
|
353
|
-
t[
|
|
340
|
+
t[61] || (t[61] = l()),
|
|
341
|
+
t[62] || (t[62] = e("span", null, "day of the month", -1)),
|
|
342
|
+
t[63] || (t[63] = l()),
|
|
343
|
+
e("span", null, a(n.$t("message.dpi.catalogue.mqa.configurethefrequency.dayofmonth")), 1)
|
|
354
344
|
], 2)
|
|
355
345
|
])
|
|
356
346
|
])
|
|
357
347
|
]),
|
|
358
|
-
t[
|
|
359
|
-
e("div",
|
|
360
|
-
|
|
361
|
-
t[
|
|
362
|
-
|
|
363
|
-
t[
|
|
364
|
-
|
|
348
|
+
t[81] || (t[81] = l()),
|
|
349
|
+
e("div", At, [
|
|
350
|
+
e("h3", null, a(n.$t("message.dpi.catalogue.mqa.recipientsmail")), 1),
|
|
351
|
+
t[75] || (t[75] = l()),
|
|
352
|
+
e("span", null, a(n.$t("message.dpi.catalogue.mqa.mailaddressesforrecieving")), 1),
|
|
353
|
+
t[76] || (t[76] = l()),
|
|
354
|
+
s(f).length !== 0 ? (d(), v("table", {
|
|
365
355
|
key: 0,
|
|
366
356
|
class: "mt-4",
|
|
367
357
|
ref_key: "mailButtonWrap",
|
|
368
|
-
ref:
|
|
358
|
+
ref: x
|
|
369
359
|
}, [
|
|
370
|
-
t[
|
|
360
|
+
t[72] || (t[72] = e("tr", null, [
|
|
371
361
|
e("th", null, "Mail")
|
|
372
362
|
], -1)),
|
|
373
|
-
t[
|
|
374
|
-
(d(!0), v(
|
|
363
|
+
t[73] || (t[73] = l()),
|
|
364
|
+
(d(!0), v(X, null, Y(s(f), (o, r) => (d(), v("tr", {
|
|
375
365
|
class: "mailItems",
|
|
376
366
|
key: r
|
|
377
367
|
}, [
|
|
378
368
|
e("td", null, [
|
|
379
|
-
|
|
380
|
-
t[
|
|
381
|
-
|
|
369
|
+
s(S) ? q("", !0) : (d(), v("span", Nt, a(o), 1)),
|
|
370
|
+
t[69] || (t[69] = l()),
|
|
371
|
+
s(S) ? N((d(), v("input", {
|
|
382
372
|
key: 1,
|
|
383
373
|
type: "text",
|
|
384
|
-
"onUpdate:modelValue": (
|
|
385
|
-
class: y(["mail-input", { invalidNewMail:
|
|
386
|
-
onInput: (
|
|
387
|
-
}, null, 42,
|
|
388
|
-
[
|
|
389
|
-
]) :
|
|
390
|
-
t[
|
|
374
|
+
"onUpdate:modelValue": (U) => s(f)[r] = U,
|
|
375
|
+
class: y(["mail-input", { invalidNewMail: s(V)[r] }]),
|
|
376
|
+
onInput: (U) => s(V)[r] = ""
|
|
377
|
+
}, null, 42, Wt)), [
|
|
378
|
+
[W, s(f)[r]]
|
|
379
|
+
]) : q("", !0),
|
|
380
|
+
t[70] || (t[70] = l()),
|
|
391
381
|
e("div", null, [
|
|
392
382
|
e("button", {
|
|
393
383
|
type: "button",
|
|
394
384
|
class: "btn btn-simple",
|
|
395
|
-
onClick: (
|
|
396
|
-
},
|
|
397
|
-
t[
|
|
385
|
+
onClick: (U) => s(S) ? nt(r) : st()
|
|
386
|
+
}, a(s(S) ? "Save" : "Edit"), 9, Et),
|
|
387
|
+
t[68] || (t[68] = l()),
|
|
398
388
|
e("button", {
|
|
399
389
|
type: "button",
|
|
400
390
|
class: "btn btn-simple",
|
|
401
|
-
onClick: (
|
|
402
|
-
}, "Delete", 8,
|
|
391
|
+
onClick: (U) => at(r)
|
|
392
|
+
}, "Delete", 8, zt)
|
|
403
393
|
])
|
|
404
394
|
]),
|
|
405
|
-
t[
|
|
406
|
-
|
|
395
|
+
t[71] || (t[71] = l()),
|
|
396
|
+
s(V)[r] ? (d(), v("span", Pt, a(s(V)[r]), 1)) : q("", !0)
|
|
407
397
|
]))), 128))
|
|
408
|
-
], 512)) :
|
|
409
|
-
t[
|
|
410
|
-
e("div",
|
|
411
|
-
|
|
398
|
+
], 512)) : q("", !0),
|
|
399
|
+
t[77] || (t[77] = l()),
|
|
400
|
+
e("div", Tt, [
|
|
401
|
+
N(e("input", {
|
|
412
402
|
type: "text",
|
|
413
|
-
"onUpdate:modelValue": t[9] || (t[9] = (o) =>
|
|
414
|
-
onInput: t[10] || (t[10] = (o) =>
|
|
415
|
-
class: y([{ invalidNewMail: !
|
|
416
|
-
placeholder: "
|
|
403
|
+
"onUpdate:modelValue": t[9] || (t[9] = (o) => s(m).mail = o),
|
|
404
|
+
onInput: t[10] || (t[10] = (o) => s(m).isValid = !0),
|
|
405
|
+
class: y([{ invalidNewMail: !s(m).isValid }, "mail"]),
|
|
406
|
+
placeholder: "{{ $t('message.dpi.catalogue.mqa.enteremail') }}"
|
|
417
407
|
}, null, 34), [
|
|
418
|
-
[
|
|
408
|
+
[W, s(m).mail]
|
|
419
409
|
]),
|
|
420
|
-
t[
|
|
410
|
+
t[74] || (t[74] = l()),
|
|
421
411
|
e("button", {
|
|
422
412
|
type: "button",
|
|
423
413
|
class: "btn btn-simple mx-3",
|
|
424
|
-
onClick: t[11] || (t[11] = (o) =>
|
|
425
|
-
}, "
|
|
414
|
+
onClick: t[11] || (t[11] = (o) => ot())
|
|
415
|
+
}, a(n.$t("message.dpi.catalogue.mqa.addmail")), 1)
|
|
426
416
|
]),
|
|
427
|
-
t[
|
|
428
|
-
|
|
417
|
+
t[78] || (t[78] = l()),
|
|
418
|
+
s(m).isValid ? q("", !0) : (d(), v("span", Lt, "*Invalid email format"))
|
|
429
419
|
]),
|
|
430
|
-
t[
|
|
431
|
-
e("div",
|
|
420
|
+
t[82] || (t[82] = l()),
|
|
421
|
+
e("div", Rt, [
|
|
432
422
|
e("button", {
|
|
433
423
|
type: "button",
|
|
434
424
|
class: "btn btn-primary",
|
|
435
425
|
onClick: lt
|
|
436
|
-
}, "
|
|
437
|
-
t[
|
|
426
|
+
}, a(n.$t("message.dpi.catalogue.mqa.save")), 1),
|
|
427
|
+
t[79] || (t[79] = l()),
|
|
438
428
|
e("button", {
|
|
439
429
|
type: "button",
|
|
440
430
|
class: "btn btn-cancel",
|
|
441
|
-
onClick: t[12] || (t[12] = (o) =>
|
|
442
|
-
}, "
|
|
431
|
+
onClick: t[12] || (t[12] = (o) => it())
|
|
432
|
+
}, a(n.$t("message.dpi.catalogue.mqa.cancel")), 1)
|
|
443
433
|
])
|
|
444
|
-
])) :
|
|
434
|
+
])) : q("", !0)
|
|
445
435
|
]));
|
|
446
436
|
}
|
|
447
|
-
},
|
|
437
|
+
}, Xt = /* @__PURE__ */ gt(jt, [["__scopeId", "data-v-9f0a5a2f"]]);
|
|
448
438
|
export {
|
|
449
|
-
|
|
439
|
+
Xt as default
|
|
450
440
|
};
|
|
451
441
|
//# sourceMappingURL=CatalogueMQA.vue.mjs.map
|