@das-fed/web 6.4.0-hot.50 → 6.4.0-hot.51

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 (50) hide show
  1. package/{packages/main-app-framework/index-B_VNr9Cx.js → index-Cl3hnQ3N.js} +1 -1
  2. package/{index-C6EBmEp4.js → index-D9P3JHvk.js} +3593 -3113
  3. package/index-D9P3JHvk.js.gz +0 -0
  4. package/{packages/main-app-framework/index-DXkBo0db.js → index-oGm_kuA1.js} +2 -1
  5. package/index-oGm_kuA1.js.gz +0 -0
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/create-das-web-app/index.js.gz +0 -0
  9. package/packages/i18n/index.js.gz +0 -0
  10. package/packages/layout/index.js +188 -103
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/layout/style.css.gz +0 -0
  13. package/packages/main-app-framework/{index-evPCaBEo.js → index-CPfHlpZl.js} +3351 -2975
  14. package/packages/main-app-framework/index-CPfHlpZl.js.gz +0 -0
  15. package/{index-D4Bu_emO.js → packages/main-app-framework/index-D0IwIvDd.js} +1 -1
  16. package/{index-DoOQN3bh.js → packages/main-app-framework/index-DUMHs9Ne.js} +2 -1
  17. package/packages/main-app-framework/index-DUMHs9Ne.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/packages/micro-frontend/index.js +38 -19
  22. package/packages/micro-frontend/index.js.gz +0 -0
  23. package/packages/style/style.css.gz +0 -0
  24. package/packages/theme/index.js.gz +0 -0
  25. package/style.css +1 -1
  26. package/style.css.gz +0 -0
  27. package/types/create-das-web-app/index.d.ts +1 -1
  28. package/types/i18n/index.d.ts +2 -2
  29. package/types/layout/store/index.d.ts +1 -1
  30. package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
  31. package/types/main-app-framework/business/video-link/index.d.ts +3 -3
  32. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  33. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  34. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
  35. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
  36. package/types/main-app-framework/index.d.ts +2 -2
  37. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -2
  38. package/types/main-app-framework/init-config/get-system-config/index.d.ts +2 -2
  39. package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +1 -1
  40. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
  41. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  42. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +5 -5
  43. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
  44. package/types/main-app-framework/init-platform/index.d.ts +1 -1
  45. package/types/micro-frontend/store.d.ts +5 -5
  46. package/types/theme/index.d.ts +1 -1
  47. package/index-C6EBmEp4.js.gz +0 -0
  48. package/index-DoOQN3bh.js.gz +0 -0
  49. package/packages/main-app-framework/index-DXkBo0db.js.gz +0 -0
  50. package/packages/main-app-framework/index-evPCaBEo.js.gz +0 -0
Binary file
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
6
  import { getTabInfo as T } from "@das-fed/utils/common-info";
7
7
  import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
8
  import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-evPCaBEo.js";
9
+ import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-D9P3JHvk.js";
10
10
  const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
11
11
  __name: "index",
12
12
  setup(F) {
@@ -76,6 +76,7 @@ const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/
76
76
  }, null, 8, ["theme", "appCategorys"])
77
77
  ]),
78
78
  _: 1
79
+ /* STABLE */
79
80
  }, 8, ["spinning"])), [
80
81
  [I, !m.value]
81
82
  ]);
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-C6EBmEp4.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-D9P3JHvk.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": "6.4.0-hot.50",
3
+ "version": "6.4.0-hot.51",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-hot.50",
8
- "@das-fed/utils": "6.4.0-hot.50",
9
- "@das-fed/web": "6.4.0-hot.50",
10
- "@das-fed/web-components": "6.4.0-hot.50",
7
+ "@das-fed/ui": "6.4.0-hot.51",
8
+ "@das-fed/utils": "6.4.0-hot.51",
9
+ "@das-fed/web": "6.4.0-hot.51",
10
+ "@das-fed/web-components": "6.4.0-hot.51",
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": "6.4.0-hot.50",
22
+ "@das-fed/cli": "6.4.0-hot.51",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
Binary file
@@ -1,5 +1,5 @@
1
1
  import '@das-fed/web/packages/layout/style.css';
