@das-fed/web 7.0.7-hot.27 → 7.0.7-hot.28

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.
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as b } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as E } from "@das-fed/utils/common-tools";
8
8
  import { createService as L } from "@das-fed/utils/create-api-service";
9
- import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-By9hoEgO.js";
9
+ import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-DhLZVSgo.js";
10
10
  const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
11
11
  __name: "index",
12
12
  setup(G) {
Binary file
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-By9hoEgO.js";
1
+ import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-DhLZVSgo.js";
2
2
  export {
3
3
  e as DasMainAppLayout,
4
4
  t as DasWebLayout,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@das-fed/web",
3
- "version": "7.0.7-hot.27",
3
+ "version": "7.0.7-hot.28",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "7.0.7-hot.27",
8
- "@das-fed/utils": "7.0.7-hot.27",
9
- "@das-fed/web": "7.0.7-hot.27",
10
- "@das-fed/web-components": "7.0.7-hot.27",
7
+ "@das-fed/ui": "7.0.7-hot.28",
8
+ "@das-fed/utils": "7.0.7-hot.28",
9
+ "@das-fed/web": "7.0.7-hot.28",
10
+ "@das-fed/web-components": "7.0.7-hot.28",
11
11
  "@microsoft/signalr": "^8.0.7",
12
12
  "@vueuse/core": "^9.13.0",
13
13
  "animate.css": "^4.1.1",
@@ -19,7 +19,7 @@
19
19
  "vue-router": "^4.4.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@das-fed/cli": "7.0.7-hot.27",
22
+ "@das-fed/cli": "7.0.7-hot.28",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
@@ -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";
2
+ import { reactive as z, ref as B, defineComponent as q, computed as u, watch as te, createElementBlock as I, openBlock as h, Fragment as Y, createBlock as P, createCommentVNode as y, 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 L, 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
3
  import { useRouter as ke, useRoute as ge } from "vue-router";
4
4
  import { setHtmlMinWH as Te } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
5
  import { createCeNav as Ae, createCeTabs as Ee, createCeMenu as Re } from "@das-fed/web-components/das-web-app";
6
6
  import { flatTree as Ve } from "@das-fed/utils/common-tools/nest-tree-format";
7
- const h = z({
7
+ const g = z({
8
8
  visible: !1,
9
9
  theme: "default",
10
10
  logo: "",
@@ -18,54 +18,54 @@ const h = z({
18
18
  eventListeners: {}
19
19
  }), me = {
20
20
  show: () => {
21
- h.visible = !0;
21
+ g.visible = !0;
22
22
  },
23
23
  hide: () => {
24
- h.visible = !1;
24
+ g.visible = !1;
25
25
  },
26
26
  setLogo: (e) => {
27
- h.logo = e;
27
+ g.logo = e;
28
28
  },
29
29
  setTheme: (e) => {
30
- h.theme = e;
30
+ g.theme = e;
31
31
  },
32
32
  setItems: (e) => {
33
- h.visible || (h.visible = !0), h.items = e;
33
+ g.visible || (g.visible = !0), g.items = e;
34
34
  },
35
- getItems: () => h.items,
35
+ getItems: () => g.items,
36
36
  removeItem: (e) => {
37
- const t = h.items.filter((s) => s.value !== e);
38
- h.items = t;
37
+ const t = g.items.filter((s) => s.value !== e);
38
+ g.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
+ g.visible || (g.visible = !0), !g.items.find((s) => s.value == e.value) && g.items.push(e);
42
42
  },
43
43
  setActiveItem: (e) => {
44
- h.activeItem = e;
44
+ g.activeItem = e;
45
45
  },
46
46
  setConfig: (e) => {
47
- h.config = e;
47
+ g.config = e;
48
48
  },
49
49
  setProjects: (e) => {
50
- h.projects = e;
50
+ g.projects = e;
51
51
  },
52
52
  setProjectConfig: (e) => {
53
- h.projectConfig = e;
53
+ g.projectConfig = e;
54
54
  },
55
55
  setActiveProject: (e) => {
56
- h.activeProject = e;
56
+ g.activeProject = e;
57
57
  },
58
58
  setUserInfo: (e) => {
59
- h.userInfo = e;
59
+ g.userInfo = e;
60
60
  },
61
61
  setSearchConfig: (e) => {
62
- h.searchConfig = e;
62
+ g.searchConfig = e;
63
63
  },
64
64
  triggerEventListener: (e, t, s) => {
65
65
  var f;
66
- const l = h.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
67
- for (const y in l) {
68
- const o = l[y];
66
+ const l = g.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
67
+ for (const w in l) {
68
+ const o = l[w];
69
69
  o.type === e && r.push(
70
70
  (f = o == null ? void 0 : o.handler) == null ? void 0 : f.call(o, t).then(() => {
71
71
  d && o.remove();
@@ -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
+ g.eventListeners[s] && delete g.eventListeners[s];
80
80
  };
81
- return h.eventListeners[s] = {
81
+ return g.eventListeners[s] = {
82
82
  type: e,
83
83
  handler: async (d) => {
84
84
  try {
@@ -117,8 +117,8 @@ const h = z({
117
117
  triggerEventListener: (e, t, s) => {
118
118
  var f;
119
119
  const l = V.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
120
- for (const y in l) {
121
- const o = l[y];
120
+ for (const w in l) {
121
+ const o = l[w];
122
122
  o.type === e && r.push(
123
123
  (f = o == null ? void 0 : o.handler) == null ? void 0 : f.call(o, t).then(() => {
124
124
  d && o.remove();
@@ -171,8 +171,8 @@ const h = z({
171
171
  triggerEventListener: (e, t, s) => {
172
172
  var f;
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 w in l) {
175
+ const o = l[w];
176
176
  o.type === e && r.push(
177
177
  (f = o == null ? void 0 : o.handler) == null ? void 0 : f.call(o, t).then(() => {
178
178
  d && o.remove();
@@ -205,8 +205,8 @@ const h = z({
205
205
  triggerEventListener: (e, t, s) => {
206
206
  var f;
207
207
  const l = Q.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
208
- for (const y in l) {
209
- const o = l[y];
208
+ for (const w in l) {
209
+ const o = l[w];
210
210
  o.type === e && r.push(
211
211
  (f = o == null ? void 0 : o.handler) == null ? void 0 : f.call(o, t).then(() => {
212
212
  d && o.remove();
@@ -240,20 +240,20 @@ const h = z({
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
- }, B = {
244
- nav: h,
243
+ }, H = {
244
+ nav: g,
245
245
  menu: V,
246
246
  tab: k,
247
247
  overlay: se,
248
248
  iframeView: Q,
249
- visible: H(!0)
249
+ visible: B(!0)
250
250
  }, v = {
251
251
  nav: me,
252
252
  menu: fe,
253
253
  tab: he,
254
254
  overlay: Se,
255
255
  iframeView: Pe,
256
- setVisible: (e) => B.visible.value = e,
256
+ setVisible: (e) => H.visible.value = e,
257
257
  setTheme: (e) => {
258
258
  me.setTheme(e), fe.setTheme(e), he.setTheme(e);
259
259
  }
@@ -272,10 +272,10 @@ const h = z({
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 = ke(), d = ge(), r = B([]), f = u(() => r.value.filter((n) => {
276
276
  var a;
277
277
  return (a = n.meta) == null ? void 0 : a.isOpen;
278
- })), y = (n) => {
278
+ })), w = (n) => {
279
279
  const a = n.lastIndexOf("-");
280
280
  let i = a !== -1 ? n.substring(a + 1) : "";
281
281
  i === "0" ? i = "1" : i = "0", f.value.forEach((m) => {
@@ -287,7 +287,7 @@ const h = z({
287
287
  (n) => {
288
288
  if (!n || !n.length) return;
289
289
  const a = f.value.find((i) => n.includes(i.path));
290
- a && y(a.meta.key);
290
+ a && w(a.meta.key);
291
291
  },
292
292
  { deep: !0 }
293
293
  );
@@ -332,28 +332,28 @@ const h = z({
332
332
  r.value.forEach((a) => {
333
333
  a.path === n && (a.meta.isOpen = !1);
334
334
  });
335
- }), (n, a) => (g(), I(
335
+ }), (n, a) => (h(), I(
336
336
  Y,
337
337
  null,
338
338
  [
339
- n.needTransition ? (g(), P(
339
+ n.needTransition ? (h(), P(
340
340
  ye,
341
341
  ne(ae({ key: 0 }, s.value)),
342
342
  {
343
343
  default: K(() => [
344
- (g(!0), I(
344
+ (h(!0), I(
345
345
  Y,
346
346
  null,
347
- le(f.value, ({ path: i, meta: m }) => j((g(), I("div", {
347
+ le(f.value, ({ path: i, meta: m }) => j((h(), I("div", {
348
348
  class: "das-iframe-router-view",
349
349
  key: m.key,
350
350
  name: i
351
351
  }, [
352
- (g(), P(O(m.componentInstance), {
352
+ (h(), P(O(m.componentInstance), {
353
353
  key: m.key
354
354
  }))
355
355
  ], 8, De)), [
356
- [x, m.componentInstance && i === w(d).path]
356
+ [x, m.componentInstance && i === L(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
+ )) : y("v-if", !0),
368
+ n.needTransition ? y("v-if", !0) : (h(!0), I(
369
369
  Y,
370
370
  { key: 1 },
371
- le(f.value, ({ path: i, meta: m }) => j((g(), I("div", {
371
+ le(f.value, ({ path: i, meta: m }) => j((h(), I("div", {
372
372
  class: "das-iframe-router-view",
373
373
  key: m.key,
374
374
  name: i
375
375
  }, [
376
- (g(), P(O(m.componentInstance), {
376
+ (h(), P(O(m.componentInstance), {
377
377
  key: m.key
378
378
  }))
379
379
  ], 8, Me)), [
380
- [x, m.componentInstance && i === w(d).path]
380
+ [x, m.componentInstance && i === L(d).path]
381
381
  ])),
382
382
  128
383
383
  /* KEYED_FRAGMENT */
@@ -392,16 +392,19 @@ const h = z({
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
+ }, xe = /* @__PURE__ */ pe(je, [["__scopeId", "data-v-6dd310c9"]]), $e = { class: "das-web-app-container" }, Be = {
396
396
  key: 0,
397
397
  class: "das-web-app-header"
398
- }, Be = { class: "das-web-app-main" }, Fe = {
398
+ }, He = { class: "das-web-app-main" }, Fe = {
399
399
  key: 0,
400
400
  class: "aside"
401
401
  }, Ne = { class: "das-web-app-main-container" }, Oe = {
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
+ }, Ue = { class: "das-web-app-main-content" }, We = { class: "banner" }, Ke = {
405
+ key: 0,
406
+ class: "das-web-app-main-router-view"
407
+ }, Qe = {
405
408
  key: 0,
406
409
  style: { width: "100%", height: "100%" }
407
410
  }, ze = {
@@ -413,6 +416,7 @@ const h = z({
413
416
  }, Je = /* @__PURE__ */ q({
414
417
  __name: "das-web-layout",
415
418
  props: {
419
+ loading: { type: Boolean, default: !0 },
416
420
  needTransition: { type: Boolean, default: !0 },
417
421
  transitionConfig: {},
418
422
  showLayout: { type: Boolean, default: !0 },
@@ -426,15 +430,15 @@ const h = z({
426
430
  setup(e) {
427
431
  const t = e;
428
432
  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
+ const s = ge(), l = B(!0), d = B(!0), r = B(!0), f = u(() => l.value && t.showLayout), w = u(() => d.value && t.showLayout && t.showAside), o = u(() => l.value && t.showLayout && t.showTabs), S = u(() => t.routerViewVisible ?? !0), T = u(() => H.overlay.visible ?? !1), A = B(!0), n = u(() => A.value && H.visible.value), a = u(() => ({
430
434
  "das-web-app-overlay-show": T.value === !0,
431
435
  "das-web-app-overlay-hide": T.value === !1,
432
436
  "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);
437
+ })), i = u(() => H.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), m = u(() => t.excludeRoutes), C = u(() => t.routeKeepAliveVisible);
434
438
  te(
435
439
  () => [s.meta, s.query],
436
- ([L, D]) => {
437
- const { layout: E = {}, showLayout: c = !0, showAside: p = !0, showTabs: _ = !0 } = L, {
440
+ ([b, D]) => {
441
+ const { layout: E = {}, showLayout: c = !0, showAside: p = !0, showTabs: _ = !0 } = b, {
438
442
  showLayout: M = !0,
439
443
  showAside: R = !0,
440
444
  showTabs: F = !0,
@@ -453,18 +457,18 @@ const h = z({
453
457
  ...t.transitionConfig || {}
454
458
  }));
455
459
  let W = /* @__PURE__ */ new Map();
456
- const G = (L, D) => {
460
+ const G = (b, D) => {
457
461
  let E;
458
462
  return W.has(D) ? E = W.get(D) : (E = {
459
463
  name: D,
460
464
  render() {
461
- return ee("div", { style: { width: "100%", height: "100%" } }, [ee(L)]);
465
+ return ee("div", { style: { width: "100%", height: "100%" } }, [ee(b)]);
462
466
  }
463
467
  }, W.set(D, E)), ee(E);
464
468
  };
465
- return (L, D) => {
469
+ return (b, D) => {
466
470
  const E = we("router-view");
467
- return g(), I("div", $e, [
471
+ return h(), I("div", $e, [
468
472
  j($(
469
473
  "div",
470
474
  {
@@ -477,53 +481,53 @@ const h = z({
477
481
  ), [
478
482
  [x, n.value]
479
483
  ]),
480
- f.value ? j((g(), I(
484
+ f.value ? j((h(), I(
481
485
  "div",
482
- He,
486
+ Be,
483
487
  [
484
- N(L.$slots, "header", {}, void 0, !0)
488
+ N(b.$slots, "header", {}, void 0, !0)
485
489
  ],
486
490
  512
487
491
  /* NEED_PATCH */
488
492
  )), [
489
493
  [x, n.value]
490
- ]) : b("v-if", !0),
491
- $("div", Be, [
492
- y.value ? j((g(), I(
494
+ ]) : y("v-if", !0),
495
+ $("div", He, [
496
+ w.value ? j((h(), I(
493
497
  "div",
494
498
  Fe,
495
499
  [
496
- N(L.$slots, "aside", {}, void 0, !0)
500
+ N(b.$slots, "aside", {}, void 0, !0)
497
501
  ],
498
502
  512
499
503
  /* NEED_PATCH */
500
504
  )), [
501
505
  [x, n.value]
502
- ]) : b("v-if", !0),
506
+ ]) : y("v-if", !0),
503
507
  $("div", Ne, [
504
- o.value ? j((g(), I(
508
+ o.value ? j((h(), I(
505
509
  "div",
506
510
  Oe,
507
511
  [
508
- N(L.$slots, "tab", {}, void 0, !0)
512
+ N(b.$slots, "tab", {}, void 0, !0)
509
513
  ],
510
514
  512
511
515
  /* NEED_PATCH */
512
516
  )), [
513
517
  [x, n.value]
514
- ]) : b("v-if", !0),
518
+ ]) : y("v-if", !0),
515
519
  $("div", Ue, [
516
520
  $("div", We, [
517
- N(L.$slots, "banner", {}, void 0, !0)
521
+ N(b.$slots, "banner", {}, void 0, !0)
518
522
  ]),
519
- $("div", Ke, [
520
- j((g(), I("div", {
521
- key: L.pageKey,
523
+ b.loading ? y("v-if", !0) : (h(), I("div", Ke, [
524
+ j((h(), I("div", {
525
+ key: b.pageKey,
522
526
  style: { width: "100%", height: "100%" }
523
527
  }, [
524
- N(L.$slots, "router-view", {}, () => [
525
- b(" 有动画 "),
526
- L.needTransition ? (g(), P(E, { key: 0 }, {
528
+ N(b.$slots, "router-view", {}, () => [
529
+ y(" 有动画 "),
530
+ b.needTransition ? (h(), P(E, { key: 0 }, {
527
531
  default: K(({ Component: c }) => [
528
532
  Z(
529
533
  ue,
@@ -532,14 +536,14 @@ const h = z({
532
536
  default: K(() => {
533
537
  var p;
534
538
  return [
535
- w(s).meta.keepAlive ? (g(), P(de, {
539
+ L(s).meta.keepAlive ? (h(), P(de, {
536
540
  key: 0,
537
541
  exclude: m.value
538
542
  }, [
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)
543
+ C.value && !((p = L(s).meta) != null && p.isIframe) ? (h(), P(O(G(c, L(s).path)), {
544
+ key: L(s).path
545
+ })) : y("v-if", !0)
546
+ ], 1032, ["exclude"])) : y("v-if", !0)
543
547
  ];
544
548
  }),
545
549
  _: 2
@@ -553,11 +557,11 @@ const h = z({
553
557
  ne(ve(U.value)),
554
558
  {
555
559
  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
560
+ !L(s).meta.keepAlive && !L(s).meta.isIframe ? (h(), I("div", Qe, [
561
+ (h(), P(O(c), {
562
+ key: L(s).path
559
563
  }))
560
- ])) : b("v-if", !0)
564
+ ])) : y("v-if", !0)
561
565
  ]),
562
566
  _: 2
563
567
  /* DYNAMIC */
@@ -568,23 +572,23 @@ const h = z({
568
572
  ]),
569
573
  _: 1
570
574
  /* STABLE */
571
- })) : b("v-if", !0),
572
- b(" 无动画 "),
573
- L.needTransition ? b("v-if", !0) : (g(), P(E, { key: 1 }, {
575
+ })) : y("v-if", !0),
576
+ y(" 无动画 "),
577
+ b.needTransition ? y("v-if", !0) : (h(), P(E, { key: 1 }, {
574
578
  default: K(({ Component: c }) => [
575
- w(s).meta.keepAlive ? (g(), P(de, {
579
+ L(s).meta.keepAlive ? (h(), P(de, {
576
580
  key: 0,
577
581
  exclude: m.value
578
582
  }, [
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
583
+ C.value && !L(s).meta.isIframe ? (h(), P(O(G(c, L(s).path)), {
584
+ key: L(s).path
585
+ })) : y("v-if", !0)
586
+ ], 1032, ["exclude"])) : y("v-if", !0),
587
+ !L(s).meta.keepAlive && !L(s).meta.isIframe ? (h(), I("div", ze, [
588
+ (h(), P(O(c), {
589
+ key: L(s).path
586
590
  }))
587
- ])) : b("v-if", !0)
591
+ ])) : y("v-if", !0)
588
592
  ]),
589
593
  _: 1
590
594
  /* STABLE */
@@ -596,13 +600,13 @@ const h = z({
596
600
  Z(xe, {
597
601
  exclude: m.value,
598
602
  transitionConfig: U.value,
599
- needTransition: L.needTransition
603
+ needTransition: b.needTransition
600
604
  }, null, 8, ["exclude", "transitionConfig", "needTransition"])
601
605
  ],
602
606
  512
603
607
  /* NEED_PATCH */
604
608
  ), [
605
- [x, w(s).meta.isIframe]
609
+ [x, L(s).meta.isIframe]
606
610
  ])
607
611
  ], !0)
608
612
  ])), [
@@ -612,24 +616,24 @@ const h = z({
612
616
  "div",
613
617
  Ge,
614
618
  [
615
- N(L.$slots, "default", {}, void 0, !0)
619
+ N(b.$slots, "default", {}, void 0, !0)
616
620
  ],
617
621
  512
618
622
  /* NEED_PATCH */
619
623
  ), [
620
624
  [x, !S.value]
621
625
  ])
622
- ])
626
+ ]))
623
627
  ])
624
628
  ])
625
629
  ])
626
630
  ]);
627
631
  };
628
632
  }
629
- }), rt = /* @__PURE__ */ pe(Je, [["__scopeId", "data-v-81dcca3b"]]), Xe = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], ot = /* @__PURE__ */ q({
633
+ }), rt = /* @__PURE__ */ pe(Je, [["__scopeId", "data-v-19b1872f"]]), Xe = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], ot = /* @__PURE__ */ q({
630
634
  __name: "das-web-nav",
631
635
  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(() => {
636
+ const { nav: t } = H, 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)), w = u(() => {
633
637
  var c, p, _, M, R;
634
638
  return {
635
639
  showAIHelper: ((c = t.config) == null ? void 0 : c.showAIHelper) ?? !1,
@@ -671,7 +675,7 @@ const h = z({
671
675
  v.nav.triggerEventListener("clearSearchList", { cb: c.detail[0] });
672
676
  }, G = (c) => {
673
677
  v.nav.triggerEventListener("deleteSearchItem", { value: c.detail[0], cb: c.detail[1] });
674
- }, L = () => {
678
+ }, b = () => {
675
679
  v.nav.triggerEventListener("changeEnterpriseHandle");
676
680
  }, D = () => {
677
681
  v.nav.triggerEventListener("fullScreenHandle");
@@ -684,11 +688,11 @@ const h = z({
684
688
  v.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
685
689
  }), Ce(() => {
686
690
  v.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
687
- }), (c, p) => (g(), I("das-ce-nav", {
691
+ }), (c, p) => (h(), I("das-ce-nav", {
688
692
  theme: s.value,
689
693
  modelValue: d.value,
690
694
  logoUrl: l.value,
691
- config: y.value,
695
+ config: w.value,
692
696
  innerPagesConfig: o.value,
693
697
  searchConfig: A.value,
694
698
  projectTreeConfig: S.value,
@@ -701,7 +705,7 @@ const h = z({
701
705
  "on:searchToPage": U,
702
706
  "on:clearSearchList": W,
703
707
  "on:deleteSearchItem": G,
704
- "on:changeEnterpriseHandle": L,
708
+ "on:changeEnterpriseHandle": b,
705
709
  "on:fullScreen": D,
706
710
  "on:openAI": E
707
711
  }, null, 40, Xe));
@@ -712,16 +716,16 @@ const h = z({
712
716
  menuAttr: {}
713
717
  },
714
718
  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) => {
719
+ 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)), w = u(() => t.activeItem || ""), o = u(() => t.collapse || !1), S = u(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (n) => {
716
720
  const a = n.detail[0], i = Ve(r.value).find((C) => a === C.id);
717
721
  await v.menu.triggerEventListener("onItemClick", i) && v.menu.setActiveItem(i.id);
718
722
  }, A = (n) => {
719
723
  v.menu.setCollapse(n.detail[0]), v.menu.triggerEventListener("toggleCollapse", n.detail[0]);
720
724
  };
721
- return (n, a) => r.value.length > 0 ? (g(), I("das-ce-menu", ae({
725
+ return (n, a) => r.value.length > 0 ? (h(), I("das-ce-menu", ae({
722
726
  key: 0,
723
727
  theme: l.value,
724
- modelValue: y.value,
728
+ modelValue: w.value,
725
729
  data: r.value,
726
730
  collapse: o.value,
727
731
  fixedTopMenu: f.value,
@@ -729,7 +733,7 @@ const h = z({
729
733
  }, d.value, {
730
734
  onChange: T,
731
735
  "on:toggleCollapse": A
732
- }), null, 16, Ye)) : b("v-if", !0);
736
+ }), null, 16, Ye)) : y("v-if", !0);
733
737
  }
734
738
  }), Ze = ["theme", "modelValue", "options"], lt = /* @__PURE__ */ q({
735
739
  __name: "das-web-tabs",
@@ -737,11 +741,11 @@ const h = z({
737
741
  tabsAttr: {}
738
742
  },
739
743
  setup(e) {
740
- const { tab: t } = B, s = e, l = u(() => s.tabsAttr || {}), d = u(() => t.theme), r = u(() => t.items.map((n) => ({
744
+ const { tab: t } = H, s = e, l = u(() => s.tabsAttr || {}), d = u(() => t.theme), r = u(() => t.items.map((n) => ({
741
745
  ...n,
742
746
  key: n.value,
743
747
  tab: n.label
744
- }))), f = u(() => t.activeItem || ""), y = async (n) => {
748
+ }))), f = u(() => t.activeItem || ""), w = async (n) => {
745
749
  const a = n.detail[0], i = r.value.find((C) => a === C.value);
746
750
  await v.tab.triggerEventListener("onItemClick", i) && v.tab.setActiveItem(i.value);
747
751
  }, o = async (n) => {
@@ -754,26 +758,26 @@ const h = z({
754
758
  }, A = () => {
755
759
  v.tab.triggerEventListener("onToggleFullScreen");
756
760
  };
757
- return (n, a) => r.value.length > 0 ? (g(), I("das-ce-tabs", ae({
761
+ return (n, a) => r.value.length > 0 ? (h(), I("das-ce-tabs", ae({
758
762
  key: 0,
759
763
  theme: d.value,
760
764
  modelValue: f.value,
761
765
  options: r.value
762
766
  }, l.value, {
763
- "on:tabClick": y,
767
+ "on:tabClick": w,
764
768
  "on:tabDelete": o,
765
769
  "on:menuClick": S,
766
770
  "on:pageRefresh": T,
767
771
  "on:toggleFullScreen": A
768
- }), null, 16, Ze)) : b("v-if", !0);
772
+ }), null, 16, Ze)) : y("v-if", !0);
769
773
  }
770
774
  });
771
- H("@das-fed/web");
775
+ B("@das-fed/web");
772
776
  export {
773
777
  rt as DasWebLayout,
774
778
  it as DasWebMenu,
775
779
  ot as DasWebNav,
776
780
  lt as DasWebTabs,
777
781
  v as layout,
778
- B as layoutData
782
+ H as layoutData
779
783
  };
Binary file