@piveau/piveau-hub-ui-modules 4.6.84 → 4.6.86

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