@das-fed/web 6.4.0-hot.33 → 6.4.0-hot.35

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 (51) hide show
  1. package/{index-BuTRpK6M.js → index-BR2K2L20.js} +1 -1
  2. package/{packages/main-app-framework/index-BTLDhEQV.js → index-CqHbFeJ4.js} +1 -2
  3. package/index-CqHbFeJ4.js.gz +0 -0
  4. package/{index-IEBouahL.js → index-pa8JpqiR.js} +3233 -3637
  5. package/index-pa8JpqiR.js.gz +0 -0
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/i18n/index.js +10 -8
  9. package/packages/i18n/index.js.gz +0 -0
  10. package/packages/layout/index.js +169 -256
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/layout/style.css +1 -1
  13. package/packages/layout/style.css.gz +0 -0
  14. package/packages/main-app-framework/{index-CrLW-KdV.js → index-D-yLFNAt.js} +1 -1
  15. package/packages/main-app-framework/{index-BsIJHNDG.js → index-PIgnnyL3.js} +3588 -3906
  16. package/packages/main-app-framework/index-PIgnnyL3.js.gz +0 -0
  17. package/{index-C4VcBGCZ.js → packages/main-app-framework/index-gbopgvrS.js} +1 -2
  18. package/packages/main-app-framework/index-gbopgvrS.js.gz +0 -0
  19. package/packages/main-app-framework/index.js +1 -1
  20. package/packages/main-app-framework/style.css +1 -1
  21. package/packages/main-app-framework/style.css.gz +0 -0
  22. package/packages/micro-frontend/index.js +213 -214
  23. package/packages/micro-frontend/index.js.gz +0 -0
  24. package/style.css +1 -1
  25. package/style.css.gz +0 -0
  26. package/types/create-das-web-app/index.d.ts +1 -1
  27. package/types/i18n/global.d.ts +10 -0
  28. package/types/i18n/index.d.ts +2 -2
  29. package/types/layout/store/index.d.ts +2 -2
  30. package/types/layout/store/nav.d.ts +1 -1
  31. package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
  32. package/types/main-app-framework/business/video-link/index.d.ts +3 -3
  33. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  34. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  35. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +1 -1
  36. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
  37. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
  38. package/types/main-app-framework/index.d.ts +2 -2
  39. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -2
  40. package/types/main-app-framework/init-config/get-system-config/index.d.ts +2 -2
  41. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
  42. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  43. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +5 -4
  44. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
  45. package/types/main-app-framework/init-platform/index.d.ts +1 -1
  46. package/types/micro-frontend/store.d.ts +5 -5
  47. package/types/theme/index.d.ts +1 -1
  48. package/index-C4VcBGCZ.js.gz +0 -0
  49. package/index-IEBouahL.js.gz +0 -0
  50. package/packages/main-app-framework/index-BTLDhEQV.js.gz +0 -0
  51. package/packages/main-app-framework/index-BsIJHNDG.js.gz +0 -0
@@ -1,10 +1,10 @@
1
1
  import '@das-fed/web/packages/layout/style.css';
