@das-fed/web 6.4.0-dev.87 → 6.4.0-dev.89

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 (40) hide show
  1. package/{packages/main-app-framework/index-Dwm8jT2b.js → index-BIh1Yqk9.js} +1 -2
  2. package/index-BIh1Yqk9.js.gz +0 -0
  3. package/{index-sbckWuBF.js → index-C6k_2sBs.js} +1 -1
  4. package/{index--CLho07d.js → index-Ey8PvOVx.js} +2063 -2553
  5. package/index-Ey8PvOVx.js.gz +0 -0
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/layout/index.js +136 -227
  9. package/packages/layout/index.js.gz +0 -0
  10. package/packages/main-app-framework/{index-Grg3xnzK.js → index-DZZ-7w6n.js} +1 -1
  11. package/{index-CsKz_lhX.js → packages/main-app-framework/index-lZGYwfDm.js} +1 -2
  12. package/packages/main-app-framework/index-lZGYwfDm.js.gz +0 -0
  13. package/packages/main-app-framework/{index-C-qgilHG.js → index-ztCi-Fxb.js} +1772 -2152
  14. package/packages/main-app-framework/index-ztCi-Fxb.js.gz +0 -0
  15. package/packages/main-app-framework/index.js +1 -1
  16. package/packages/micro-frontend/index.js +19 -38
  17. package/packages/micro-frontend/index.js.gz +0 -0
  18. package/types/create-das-web-app/index.d.ts +1 -1
  19. package/types/i18n/index.d.ts +2 -2
  20. package/types/layout/store/index.d.ts +1 -1
  21. package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
  22. package/types/main-app-framework/business/video-link/index.d.ts +3 -3
  23. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  24. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  25. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
  26. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
  27. package/types/main-app-framework/index.d.ts +2 -2
  28. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -2
  29. package/types/main-app-framework/init-config/get-system-config/index.d.ts +2 -2
  30. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
  31. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  32. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +4 -4
  33. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
  34. package/types/main-app-framework/init-platform/index.d.ts +1 -1
  35. package/types/micro-frontend/store.d.ts +5 -5
  36. package/types/theme/index.d.ts +1 -1
  37. package/index--CLho07d.js.gz +0 -0
  38. package/index-CsKz_lhX.js.gz +0 -0
  39. package/packages/main-app-framework/index-C-qgilHG.js.gz +0 -0
  40. package/packages/main-app-framework/index-Dwm8jT2b.js.gz +0 -0
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--CLho07d.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-Ey8PvOVx.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-dev.87",
3
+ "version": "6.4.0-dev.89",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "dependencies": {
7
- "@das-fed/ui": "6.4.0-dev.87",
8
- "@das-fed/utils": "6.4.0-dev.87",
9
- "@das-fed/web": "6.4.0-dev.87",
10
- "@das-fed/web-components": "6.4.0-dev.87",
7
+ "@das-fed/ui": "6.4.0-dev.89",
8
+ "@das-fed/utils": "6.4.0-dev.89",
9
+ "@das-fed/web": "6.4.0-dev.89",
10
+ "@das-fed/web-components": "6.4.0-dev.89",
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-dev.87",
22
+ "@das-fed/cli": "6.4.0-dev.89",
23
23
  "@types/crypto-js": "^4.2.2",
24
24
  "@types/lodash": "^4.14.194",
25
25
  "@types/lodash-es": "^4.17.12",
@@ -1,5 +1,5 @@
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 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 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";
@@ -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((L) => L.meta.isShow);
313
+ const s = r.value.find((_) => _.meta.isShow);
314
314
  s && (s.meta.isShow = !1, await oe(), v.iframeView.triggerEventListener("onDeactivated", { route: s }));
315
- const a = r.value.find((L) => L.path === d.path);
315
+ const a = r.value.find((_) => _.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 oe(), v.iframeView.triggerEventListener("onActivated", { route: a }));
317
317
  };
318
318
  let S = 0;
