@das-fed/web 6.4.0-test.3.2 → 6.4.0-test.31

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 (70) hide show
  1. package/esm-map.json +2 -1
  2. package/index-4epbYelM.js +10 -0
  3. package/index-CfzUKyoR.js +13908 -0
  4. package/index-CfzUKyoR.js.gz +0 -0
  5. package/index-CiU3u89k.js +82 -0
  6. package/index-CiU3u89k.js.gz +0 -0
  7. package/index.js +19 -18
  8. package/package.json +8 -6
  9. package/packages/i18n/index.js +172 -37
  10. package/packages/i18n/index.js.gz +0 -0
  11. package/packages/layout/index.js +272 -278
  12. package/packages/layout/index.js.gz +0 -0
  13. package/packages/layout/style.css +2 -2
  14. package/packages/layout/style.css.gz +0 -0
  15. package/packages/main-app-framework/index-0UsnVlD3.js +82 -0
  16. package/packages/main-app-framework/index-0UsnVlD3.js.gz +0 -0
  17. package/packages/main-app-framework/index-CAH4_2fv.js +12420 -0
  18. package/packages/main-app-framework/index-CAH4_2fv.js.gz +0 -0
  19. package/packages/main-app-framework/index-Mfd6No2F.js +10 -0
  20. package/packages/main-app-framework/index.js +3 -2
  21. package/packages/main-app-framework/style.css +1 -1
  22. package/packages/main-app-framework/style.css.gz +0 -0
  23. package/packages/micro-frontend/index.js +266 -259
  24. package/packages/micro-frontend/index.js.gz +0 -0
  25. package/packages/style/style.css +1 -1
  26. package/packages/style/style.css.gz +0 -0
  27. package/style.css +2 -2
  28. package/style.css.gz +0 -0
  29. package/types/i18n/global.d.ts +583 -0
  30. package/types/i18n/index.d.ts +4 -3
  31. package/types/layout/store/index.d.ts +1 -1
  32. package/types/layout/store/nav.d.ts +1 -1
  33. package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
  34. package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
  35. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +4 -0
  36. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +3 -0
  37. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +20 -0
  38. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +19 -0
  39. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +22 -0
  40. package/types/main-app-framework/constant/index.d.ts +1 -1
  41. package/types/main-app-framework/data-track/api.d.ts +2 -0
  42. package/types/main-app-framework/data-track/index.d.ts +2 -0
  43. package/types/main-app-framework/i18n/index.d.ts +538 -0
  44. package/types/main-app-framework/index.d.ts +1 -0
  45. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -1
  46. package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -2
  47. package/types/main-app-framework/init-config/get-system-config/api.d.ts +4 -0
  48. package/types/main-app-framework/init-config/get-system-config/index.d.ts +5 -3
  49. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +1 -1
  50. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +1 -0
  51. package/types/main-app-framework/utils/src/get-portal-url/crypto.d.ts +14 -0
  52. package/types/main-app-framework/utils/src/get-portal-url/encrypt.d.ts +42 -0
  53. package/types/main-app-framework/utils/src/get-portal-url/generate-url.d.ts +4 -0
  54. package/types/main-app-framework/utils/src/get-portal-url/handle-portal-params.d.ts +2 -0
  55. package/types/main-app-framework/utils/src/get-portal-url/index.d.ts +2 -0
  56. package/types/main-app-framework/utils/src/get-portal-url/type.d.ts +16 -0
  57. package/types/main-app-framework/utils/src/set-common-info.d.ts +4 -2
  58. package/types/main-app-framework/utils/src/tools.d.ts +5 -1
  59. package/i18n-collection/en.js +0 -93
  60. package/i18n-collection/zh-CN.js +0 -93
  61. package/index-BSt1lmGg.js +0 -10
  62. package/index-BWjO8i-G.js +0 -75
  63. package/index-BWjO8i-G.js.gz +0 -0
  64. package/index-D-p5feGf.js +0 -7446
  65. package/index-D-p5feGf.js.gz +0 -0
  66. package/packages/main-app-framework/index-C1k_cOnk.js +0 -6099
  67. package/packages/main-app-framework/index-C1k_cOnk.js.gz +0 -0
  68. package/packages/main-app-framework/index-Cd2KFU7P.js +0 -75
  69. package/packages/main-app-framework/index-Cd2KFU7P.js.gz +0 -0
  70. package/packages/main-app-framework/index-D-KaGWK2.js +0 -10
@@ -1,10 +1,10 @@
1
1
  import '@das-fed/web/packages/layout/style.css';
