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