2
- import { reactive as z, ref as U, defineComponent as Q, computed as c, watch as te, createElementBlock as C, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as I, TransitionGroup as ge, normalizeProps as ne, mergeProps as ae, withCtx as W, renderList as oe, withDirectives as D, resolveDynamicComponent as O, vShow as M, unref as b, nextTick as ie, resolveComponent as pe, createElementVNode as H, normalizeStyle as ye, normalizeClass as we, renderSlot as N, createVNode as Z, Transition as le, guardReactiveProps as ce, KeepAlive as ue, h as ee, onBeforeMount as be, onMounted as Le, onUnmounted as _e } from "vue";
2
+ import { reactive as z, ref as U, defineComponent as Q, computed as c, watch as te, createElementBlock as C, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as L, TransitionGroup as ge, normalizeProps as ne, mergeProps as ae, withCtx as W, renderList as oe, withDirectives as D, resolveDynamicComponent as O, vShow as M, unref as b, nextTick as ie, resolveComponent as pe, createElementVNode as H, normalizeStyle as ye, normalizeClass as we, renderSlot as N, createVNode as Z, Transition as le, guardReactiveProps as ce, KeepAlive as ue, h as ee, onBeforeMount as be, onMounted as Le, onUnmounted as _e } from "vue";
3
3
  import { useRouter as Ie, useRoute as fe } from "vue-router";
4
4
  import { setHtmlMinWH as Ce } from "@das-fed/utils/common-tools/setHtmlMinWH";
5
5
  import { createCeNav as ke, createCeTabs as Te, createCeMenu as Ae } from "@das-fed/web-components/das-web-app";
@@ -310,9 +310,9 @@ const h = z({
310
310
  }, T = async () => {
311
311
  var o, m;
312
312
  if (!r.value || !r.value.length) return;
313
- const s = r.value.find((_) => _.meta.isShow);
313
+ const s = r.value.find((I) => I.meta.isShow);
314
314
  s && (s.meta.isShow = !1, await ie(), v.iframeView.triggerEventListener("onDeactivated", { route: s }));
315
- const a = r.value.find((_) => _.path === d.path);
315
+ const a = r.value.find((I) => I.path === d.path);
316
316
  a && ((o = a.meta) != null && o.isOpen || (a.meta.isOpen = !0), (m = a.meta) != null && m.isShow || (a.meta.isShow = !0), await ie(), v.iframeView.triggerEventListener("onActivated", { route: a }));
317
317
  };
318
318
  let S = 0;
@@ -332,10 +332,43 @@ const h = z({
332
332
  r.value.forEach((a) => {
333
333
  a.path === s && (a.meta.isOpen = !1);
334
334
  });
335
- }), (s, a) => (g(), C(Y, null, [
336
- s.needTransition ? (g(), V(ge, ne(ae({ key: 0 }, n.value)), {
337
- default: W(() => [
338
- (g(!0), C(Y, null, oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
335
+ }), (s, a) => (g(), C(
336
+ Y,
337
+ null,
338
+ [
339
+ s.needTransition ? (g(), V(
340
+ ge,
341
+ ne(ae({ key: 0 }, n.value)),
342
+ {
343
+ default: W(() => [
344
+ (g(!0), C(
345
+ Y,
346
+ null,
347
+ oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
348
+ class: "das-iframe-router-view",
349
+ key: m.key,
350
+ name: o
351
+ }, [
352
+ (g(), V(O(m.componentInstance), {
353
+ key: m.key
354
+ }))
355
+ ], 8, Pe)), [
356
+ [M, m.componentInstance && o === b(d).path]
357
+ ])),
358
+ 128
359
+ /* KEYED_FRAGMENT */
360
+ ))
361
+ ]),
362
+ _: 1
363
+ /* STABLE */
364
+ },
365
+ 16
366
+ /* FULL_PROPS */
367
+ )) : L("v-if", !0),
368
+ s.needTransition ? L("v-if", !0) : (g(!0), C(
369
+ Y,
370
+ { key: 1 },
371
+ oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
339
372
  class: "das-iframe-router-view",
340
373
  key: m.key,
341
374
  name: o
@@ -343,24 +376,16 @@ const h = z({
343
376
  (g(), V(O(m.componentInstance), {
344
377
  key: m.key
345
378
  }))
346
- ], 8, Pe)), [
379
+ ], 8, Se)), [
347
380
  [M, m.componentInstance && o === b(d).path]
348
- ])), 128))
349
- ]),
350
- _: 1
351
- }, 16)) : I("", !0),
352
- s.needTransition ? I("", !0) : (g(!0), C(Y, { key: 1 }, oe(f.value, ({ path: o, meta: m }) => D((g(), C("div", {
353
- class: "das-iframe-router-view",
354
- key: m.key,
355
- name: o
356
- }, [
357
- (g(), V(O(m.componentInstance), {
358
- key: m.key
359
- }))
360
- ], 8, Se)), [
361
- [M, m.componentInstance && o === b(d).path]
362
- ])), 128))
363
- ], 64));
381
+ ])),
382
+ 128
383
+ /* KEYED_FRAGMENT */
384
+ ))
385
+ ],
386
+ 64
387
+ /* STABLE_FRAGMENT */
388
+ ));
364
389
  }