2
- import { reactive as z, ref as O, defineComponent as Q, computed as u, watch as Z, openBlock as p, createElementBlock as I, Fragment as J, createBlock as V, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as W, renderList as re, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as w, createCommentVNode as b, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeClass as pe, normalizeStyle as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
2
+ import { reactive as K, ref as O, defineComponent as z, computed as u, watch as Z, createElementBlock as I, openBlock as g, Fragment as J, createBlock as V, createCommentVNode as b, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as U, renderList as re, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as w, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeStyle as pe, normalizeClass as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
3
3
  import { useRouter as Le, useRoute as me } from "vue-router";
4
- import { setHtmlMinWH as ke } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
- import { createCeNav as Ce, createCeTabs as Ie, createCeMenu as Te } from "@das-fed/web-components/das-web-app";
6
- import { flatTree as Ae } from "@das-fed/utils/common-tools/nest-tree-format";
7
- const h = z({
4
+ import { setHtmlMinWH as Ce } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
+ import { createCeNav as Ie, createCeTabs as ke, createCeMenu as Te } from "@das-fed/web-components/das-web-app";
6
+ import { flatTree as Ee } from "@das-fed/utils/common-tools/nest-tree-format";
7
+ const h = K({
8
8
  visible: !1,
9
9
  theme: "default",
10
10
  logo: "",
@@ -34,11 +34,11 @@ const h = z({
34
34
  },
35
35
  getItems: () => h.items,
36
36
  removeItem: (e) => {
37
- const t = h.items.filter((s) => s.value !== e);
37
+ const t = h.items.filter((n) => n.value !== e);
38
38
  h.items = t;
39
39
  },
40
40
  appendItem: (e) => {
41
- h.visible || (h.visible = !0), !h.items.find((s) => s.value == e.value) && h.items.push(e);
41
+ h.visible || (h.visible = !0), !h.items.find((n) => n.value == e.value) && h.items.push(e);
42
42
  },
43
43
  setActiveItem: (e) => {
44
44
  h.activeItem = e;
@@ -61,9 +61,9 @@ const h = z({
61
61
  setSearchConfig: (e) => {
62
62
  h.searchConfig = e;
63
63
  },
64
- triggerEventListener: (e, t, s) => {
64
+ triggerEventListener: (e, t, n) => {
65
65
  var f;
66
- const l = h.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
66
+ const l = h.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
67
67
  for (const y in l) {
68
68
  const i = l[y];
69
69
  i.type === e && r.push(
@@ -75,10 +75,10 @@ const h = z({
75
75
  return Promise.all(r).then(() => !0).catch(() => !1);
76
76
  },
77
77
  addEventListener: (e, t) => {
78
- const s = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
79
- h.eventListeners[s] && delete h.eventListeners[s];
78
+ const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
79
+ h.eventListeners[n] && delete h.eventListeners[n];
80
80
  };
81
- return h.eventListeners[s] = {
81
+ return h.eventListeners[n] = {
82
82
  type: e,
83
83
  handler: async (d) => {
84
84
  try {
@@ -92,31 +92,31 @@ const h = z({
92
92
  remove: l
93
93
  };
94
94
  }
95
- }, R = z({
95
+ }, A = K({
96
96
  theme: "default",
97
97
  items: [],
98
98
  collapse: !1,
99
99
  eventListeners: {}
100
100
  }), ve = {
101
101
  setItems: (e) => {
102
- R.items = e;
102
+ A.items = e;
103
103
  },
104
- getItems: () => R.items,
104
+ getItems: () => A.items,
105
105
  setTheme: (e) => {
106
- R.theme = e;
106
+ A.theme = e;
107
107
  },
108
108
  setActiveItem: (e) => {
109
- R.activeItem = e;
109
+ A.activeItem = e;
110
110
  },
111
111
  setCollapse: (e) => {
112
- R.collapse = e;
112
+ A.collapse = e;
113
113
  },
114
114
  setPopupClassName: (e) => {
115
- R.popupClassName = e;
115
+ A.popupClassName = e;
116
116
  },
117
- triggerEventListener: (e, t, s) => {
117
+ triggerEventListener: (e, t, n) => {
118
118
  var f;
119
- const l = R.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
119
+ const l = A.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
120
120
  for (const y in l) {
121
121
  const i = l[y];
122
122
  i.type === e && r.push(
@@ -128,10 +128,10 @@ const h = z({
128
128
  return Promise.all(r).then(() => !0).catch(() => !1);
129
129
  },
130
130
  addEventListener: (e, t) => {
131
- const s = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
132
- R.eventListeners[s] && delete R.eventListeners[s];
131
+ const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
132
+ A.eventListeners[n] && delete A.eventListeners[n];
133
133
  };
134
- return R.eventListeners[s] = {
134
+ return A.eventListeners[n] = {
135
135
  type: e,
136
136
  handler: async (d) => {
137
137
  try {
@@ -145,32 +145,32 @@ const h = z({
145
145
  remove: l
146
146
  };
147
147
  }
148
- }, C = z({
148
+ }, k = K({
149
149
  theme: "default",
150
150
  items: [],
151
151
  eventListeners: {}
152
152
  }), de = {
153
153
  setItems: (e) => {
154
- C.items = e;
154
+ k.items = e;
155
155
  },
156
- getItems: () => C.items,
156
+ getItems: () => k.items,
157
157
  setTheme: (e) => {
158
- C.theme = e;
158
+ k.theme = e;
159
159
  },
160
160
  removeItem: (e) => {
161
- const t = C.items.filter((s) => s.value !== e);
162
- C.items = t;
161
+ const t = k.items.filter((n) => n.value !== e);
162
+ k.items = t;
163
163
  },
164
164
  appendItem: (e) => {
165
- const t = C.items.findIndex((s) => s.value == e.value);
166
- t !== -1 ? C.items.splice(t, 1, e) : C.items.push(e);
165
+ const t = k.items.findIndex((n) => n.value == e.value);
166
+ t !== -1 ? k.items.splice(t, 1, e) : k.items.push(e);
167
167
  },
168
168
  setActiveItem: (e) => {
169
- C.activeItem = e;
169
+ k.activeItem = e;
170
170
  },
171
- triggerEventListener: (e, t, s) => {
171
+ triggerEventListener: (e, t, n) => {
172
172
  var f;
173
- const l = C.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
173
+ const l = k.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
174
174
  for (const y in l) {
175
175
  const i = l[y];
176
176
  i.type === e && r.push(
@@ -182,10 +182,10 @@ const h = z({
182
182
  return Promise.all(r).then(() => !0).catch(() => !1);
183
183
  },
184
184
  addEventListener: (e, t) => {
185
- const s = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
186
- C.eventListeners[s] && delete C.eventListeners[s];
185
+ const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
186
+ k.eventListeners[n] && delete k.eventListeners[n];
187
187
  };
188
- return C.eventListeners[s] = {
188
+ return k.eventListeners[n] = {
189
189
  type: e,
190
190
  handler: async (d) => {
191
191
  try {
@@ -199,12 +199,12 @@ const h = z({
199
199
  remove: l
200
200
  };
201
201
  }
202
- }, U = z({
202
+ }, W = K({
203
203
  eventListeners: {}
204
- }), Ee = {
205
- triggerEventListener: (e, t, s) => {
204
+ }), Re = {
205
+ triggerEventListener: (e, t, n) => {
206
206
  var f;
207
- const l = U.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
207
+ const l = W.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
208
208
  for (const y in l) {
209
209
  const i = l[y];
210
210
  i.type === e && r.push(
@@ -216,10 +216,10 @@ const h = z({
216
216
  return Promise.all(r).then(() => !0).catch(() => !1);
217
217
  },
218
218
  addEventListener: (e, t) => {
219
- const s = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
220
- U.eventListeners[s] && delete U.eventListeners[s];
219
+ const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
220
+ W.eventListeners[n] && delete W.eventListeners[n];
221
221
  };
222
- return U.eventListeners[s] = {
222
+ return W.eventListeners[n] = {
223
223
  type: e,
224
224
  handler: async (d) => {
225
225
  try {
@@ -233,31 +233,31 @@ const h = z({
233
233
  remove: l
234
234
  };
235
235
  }
236
- }, te = z({
236
+ }, te = K({
237
237
  visible: !1,
238
238
  style: {}
239
- }), Re = {
239
+ }), Ae = {
240
240
  set: (e, t) => {
241
241
  te.visible = e, t || (t = {}), t.transition || (t.transition = "all 0.3s"), t && (te.style = t);
242
242
  }
243
243
  }, H = {
244
244
  nav: h,
245
- menu: R,
246
- tab: C,
245
+ menu: A,
246
+ tab: k,
247
247
  overlay: te,
248
- iframeView: U,
248
+ iframeView: W,
249
249
  visible: O(!0)
250
250
  }, v = {
251
251
  nav: ue,
252
252
  menu: ve,
253
253
  tab: de,
254
- overlay: Re,
255
- iframeView: Ee,
254
+ overlay: Ae,
255
+ iframeView: Re,
256
256
  setVisible: (e) => H.visible.value = e,
257
257
  setTheme: (e) => {
258
258
  ue.setTheme(e), ve.setTheme(e), de.setTheme(e);
259
259
  }
260
- }, Ve = ["name"], Pe = ["name"], Se = /* @__PURE__ */ Q({
260
+ }, Ve = ["name"], Pe = ["name"], Se = /* @__PURE__ */ z({
261
261
  __name: "das-iframe-router-view",
262
262
  props: {
263
263
  needTransition: { type: Boolean },
@@ -265,40 +265,40 @@ const h = z({
265
265
  exclude: { default: () => [] }
266
266
  },
267
267
  setup(e) {
268
- const t = e, s = u(() => {
269
- const { mode: n = "", ...a } = {
268
+ const t = e, n = u(() => {
269
+ const { mode: s = "", ...a } = {
270
270
  mode: "out-in",
271
271
  "enter-active-class": "animate__animated animate__fadeInLeft",
272
272
  ...t.transitionConfig || {}
273
273
  };
274
274
  return a;
275
- }), l = Le(), d = me(), r = O([]), f = u(() => r.value.filter((n) => {
275
+ }), l = Le(), d = me(), r = O([]), f = u(() => r.value.filter((s) => {
276
276
  var a;
277
- return (a = n.meta) == null ? void 0 : a.isOpen;
278
- })), y = (n) => {
279
- const a = n.lastIndexOf("-");
280
- let o = a !== -1 ? n.substring(a + 1) : "";
277
+ return (a = s.meta) == null ? void 0 : a.isOpen;
278
+ })), y = (s) => {
279
+ const a = s.lastIndexOf("-");
280
+ let o = a !== -1 ? s.substring(a + 1) : "";
281
281
  o === "0" ? o = "1" : o = "0", f.value.forEach((m) => {
282
- m.meta.key === n && (m.meta.key = `${m.path}-${o}`);
282
+ m.meta.key === s && (m.meta.key = `${m.path}-${o}`);
283
283
  });
284
284
  };
285
285
  Z(
286
286
  () => t.exclude,
287
- (n) => {
288
- if (!n || !n.length) return;
289
- const a = f.value.find((o) => n.includes(o.path));
287
+ (s) => {
288
+ if (!s || !s.length) return;
289
+ const a = f.value.find((o) => s.includes(o.path));
290
290
  a && y(a.meta.key);
291
291
  },
292
292
  { deep: !0 }
293
293
  );
294
- const i = async (n) => {
295
- const a = n.component;
294
+ const i = async (s) => {
295
+ const a = s.component;
296
296
  let o = null;
297
297
  return typeof a == "function" ? o = (await a()).default : o = a, o;
298
298
  }, P = async () => {
299
299
  var a;
300
- const n = l.options.routes;
301
- for (const o of n)
300
+ const s = l.options.routes;
301
+ for (const o of s)
302
302
  if ((a = o == null ? void 0 : o.meta) != null && a.isIframe && !r.value.find((m) => m.path === o.path)) {
303
303
  const m = await i(o);
304
304
  r.value.push({
@@ -310,50 +310,46 @@ const h = z({
310
310
  }, T = async () => {
311
311
  var o, m;
312
312
  if (!r.value || !r.value.length) return;
313
- const n = r.value.find((L) => L.meta.isShow);
314
- n && (n.meta.isShow = !1, await oe(), v.iframeView.triggerEventListener("onDeactivated", { route: n }));
315
- const a = r.value.find((L) => L.path === d.path);
313
+ const s = r.value.find((C) => C.meta.isShow);
314
+ s && (s.meta.isShow = !1, await oe(), v.iframeView.triggerEventListener("onDeactivated", { route: s }));
315
+ const a = r.value.find((C) => C.path === d.path);
316
316
  a && ((o = a.meta) != null && o.isOpen || (a.meta.isOpen = !0), (m = a.meta) != null && m.isShow || (a.meta.isShow = !0), await oe(), v.iframeView.triggerEventListener("onActivated", { route: a }));
317
317
  };
318
318
  let S = 0;
319
319
  return Z(
320
320
  () => l.currentRoute.value,
321
321
  () => {
322
- const n = l.options.routes.length;
323
- n !== S ? (P(), S = n) : T();
322
+ const s = l.options.routes.length;
323
+ s !== S ? (P(), S = s) : T();
324
324
  },
325
325
  { immediate: !0 }
326
326
  ), v.iframeView.addEventListener("onRefreshCurrentPage", () => {
327
- f.value.forEach((n) => {
327
+ f.value.forEach((s) => {
328
328
  var a;
329
- (a = n.meta) != null && a.isShow && (n.meta.key.includes("0") ? n.meta.key = n.meta.key.replaceAll("0", "1") : n.meta.key = n.meta.key.replaceAll("1", "0"));
329
+ (a = s.meta) != null && a.isShow && (s.meta.key.includes("0") ? s.meta.key = s.meta.key.replaceAll("0", "1") : s.meta.key = s.meta.key.replaceAll("1", "0"));
330
330
  });
331
- }), v.iframeView.addEventListener("onRefreshPage", (n) => {
332
- f.value.forEach((a) => {
333
- a.path === n && (a.meta.key.includes("0") ? a.meta.key = a.meta.key.replaceAll("0", "1") : a.meta.key = a.meta.key.replaceAll("1", "0"));
331
+ }), v.iframeView.addEventListener("onUnloadPage", (s) => {
332
+ r.value.forEach((a) => {
333
+ a.path === s && (a.meta.isOpen = !1);
334
334
  });
335
- }), v.iframeView.addEventListener("onRefreshAllPage", () => {
336
- f.value.forEach((n) => {
337
- n.meta.key.includes("0") ? n.meta.key = n.meta.key.replaceAll("0", "1") : n.meta.key = n.meta.key.replaceAll("1", "0");
338
- });
339
- }), (n, a) => (p(), I(
335
+ }), (s, a) => (g(), I(
340
336
  J,
341
337
  null,
342
338
  [
343
- n.needTransition ? (p(), V(
339
+ s.needTransition ? (g(), V(
344
340
  he,
345
- ee(ne({ key: 0 }, s.value)),
341
+ ee(ne({ key: 0 }, n.value)),
346
342
  {
347
- default: W(() => [
348
- (p(!0), I(
343
+ default: U(() => [
344
+ (g(!0), I(
349
345
  J,
350
346
  null,
351
- re(f.value, ({ path: o, meta: m }) => D((p(), I("div", {
347
+ re(f.value, ({ path: o, meta: m }) => D((g(), I("div", {
352
348
  class: "das-iframe-router-view",
353
349
  key: m.key,
354
350
  name: o
355
351
  }, [
356
- (p(), V(N(m.componentInstance), {
352
+ (g(), V(N(m.componentInstance), {
357
353
  key: m.key
358
354
  }))
359
355
  ], 8, Ve)), [
@@ -369,15 +365,15 @@ const h = z({
369
365
  16
370
366
  /* FULL_PROPS */
371
367
  )) : b("v-if", !0),
372
- n.needTransition ? b("v-if", !0) : (p(!0), I(
368
+ s.needTransition ? b("v-if", !0) : (g(!0), I(
373
369
  J,
374
370
  { key: 1 },
375
- re(f.value, ({ path: o, meta: m }) => D((p(), I("div", {
371
+ re(f.value, ({ path: o, meta: m }) => D((g(), I("div", {
376
372
  class: "das-iframe-router-view",
377
373
  key: m.key,
378
374
  name: o
379
375
  }, [
380
- (p(), V(N(m.componentInstance), {
376
+ (g(), V(N(m.componentInstance), {
381
377
  key: m.key
382
378
  }))
383
379
  ], 8, Pe)), [
@@ -392,11 +388,11 @@ const h = z({
392
388
  ));
393
389
  }
394
390
  }), fe = (e, t) => {
395
- const s = e.__vccOpts || e;
391
+ const n = e.__vccOpts || e;
396
392
  for (const [l, d] of t)
397
- s[l] = d;
398
- return s;
399
- }, De = /* @__PURE__ */ fe(Se, [["__scopeId", "data-v-b03d395b"]]), Me = { class: "das-web-app-container" }, je = {
393
+ n[l] = d;
394
+ return n;
395
+ }, De = /* @__PURE__ */ fe(Se, [["__scopeId", "data-v-6dd310c9"]]), Me = { class: "das-web-app-container" }, je = {
400
396
  key: 0,
401
397
  class: "das-web-app-header"
402
398
  }, xe = { class: "das-web-app-main" }, $e = {
@@ -405,16 +401,16 @@ const h = z({
405
401
  }, Be = { class: "das-web-app-main-container" }, He = {
406
402
  key: 0,
407
403
  class: "tab"
408
- }, Fe = { class: "das-web-app-main-content" }, Ne = { class: "banner" }, Oe = { class: "das-web-app-main-router-view" }, We = { style: { width: "100%", height: "100%" } }, Ue = {
404
+ }, Fe = { class: "das-web-app-main-content" }, Ne = { class: "banner" }, Oe = { class: "das-web-app-main-router-view" }, Ue = {
409
405
  key: 0,
410
406
  style: { width: "100%", height: "100%" }
411
- }, ze = {
407
+ }, We = {
412
408
  key: 1,
413
409
  style: { width: "100%", height: "100%" }
414
- }, Qe = { style: { width: "100%", height: "100%" } }, Ke = {
410
+ }, Ke = { style: { width: "100%", height: "100%" } }, ze = {
415
411
  class: "micro-app",
416
412
  style: { height: "100%", width: "100%" }
417
- }, qe = /* @__PURE__ */ Q({
413
+ }, Qe = /* @__PURE__ */ z({
418
414
  __name: "das-web-layout",
419
415
  props: {
420
416
  needTransition: { type: Boolean, default: !0 },
@@ -424,28 +420,29 @@ const h = z({
424
420
  showTabs: { type: Boolean, default: !0 },
425
421
  routerViewVisible: { type: Boolean, default: !0 },
426
422
  excludeRoutes: {},
427
- routeKeepAliveVisible: { type: Boolean, default: !0 }
423
+ routeKeepAliveVisible: { type: Boolean, default: !0 },
424
+ pageKey: { default: "0" }
428
425
  },
429
426
  setup(e) {
430
427
  const t = e;
431
- Ce(), Ie(), Te();
432
- const s = me(), l = O(!1), d = O(!1), r = O(!1), f = u(() => l.value && t.showLayout), y = u(() => d.value && t.showLayout && t.showAside), i = u(() => l.value && t.showLayout && t.showTabs), P = u(() => t.routerViewVisible ?? !0), T = u(() => H.overlay.visible ?? !1), S = u(() => ({
428
+ Ie(), ke(), Te();
429
+ const n = me(), l = O(!1), d = O(!1), r = O(!1), f = u(() => l.value && t.showLayout), y = u(() => d.value && t.showLayout && t.showAside), i = u(() => l.value && t.showLayout && t.showTabs), P = u(() => t.routerViewVisible ?? !0), T = u(() => H.overlay.visible ?? !1), S = u(() => ({
433
430
  "das-web-app-overlay-show": T.value === !0,
434
431
  "das-web-app-overlay-hide": T.value === !1,
435
432
  "das-web-app-overlay-destroy": T.value === "destroy"
436
- })), n = u(() => H.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = u(() => t.excludeRoutes), o = u(() => t.routeKeepAliveVisible);
433
+ })), s = u(() => H.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = u(() => t.excludeRoutes), o = u(() => t.routeKeepAliveVisible);
437
434
  Z(
438
- () => [s.meta, s.query],
439
- ([k, j]) => {
440
- const { showLayout: E = !0, showAside: c = !0, showTabs: g = !0, layout: _ = {} } = k, {
435
+ () => [n.meta, n.query],
436
+ ([_, j]) => {
437
+ const { showLayout: R = !0, showAside: c = !0, showTabs: p = !0, layout: L = {} } = _, {
441
438
  showLayout: x = !0,
442
- showAside: A = !0,
439
+ showAside: E = !0,
443
440
  showTabs: se = !0,
444
- app: Ye
441
+ app: Xe
445
442
  } = j;
446
- ke(_);
443
+ Ce(L);
447
444
  let ae = !0, q = !0, G = !0;
448
- (E === !1 || x === !1 || x === "false") && (ae = !1, q = !1, G = !1), (c === !1 || A === !1 || A === "false") && (q = !1), (g === !1 || se === !1 || se === "false") && (G = !1), l.value = ae, d.value = q, r.value = G;
445
+ (R === !1 || x === !1 || x === "false") && (ae = !1, q = !1, G = !1), (c === !1 || E === !1 || E === "false") && (q = !1), (p === !1 || se === !1 || se === "false") && (G = !1), l.value = ae, d.value = q, r.value = G;
449
446
  }
450
447
  );
451
448
  const m = u(() => ({
@@ -453,24 +450,24 @@ const h = z({
453
450
  "enter-active-class": "animate__animated animate__fadeInLeft",
454
451
  ...t.transitionConfig || {}
455
452
  }));
456
- let L = /* @__PURE__ */ new Map();
457
- const K = (k, j) => {
458
- let E;
459
- return L.has(j) ? E = L.get(j) : (E = {
453
+ let C = /* @__PURE__ */ new Map();
454
+ const Q = (_, j) => {
455
+ let R;
456
+ return C.has(j) ? R = C.get(j) : (R = {
460
457
  name: j,
461
458
  render() {
462
- return Y("div", { style: { width: "100%", height: "100%" } }, [Y(k)]);
459
+ return Y("div", { style: { width: "100%", height: "100%" } }, [Y(_)]);
463
460
  }
464
- }, L.set(j, E)), Y(E);
461
+ }, C.set(j, R)), Y(R);
465
462
  }, B = u(() => H.visible.value);
466
- return (k, j) => {
467
- const E = ge("router-view");
468
- return p(), I("div", Me, [
463
+ return (_, j) => {
464
+ const R = ge("router-view");
465
+ return g(), I("div", Me, [
469
466
  D($(
470
467
  "div",
471
468
  {
472
- class: pe(["das-web-app-overlay", S.value]),
473
- style: ye(n.value)
469
+ class: ye(["das-web-app-overlay", S.value]),
470
+ style: pe(s.value)
474
471
  },
475
472
  null,
476
473
  6
@@ -478,11 +475,11 @@ const h = z({
478
475
  ), [
479
476
  [M, B.value]
480
477
  ]),
481
- f.value ? D((p(), I(
478
+ f.value ? D((g(), I(
482
479
  "div",
483
480
  je,
484
481
  [
485
- F(k.$slots, "header", {}, void 0, !0)
482
+ F(_.$slots, "header", {}, void 0, !0)
486
483
  ],
487
484
  512
488
485
  /* NEED_PATCH */
@@ -490,11 +487,11 @@ const h = z({
490
487
  [M, B.value]
491
488
  ]) : b("v-if", !0),
492
489
  $("div", xe, [
493
- y.value ? D((p(), I(
490
+ y.value ? D((g(), I(
494
491
  "div",
495
492
  $e,
496
493
  [
497
- F(k.$slots, "aside", {}, void 0, !0)
494
+ F(_.$slots, "aside", {}, void 0, !0)
498
495
  ],
499
496
  512
500
497
  /* NEED_PATCH */
@@ -502,11 +499,11 @@ const h = z({
502
499
  [M, B.value]
503
500
  ]) : b("v-if", !0),
504
501
  $("div", Be, [
505
- i.value ? D((p(), I(
502
+ i.value ? D((g(), I(
506
503
  "div",
507
504
  He,
508
505
  [
509
- F(k.$slots, "tab", {}, void 0, !0)
506
+ F(_.$slots, "tab", {}, void 0, !0)
510
507
  ],
511
508
  512
512
509
  /* NEED_PATCH */
@@ -518,7 +515,7 @@ const h = z({
518
515
  "div",
519
516
  Ne,
520
517
  [
521
- F(k.$slots, "banner", {}, void 0, !0)
518
+ F(_.$slots, "banner", {}, void 0, !0)
522
519
  ],
523
520
  512
524
521
  /* NEED_PATCH */
@@ -526,105 +523,102 @@ const h = z({
526
523
  [M, B.value]
527
524
  ]),
528
525
  $("div", Oe, [
529
- D($(
530
- "div",
531
- We,
532
- [
533
- F(k.$slots, "router-view", {}, () => [
534
- b(" 有动画 "),
535
- k.needTransition ? (p(), V(E, { key: 0 }, {
536
- default: W(({ Component: c }) => [
537
- X(
538
- ie,
539
- ee(le(m.value)),
540
- {
541
- default: W(() => {
542
- var g;
543
- return [
544
- w(s).meta.keepAlive ? (p(), V(ce, {
545
- key: 0,
546
- exclude: a.value
547
- }, [
548
- o.value && !((g = w(s).meta) != null && g.isIframe) ? (p(), V(N(K(c, w(s).path)), {
549
- key: w(s).path
550
- })) : b("v-if", !0)
551
- ], 1032, ["exclude"])) : b("v-if", !0)
552
- ];
553
- }),
554
- _: 2
555
- /* DYNAMIC */
556
- },
557
- 1040
558
- /* FULL_PROPS, DYNAMIC_SLOTS */
559
- ),
560
- X(
561
- ie,
562
- ee(le(m.value)),
563
- {
564
- default: W(() => [
565
- !w(s).meta.keepAlive && !w(s).meta.isIframe ? (p(), I("div", Ue, [
566
- (p(), V(N(c), {
567
- key: w(s).path
568
- }))
569
- ])) : b("v-if", !0)
570
- ]),
571
- _: 2
572
- /* DYNAMIC */
573
- },
574
- 1040
575
- /* FULL_PROPS, DYNAMIC_SLOTS */
576
- )
577
- ]),
578
- _: 1
579
- /* STABLE */
580
- })) : b("v-if", !0),
581
- b(" 无动画 "),
582
- k.needTransition ? b("v-if", !0) : (p(), V(E, { key: 1 }, {
583
- default: W(({ Component: c }) => [
584
- w(s).meta.keepAlive ? (p(), V(ce, {
585
- key: 0,
586
- exclude: a.value
587
- }, [
588
- o.value && !w(s).meta.isIframe ? (p(), V(N(K(c, w(s).path)), {
589
- key: w(s).path
590
- })) : b("v-if", !0)
591
- ], 1032, ["exclude"])) : b("v-if", !0),
592
- !w(s).meta.keepAlive && !w(s).meta.isIframe ? (p(), I("div", ze, [
593
- (p(), V(N(c), {
594
- key: w(s).path
595
- }))
596
- ])) : b("v-if", !0)
597
- ]),
598
- _: 1
599
- /* STABLE */
600
- })),
601
- D($(
602
- "div",
603
- Qe,
604
- [
605
- X(De, {
606
- exclude: a.value,
607
- transitionConfig: m.value,
608
- needTransition: k.needTransition
609
- }, null, 8, ["exclude", "transitionConfig", "needTransition"])
610
- ],
611
- 512
612
- /* NEED_PATCH */
613
- ), [
614
- [M, w(s).meta.isIframe]
615
- ])
616
- ], !0)
617
- ],
618
- 512
619
- /* NEED_PATCH */
620
- ), [
526
+ D((g(), I("div", {
527
+ key: _.pageKey,
528
+ style: { width: "100%", height: "100%" }
529
+ }, [
530
+ F(_.$slots, "router-view", {}, () => [
531
+ b(" 有动画 "),
532
+ _.needTransition ? (g(), V(R, { key: 0 }, {
533
+ default: U(({ Component: c }) => [
534
+ X(
535
+ ie,
536
+ ee(le(m.value)),
537
+ {
538
+ default: U(() => {
539
+ var p;
540
+ return [
541
+ w(n).meta.keepAlive ? (g(), V(ce, {
542
+ key: 0,
543
+ exclude: a.value
544
+ }, [
545
+ o.value && !((p = w(n).meta) != null && p.isIframe) ? (g(), V(N(Q(c, w(n).path)), {
546
+ key: w(n).path
547
+ })) : b("v-if", !0)
548
+ ], 1032, ["exclude"])) : b("v-if", !0)
549
+ ];
550
+ }),
551
+ _: 2
552
+ /* DYNAMIC */
553
+ },
554
+ 1040
555
+ /* FULL_PROPS, DYNAMIC_SLOTS */
556
+ ),
557
+ X(
558
+ ie,
559
+ ee(le(m.value)),
560
+ {
561
+ default: U(() => [
562
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (g(), I("div", Ue, [
563
+ (g(), V(N(c), {
564
+ key: w(n).path
565
+ }))
566
+ ])) : b("v-if", !0)
567
+ ]),
568
+ _: 2
569
+ /* DYNAMIC */
570
+ },
571
+ 1040
572
+ /* FULL_PROPS, DYNAMIC_SLOTS */
573
+ )
574
+ ]),
575
+ _: 1
576
+ /* STABLE */
577
+ })) : b("v-if", !0),
578
+ b(" 无动画 "),
579
+ _.needTransition ? b("v-if", !0) : (g(), V(R, { key: 1 }, {
580
+ default: U(({ Component: c }) => [
581
+ w(n).meta.keepAlive ? (g(), V(ce, {
582
+ key: 0,
583
+ exclude: a.value
584
+ }, [
585
+ o.value && !w(n).meta.isIframe ? (g(), V(N(Q(c, w(n).path)), {
586
+ key: w(n).path
587
+ })) : b("v-if", !0)
588
+ ], 1032, ["exclude"])) : b("v-if", !0),
589
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (g(), I("div", We, [
590
+ (g(), V(N(c), {
591
+ key: w(n).path
592
+ }))
593
+ ])) : b("v-if", !0)
594
+ ]),
595
+ _: 1
596
+ /* STABLE */
597
+ })),
598
+ D($(
599
+ "div",
600
+ Ke,
601
+ [
602
+ X(De, {
603
+ exclude: a.value,
604
+ transitionConfig: m.value,
605
+ needTransition: _.needTransition
606
+ }, null, 8, ["exclude", "transitionConfig", "needTransition"])
607
+ ],
608
+ 512
609
+ /* NEED_PATCH */
610
+ ), [
611
+ [M, w(n).meta.isIframe]
612
+ ])
613
+ ], !0)
614
+ ])), [
621
615
  [M, P.value]
622
616
  ]),
623
617
  D($(
624
618
  "div",
625
- Ke,
619
+ ze,
626
620
  [
627
- F(k.$slots, "default", {}, void 0, !0)
621
+ F(_.$slots, "default", {}, void 0, !0)
628
622
  ],
629
623
  512
630
624
  /* NEED_PATCH */
@@ -638,23 +632,23 @@ const h = z({
638
632
  ]);
639
633
  };
640
634
  }
641
- }), at = /* @__PURE__ */ fe(qe, [["__scopeId", "data-v-b6d7b17e"]]), Ge = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], rt = /* @__PURE__ */ Q({
635
+ }), st = /* @__PURE__ */ fe(Qe, [["__scopeId", "data-v-e2af5217"]]), qe = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], at = /* @__PURE__ */ z({
642
636
  __name: "das-web-nav",
643
637
  setup(e) {
644
- const { nav: t } = H, s = u(() => t.theme), l = u(() => t.logo || ""), d = u(() => t.activeItem || ""), r = u(() => (t.items || []).filter((g) => g.fixed)), f = u(() => (t.items || []).filter((g) => !g.fixed)), y = u(() => {
645
- var c, g, _, x;
638
+ const { nav: t } = H, n = u(() => t.theme), l = u(() => t.logo || ""), d = u(() => t.activeItem || ""), r = u(() => (t.items || []).filter((p) => p.fixed)), f = u(() => (t.items || []).filter((p) => !p.fixed)), y = u(() => {
639
+ var c, p, L, x;
646
640
  return {
647
641
  showFullScreen: ((c = t.config) == null ? void 0 : c.showFullScreen) ?? !1,
648
- showChangeEnterprise: ((g = t.config) == null ? void 0 : g.showChangeEnterprise) ?? !1,
649
- showSearch: ((_ = t.config) == null ? void 0 : _.showSearch) ?? !0,
642
+ showChangeEnterprise: ((p = t.config) == null ? void 0 : p.showChangeEnterprise) ?? !1,
643
+ showSearch: ((L = t.config) == null ? void 0 : L.showSearch) ?? !0,
650
644
  showProjectTree: ((x = t.config) == null ? void 0 : x.showProjectTree) ?? !0,
651
- subAppList: f.value.map((A) => ({ code: A.value, name: A.label, ...A }))
645
+ subAppList: f.value.map((E) => ({ code: E.value, name: E.label, ...E }))
652
646
  };
653
647
  }), i = u(() => {
654
- const c = r.value.find((g) => g.value === t.activeItem);
648
+ const c = r.value.find((p) => p.value === t.activeItem);
655
649
  return {
656
650
  activeInnerPagePath: (c == null ? void 0 : c.path) || "",
657
- innerPages: r.value.map((g) => ({ title: g.label, ...g }))
651
+ innerPages: r.value.map((p) => ({ title: p.label, ...p }))
658
652
  };
659
653
  }), P = u(() => ({
660
654
  projectStore: {
@@ -662,29 +656,29 @@ const h = z({
662
656
  currentProject: t.activeProject
663
657
  },
664
658
  ...t.projectConfig
665
- })), T = u(() => t.userInfo), S = u(() => t.searchConfig), n = async (c) => {
666
- const g = c.detail[0], _ = r.value.find((A) => g.value === A.value);
667
- await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
659
+ })), T = u(() => t.userInfo), S = u(() => t.searchConfig), s = async (c) => {
660
+ const p = c.detail[0], L = r.value.find((E) => p.value === E.value);
661
+ await v.nav.triggerEventListener("onItemClick", L) && v.nav.setActiveItem(L.value);
668
662
  }, a = async (c) => {
669
- const g = c.detail[0], _ = f.value.find((A) => g === A.value);
670
- await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
663
+ const p = c.detail[0], L = f.value.find((E) => p === E.value);
664
+ await v.nav.triggerEventListener("onItemClick", L) && v.nav.setActiveItem(L.value);
671
665
  }, o = async (c) => {
672
- const g = c.detail[0], _ = f.value.find((A) => g === A.value);
673
- await v.nav.triggerEventListener("onItemRemove", _) && v.nav.removeItem(_.value);
666
+ const p = c.detail[0], L = f.value.find((E) => p === E.value);
667
+ await v.nav.triggerEventListener("onItemRemove", L) && v.nav.removeItem(L.value);
674
668
  }, m = async (c) => {
675
- const [g, _] = c.detail;
676
- !g || !await v.nav.triggerEventListener("onProjectChange", _) || v.nav.setActiveProject(_);
677
- }, L = (c) => {
669
+ const [p, L] = c.detail;
670
+ !p || !await v.nav.triggerEventListener("onProjectChange", L) || v.nav.setActiveProject(L);
671
+ }, C = (c) => {
678
672
  v.nav.triggerEventListener("onUserCommandChange", c.detail[0]);
679
- }, K = (c) => {
673
+ }, Q = (c) => {
680
674
  v.nav.triggerEventListener("searchToPage", { item: c.detail[0], keyword: c.detail[1], cb: c.detail[2] });
681
675
  }, B = (c) => {
682
676
  v.nav.triggerEventListener("clearSearchList", { cb: c.detail[0] });
683
- }, k = (c) => {
677
+ }, _ = (c) => {
684
678
  v.nav.triggerEventListener("deleteSearchItem", { value: c.detail[0], cb: c.detail[1] });
685
679
  }, j = () => {
686
680
  v.nav.triggerEventListener("changeEnterpriseHandle");
687
- }, E = () => {
681
+ }, R = () => {
688
682
  v.nav.triggerEventListener("fullScreenHandle");
689
683
  };
690
684
  return we(() => {
@@ -693,8 +687,8 @@ const h = z({
693
687
  v.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
694
688
  }), _e(() => {
695
689
  v.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
696
- }), (c, g) => (p(), I("das-ce-nav", {
697
- theme: s.value,
690
+ }), (c, p) => (g(), I("das-ce-nav", {
691
+ theme: n.value,
698
692
  modelValue: d.value,
699
693
  logoUrl: l.value,
700
694
  config: y.value,
@@ -702,31 +696,31 @@ const h = z({
702
696
  searchConfig: S.value,
703
697
  projectTreeConfig: P.value,
704
698
  userInfoConfig: T.value,
705
- "on:userCommandHandle": L,
706
- "on:changeInnerPage": n,
699
+ "on:userCommandHandle": C,
700
+ "on:changeInnerPage": s,
707
701
  "on:handleTabClick": a,
708
702
  "on:handleTabDelete": o,
709
703
  "on:changeTreeHandle": m,
710
- "on:searchToPage": K,
704
+ "on:searchToPage": Q,
711
705
  "on:clearSearchList": B,
712
- "on:deleteSearchItem": k,
706
+ "on:deleteSearchItem": _,
713
707
  "on:changeEnterpriseHandle": j,
714
- "on:fullScreen": E
715
- }, null, 40, Ge));
708
+ "on:fullScreen": R
709
+ }, null, 40, qe));
716
710
  }
717
- }), Je = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], ot = /* @__PURE__ */ Q({
711
+ }), Ge = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], rt = /* @__PURE__ */ z({
718
712
  __name: "das-web-menu",
719
713
  props: {
720
714
  menuAttr: {}
721
715
  },
722
716
  setup(e) {
723
- const { menu: t } = H, s = e, l = u(() => t.theme), d = u(() => s.menuAttr || {}), r = u(() => t.items), f = u(() => t.items.find((n) => n.fixed)), y = u(() => t.activeItem || ""), i = u(() => t.collapse || !1), P = u(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (n) => {
724
- const a = n.detail[0], o = Ae(r.value).find((L) => a === L.id);
717
+ const { menu: t } = H, n = e, l = u(() => t.theme), d = u(() => n.menuAttr || {}), r = u(() => t.items), f = u(() => t.items.find((s) => s.fixed)), y = u(() => t.activeItem || ""), i = u(() => t.collapse || !1), P = u(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (s) => {
718
+ const a = s.detail[0], o = Ee(r.value).find((C) => a === C.id);
725
719
  await v.menu.triggerEventListener("onItemClick", o) && v.menu.setActiveItem(o.id);
726
- }, S = (n) => {
727
- v.menu.setCollapse(n.detail[0]), v.menu.triggerEventListener("toggleCollapse", n.detail[0]);
720
+ }, S = (s) => {
721
+ v.menu.setCollapse(s.detail[0]), v.menu.triggerEventListener("toggleCollapse", s.detail[0]);
728
722
  };
729
- return (n, a) => r.value.length > 0 ? (p(), I("das-ce-menu", ne({
723
+ return (s, a) => r.value.length > 0 ? (g(), I("das-ce-menu", ne({
730
724
  key: 0,
731
725
  theme: l.value,
732
726
  modelValue: y.value,
@@ -737,32 +731,32 @@ const h = z({
737
731
  }, d.value, {
738
732
  onChange: T,
739
733
  "on:toggleCollapse": S
740
- }), null, 16, Je)) : b("v-if", !0);
734
+ }), null, 16, Ge)) : b("v-if", !0);
741
735
  }
742
- }), Xe = ["theme", "modelValue", "options"], it = /* @__PURE__ */ Q({
736
+ }), Je = ["theme", "modelValue", "options"], ot = /* @__PURE__ */ z({
743
737
  __name: "das-web-tabs",
744
738
  props: {
745
739
  tabsAttr: {}
746
740
  },
747
741
  setup(e) {
748
- const { tab: t } = H, s = e, l = u(() => s.tabsAttr || {}), d = u(() => t.theme), r = u(() => t.items.map((n) => ({
749
- ...n,
750
- key: n.value,
751
- tab: n.label
752
- }))), f = u(() => t.activeItem || ""), y = async (n) => {
753
- const a = n.detail[0], o = r.value.find((L) => a === L.value);
742
+ const { tab: t } = H, n = e, l = u(() => n.tabsAttr || {}), d = u(() => t.theme), r = u(() => t.items.map((s) => ({
743
+ ...s,
744
+ key: s.value,
745
+ tab: s.label
746
+ }))), f = u(() => t.activeItem || ""), y = async (s) => {
747
+ const a = s.detail[0], o = r.value.find((C) => a === C.value);
754
748
  await v.tab.triggerEventListener("onItemClick", o) && v.tab.setActiveItem(o.value);
755
- }, i = async (n) => {
756
- const a = n.detail[0], o = r.value.find((L) => a === L.value);
749
+ }, i = async (s) => {
750
+ const a = s.detail[0], o = r.value.find((C) => a === C.value);
757
751
  await v.tab.triggerEventListener("onItemRemove", o) && v.tab.removeItem(o.value);
758
- }, P = async (n) => {
759
- await v.tab.triggerEventListener("onMenuClick", { type: n.detail[0], data: n.detail[1] });
760
- }, T = async (n) => {
761
- await v.tab.triggerEventListener("onPageRefresh", n.detail[0]);
752
+ }, P = async (s) => {
753
+ await v.tab.triggerEventListener("onMenuClick", { type: s.detail[0], data: s.detail[1] });
754
+ }, T = async (s) => {
755
+ await v.tab.triggerEventListener("onPageRefresh", s.detail[0]);
762
756
  }, S = () => {
763
757
  v.tab.triggerEventListener("onToggleFullScreen");
764
758
  };
765
- return (n, a) => r.value.length > 0 ? (p(), I("das-ce-tabs", ne({
759
+ return (s, a) => r.value.length > 0 ? (g(), I("das-ce-tabs", ne({
766
760
  key: 0,
767
761
  theme: d.value,
768
762
  modelValue: f.value,
@@ -773,15 +767,15 @@ const h = z({
773
767
  "on:menuClick": P,
774
768
  "on:pageRefresh": T,
775
769
  "on:toggleFullScreen": S
776
- }), null, 16, Xe)) : b("v-if", !0);
770
+ }), null, 16, Je)) : b("v-if", !0);
777
771
  }
778
772
  });
779
773
  O("@das-fed/web");
780
774
  export {
781
- at as DasWebLayout,
782
- ot as DasWebMenu,
783
- rt as DasWebNav,
784
- it as DasWebTabs,
775
+ st as DasWebLayout,
776
+ rt as DasWebMenu,
777
+ at as DasWebNav,
778
+ ot as DasWebTabs,
785
779
  v as layout,
786
780
  H as layoutData
787
781
  };