@das-fed/web 6.4.0-dev.35 → 6.4.0-dev.37

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