@@ -332,43 +332,10 @@ 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) => (p(), k(J, null, [
336
+ s.needTransition ? (p(), V(he, ee(ne({ key: 0 }, n.value)), {
337
+ default: U(() => [
338
+ (p(!0), k(J, null, re(f.value, ({ path: o, meta: m }) => D((p(), k("div", {
372
339
  class: "das-iframe-router-view",
373
340
  key: m.key,
374
341
  name: o
@@ -376,16 +343,24 @@ const h = z({
376
343
  (p(), 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) : (p(!0), k(J, { key: 1 }, re(f.value, ({ path: o, meta: m }) => D((p(), k("div", {
353
+ class: "das-iframe-router-view",
354
+ key: m.key,
355
+ name: o
356
+ }, [
357
+ (p(), 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;
@@ -432,14 +407,14 @@ const h = z({
432
407
  })), s = u(() => H.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = u(() => t.excludeRoutes), o = u(() => t.routeKeepAliveVisible);
433
408
  Z(
434
409
  () => [n.meta, n.query],
435
- ([C, j]) => {
436
- const { showLayout: R = !0, showAside: c = !0, showTabs: g = !0, layout: _ = {} } = C, {
410
+ ([L, j]) => {
411
+ const { showLayout: R = !0, showAside: c = !0, showTabs: g = !0, layout: b = {} } = L, {
437
412
  showLayout: x = !0,
438
413
  showAside: E = !0,
439
414
  showTabs: se = !0,
440
415
  app: Ye
441
416
  } = j;
442
- Ce(_);
417
+ Ce(b);
443
418
  let ae = !0, q = !0, G = !0;
444
419
  (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;
445
420
  }
@@ -449,182 +424,116 @@ const h = z({
449
424
  "enter-active-class": "animate__animated animate__fadeInLeft",
450
425
  ...t.transitionConfig || {}
451
426
  }));
452
- let L = /* @__PURE__ */ new Map();
453
- const K = (C, j) => {
427
+ let _ = /* @__PURE__ */ new Map();
428
+ const K = (L, j) => {
454
429
  let R;
455
- return L.has(j) ? R = L.get(j) : (R = {
430
+ return _.has(j) ? R = _.get(j) : (R = {
456
431
  name: j,
457
432
  render() {
458
- return Y("div", { style: { width: "100%", height: "100%" } }, [Y(C)]);
433
+ return Y("div", { style: { width: "100%", height: "100%" } }, [Y(L)]);
459
434
  }
460
- }, L.set(j, R)), Y(R);
435
+ }, _.set(j, R)), Y(R);
461
436
  }, B = u(() => H.visible.value);
462
- return (C, j) => {
437
+ return (L, j) => {
463
438
  const R = ge("router-view");
464
439
  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
+ D($("div", {
441
+ class: pe(["das-web-app-overlay", S.value]),
442
+ style: ye(s.value)
443
+ }, null, 6), [
475
444
  [M, B.value]
476
445
  ]),
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
- )), [
446
+ f.value ? D((p(), k("div", je, [
447
+ F(L.$slots, "header", {}, void 0, !0)
448
+ ], 512)), [
486
449
  [M, B.value]
487
- ]) : b("v-if", !0),
450
+ ]) : C("", !0),
488
451
  $("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
- )), [
452
+ y.value ? D((p(), k("div", $e, [
453
+ F(L.$slots, "aside", {}, void 0, !0)
454
+ ], 512)), [
498
455
  [M, B.value]
499
- ]) : b("v-if", !0),
456
+ ]) : C("", !0),
500
457
  $("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
- )), [
458
+ i.value ? D((p(), k("div", He, [
459
+ F(L.$slots, "tab", {}, void 0, !0)
460
+ ], 512)), [
510
461
  [M, B.value]
511
- ]) : b("v-if", !0),
462
+ ]) : C("", !0),
512
463
  $("div", Fe, [
513
- D($(
514
- "div",
515
- Ne,
516
- [
517
- F(C.$slots, "banner", {}, void 0, !0)
518
- ],
519
- 512
520
- /* NEED_PATCH */
521
- ), [
464
+ D($("div", Ne, [
465
+ F(L.$slots, "banner", {}, void 0, !0)
466
+ ], 512), [
522
467
  [M, B.value]
523
468
  ]),
524
469
  $("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
- ), [
470
+ D($("div", Ue, [
471
+ F(L.$slots, "router-view", {}, () => [
472
+ L.needTransition ? (p(), V(R, { key: 0 }, {
473
+ default: U(({ Component: c }) => [
474
+ X(ie, ee(le(m.value)), {
475
+ default: U(() => {
476
+ var g;
477
+ return [
478
+ w(n).meta.keepAlive ? (p(), V(ce, {
479
+ key: 0,
480
+ exclude: a.value
481
+ }, [
482
+ o.value && !((g = w(n).meta) != null && g.isIframe) ? (p(), V(N(K(c, w(n).path)), {
483
+ key: w(n).path
484
+ })) : C("", !0)
485
+ ], 1032, ["exclude"])) : C("", !0)
486
+ ];
487
+ }),
488
+ _: 2
489
+ }, 1040),
490
+ X(ie, ee(le(m.value)), {
491
+ default: U(() => [
492
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", We, [
493
+ (p(), V(N(c), {
494
+ key: w(n).path
495
+ }))
496
+ ])) : C("", !0)
497
+ ]),
498
+ _: 2
499
+ }, 1040)
500
+ ]),
501
+ _: 1
502
+ })) : C("", !0),
503
+ L.needTransition ? C("", !0) : (p(), V(R, { key: 1 }, {
504
+ default: U(({ Component: c }) => [
505
+ w(n).meta.keepAlive ? (p(), V(ce, {
506
+ key: 0,
507
+ exclude: a.value
508
+ }, [
509
+ o.value && !w(n).meta.isIframe ? (p(), V(N(K(c, w(n).path)), {
510
+ key: w(n).path
511
+ })) : C("", !0)
512
+ ], 1032, ["exclude"])) : C("", !0),
513
+ !w(n).meta.keepAlive && !w(n).meta.isIframe ? (p(), k("div", ze, [
514
+ (p(), V(N(c), {
515
+ key: w(n).path
516
+ }))
517
+ ])) : C("", !0)
518
+ ]),
519
+ _: 1
520
+ })),
521
+ D($("div", Qe, [
522
+ X(De, {
523
+ exclude: a.value,
524
+ transitionConfig: m.value,
525
+ needTransition: L.needTransition
526
+ }, null, 8, ["exclude", "transitionConfig", "needTransition"])
527
+ ], 512), [
528
+ [M, w(n).meta.isIframe]
529
+ ])
530
+ ], !0)
531
+ ], 512), [
617
532
  [M, P.value]
618
533
  ]),
619
- D($(
620
- "div",
621
- Ke,
622
- [
623
- F(C.$slots, "default", {}, void 0, !0)
624
- ],
625
- 512
626
- /* NEED_PATCH */
627
- ), [
534
+ D($("div", Ke, [
535
+ F(L.$slots, "default", {}, void 0, !0)
536
+ ], 512), [
628
537
  [M, !P.value]
629
538
  ])
630
539
  ])
@@ -638,11 +547,11 @@ const h = z({
638
547
  __name: "das-web-nav",
639
548
  setup(e) {
640
549
  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;
550
+ var c, g, b, x;
642
551
  return {
643
552
  showFullScreen: ((c = t.config) == null ? void 0 : c.showFullScreen) ?? !1,
644
553
  showChangeEnterprise: ((g = t.config) == null ? void 0 : g.showChangeEnterprise) ?? !1,
645
- showSearch: ((_ = t.config) == null ? void 0 : _.showSearch) ?? !0,
554
+ showSearch: ((b = t.config) == null ? void 0 : b.showSearch) ?? !0,
646
555
  showProjectTree: ((x = t.config) == null ? void 0 : x.showProjectTree) ?? !0,
647
556
  subAppList: f.value.map((E) => ({ code: E.value, name: E.label, ...E }))
648
557
  };
@@ -659,24 +568,24 @@ const h = z({
659
568
  },
660
569
  ...t.projectConfig
661
570
  })), 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);
663
- await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
571
+ const g = c.detail[0], b = r.value.find((E) => g.value === E.value);
572
+ await v.nav.triggerEventListener("onItemClick", b) && v.nav.setActiveItem(b.value);
664
573
  }, a = async (c) => {
665
- const g = c.detail[0], _ = f.value.find((E) => g === E.value);
666
- await v.nav.triggerEventListener("onItemClick", _) && v.nav.setActiveItem(_.value);
574
+ const g = c.detail[0], b = f.value.find((E) => g === E.value);
575
+ await v.nav.triggerEventListener("onItemClick", b) && v.nav.setActiveItem(b.value);
667
576
  }, o = async (c) => {
668
- const g = c.detail[0], _ = f.value.find((E) => g === E.value);
669
- await v.nav.triggerEventListener("onItemRemove", _) && v.nav.removeItem(_.value);
577
+ const g = c.detail[0], b = f.value.find((E) => g === E.value);
578
+ await v.nav.triggerEventListener("onItemRemove", b) && v.nav.removeItem(b.value);
670
579
  }, m = async (c) => {
671
- const [g, _] = c.detail;
672
- !g || !await v.nav.triggerEventListener("onProjectChange", _) || v.nav.setActiveProject(_);
673
- }, L = (c) => {
580
+ const [g, b] = c.detail;
581
+ !g || !await v.nav.triggerEventListener("onProjectChange", b) || v.nav.setActiveProject(b);
582
+ }, _ = (c) => {
674
583
  v.nav.triggerEventListener("onUserCommandChange", c.detail[0]);
675
584
  }, K = (c) => {
676
585
  v.nav.triggerEventListener("searchToPage", { item: c.detail[0], keyword: c.detail[1], cb: c.detail[2] });
677
586
  }, B = (c) => {
678
587
  v.nav.triggerEventListener("clearSearchList", { cb: c.detail[0] });
679
- }, C = (c) => {
588
+ }, L = (c) => {
680
589
  v.nav.triggerEventListener("deleteSearchItem", { value: c.detail[0], cb: c.detail[1] });
681
590
  }, j = () => {
682
591
  v.nav.triggerEventListener("changeEnterpriseHandle");
@@ -698,14 +607,14 @@ const h = z({
698
607
  searchConfig: S.value,
699
608
  projectTreeConfig: P.value,
700
609
  userInfoConfig: T.value,
701
- "on:userCommandHandle": L,
610
+ "on:userCommandHandle": _,
702
611
  "on:changeInnerPage": s,
703
612
  "on:handleTabClick": a,
704
613
  "on:handleTabDelete": o,
705
614
  "on:changeTreeHandle": m,
706
615
  "on:searchToPage": K,
707
616
  "on:clearSearchList": B,
708
- "on:deleteSearchItem": C,
617
+ "on:deleteSearchItem": L,
709
618
  "on:changeEnterpriseHandle": j,
710
619
  "on:fullScreen": R
711
620
  }, null, 40, Ge));
@@ -717,7 +626,7 @@ const h = z({
717
626
  },
718
627
  setup(e) {
719
628
  const { menu: t } = H, n = e, l = u(() => t.theme), d = u(() => n.menuAttr || {}), r = u(() => t.items), f = u(() => t.items.find((s) => s.fixed)), y = u(() => t.activeItem || ""), i = u(() => t.collapse || !1), P = u(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (s) => {
720
- const a = s.detail[0], o = Ee(r.value).find((L) => a === L.id);
629
+ const a = s.detail[0], o = Ee(r.value).find((_) => a === _.id);
721
630
  await v.menu.triggerEventListener("onItemClick", o) && v.menu.setActiveItem(o.id);
722
631
  }, S = (s) => {
723
632
  v.menu.setCollapse(s.detail[0]), v.menu.triggerEventListener("toggleCollapse", s.detail[0]);
@@ -733,7 +642,7 @@ const h = z({
733
642
  }, d.value, {
734
643
  onChange: T,
735
644
  "on:toggleCollapse": S
736
- }), null, 16, Je)) : b("v-if", !0);
645
+ }), null, 16, Je)) : C("", !0);
737
646
  }
738
647
  }), Xe = ["theme", "modelValue", "options"], it = /* @__PURE__ */ Q({
739
648
  __name: "das-web-tabs",
@@ -746,10 +655,10 @@ const h = z({
746
655
  key: s.value,
747
656
  tab: s.label
748
657
  }))), f = u(() => t.activeItem || ""), y = async (s) => {
749
- const a = s.detail[0], o = r.value.find((L) => a === L.value);
658
+ const a = s.detail[0], o = r.value.find((_) => a === _.value);
750
659
  await v.tab.triggerEventListener("onItemClick", o) && v.tab.setActiveItem(o.value);
751
660
  }, i = async (s) => {
752
- const a = s.detail[0], o = r.value.find((L) => a === L.value);
661
+ const a = s.detail[0], o = r.value.find((_) => a === _.value);
753
662
  await v.tab.triggerEventListener("onItemRemove", o) && v.tab.removeItem(o.value);
754
663
  }, P = async (s) => {
755
664
  await v.tab.triggerEventListener("onMenuClick", { type: s.detail[0], data: s.detail[1] });
@@ -769,7 +678,7 @@ const h = z({
769
678
  "on:menuClick": P,
770
679
  "on:pageRefresh": T,
771
680
  "on:toggleFullScreen": S
772
- }), null, 16, Xe)) : b("v-if", !0);
681
+ }), null, 16, Xe)) : C("", !0);
773
682
  }
774
683
  });
775
684
  O("@das-fed/web");
Binary file
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-C-qgilHG.js";
2
+ import { _ as c } from "./index-ztCi-Fxb.js";
3
3
  const o = {};
4
4
  function t(n, _) {
5
5
  return e(), r("div");
@@ -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--CLho07d.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-ztCi-Fxb.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) {
@@ -71,7 +71,6 @@ const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/
71
71
  }, null, 8, ["theme", "appCategorys"])
72
72
  ]),
73
73
  _: 1
74
- /* STABLE */
75
74
  }, 8, ["spinning"])), [
76
75
  [I, !h.value]
77
76
  ]);