2
- import { reactive as z, ref as O, defineComponent as Q, computed as u, watch as Z, openBlock as p, createElementBlock as k, Fragment as J, createBlock as V, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as U, renderList as re, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as w, createCommentVNode as b, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeClass as pe, normalizeStyle as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
2
+ import { reactive as K, ref as O, defineComponent as z, computed as u, watch as Z, openBlock as g, createElementBlock as I, Fragment as J, createBlock as V, TransitionGroup as he, normalizeProps as ee, mergeProps as ne, withCtx as U, renderList as re, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as w, createCommentVNode as C, nextTick as oe, resolveComponent as ge, createElementVNode as $, normalizeClass as pe, normalizeStyle as ye, renderSlot as F, createVNode as X, Transition as ie, guardReactiveProps as le, KeepAlive as ce, h as Y, onBeforeMount as we, onMounted as be, onUnmounted as _e } from "vue";
3
3
  import { useRouter as Le, useRoute as me } from "vue-router";
4
4
  import { setHtmlMinWH as Ce } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
5
  import { createCeNav as Ie, createCeTabs as ke, createCeMenu as Te } from "@das-fed/web-components/das-web-app";
6
6
  import { flatTree as Ee } from "@das-fed/utils/common-tools/nest-tree-format";
7
- const h = z({
7
+ const h = K({
8
8
  visible: !1,
9
9
  theme: "default",
10
10
  logo: "",
@@ -92,7 +92,7 @@ const h = z({
92
92
  remove: l
93
93
  };
94
94
  }
95
- }, A = z({
95
+ }, A = K({
96
96
  theme: "default",
97
97
  items: [],
98
98
  collapse: !1,
@@ -145,32 +145,32 @@ const h = z({
145
145
  remove: l
146
146
  };
147
147
  }
148
- }, I = z({
148
+ }, k = K({
149
149
  theme: "default",
150
150
  items: [],
151
151
  eventListeners: {}
152
152
  }), de = {
153
153
  setItems: (e) => {
154
- I.items = e;
154
+ k.items = e;
155
155
  },
156
- getItems: () => I.items,
156
+ getItems: () => k.items,
157
157
  setTheme: (e) => {
158
- I.theme = e;
158
+ k.theme = e;
159
159
  },
160
160
  removeItem: (e) => {
161
- const t = I.items.filter((n) => n.value !== e);
162
- I.items = t;
161
+ const t = k.items.filter((n) => n.value !== e);
162
+ k.items = t;
163
163
  },
164
164
  appendItem: (e) => {
165
- const t = I.items.findIndex((n) => n.value == e.value);
166
- t !== -1 ? I.items.splice(t, 1, e) : I.items.push(e);
165
+ const t = k.items.findIndex((n) => n.value == e.value);
166
+ t !== -1 ? k.items.splice(t, 1, e) : k.items.push(e);
167
167
  },
168
168
  setActiveItem: (e) => {
169
- I.activeItem = e;
169
+ k.activeItem = e;
170
170
  },
171
171
  triggerEventListener: (e, t, n) => {
172
172
  var f;
173
- const l = I.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
173
+ const l = k.eventListeners, { autoRemove: d = !1 } = n || {}, r = [];
174
174
  for (const y in l) {
175
175
  const i = l[y];
176
176
  i.type === e && r.push(
@@ -183,9 +183,9 @@ const h = z({
183
183
  },
184
184
  addEventListener: (e, t) => {
185
185
  const n = (/* @__PURE__ */ new Date()).getTime() + Math.random().toString(36).slice(-8), l = () => {
186
- I.eventListeners[n] && delete I.eventListeners[n];
186
+ k.eventListeners[n] && delete k.eventListeners[n];
187
187
  };
188
- return I.eventListeners[n] = {
188
+ return k.eventListeners[n] = {
189
189
  type: e,
190
190
  handler: async (d) => {
191
191
  try {
@@ -199,7 +199,7 @@ const h = z({
199
199
  remove: l
200
200
  };
201
201
  }
202
- }, W = z({
202
+ }, W = K({
203
203
  eventListeners: {}
204
204
  }), Re = {
205
205
  triggerEventListener: (e, t, n) => {
@@ -233,7 +233,7 @@ const h = z({
233
233
  remove: l
234
234
  };
235
235
  }
236
- }, te = z({
236
+ }, te = K({
237
237
  visible: !1,
238
238
  style: {}
239
239
  }), Ae = {
@@ -243,7 +243,7 @@ const h = z({
243
243
  }, H = {
244
244
  nav: h,
245
245
  menu: A,
246
- tab: I,
246
+ tab: k,
247
247
  overlay: te,
248
248
  iframeView: W,
249
249
  visible: O(!0)
@@ -257,7 +257,7 @@ const h = z({
257
257
  setTheme: (e) => {
258
258
  ue.setTheme(e), ve.setTheme(e), de.setTheme(e);
259
259
  }
260
- }, Ve = ["name"], Pe = ["name"], Se = /* @__PURE__ */ Q({
260
+ }, Ve = ["name"], Pe = ["name"], Se = /* @__PURE__ */ z({
261
261
  __name: "das-iframe-router-view",
262
262
  props: {
263
263
  needTransition: { type: Boolean },
@@ -332,60 +332,35 @@ const h = z({
332
332
  r.value.forEach((a) => {
333
333
  a.path === s && (a.meta.isOpen = !1);
334
334
  });
335
- }), (s, a) => (p(), k(
336
- J,
337
- null,
338
- [
339
- s.needTransition ? (p(), V(
340
- he,
341
- ee(ne({ key: 0 }, n.value)),
342
- {
343
- default: U(() => [
344
- (p(!0), k(
345
- J,
346
- null,
347
- re(f.value, ({ path: o, meta: m }) => D((p(), k("div", {
348
- class: "das-iframe-router-view",
349
- key: m.key,
350
- name: o
351
- }, [
352
- (p(), V(N(m.componentInstance), {
353
- key: m.key
354
- }))
355
- ], 8, Ve)), [
356
- [M, m.componentInstance && o === w(d).path]
357
- ])),
358
- 128
359
- /* KEYED_FRAGMENT */
360
- ))
361
- ]),
362
- _: 1
363
- /* STABLE */
364
- },
365
- 16
366
- /* FULL_PROPS */
367
- )) : b("v-if", !0),
368
- s.needTransition ? b("v-if", !0) : (p(!0), k(
369
- J,
370
- { key: 1 },
371
- re(f.value, ({ path: o, meta: m }) => D((p(), k("div", {
335
+ }), (s, a) => (g(), I(J, null, [
336
+ s.needTransition ? (g(), V(he, ee(ne({ key: 0 }, n.value)), {
337
+ default: U(() => [
338
+ (g(!0), I(J, null, re(f.value, ({ path: o, meta: m }) => D((g(), I("div", {
372
339
  class: "das-iframe-router-view",
373
340
  key: m.key,
374
341
  name: o
375
342
  }, [
376
- (p(), V(N(m.componentInstance), {
343
+ (g(), V(N(m.componentInstance), {
377
344
  key: m.key
378
345
  }))
379
- ], 8, Pe)), [
346
+ ], 8, Ve)), [
380
347
  [M, m.componentInstance && o === w(d).path]
381
- ])),
382
- 128
383
- /* KEYED_FRAGMENT */
384
- ))
385
- ],
386
- 64
387
- /* STABLE_FRAGMENT */
388
- ));
348
+ ])), 128))
349
+ ]),
350
+ _: 1
351
+ }, 16)) : C("", !0),
352
+ s.needTransition ? C("", !0) : (g(!0), I(J, { key: 1 }, re(f.value, ({ path: o, meta: m }) => D((g(), I("div", {
353
+ class: "das-iframe-router-view",
354
+ key: m.key,
355
+ name: o
356
+ }, [
357
+ (g(), V(N(m.componentInstance), {
358
+ key: m.key
359
+ }))
360
+ ], 8, Pe)), [
361
+ [M, m.componentInstance && o === w(d).path]
362
+ ])), 128))
363
+ ], 64));
389
364
  }
390
365
  }), fe = (e, t) => {
391
366
  const n = e.__vccOpts || e;
@@ -401,16 +376,16 @@ const h = z({
401
376
  }, Be = { class: "das-web-app-main-container" }, He = {
402
377
  key: 0,
403
378
  class: "tab"
404
- }, Fe = { class: "das-web-app-main-content" }, Ne = { class: "banner" }, Oe = { class: "das-web-app-main-router-view" }, Ue = { style: { width: "100%", height: "100%" } }, We = {
379
+ }, Fe = { class: "das-web-app-main-content" }, Ne = { class: "banner" }, Oe = { class: "das-web-app-main-router-view" }, Ue = {
405
380
  key: 0,
406
381
  style: { width: "100%", height: "100%" }
407
- }, ze = {
382
+ }, We = {
408
383
  key: 1,
409
384
  style: { width: "100%", height: "100%" }
410
- }, Qe = { style: { width: "100%", height: "100%" } }, Ke = {
385
+ }, Ke = { style: { width: "100%", height: "100%" } }, ze = {
411
386
  class: "micro-app",
412
387
  style: { height: "100%", width: "100%" }
413
- }, qe = /* @__PURE__ */ Q({
388
+ }, Qe = /* @__PURE__ */ z({
414
389
  __name: "das-web-layout",
415
390
  props: {
416
391
  needTransition: { type: Boolean, default: !0 },
@@ -420,7 +395,8 @@ const h = z({
420
395
  showTabs: { type: Boolean, default: !0 },
421
396
  routerViewVisible: { type: Boolean, default: !0 },
422
397
  excludeRoutes: {},
423
- routeKeepAliveVisible: { type: Boolean, default: !0 }
398
+ routeKeepAliveVisible: { type: Boolean, default: !0 },
399
+ pageKey: { default: "0" }
424
400
  },
425
401
  setup(e) {
426
402
  const t = e;
@@ -432,16 +408,16 @@ const h = z({
432
408
  })), s = u(() => H.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = u(() => t.excludeRoutes), o = u(() => t.routeKeepAliveVisible);
433
409
  Z(
434
410
  () => [n.meta, n.query],
435
- ([C, j]) => {
436
- const { showLayout: R = !0, showAside: c = !0, showTabs: g = !0, layout: _ = {} } = C, {
411
+ ([b, j]) => {
412
+ const { showLayout: R = !0, showAside: c = !0, showTabs: p = !0, layout: _ = {} } = b, {
437
413
  showLayout: x = !0,
438
414
  showAside: E = !0,
439
415
  showTabs: se = !0,
440
- app: Ye
416
+ app: Xe
441
417
  } = j;
442
418
  Ce(_);
443
419
  let ae = !0, q = !0, G = !0;
444
- (R === !1 || x === !1 || x === "false") && (ae = !1, q = !1, G = !1), (c === !1 || E === !1 || E === "false") && (q = !1), (g === !1 || se === !1 || se === "false") && (G = !1), l.value = ae, d.value = q, r.value = G;
420
+ (R === !1 || x === !1 || x === "false") && (ae = !1, q = !1, G = !1), (c === !1 || E === !1 || E === "false") && (q = !1), (p === !1 || se === !1 || se === "false") && (G = !1), l.value = ae, d.value = q, r.value = G;
445
421
  }
446
422
  );
447
423
  const m = u(() => ({
@@ -450,181 +426,118 @@ const h = z({
450
426
  ...t.transitionConfig || {}
451
427
  }));
452
428
  let L = /* @__PURE__ */ new Map();
453
- const K = (C, j) => {
429
+ const Q = (b, j) => {
454
430
  let R;
455
431
  return L.has(j) ? R = L.get(j) : (R = {
456
432
  name: j,
457
433
  render() {
458
- return Y("div", { style: { width: "100%", height: "100%" } }, [Y(C)]);
434
+ return Y("div", { style: { width: "100%", height: "100%" } }, [Y(b)]);
459
435
  }
460
436
  }, L.set(j, R)), Y(R);
461
437
  }, B = u(() => H.visible.value);
462
- return (C, j) => {
438
+ return (b, j) => {
463
439
  const R = ge("router-view");
464
- return p(), k("div", Me, [
465
- D($(
466
- "div",
467
- {
468
- class: pe(["das-web-app-overlay", S.value]),
469
- style: ye(s.value)
470
- },
471
- null,
472
- 6
473
- /* CLASS, STYLE */
474
- ), [
440
+ return g(), I("div", Me, [
441
+ D($("div", {
442
+ class: pe(["das-web-app-overlay", S.value]),
443
+ style: ye(s.value)
444
+ }, null, 6), [
475
445
  [M, B.value]
476
446
  ]),
477
- f.value ? D((p(), k(
478
- "div",
479
- je,
480
- [
481
- F(C.$slots, "header", {}, void 0, !0)
482
- ],
483
- 512
484
- /* NEED_PATCH */
485
- )), [
447
+ f.value ? D((g(), I("div", je, [
448
+ F(b.$slots, "header", {}, void 0, !0)
449
+ ], 512)), [
486
450
  [M, B.value]
487
- ]) : b("v-if", !0),
451
+ ]) : C("", !0),
488
452
  $("div", xe, [
489
- y.value ? D((p(), k(
490
- "div",
491
- $e,
492
- [
493
- F(C.$slots, "aside", {}, void 0, !0)
494
- ],
495
- 512
496
- /* NEED_PATCH */
497
- )), [
453
+ y.value ? D((g(), I("div", $e, [
454
+ F(b.$slots, "aside", {}, void 0, !0)
455
+ ], 512)), [
498
456
  [M, B.value]
499
- ]) : b("v-if", !0),
457
+ ]) : C("", !0),
500
458
  $("div", Be, [
501
- i.value ? D((p(), k(
502
- "div",
503
- He,
504
- [
505
- F(C.$slots, "tab", {}, void 0, !0)
506
- ],
507
- 512
508
- /* NEED_PATCH */
509
- )), [
459
+ i.value ? D((g(), I("div", He, [
460
+ F(b.$slots, "tab", {}, void 0, !0)
461
+ ], 512)), [
510
462
  [M, B.value]
511
- ]) : b("v-if", !0),
463
+ ]) : C("", !0),
512
464
  $("div", Fe, [
513
- D($(
514
- "div",
515
- Ne,
516
- [
517
- F(C.$slots, "banner", {}, void 0, !0)
518
- ],
519
- 512
520
- /* NEED_PATCH */
521
- ), [
465
+ D($("div", Ne, [
466
+ F(b.$slots, "banner", {}, void 0, !0)
467
+ ], 512), [
522
468
  [M, B.value]
523
469
  ]),
524
470
  $("div", Oe, [
525
- D($(
526
- "div",
527
- Ue,
528
- [
529
- F(C.$slots, "router-view", {}, () => [
530
- b(" 有动画 "),
531
- C.needTransition ? (p(), V(R, { key: 0 }, {
532
- default: U(({ Component: c }) => [
533
- X(
534
- ie,
535
- ee(le(m.value)),
536
- {
537
- default: U(() => {
538
- var g;
539
- return [
540
- w(n).meta.keepAlive ? (p(), V(ce, {
541
- key: 0,
542
- exclude: a.value
543
- }, [
544
- o.value && !((g = w(n).meta) != null && g.isIframe) ? (p(), V(N(K(c, w(n).path)), {
545
- key: w(n).path
546
- })) : b("v-if", !0)
547
- ], 1032, ["exclude"])) : b("v-if", !0)
548
- ];
549
- }),
550
- _: 2
551
- /* DYNAMIC */
552
- },
553
- 1040
554
- /* FULL_PROPS, DYNAMIC_SLOTS */
555
- ),
556
- X(
557
- ie,
558
- ee(le(m.value)),
559
- {
560
- default: U(() => [
561
- !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", We, [
562
- (p(), V(N(c), {
563
- key: w(n).path
564
- }))
565
- ])) : b("v-if", !0)
566
- ]),
567
- _: 2
568
- /* DYNAMIC */
569
- },
570
- 1040
571
- /* FULL_PROPS, DYNAMIC_SLOTS */
572
- )
573
- ]),
574
- _: 1
575
- /* STABLE */
576
- })) : b("v-if", !0),
577
- b(" 无动画 "),
578
- C.needTransition ? b("v-if", !0) : (p(), V(R, { key: 1 }, {
579
- default: U(({ Component: c }) => [
580
- w(n).meta.keepAlive ? (p(), V(ce, {
581
- key: 0,
582
- exclude: a.value
583
- }, [
584
- o.value && !w(n).meta.isIframe ? (p(), V(N(K(c, w(n).path)), {
585
- key: w(n).path
586
- })) : b("v-if", !0)
587
- ], 1032, ["exclude"])) : b("v-if", !0),
588
- !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", ze, [
589
- (p(), V(N(c), {
590
- key: w(n).path
591
- }))
592
- ])) : b("v-if", !0)
593
- ]),
594
- _: 1
595
- /* STABLE */
596
- })),
597
- D($(
598
- "div",
599
- Qe,
600
- [
601
- X(De, {
602
- exclude: a.value,
603
- transitionConfig: m.value,
604
- needTransition: C.needTransition
605
- }, null, 8, ["exclude", "transitionConfig", "needTransition"])
606
- ],
607
- 512
608
- /* NEED_PATCH */
609
- ), [
610
- [M, w(n).meta.isIframe]
611
- ])
612
- ], !0)
613
- ],
614
- 512
615
- /* NEED_PATCH */
616
- ), [
471
+ D((g(), I("div", {
472
+ key: b.pageKey,
473
+ style: { width: "100%", height: "100%" }
474
+ }, [
475
+ F(b.$slots, "router-view", {}, () => [
476
+ b.needTransition ? (g(), V(R, { key: 0 }, {
477
+ default: U(({ Component: c }) => [
478
+ X(ie, ee(le(m.value)), {
479
+ default: U(() => {
480
+ var p;
481
+ return [
482
+ w(n).meta.keepAlive ? (g(), V(ce, {
483
+ key: 0,
484
+ exclude: a.value
485
+ }, [
486
+ o.value && !((p = w(n).meta) != null && p.isIframe) ? (g(), V(N(Q(c, w(n).path)), {
487
+ key: w(n).path
488
+ })) : C("", !0)
489
+ ], 1032, ["exclude"])) : C("", !0)
490
+ ];
491
+ }),
492
+ _: 2
493
+ }, 1040),
494
+ X(ie, ee(le(m.value)), {
495
+ default: U(() => [
496
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (g(), I("div", Ue, [
497
+ (g(), V(N(c), {
498
+ key: w(n).path
499
+ }))
500
+ ])) : C("", !0)
501
+ ]),
502
+ _: 2
503
+ }, 1040)
504
+ ]),
505
+ _: 1
506
+ })) : C("", !0),
507
+ b.needTransition ? C("", !0) : (g(), V(R, { key: 1 }, {
508
+ default: U(({ Component: c }) => [
509
+ w(n).meta.keepAlive ? (g(), V(ce, {
510
+ key: 0,
511
+ exclude: a.value
512
+ }, [
513
+ o.value && !w(n).meta.isIframe ? (g(), V(N(Q(c, w(n).path)), {
514
+ key: w(n).path
515
+ })) : C("", !0)
516
+ ], 1032, ["exclude"])) : C("", !0),
517
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (g(), I("div", We, [
518
+ (g(), V(N(c), {
519
+ key: w(n).path
520
+ }))
521
+ ])) : C("", !0)
522
+ ]),
523
+ _: 1
524
+ })),
525
+ D($("div", Ke, [
526
+ X(De, {
527
+ exclude: a.value,
528
+ transitionConfig: m.value,
529
+ needTransition: b.needTransition
530
+ }, null, 8, ["exclude", "transitionConfig", "needTransition"])
531
+ ], 512), [
532
+ [M, w(n).meta.isIframe]
533
+ ])
534
+ ], !0)
535
+ ])), [
617
536
  [M, P.value]
618
537
  ]),
619
- D($(
620
- "div",
621
- Ke,
622
- [
623
- F(C.$slots, "default", {}, void 0, !0)
624
- ],
625
- 512
626
- /* NEED_PATCH */
627
- ), [
538
+ D($("div", ze, [
539
+ F(b.$slots, "default", {}, void 0, !0)
540
+ ], 512), [
628
541
  [M, !P.value]
629
542
  ])
630
543
  ])
@@ -634,23 +547,23 @@ const h = z({
634
547
  ]);
635
548
  };
636
549
  }
637
- }), at = /* @__PURE__ */ fe(qe, [["__scopeId", "data-v-4e4b4c13"]]), Ge = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], rt = /* @__PURE__ */ Q({
550
+ }), st = /* @__PURE__ */ fe(Qe, [["__scopeId", "data-v-e2af5217"]]), qe = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], at = /* @__PURE__ */ z({
638
551
  __name: "das-web-nav",
639
552
  setup(e) {
640
- const { nav: t } = H, n = u(() => t.theme), l = u(() => t.logo || ""), d = u(() => t.activeItem || ""), r = u(() => (t.items || []).filter((g) => g.fixed)), f = u(() => (t.items || []).filter((g) => !g.fixed)), y = u(() => {
641
- var c, g, _, x;
553
+ const { nav: t } = H, n = u(() => t.theme), l = u(() => t.logo || ""), d = u(() => t.activeItem || ""), r = u(() => (t.items || []).filter((p) => p.fixed)), f = u(() => (t.items || []).filter((p) => !p.fixed)), y = u(() => {
554
+ var c, p, _, x;
642
555
  return {
643
556
  showFullScreen: ((c = t.config) == null ? void 0 : c.showFullScreen) ?? !1,
644
- showChangeEnterprise: ((g = t.config) == null ? void 0 : g.showChangeEnterprise) ?? !1,
557
+ showChangeEnterprise: ((p = t.config) == null ? void 0 : p.showChangeEnterprise) ?? !1,
645
558
  showSearch: ((_ = t.config) == null ? void 0 : _.showSearch) ?? !0,
646
559
  showProjectTree: ((x = t.config) == null ? void 0 : x.showProjectTree) ?? !0,
647
560
  subAppList: f.value.map((E) => ({ code: E.value, name: E.label, ...E }))
648
561
  };
649
562
  }), i = u(() => {
650
- const c = r.value.find((g) => g.value === t.activeItem);
563
+ const c = r.value.find((p) => p.value === t.activeItem);
651
564
  return {
652
565
  activeInnerPagePath: (c == null ? void 0 : c.path) || "",
653
- innerPages: r.value.map((g) => ({ title: g.label, ...g }))
566
+ innerPages: r.value.map((p) => ({ title: p.label, ...p }))
654
567
  };
655
568
  }), P = u(() => ({
656
569
  projectStore: {
@@ -659,24 +572,24 @@ const h = z({
659
572
  },
660
573
  ...t.projectConfig
661
574
  })), T = u(() => t.userInfo), S = u(() => t.searchConfig), s = async (c) => {
662
- const g = c.detail[0], _ = r.value.find((E) => g.value === E.value);
575
+ const p = c.detail[0], _ = r.value.find((E) => p.value === E.value);
663
576
  await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
664
577
  }, a = async (c) => {
665
- const g = c.detail[0], _ = f.value.find((E) => g === E.value);
578
+ const p = c.detail[0], _ = f.value.find((E) => p === E.value);
666
579
  await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
667
580
  }, o = async (c) => {
668
- const g = c.detail[0], _ = f.value.find((E) => g === E.value);
581
+ const p = c.detail[0], _ = f.value.find((E) => p === E.value);
669
582
  await v.nav.triggerEventListener("onItemRemove", _) && v.nav.removeItem(_.value);
670
583
  }, m = async (c) => {
671
- const [g, _] = c.detail;
672
- !g || !await v.nav.triggerEventListener("onProjectChange", _) || v.nav.setActiveProject(_);
584
+ const [p, _] = c.detail;
585
+ !p || !await v.nav.triggerEventListener("onProjectChange", _) || v.nav.setActiveProject(_);
673
586
  }, L = (c) => {
674
587
  v.nav.triggerEventListener("onUserCommandChange", c.detail[0]);
675
- }, K = (c) => {
588
+ }, Q = (c) => {
676
589
  v.nav.triggerEventListener("searchToPage", { item: c.detail[0], keyword: c.detail[1], cb: c.detail[2] });
677
590
  }, B = (c) => {
678
591
  v.nav.triggerEventListener("clearSearchList", { cb: c.detail[0] });
679
- }, C = (c) => {
592
+ }, b = (c) => {
680
593
  v.nav.triggerEventListener("deleteSearchItem", { value: c.detail[0], cb: c.detail[1] });
681
594
  }, j = () => {
682
595
  v.nav.triggerEventListener("changeEnterpriseHandle");
@@ -689,7 +602,7 @@ const h = z({
689
602
  v.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
690
603
  }), _e(() => {
691
604
  v.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
692
- }), (c, g) => (p(), k("das-ce-nav", {
605
+ }), (c, p) => (g(), I("das-ce-nav", {
693
606
  theme: n.value,
694
607
  modelValue: d.value,
695
608
  logoUrl: l.value,
@@ -703,14 +616,14 @@ const h = z({
703
616
  "on:handleTabClick": a,
704
617
  "on:handleTabDelete": o,
705
618
  "on:changeTreeHandle": m,
706
- "on:searchToPage": K,
619
+ "on:searchToPage": Q,
707
620
  "on:clearSearchList": B,
708
- "on:deleteSearchItem": C,
621
+ "on:deleteSearchItem": b,
709
622
  "on:changeEnterpriseHandle": j,
710
623
  "on:fullScreen": R
711
- }, null, 40, Ge));
624
+ }, null, 40, qe));
712
625
  }
713
- }), Je = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], ot = /* @__PURE__ */ Q({
626
+ }), Ge = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], rt = /* @__PURE__ */ z({
714
627
  __name: "das-web-menu",
715
628
  props: {
716
629
  menuAttr: {}
@@ -722,7 +635,7 @@ const h = z({
722
635
  }, S = (s) => {
723
636
  v.menu.setCollapse(s.detail[0]), v.menu.triggerEventListener("toggleCollapse", s.detail[0]);
724
637
  };
725
- return (s, a) => r.value.length > 0 ? (p(), k("das-ce-menu", ne({
638
+ return (s, a) => r.value.length > 0 ? (g(), I("das-ce-menu", ne({
726
639
  key: 0,
727
640
  theme: l.value,
728
641
  modelValue: y.value,
@@ -733,9 +646,9 @@ const h = z({
733
646
  }, d.value, {
734
647
  onChange: T,
735
648
  "on:toggleCollapse": S
736
- }), null, 16, Je)) : b("v-if", !0);
649
+ }), null, 16, Ge)) : C("", !0);
737
650
  }
738
- }), Xe = ["theme", "modelValue", "options"], it = /* @__PURE__ */ Q({
651
+ }), Je = ["theme", "modelValue", "options"], ot = /* @__PURE__ */ z({
739
652
  __name: "das-web-tabs",
740
653
  props: {
741
654
  tabsAttr: {}
@@ -758,7 +671,7 @@ const h = z({
758
671
  }, S = () => {
759
672
  v.tab.triggerEventListener("onToggleFullScreen");
760
673
  };
761
- return (s, a) => r.value.length > 0 ? (p(), k("das-ce-tabs", ne({
674
+ return (s, a) => r.value.length > 0 ? (g(), I("das-ce-tabs", ne({
762
675
  key: 0,
763
676
  theme: d.value,
764
677
  modelValue: f.value,
@@ -769,15 +682,15 @@ const h = z({
769
682
  "on:menuClick": P,
770
683
  "on:pageRefresh": T,
771
684
  "on:toggleFullScreen": S
772
- }), null, 16, Xe)) : b("v-if", !0);
685
+ }), null, 16, Je)) : C("", !0);
773
686
  }
774
687
  });
775
688
  O("@das-fed/web");
776
689
  export {
777
- at as DasWebLayout,
778
- ot as DasWebMenu,
779
- rt as DasWebNav,
780
- it as DasWebTabs,
690
+ st as DasWebLayout,
691
+ rt as DasWebMenu,
692
+ at as DasWebNav,
693
+ ot as DasWebTabs,
781
694
  v as layout,
782
695
  H as layoutData
783
696
  };
Binary file