365
390
  }), he = (e, t) => {
366
391
  const n = e.__vccOpts || e;
@@ -408,8 +433,8 @@ const h = z({
408
433
  })), s = c(() => F.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = c(() => t.excludeRoutes), o = c(() => t.routeKeepAliveVisible);
409
434
  te(
410
435
  () => [n.meta, n.query],
411
- ([L, j]) => {
412
- const { showLayout: A = !0, showAside: x = !0, showTabs: u = !0, layout: p = {} } = L, {
436
+ ([_, j]) => {
437
+ const { showLayout: A = !0, showAside: x = !0, showTabs: u = !0, layout: p = {} } = _, {
413
438
  showLayout: w = !0,
414
439
  showAside: $ = !0,
415
440
  showTabs: E = !0,
@@ -425,86 +450,133 @@ const h = z({
425
450
  "enter-active-class": "animate__animated animate__fadeInLeft",
426
451
  ...t.transitionConfig || {}
427
452
  }));
428
- let _ = /* @__PURE__ */ new Map();
429
- const q = (L, j) => {
453
+ let I = /* @__PURE__ */ new Map();
454
+ const q = (_, j) => {
430
455
  let A;
431
- return _.has(j) ? A = _.get(j) : (A = {
456
+ return I.has(j) ? A = I.get(j) : (A = {
432
457
  name: j,
433
458
  render() {
434
- return ee("div", { style: { width: "100%", height: "100%" } }, [ee(L)]);
459
+ return ee("div", { style: { width: "100%", height: "100%" } }, [ee(_)]);
435
460
  }
436
- }, _.set(j, A)), ee(A);
461
+ }, I.set(j, A)), ee(A);
437
462
  }, B = c(() => F.visible.value);
438
- return (L, j) => {
463
+ return (_, j) => {
439
464
  const A = pe("router-view");
440
465
  return g(), C("div", je, [
441
- D(H("div", {
442
- class: we(["das-web-app-overlay", S.value]),
443
- style: ye(s.value)
444
- }, null, 6), [
466
+ D(H(
467
+ "div",
468
+ {
469
+ class: we(["das-web-app-overlay", S.value]),
470
+ style: ye(s.value)
471
+ },
472
+ null,
473
+ 6
474
+ /* CLASS, STYLE */
475
+ ), [
445
476
  [M, B.value]
446
477
  ]),
447
- f.value ? D((g(), C("div", xe, [
448
- N(L.$slots, "header", {}, void 0, !0)
449
- ], 512)), [
478
+ f.value ? D((g(), C(
479
+ "div",
480
+ xe,
481
+ [
482
+ N(_.$slots, "header", {}, void 0, !0)
483
+ ],
484
+ 512
485
+ /* NEED_PATCH */
486
+ )), [
450
487
  [M, B.value]
451
- ]) : I("", !0),
488
+ ]) : L("v-if", !0),
452
489
  H("div", $e, [
453
- y.value ? D((g(), C("div", He, [
454
- N(L.$slots, "aside", {}, void 0, !0)
455
- ], 512)), [
490
+ y.value ? D((g(), C(
491
+ "div",
492
+ He,
493
+ [
494
+ N(_.$slots, "aside", {}, void 0, !0)
495
+ ],
496
+ 512
497
+ /* NEED_PATCH */
498
+ )), [
456
499
  [M, B.value]
457
- ]) : I("", !0),
500
+ ]) : L("v-if", !0),
458
501
  H("div", Be, [
459
- i.value ? D((g(), C("div", Fe, [
460
- N(L.$slots, "tab", {}, void 0, !0)
461
- ], 512)), [
502
+ i.value ? D((g(), C(
503
+ "div",
504
+ Fe,
505
+ [
506
+ N(_.$slots, "tab", {}, void 0, !0)
507
+ ],
508
+ 512
509
+ /* NEED_PATCH */
510
+ )), [
462
511
  [M, B.value]
463
- ]) : I("", !0),
512
+ ]) : L("v-if", !0),
464
513
  H("div", Ne, [
465
- D(H("div", Oe, [
466
- N(L.$slots, "banner", {}, void 0, !0)
467
- ], 512), [
514
+ D(H(
515
+ "div",
516
+ Oe,
517
+ [
518
+ N(_.$slots, "banner", {}, void 0, !0)
519
+ ],
520
+ 512
521
+ /* NEED_PATCH */
522
+ ), [
468
523
  [M, B.value]
469
524
  ]),
470
525
  H("div", Ue, [
471
526
  D((g(), C("div", {
472
- key: L.pageKey,
527
+ key: _.pageKey,
473
528
  style: { width: "100%", height: "100%" }
474
529
  }, [
475
- N(L.$slots, "router-view", {}, () => [
476
- L.needTransition ? (g(), V(A, { key: 0 }, {
530
+ N(_.$slots, "router-view", {}, () => [
531
+ L(" 有动画 "),
532
+ _.needTransition ? (g(), V(A, { key: 0 }, {
477
533
  default: W(({ Component: x }) => [
478
- Z(le, ne(ce(m.value)), {
479
- default: W(() => {
480
- var u;
481
- return [
482
- b(n).meta.keepAlive ? (g(), V(ue, {
483
- key: 0,
484
- exclude: a.value
485
- }, [
486
- o.value && !((u = b(n).meta) != null && u.isIframe) ? (g(), V(O(q(x, b(n).path)), {
534
+ Z(
535
+ le,
536
+ ne(ce(m.value)),
537
+ {
538
+ default: W(() => {
539
+ var u;
540
+ return [
541
+ b(n).meta.keepAlive ? (g(), V(ue, {
542
+ key: 0,
543
+ exclude: a.value
544
+ }, [
545
+ o.value && !((u = b(n).meta) != null && u.isIframe) ? (g(), V(O(q(x, b(n).path)), {
546
+ key: b(n).path
547
+ })) : L("v-if", !0)
548
+ ], 1032, ["exclude"])) : L("v-if", !0)
549
+ ];
550
+ }),
551
+ _: 2
552
+ /* DYNAMIC */
553
+ },
554
+ 1040
555
+ /* FULL_PROPS, DYNAMIC_SLOTS */
556
+ ),
557
+ Z(
558
+ le,
559
+ ne(ce(m.value)),
560
+ {
561
+ default: W(() => [
562
+ !b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", We, [
563
+ (g(), V(O(x), {
487
564
  key: b(n).path
488
- })) : I("", !0)
489
- ], 1032, ["exclude"])) : I("", !0)
490
- ];
491
- }),
492
- _: 2
493
- }, 1040),
494
- Z(le, ne(ce(m.value)), {
495
- default: W(() => [
496
- !b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", We, [
497
- (g(), V(O(x), {
498
- key: b(n).path
499
- }))
500
- ])) : I("", !0)
501
- ]),
502
- _: 2
503
- }, 1040)
565
+ }))
566
+ ])) : L("v-if", !0)
567
+ ]),
568
+ _: 2
569
+ /* DYNAMIC */
570
+ },
571
+ 1040
572
+ /* FULL_PROPS, DYNAMIC_SLOTS */
573
+ )
504
574
  ]),
505
575
  _: 1
506
- })) : I("", !0),
507
- L.needTransition ? I("", !0) : (g(), V(A, { key: 1 }, {
576
+ /* STABLE */
577
+ })) : L("v-if", !0),
578
+ L(" 无动画 "),
579
+ _.needTransition ? L("v-if", !0) : (g(), V(A, { key: 1 }, {
508
580
  default: W(({ Component: x }) => [
509
581
  b(n).meta.keepAlive ? (g(), V(ue, {
510
582
  key: 0,
@@ -512,32 +584,45 @@ const h = z({
512
584
  }, [
513
585
  o.value && !b(n).meta.isIframe ? (g(), V(O(q(x, b(n).path)), {
514
586
  key: b(n).path
515
- })) : I("", !0)
516
- ], 1032, ["exclude"])) : I("", !0),
587
+ })) : L("v-if", !0)
588
+ ], 1032, ["exclude"])) : L("v-if", !0),
517
589
  !b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", Ke, [
518
590
  (g(), V(O(x), {
519
591
  key: b(n).path
520
592
  }))
521
- ])) : I("", !0)
593
+ ])) : L("v-if", !0)
522
594
  ]),
523
595
  _: 1
596
+ /* STABLE */
524
597
  })),
525
- D(H("div", ze, [
526
- Z(Me, {
527
- exclude: a.value,
528
- transitionConfig: m.value,
529
- needTransition: L.needTransition
530
- }, null, 8, ["exclude", "transitionConfig", "needTransition"])
531
- ], 512), [
598
+ D(H(
599
+ "div",
600
+ ze,
601
+ [
602
+ Z(Me, {
603
+ exclude: a.value,
604
+ transitionConfig: m.value,
605
+ needTransition: _.needTransition
606
+ }, null, 8, ["exclude", "transitionConfig", "needTransition"])
607
+ ],
608
+ 512
609
+ /* NEED_PATCH */
610
+ ), [
532
611
  [M, b(n).meta.isIframe]
533
612
  ])
534
613
  ], !0)
535
614
  ])), [
536
615
  [M, P.value]
537
616
  ]),
538
- D(H("div", Qe, [
539
- N(L.$slots, "default", {}, void 0, !0)
540
- ], 512), [
617
+ D(H(
618
+ "div",
619
+ Qe,
620
+ [
621
+ N(_.$slots, "default", {}, void 0, !0)
622
+ ],
623
+ 512
624
+ /* NEED_PATCH */
625
+ ), [
541
626
  [M, !P.value]
542
627
  ])
543
628
  ])
@@ -584,13 +669,13 @@ const h = z({
584
669
  }, m = async (u) => {
585
670
  const [p, w] = u.detail;
586
671
  !p || !await v.nav.triggerEventListener("onProjectChange", w) || v.nav.setActiveProject(w);
587
- }, _ = (u) => {
672
+ }, I = (u) => {
588
673
  v.nav.triggerEventListener("onUserCommandChange", u.detail[0]);
589
674
  }, q = (u) => {
590
675
  v.nav.triggerEventListener("searchToPage", { item: u.detail[0], keyword: u.detail[1], cb: u.detail[2] });
591
676
  }, B = (u) => {
592
677
  v.nav.triggerEventListener("clearSearchList", { cb: u.detail[0] });
593
- }, L = (u) => {
678
+ }, _ = (u) => {
594
679
  v.nav.triggerEventListener("deleteSearchItem", { value: u.detail[0], cb: u.detail[1] });
595
680
  }, j = () => {
596
681
  v.nav.triggerEventListener("changeEnterpriseHandle");
@@ -614,14 +699,14 @@ const h = z({
614
699
  searchConfig: S.value,
615
700
  projectTreeConfig: P.value,
616
701
  userInfoConfig: T.value,
617
- "on:userCommandHandle": _,
702
+ "on:userCommandHandle": I,
618
703
  "on:changeInnerPage": s,
619
704
  "on:handleTabClick": a,
620
705
  "on:handleTabDelete": o,
621
706
  "on:changeTreeHandle": m,
622
707
  "on:searchToPage": q,
623
708
  "on:clearSearchList": B,
624
- "on:deleteSearchItem": L,
709
+ "on:deleteSearchItem": _,
625
710
  "on:changeEnterpriseHandle": j,
626
711
  "on:fullScreen": A,
627
712
  "on:openAI": x
@@ -634,7 +719,7 @@ const h = z({
634
719
  },
635
720
  setup(e) {
636
721
  const { menu: t } = F, n = e, l = c(() => t.theme), d = c(() => n.menuAttr || {}), r = c(() => t.items), f = c(() => t.items.find((s) => s.fixed)), y = c(() => t.activeItem || ""), i = c(() => t.collapse || !1), P = c(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (s) => {
637
- const a = s.detail[0], o = Ee(r.value).find((_) => a === _.id);
722
+ const a = s.detail[0], o = Ee(r.value).find((I) => a === I.id);
638
723
  await v.menu.triggerEventListener("onItemClick", o) && v.menu.setActiveItem(o.id);
639
724
  }, S = (s) => {
640
725
  v.menu.setCollapse(s.detail[0]), v.menu.triggerEventListener("toggleCollapse", s.detail[0]);
@@ -650,7 +735,7 @@ const h = z({
650
735
  }, d.value, {
651
736
  onChange: T,
652
737
  "on:toggleCollapse": S
653
- }), null, 16, Je)) : I("", !0);
738
+ }), null, 16, Je)) : L("v-if", !0);
654
739
  }
655
740
  }), Xe = ["theme", "modelValue", "options"], ot = /* @__PURE__ */ Q({
656
741
  __name: "das-web-tabs",
@@ -663,10 +748,10 @@ const h = z({
663
748
  key: s.value,
664
749
  tab: s.label
665
750
  }))), f = c(() => t.activeItem || ""), y = async (s) => {
666
- const a = s.detail[0], o = r.value.find((_) => a === _.value);
751
+ const a = s.detail[0], o = r.value.find((I) => a === I.value);
667
752
  await v.tab.triggerEventListener("onItemClick", o) && v.tab.setActiveItem(o.value);
668
753
  }, i = async (s) => {
669
- const a = s.detail[0], o = r.value.find((_) => a === _.value);
754
+ const a = s.detail[0], o = r.value.find((I) => a === I.value);
670
755
  await v.tab.triggerEventListener("onItemRemove", o) && v.tab.removeItem(o.value);
671
756
  }, P = async (s) => {
672
757
  await v.tab.triggerEventListener("onMenuClick", { type: s.detail[0], data: s.detail[1] });
@@ -686,7 +771,7 @@ const h = z({
686
771
  "on:menuClick": P,
687
772
  "on:pageRefresh": T,
688
773
  "on:toggleFullScreen": S
689
- }), null, 16, Xe)) : I("", !0);
774
+ }), null, 16, Xe)) : L("v-if", !0);
690
775
  }
691
776
  });
692
777
  U("@das-fed/web");
Binary file
Binary file