@piveau/piveau-hub-ui-modules 4.6.32 → 4.6.38

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.
@@ -1,6 +1,7 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {
2
2
  scrollToTop: () => void;
3
3
  }, {
4
+ showRatingService: any;
4
5
  visible: boolean;
5
6
  modal: {
6
7
  show: boolean;
@@ -123,6 +124,7 @@ declare const _default: import('vue').DefineComponent<{}, {
123
124
  }[];
124
125
  isLocatedOnAuthorizedDatasetPage(): any;
125
126
  isLocatedOnAuthorizedCatalogPage(): boolean;
127
+ isOperator(): any;
126
128
  getUserData: import('vuex').Computed;
127
129
  getTitle: import('vuex').Computed;
128
130
  getDescription: import('vuex').Computed;
@@ -140,7 +142,7 @@ declare const _default: import('vue').DefineComponent<{}, {
140
142
  catalog: any;
141
143
  type?: string | undefined;
142
144
  }): Promise<void>;
143
- handleMarkAsDraft({ id, catalog, title, description, }: {
145
+ handleMarkAsDraft({ id, catalog, title, description }: {
144
146
  id: any;
145
147
  catalog: any;
146
148
  title: any;
@@ -4,17 +4,19 @@ import "lodash-es";
4
4
  import { mapGetters as $, mapActions as k } from "vuex";
5
5
  import T from "./components/Dropup.vue.mjs";
6
6
  import { useWindowScroll as U } from "../external/@vueuse/core/index";
7
- import { resolveComponent as f, openBlock as u, createElementBlock as g, createElementVNode as n, toDisplayString as c, createTextVNode as d, Fragment as y, renderList as b, createBlock as C, resolveDynamicComponent as _, normalizeClass as q, withCtx as D, renderSlot as O, createVNode as v, createCommentVNode as P } from "vue";
7
+ import { resolveComponent as f, openBlock as u, createElementBlock as h, createElementVNode as l, toDisplayString as c, createTextVNode as d, Fragment as y, renderList as b, createBlock as v, resolveDynamicComponent as q, normalizeClass as _, withCtx as D, renderSlot as O, createVNode as C, createCommentVNode as P } from "vue";
8
8
  import "./DPIMenu.vue2.mjs";
9
- import z from "../_virtual/_plugin-vue_export-helper.mjs";
10
- const L = {
9
+ import S from "../_virtual/_plugin-vue_export-helper.mjs";
10
+ const z = {
11
11
  name: "DPI-menu",
12
12
  components: {
13
13
  Dropup: T
14
14
  },
15
15
  props: {},
16
16
  data() {
17
+ var e;
17
18
  return {
19
+ showRatingService: (e = this.$env.content.datasetDetails) == null ? void 0 : e.showRatingService,
18
20
  visible: !0,
19
21
  modal: {
20
22
  show: !1,
@@ -29,8 +31,8 @@ const L = {
29
31
  setup() {
30
32
  return {
31
33
  scrollToTop: () => {
32
- let { x: e, y: o } = U({ behavior: "smooth" });
33
- o.value = 0;
34
+ let { x: t, y: r } = U({ behavior: "smooth" });
35
+ r.value = 0;
34
36
  }
35
37
  };
36
38
  },
@@ -42,9 +44,7 @@ const L = {
42
44
  "getTitle",
43
45
  "getDescription"
44
46
  ]),
45
- ...$("auth", [
46
- "getUserData"
47
- ]),
47
+ ...$("auth", ["getUserData"]),
48
48
  menuGroups() {
49
49
  return [
50
50
  {
@@ -66,9 +66,17 @@ const L = {
66
66
  handler: () => {
67
67
  this.modal = {
68
68
  ...this.modal,
69
- message: this.$t("message.dataupload.menu.datasetDeletion.message"),
70
- confirm: this.$t("message.dataupload.menu.datasetDeletion.confirm"),
71
- confirmHandler: () => this.handleDelete({ id: this.getID, property: "datasets", catalog: this.getCatalog.id })
69
+ message: this.$t(
70
+ "message.dataupload.menu.datasetDeletion.message"
71
+ ),
72
+ confirm: this.$t(
73
+ "message.dataupload.menu.datasetDeletion.confirm"
74
+ ),
75
+ confirmHandler: () => this.handleDelete({
76
+ id: this.getID,
77
+ property: "datasets",
78
+ catalog: this.getCatalog.id
79
+ })
72
80
  }, m("#modal").modal({ show: !0 });
73
81
  }
74
82
  },
@@ -97,8 +105,12 @@ const L = {
97
105
  handler: () => {
98
106
  this.modal = {
99
107
  ...this.modal,
100
- message: this.$t("message.dataupload.menu.markAsDraft.message"),
101
- confirm: this.$t("message.dataupload.menu.markAsDraft.confirm"),
108
+ message: this.$t(
109
+ "message.dataupload.menu.markAsDraft.message"
110
+ ),
111
+ confirm: this.$t(
112
+ "message.dataupload.menu.markAsDraft.confirm"
113
+ ),
102
114
  confirmHandler: () => this.handleMarkAsDraft({
103
115
  id: this.getID,
104
116
  catalog: this.getCatalog.id,
@@ -115,9 +127,17 @@ const L = {
115
127
  handler: () => {
116
128
  this.modal = {
117
129
  ...this.modal,
118
- message: this.$t("message.dataupload.menu.registerADoi.message"),
119
- confirm: this.$t("message.dataupload.menu.registerADoi.confirm"),
120
- confirmHandler: () => this.handleRegisterDoi({ id: this.getID, catalog: this.getCatalog.id, type: this.$env.content.dataProviderInterface.doiRegistrationService.persistentIdentifierType || "mock" })
130
+ message: this.$t(
131
+ "message.dataupload.menu.registerADoi.message"
132
+ ),
133
+ confirm: this.$t(
134
+ "message.dataupload.menu.registerADoi.confirm"
135
+ ),
136
+ confirmHandler: () => this.handleRegisterDoi({
137
+ id: this.getID,
138
+ catalog: this.getCatalog.id,
139
+ type: this.$env.content.dataProviderInterface.doiRegistrationService.persistentIdentifierType || "mock"
140
+ })
121
141
  }, m("#modal").modal({ show: !0 });
122
142
  }
123
143
  }
@@ -142,7 +162,11 @@ const L = {
142
162
  ...this.modal,
143
163
  message: "Are you sure you want to delete this catalogue? This can not be reverted!",
144
164
  confirm: "Delete catlogue (irreversible)",
145
- confirmHandler: () => this.handleDelete({ id: this.$route.params.ctlg_id, property: "catalogues", catalog: this.$route.params.ctlg_id })
165
+ confirmHandler: () => this.handleDelete({
166
+ id: this.$route.params.ctlg_id,
167
+ property: "catalogues",
168
+ catalog: this.$route.params.ctlg_id
169
+ })
146
170
  }, m("#modal").modal({ show: !0 });
147
171
  }
148
172
  },
@@ -168,76 +192,97 @@ const L = {
168
192
  ];
169
193
  },
170
194
  menuItems() {
171
- return [
195
+ let e = [
172
196
  {
173
197
  name: this.$t("message.dataupload.menu.draftDatasets"),
174
- to: { name: "DataProviderInterface-Draft", query: { locale: this.$route.query.locale } }
198
+ to: {
199
+ name: "DataProviderInterface-Draft",
200
+ query: { locale: this.$route.query.locale }
201
+ }
175
202
  },
176
203
  {
177
204
  name: this.$t("message.dataupload.menu.myCatalogues"),
178
- to: { name: "DataProviderInterface-UserCatalogues", query: { locale: this.$route.query.locale } }
205
+ to: {
206
+ name: "DataProviderInterface-UserCatalogues",
207
+ query: { locale: this.$route.query.locale }
208
+ }
179
209
  },
180
210
  {
181
211
  name: this.$t("message.dataupload.menu.userProfile"),
182
- to: { name: "DataProviderInterface-UserProfile", query: { locale: this.$route.query.locale } }
212
+ to: {
213
+ name: "DataProviderInterface-UserProfile",
214
+ query: { locale: this.$route.query.locale }
215
+ }
183
216
  }
184
217
  ];
218
+ return this.showRatingService && this.isOperator && e.push({
219
+ name: "Comment Moderation",
220
+ to: {
221
+ name: "DataProviderInterface-CommentsModeration",
222
+ query: { locale: this.$route.query.locale }
223
+ }
224
+ }), e;
185
225
  },
186
226
  isLocatedOnAuthorizedDatasetPage() {
187
227
  if (this.getLoading)
188
228
  return !1;
189
- const t = this.$route.name === "DatasetDetailsDataset";
190
- if (!t)
229
+ const e = this.$route.name === "DatasetDetailsDataset";
230
+ if (!e)
191
231
  return !1;
192
- const e = t && this.$route.params.ds_id, o = this.getUserData && this.getUserData.permissions, s = this.getCatalog && this.getCatalog.id;
193
- return o.find((r) => r.rsname === s) && t && e === this.getID;
232
+ const t = e && this.$route.params.ds_id, r = this.getUserData && this.getUserData.permissions, s = this.getCatalog && this.getCatalog.id;
233
+ return r.find(
234
+ (o) => o.rsname === s
235
+ ) && e && t === this.getID;
194
236
  },
195
237
  isLocatedOnAuthorizedCatalogPage() {
196
238
  if (this.getLoading)
197
239
  return !1;
198
- const t = this.$route.name === "CatalogueDetails";
199
- return t ? (t && this.$route.params.ctlg_id, t) : !1;
240
+ const e = this.$route.name === "CatalogueDetails";
241
+ return e ? (e && this.$route.params.ctlg_id, e) : !1;
242
+ },
243
+ isOperator() {
244
+ return this.getUserData.roles.includes("operator");
200
245
  }
201
246
  },
202
247
  methods: {
203
- ...k("auth", [
204
- "updateUserData"
205
- ]),
206
- ...k("snackbar", [
207
- "showSnackbar"
208
- ]),
248
+ ...k("auth", ["updateUserData"]),
249
+ ...k("snackbar", ["showSnackbar"]),
209
250
  setupKeycloakWatcher() {
210
- this.$keycloak && this.$keycloak.authenticated && (this.$watch("$keycloak.token", async (t) => {
211
- if (!t)
212
- return;
213
- let e = this.$keycloak.rtpToken;
214
- if (!e) {
215
- const o = this.$keycloak.getRtpToken;
216
- o && (e = await o({ autoRefresh: !0 }));
217
- }
218
- this.updateUserData({
219
- authToken: t,
220
- rtpToken: e,
221
- hubUrl: this.$env.api.hubUrl
222
- });
223
- }, { immediate: !0 }), this.$watch("$keycloak.rtpToken", (t) => {
224
- t && this.updateUserData({
251
+ this.$keycloak && this.$keycloak.authenticated && (this.$watch(
252
+ "$keycloak.token",
253
+ async (e) => {
254
+ if (!e)
255
+ return;
256
+ let t = this.$keycloak.rtpToken;
257
+ if (!t) {
258
+ const r = this.$keycloak.getRtpToken;
259
+ r && (t = await r({ autoRefresh: !0 }));
260
+ }
261
+ this.updateUserData({
262
+ authToken: e,
263
+ rtpToken: t,
264
+ hubUrl: this.$env.api.hubUrl
265
+ });
266
+ },
267
+ { immediate: !0 }
268
+ ), this.$watch("$keycloak.rtpToken", (e) => {
269
+ e && this.updateUserData({
225
270
  authToken: this.$keycloak.token,
226
- rtpToken: t,
271
+ rtpToken: e,
227
272
  hubUrl: this.$env.api.hubUrl
228
273
  });
229
274
  }));
230
275
  },
231
- async handleConfirm(t, e, { successMessage: o, errorMessage: s }) {
276
+ async handleConfirm(e, t, { successMessage: r, errorMessage: s }) {
232
277
  this.modal.loading = !0;
233
278
  try {
234
- this.$Progress.start(), await new Promise((a) => setTimeout(a, 250)), this.$Progress.set(25), await this.$store.dispatch(t, e), this.showSnackbar({
235
- message: o,
279
+ this.$Progress.start(), await new Promise((a) => setTimeout(a, 250)), this.$Progress.set(25), await this.$store.dispatch(e, t), this.showSnackbar({
280
+ message: r,
236
281
  variant: "success"
237
282
  }), await new Promise((a) => setTimeout(a, 250)), this.$Progress.finish();
238
283
  } catch (a) {
239
284
  this.$Progress.fail(), console.error(a);
240
- const r = a.response && a.response.data && a.response.data.message;
285
+ const o = a.response && a.response.data && a.response.data.message;
241
286
  this.modal = {
242
287
  ...this.modal,
243
288
  // Need to translate this
@@ -247,64 +292,73 @@ const L = {
247
292
  }, console.log(a.response.data);
248
293
  let i = typeof s == "string" && s;
249
294
  i = typeof s == "function" && s(a), i = typeof s == "object" && s.prefix + " - " + a.response.data, console.log(s);
250
- const h = i || r || a.message || "An error occurred";
295
+ const g = i || o || a.message || "An error occurred";
251
296
  this.showSnackbar({
252
- message: h,
297
+ message: g,
253
298
  variant: "error"
254
299
  });
255
300
  } finally {
256
301
  this.modal.loading = !1, m("#modal").modal("hide");
257
302
  }
258
303
  },
259
- async handleRegisterDoi({ id: t, catalog: e, type: o = "eu-ra-doi" }) {
304
+ async handleRegisterDoi({ id: e, catalog: t, type: r = "eu-ra-doi" }) {
260
305
  await this.handleConfirm(
261
306
  "auth/createPersistentIdentifier",
262
- { id: t, catalog: e, type: o },
307
+ { id: e, catalog: t, type: r },
263
308
  {
264
309
  successMessage: this.$te("message.snackbar.doiRegistration.success") ? this.$t("message.snackbar.doiRegistration.success") : "Successfully registered DOI",
265
- errorMessage: { prefix: this.$te("message.snackbar.doiRegistration.error") ? this.$t("message.snackbar.doiRegistration.error") : "DOI registration failed" }
310
+ errorMessage: {
311
+ prefix: this.$te("message.snackbar.doiRegistration.error") ? this.$t("message.snackbar.doiRegistration.error") : "DOI registration failed"
312
+ }
266
313
  }
267
314
  );
268
315
  },
269
- async handleMarkAsDraft({
270
- id: t,
271
- catalog: e,
272
- title: o,
273
- description: s
274
- }) {
275
- await this.handleConfirm("auth/putDatasetToDraft", {
276
- id: t,
277
- catalog: e,
278
- title: o,
279
- description: s
280
- }, {
281
- successMessage: this.$te("message.snackbar.markAsDraft.success") ? this.$t("message.snackbar.markAsDraft.success") : "Dataset successfully marked as draft",
282
- errorMessage: { prefix: this.$te("message.snackbar.markAsDraft.error") ? this.$t("message.snackbar.markAsDraft.error") : "Failed to mark dataset as draft" }
283
- }), this.$router.push({ name: "DataProviderInterface-Draft", query: { locale: this.$route.query.locale } }).catch(() => {
316
+ async handleMarkAsDraft({ id: e, catalog: t, title: r, description: s }) {
317
+ await this.handleConfirm(
318
+ "auth/putDatasetToDraft",
319
+ {
320
+ id: e,
321
+ catalog: t,
322
+ title: r,
323
+ description: s
324
+ },
325
+ {
326
+ successMessage: this.$te("message.snackbar.markAsDraft.success") ? this.$t("message.snackbar.markAsDraft.success") : "Dataset successfully marked as draft",
327
+ errorMessage: {
328
+ prefix: this.$te("message.snackbar.markAsDraft.error") ? this.$t("message.snackbar.markAsDraft.error") : "Failed to mark dataset as draft"
329
+ }
330
+ }
331
+ ), this.$router.push({
332
+ name: "DataProviderInterface-Draft",
333
+ query: { locale: this.$route.query.locale }
334
+ }).catch(() => {
284
335
  });
285
336
  },
286
- async handleDelete({ id: t, property: e, catalog: o }) {
337
+ async handleDelete({ id: e, property: t, catalog: r }) {
287
338
  var s, a;
288
339
  this.modal.loading = !0, this.$Progress.start();
289
340
  try {
290
- let r;
291
- e === "datasets" ? r = `${this.$env.api.hubUrl}datasets/${t}?useNormalizedId=true&catalogue=${o}` : e === "catalogues" && (r = `${this.$env.api.hubUrl}catalogues/${t}`), await A.delete(r, {
341
+ let o;
342
+ t === "datasets" ? o = `${this.$env.api.hubUrl}datasets/${e}?useNormalizedId=true&catalogue=${r}` : t === "catalogues" && (o = `${this.$env.api.hubUrl}catalogues/${e}`), await A.delete(o, {
292
343
  headers: {
293
344
  "Content-Type": "text/turtle",
294
345
  Authorization: `Bearer ${this.getUserData.rtpToken}`
295
346
  }
296
347
  });
297
348
  let i;
298
- e === "datasets" ? i = this.$te("message.snackbar.deleteDataset.success") ? this.$t("message.snackbar.deleteDataset.success") : "Dataset successfully deleted" : e === "catalogues" && (i = this.$te("message.snackbar.deleteCatalog.success") ? this.$t("message.snackbar.deleteCatalog.success") : "Catalog successfully deleted"), this.showSnackbar({
349
+ t === "datasets" ? i = this.$te("message.snackbar.deleteDataset.success") ? this.$t("message.snackbar.deleteDataset.success") : "Dataset successfully deleted" : t === "catalogues" && (i = this.$te("message.snackbar.deleteCatalog.success") ? this.$t("message.snackbar.deleteCatalog.success") : "Catalog successfully deleted"), this.showSnackbar({
299
350
  message: i,
300
351
  variant: "success"
301
- }), this.$Progress.finish(), this.$router.push({ name: "Datasets", query: { locale: this.$route.query.locale, refresh: !0 } }).catch(() => {
352
+ }), this.$Progress.finish(), this.$router.push({
353
+ name: "Datasets",
354
+ query: { locale: this.$route.query.locale, refresh: !0 }
355
+ }).catch(() => {
302
356
  });
303
- } catch (r) {
357
+ } catch (o) {
304
358
  this.$Progress.fail();
305
359
  let i;
306
- e === "datasets" ? i = this.$te("message.snackbar.deleteDataset.error") ? this.$t("message.snackbar.deleteDataset.error") : "Failed to delete dataset" : e === "catalogues" && (i = this.$te("message.snackbar.deleteCatalog.error") ? this.$t("message.snackbar.deleteCatalog.error") : "Failed to delete catalog"), this.showSnackbar({
307
- message: `${i}${(s = r.response) != null && s.data ? ` — ${(a = r.response) == null ? void 0 : a.data}` : r.message}`,
360
+ t === "datasets" ? i = this.$te("message.snackbar.deleteDataset.error") ? this.$t("message.snackbar.deleteDataset.error") : "Failed to delete dataset" : t === "catalogues" && (i = this.$te("message.snackbar.deleteCatalog.error") ? this.$t("message.snackbar.deleteCatalog.error") : "Failed to delete catalog"), this.showSnackbar({
361
+ message: `${i}${(s = o.response) != null && s.data ? ` — ${(a = o.response) == null ? void 0 : a.data}` : o.message}`,
308
362
  variant: "error"
309
363
  });
310
364
  } finally {
@@ -315,51 +369,51 @@ const L = {
315
369
  created() {
316
370
  this.setupKeycloakWatcher();
317
371
  }
318
- }, S = {
372
+ }, L = {
319
373
  id: "wrapper",
320
374
  "data-cy": "dpi-menu"
321
- }, M = { key: 0 }, N = { class: "text-white" }, R = { style: { "margin-top": "1%" } }, E = { class: "btn-group dropup" }, H = {
375
+ }, M = { key: 0 }, R = { class: "text-white" }, N = { style: { "margin-top": "1%" } }, E = { class: "btn-group dropup" }, H = {
322
376
  key: 0,
323
377
  class: "logoutWrap"
324
378
  }, x = { class: "text-white" }, F = {
325
379
  type: "button",
326
380
  class: "btn btn-default logout"
327
381
  };
328
- function B(t, e, o, s, a, r) {
329
- const i = f("dropup"), h = f("router-link"), I = f("app-confirmation-dialog");
330
- return u(), g("div", S, [
331
- a.visible ? (u(), g("nav", M, [
332
- n("div", null, [
333
- n("h4", N, c(t.$t("message.dataupload.menu.dpi")), 1)
382
+ function B(e, t, r, s, a, o) {
383
+ const i = f("dropup"), g = f("router-link"), w = f("app-confirmation-dialog");
384
+ return u(), h("div", L, [
385
+ a.visible ? (u(), h("nav", M, [
386
+ l("div", null, [
387
+ l("h4", R, c(e.$t("message.dataupload.menu.dpi")), 1)
334
388
  ]),
335
- e[5] || (e[5] = d()),
336
- n("div", R, [
337
- (u(!0), g(y, null, b(r.menuGroups, (l, p) => (u(), C(i, {
389
+ t[5] || (t[5] = d()),
390
+ l("div", N, [
391
+ (u(!0), h(y, null, b(o.menuGroups, (n, p) => (u(), v(i, {
338
392
  key: `Group${p}`,
339
- groupName: l.group,
340
- groupItems: l.items,
341
- show: t.$env.content.dataProviderInterface.buttons[l.group],
342
- isOperator: t.getUserData.roles.includes("operator"),
343
- isCatalog: l.group === "Catalogue"
393
+ groupName: n.group,
394
+ groupItems: n.items,
395
+ show: e.$env.content.dataProviderInterface.buttons[n.group],
396
+ isOperator: e.getUserData.roles.includes("operator"),
397
+ isCatalog: n.group === "Catalogue"
344
398
  }, null, 8, ["groupName", "groupItems", "show", "isOperator", "isCatalog"]))), 128)),
345
- e[1] || (e[1] = d()),
346
- n("ul", null, [
347
- n("div", E, [
348
- (u(!0), g(y, null, b(r.menuItems, (l, p) => (u(), g("li", {
399
+ t[1] || (t[1] = d()),
400
+ l("ul", null, [
401
+ l("div", E, [
402
+ (u(!0), h(y, null, b(o.menuItems, (n, p) => (u(), h("li", {
349
403
  key: `Menu${p}`
350
404
  }, [
351
- n("button", {
405
+ l("button", {
352
406
  type: "button",
353
407
  class: "btn btn-default",
354
- onClick: e[0] || (e[0] = (w) => s.scrollToTop())
408
+ onClick: t[0] || (t[0] = (I) => s.scrollToTop())
355
409
  }, [
356
- (u(), C(_(l.handler ? "button" : "router-link"), {
357
- class: q({ disabled: l.disabled }),
358
- to: l.to,
359
- onClick: (w) => l.handler ? l.handler() : null
410
+ (u(), v(q(n.handler ? "button" : "router-link"), {
411
+ class: _({ disabled: n.disabled }),
412
+ to: n.to,
413
+ onClick: (I) => n.handler ? n.handler() : null
360
414
  }, {
361
415
  default: D(() => [
362
- d(c(l.handler) + " " + c(l.name), 1)
416
+ d(c(n.handler) + " " + c(n.name), 1)
363
417
  ]),
364
418
  _: 2
365
419
  }, 1032, ["class", "to", "onClick"]))
@@ -368,17 +422,17 @@ function B(t, e, o, s, a, r) {
368
422
  ])
369
423
  ])
370
424
  ]),
371
- e[6] || (e[6] = d()),
372
- t.getUserData.userName ? (u(), g("div", H, [
373
- O(t.$slots, "right", { getUserData: t.getUserData }, () => [
374
- n("small", x, c(t.$t("message.dataupload.menu.loggedInAs")) + " " + c(t.getUserData.userName), 1),
375
- e[2] || (e[2] = d()),
376
- e[3] || (e[3] = n("br", null, null, -1)),
377
- e[4] || (e[4] = d()),
378
- n("button", F, [
379
- v(h, { to: { name: "Logout" } }, {
425
+ t[6] || (t[6] = d()),
426
+ e.getUserData.userName ? (u(), h("div", H, [
427
+ O(e.$slots, "right", { getUserData: e.getUserData }, () => [
428
+ l("small", x, c(e.$t("message.dataupload.menu.loggedInAs")) + " " + c(e.getUserData.userName), 1),
429
+ t[2] || (t[2] = d()),
430
+ t[3] || (t[3] = l("br", null, null, -1)),
431
+ t[4] || (t[4] = d()),
432
+ l("button", F, [
433
+ C(g, { to: { name: "Logout" } }, {
380
434
  default: D(() => [
381
- d(c(t.$t("message.dataupload.menu.logout")), 1)
435
+ d(c(e.$t("message.dataupload.menu.logout")), 1)
382
436
  ]),
383
437
  _: 1
384
438
  })
@@ -386,8 +440,8 @@ function B(t, e, o, s, a, r) {
386
440
  ], !0)
387
441
  ])) : P("", !0)
388
442
  ])) : P("", !0),
389
- e[7] || (e[7] = d()),
390
- v(I, {
443
+ t[7] || (t[7] = d()),
444
+ C(w, {
391
445
  id: "DPIMenuModal",
392
446
  loading: a.modal.loading,
393
447
  confirm: a.modal.confirm,
@@ -400,7 +454,7 @@ function B(t, e, o, s, a, r) {
400
454
  }, 8, ["loading", "confirm", "onConfirm"])
401
455
  ]);
402
456
  }
403
- const Z = /* @__PURE__ */ z(L, [["render", B], ["__scopeId", "data-v-44f69d1d"]]);
457
+ const Z = /* @__PURE__ */ S(z, [["render", B], ["__scopeId", "data-v-e044a30d"]]);
404
458
  export {
405
459
  Z as default
406
460
  };