@das-fed/web 6.4.0-hot.51 → 6.4.0-hot.52
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.
- package/{index-D9P3JHvk.js → index-Cw2qhPqh.js} +3113 -3593
- package/index-Cw2qhPqh.js.gz +0 -0
- package/{packages/main-app-framework/index-DUMHs9Ne.js → index-piNlKhXT.js} +1 -2
- package/index-piNlKhXT.js.gz +0 -0
- package/{index-Cl3hnQ3N.js → index-w97yLPoX.js} +1 -1
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/i18n/index.js.gz +0 -0
- package/packages/layout/index.js +103 -188
- package/packages/layout/index.js.gz +0 -0
- package/packages/layout/style.css.gz +0 -0
- package/packages/main-app-framework/{index-D0IwIvDd.js → index-BTF5NK5e.js} +1 -1
- package/{index-oGm_kuA1.js → packages/main-app-framework/index-BjGERUW3.js} +1 -2
- package/packages/main-app-framework/index-BjGERUW3.js.gz +0 -0
- package/packages/main-app-framework/{index-CPfHlpZl.js → index-DGHNA_Mf.js} +2976 -3352
- package/packages/main-app-framework/index-DGHNA_Mf.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/packages/micro-frontend/index.js +19 -38
- package/packages/micro-frontend/index.js.gz +0 -0
- package/packages/style/style.css.gz +0 -0
- package/packages/theme/index.js.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/types/create-das-web-app/index.d.ts +1 -1
- package/types/i18n/index.d.ts +2 -2
- package/types/layout/store/index.d.ts +1 -1
- package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
- package/types/main-app-framework/business/video-link/index.d.ts +3 -3
- package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
- package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
- package/types/main-app-framework/index.d.ts +2 -2
- package/types/main-app-framework/init-config/get-nav-config/index.d.ts +2 -2
- package/types/main-app-framework/init-config/get-system-config/index.d.ts +2 -2
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +1 -1
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
- package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
- package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +5 -5
- package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
- package/types/main-app-framework/init-platform/index.d.ts +1 -1
- package/types/micro-frontend/store.d.ts +5 -5
- package/types/theme/index.d.ts +1 -1
- package/index-D9P3JHvk.js.gz +0 -0
- package/index-oGm_kuA1.js.gz +0 -0
- package/packages/main-app-framework/index-CPfHlpZl.js.gz +0 -0
- package/packages/main-app-framework/index-DUMHs9Ne.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-
|
|
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-Cw2qhPqh.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,7 +76,6 @@ 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 */
|
|
80
79
|
}, 8, ["spinning"])), [
|
|
81
80
|
[I, !m.value]
|
|
82
81
|
]);
|
|
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-
|
|
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-Cw2qhPqh.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.
|
|
3
|
+
"version": "6.4.0-hot.52",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "6.4.0-hot.
|
|
8
|
-
"@das-fed/utils": "6.4.0-hot.
|
|
9
|
-
"@das-fed/web": "6.4.0-hot.
|
|
10
|
-
"@das-fed/web-components": "6.4.0-hot.
|
|
7
|
+
"@das-fed/ui": "6.4.0-hot.52",
|
|
8
|
+
"@das-fed/utils": "6.4.0-hot.52",
|
|
9
|
+
"@das-fed/web": "6.4.0-hot.52",
|
|
10
|
+
"@das-fed/web-components": "6.4.0-hot.52",
|
|
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.
|
|
22
|
+
"@das-fed/cli": "6.4.0-hot.52",
|
|
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
|
|
Binary file
|
package/packages/layout/index.js
CHANGED
|
@@ -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
|
|
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";
|
|
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((
|
|
313
|
+
const s = r.value.find((_) => _.meta.isShow);
|
|
314
314
|
s && (s.meta.isShow = !1, await ie(), v.iframeView.triggerEventListener("onDeactivated", { route: s }));
|
|
315
|
-
const a = r.value.find((
|
|
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 ie(), 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) => (g(), C(
|
|
336
|
-
|
|
337
|
-
|
|
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", {
|
|
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", {
|
|
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
|
(g(), V(O(m.componentInstance), {
|
|
377
344
|
key: m.key
|
|
378
345
|
}))
|
|
379
|
-
], 8,
|
|
346
|
+
], 8, Pe)), [
|
|
380
347
|
[M, m.componentInstance && o === b(d).path]
|
|
381
|
-
])),
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
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));
|
|
389
364
|
}
|
|
390
365
|
}), he = (e, t) => {
|
|
391
366
|
const n = e.__vccOpts || e;
|
|
@@ -433,8 +408,8 @@ const h = z({
|
|
|
433
408
|
})), s = c(() => F.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), a = c(() => t.excludeRoutes), o = c(() => t.routeKeepAliveVisible);
|
|
434
409
|
te(
|
|
435
410
|
() => [n.meta, n.query],
|
|
436
|
-
([
|
|
437
|
-
const { showLayout: A = !0, showAside: x = !0, showTabs: u = !0, layout: p = {} } =
|
|
411
|
+
([L, j]) => {
|
|
412
|
+
const { showLayout: A = !0, showAside: x = !0, showTabs: u = !0, layout: p = {} } = L, {
|
|
438
413
|
showLayout: w = !0,
|
|
439
414
|
showAside: $ = !0,
|
|
440
415
|
showTabs: E = !0,
|
|
@@ -450,133 +425,86 @@ const h = z({
|
|
|
450
425
|
"enter-active-class": "animate__animated animate__fadeInLeft",
|
|
451
426
|
...t.transitionConfig || {}
|
|
452
427
|
}));
|
|
453
|
-
let
|
|
454
|
-
const q = (
|
|
428
|
+
let _ = /* @__PURE__ */ new Map();
|
|
429
|
+
const q = (L, j) => {
|
|
455
430
|
let A;
|
|
456
|
-
return
|
|
431
|
+
return _.has(j) ? A = _.get(j) : (A = {
|
|
457
432
|
name: j,
|
|
458
433
|
render() {
|
|
459
|
-
return ee("div", { style: { width: "100%", height: "100%" } }, [ee(
|
|
434
|
+
return ee("div", { style: { width: "100%", height: "100%" } }, [ee(L)]);
|
|
460
435
|
}
|
|
461
|
-
},
|
|
436
|
+
}, _.set(j, A)), ee(A);
|
|
462
437
|
}, B = c(() => F.visible.value);
|
|
463
|
-
return (
|
|
438
|
+
return (L, j) => {
|
|
464
439
|
const A = pe("router-view");
|
|
465
440
|
return g(), C("div", je, [
|
|
466
|
-
D(H(
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
style: ye(s.value)
|
|
471
|
-
},
|
|
472
|
-
null,
|
|
473
|
-
6
|
|
474
|
-
/* CLASS, STYLE */
|
|
475
|
-
), [
|
|
441
|
+
D(H("div", {
|
|
442
|
+
class: we(["das-web-app-overlay", S.value]),
|
|
443
|
+
style: ye(s.value)
|
|
444
|
+
}, null, 6), [
|
|
476
445
|
[M, B.value]
|
|
477
446
|
]),
|
|
478
|
-
f.value ? D((g(), C(
|
|
479
|
-
"
|
|
480
|
-
|
|
481
|
-
[
|
|
482
|
-
N(_.$slots, "header", {}, void 0, !0)
|
|
483
|
-
],
|
|
484
|
-
512
|
|
485
|
-
/* NEED_PATCH */
|
|
486
|
-
)), [
|
|
447
|
+
f.value ? D((g(), C("div", xe, [
|
|
448
|
+
N(L.$slots, "header", {}, void 0, !0)
|
|
449
|
+
], 512)), [
|
|
487
450
|
[M, B.value]
|
|
488
|
-
]) :
|
|
451
|
+
]) : I("", !0),
|
|
489
452
|
H("div", $e, [
|
|
490
|
-
y.value ? D((g(), C(
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
[
|
|
494
|
-
N(_.$slots, "aside", {}, void 0, !0)
|
|
495
|
-
],
|
|
496
|
-
512
|
|
497
|
-
/* NEED_PATCH */
|
|
498
|
-
)), [
|
|
453
|
+
y.value ? D((g(), C("div", He, [
|
|
454
|
+
N(L.$slots, "aside", {}, void 0, !0)
|
|
455
|
+
], 512)), [
|
|
499
456
|
[M, B.value]
|
|
500
|
-
]) :
|
|
457
|
+
]) : I("", !0),
|
|
501
458
|
H("div", Be, [
|
|
502
|
-
i.value ? D((g(), C(
|
|
503
|
-
"
|
|
504
|
-
|
|
505
|
-
[
|
|
506
|
-
N(_.$slots, "tab", {}, void 0, !0)
|
|
507
|
-
],
|
|
508
|
-
512
|
|
509
|
-
/* NEED_PATCH */
|
|
510
|
-
)), [
|
|
459
|
+
i.value ? D((g(), C("div", Fe, [
|
|
460
|
+
N(L.$slots, "tab", {}, void 0, !0)
|
|
461
|
+
], 512)), [
|
|
511
462
|
[M, B.value]
|
|
512
|
-
]) :
|
|
463
|
+
]) : I("", !0),
|
|
513
464
|
H("div", Ne, [
|
|
514
|
-
D(H(
|
|
515
|
-
"
|
|
516
|
-
|
|
517
|
-
[
|
|
518
|
-
N(_.$slots, "banner", {}, void 0, !0)
|
|
519
|
-
],
|
|
520
|
-
512
|
|
521
|
-
/* NEED_PATCH */
|
|
522
|
-
), [
|
|
465
|
+
D(H("div", Oe, [
|
|
466
|
+
N(L.$slots, "banner", {}, void 0, !0)
|
|
467
|
+
], 512), [
|
|
523
468
|
[M, B.value]
|
|
524
469
|
]),
|
|
525
470
|
H("div", Ue, [
|
|
526
471
|
D((g(), C("div", {
|
|
527
|
-
key:
|
|
472
|
+
key: L.pageKey,
|
|
528
473
|
style: { width: "100%", height: "100%" }
|
|
529
474
|
}, [
|
|
530
|
-
N(
|
|
531
|
-
L
|
|
532
|
-
_.needTransition ? (g(), V(A, { key: 0 }, {
|
|
475
|
+
N(L.$slots, "router-view", {}, () => [
|
|
476
|
+
L.needTransition ? (g(), V(A, { key: 0 }, {
|
|
533
477
|
default: W(({ Component: x }) => [
|
|
534
|
-
Z(
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
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), {
|
|
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)), {
|
|
564
487
|
key: b(n).path
|
|
565
|
-
}))
|
|
566
|
-
])) :
|
|
567
|
-
]
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
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)
|
|
574
504
|
]),
|
|
575
505
|
_: 1
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
L(" 无动画 "),
|
|
579
|
-
_.needTransition ? L("v-if", !0) : (g(), V(A, { key: 1 }, {
|
|
506
|
+
})) : I("", !0),
|
|
507
|
+
L.needTransition ? I("", !0) : (g(), V(A, { key: 1 }, {
|
|
580
508
|
default: W(({ Component: x }) => [
|
|
581
509
|
b(n).meta.keepAlive ? (g(), V(ue, {
|
|
582
510
|
key: 0,
|
|
@@ -584,45 +512,32 @@ const h = z({
|
|
|
584
512
|
}, [
|
|
585
513
|
o.value && !b(n).meta.isIframe ? (g(), V(O(q(x, b(n).path)), {
|
|
586
514
|
key: b(n).path
|
|
587
|
-
})) :
|
|
588
|
-
], 1032, ["exclude"])) :
|
|
515
|
+
})) : I("", !0)
|
|
516
|
+
], 1032, ["exclude"])) : I("", !0),
|
|
589
517
|
!b(n).meta.keepAlive && !b(n).meta.isIframe ? (g(), C("div", Ke, [
|
|
590
518
|
(g(), V(O(x), {
|
|
591
519
|
key: b(n).path
|
|
592
520
|
}))
|
|
593
|
-
])) :
|
|
521
|
+
])) : I("", !0)
|
|
594
522
|
]),
|
|
595
523
|
_: 1
|
|
596
|
-
/* STABLE */
|
|
597
524
|
})),
|
|
598
|
-
D(H(
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
needTransition: _.needTransition
|
|
606
|
-
}, null, 8, ["exclude", "transitionConfig", "needTransition"])
|
|
607
|
-
],
|
|
608
|
-
512
|
|
609
|
-
/* NEED_PATCH */
|
|
610
|
-
), [
|
|
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), [
|
|
611
532
|
[M, b(n).meta.isIframe]
|
|
612
533
|
])
|
|
613
534
|
], !0)
|
|
614
535
|
])), [
|
|
615
536
|
[M, P.value]
|
|
616
537
|
]),
|
|
617
|
-
D(H(
|
|
618
|
-
"
|
|
619
|
-
|
|
620
|
-
[
|
|
621
|
-
N(_.$slots, "default", {}, void 0, !0)
|
|
622
|
-
],
|
|
623
|
-
512
|
|
624
|
-
/* NEED_PATCH */
|
|
625
|
-
), [
|
|
538
|
+
D(H("div", Qe, [
|
|
539
|
+
N(L.$slots, "default", {}, void 0, !0)
|
|
540
|
+
], 512), [
|
|
626
541
|
[M, !P.value]
|
|
627
542
|
])
|
|
628
543
|
])
|
|
@@ -669,13 +584,13 @@ const h = z({
|
|
|
669
584
|
}, m = async (u) => {
|
|
670
585
|
const [p, w] = u.detail;
|
|
671
586
|
!p || !await v.nav.triggerEventListener("onProjectChange", w) || v.nav.setActiveProject(w);
|
|
672
|
-
},
|
|
587
|
+
}, _ = (u) => {
|
|
673
588
|
v.nav.triggerEventListener("onUserCommandChange", u.detail[0]);
|
|
674
589
|
}, q = (u) => {
|
|
675
590
|
v.nav.triggerEventListener("searchToPage", { item: u.detail[0], keyword: u.detail[1], cb: u.detail[2] });
|
|
676
591
|
}, B = (u) => {
|
|
677
592
|
v.nav.triggerEventListener("clearSearchList", { cb: u.detail[0] });
|
|
678
|
-
},
|
|
593
|
+
}, L = (u) => {
|
|
679
594
|
v.nav.triggerEventListener("deleteSearchItem", { value: u.detail[0], cb: u.detail[1] });
|
|
680
595
|
}, j = () => {
|
|
681
596
|
v.nav.triggerEventListener("changeEnterpriseHandle");
|
|
@@ -699,14 +614,14 @@ const h = z({
|
|
|
699
614
|
searchConfig: S.value,
|
|
700
615
|
projectTreeConfig: P.value,
|
|
701
616
|
userInfoConfig: T.value,
|
|
702
|
-
"on:userCommandHandle":
|
|
617
|
+
"on:userCommandHandle": _,
|
|
703
618
|
"on:changeInnerPage": s,
|
|
704
619
|
"on:handleTabClick": a,
|
|
705
620
|
"on:handleTabDelete": o,
|
|
706
621
|
"on:changeTreeHandle": m,
|
|
707
622
|
"on:searchToPage": q,
|
|
708
623
|
"on:clearSearchList": B,
|
|
709
|
-
"on:deleteSearchItem":
|
|
624
|
+
"on:deleteSearchItem": L,
|
|
710
625
|
"on:changeEnterpriseHandle": j,
|
|
711
626
|
"on:fullScreen": A,
|
|
712
627
|
"on:openAI": x
|
|
@@ -719,7 +634,7 @@ const h = z({
|
|
|
719
634
|
},
|
|
720
635
|
setup(e) {
|
|
721
636
|
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) => {
|
|
722
|
-
const a = s.detail[0], o = Ee(r.value).find((
|
|
637
|
+
const a = s.detail[0], o = Ee(r.value).find((_) => a === _.id);
|
|
723
638
|
await v.menu.triggerEventListener("onItemClick", o) && v.menu.setActiveItem(o.id);
|
|
724
639
|
}, S = (s) => {
|
|
725
640
|
v.menu.setCollapse(s.detail[0]), v.menu.triggerEventListener("toggleCollapse", s.detail[0]);
|
|
@@ -735,7 +650,7 @@ const h = z({
|
|
|
735
650
|
}, d.value, {
|
|
736
651
|
onChange: T,
|
|
737
652
|
"on:toggleCollapse": S
|
|
738
|
-
}), null, 16, Je)) :
|
|
653
|
+
}), null, 16, Je)) : I("", !0);
|
|
739
654
|
}
|
|
740
655
|
}), Xe = ["theme", "modelValue", "options"], ot = /* @__PURE__ */ Q({
|
|
741
656
|
__name: "das-web-tabs",
|
|
@@ -748,10 +663,10 @@ const h = z({
|
|
|
748
663
|
key: s.value,
|
|
749
664
|
tab: s.label
|
|
750
665
|
}))), f = c(() => t.activeItem || ""), y = async (s) => {
|
|
751
|
-
const a = s.detail[0], o = r.value.find((
|
|
666
|
+
const a = s.detail[0], o = r.value.find((_) => a === _.value);
|
|
752
667
|
await v.tab.triggerEventListener("onItemClick", o) && v.tab.setActiveItem(o.value);
|
|
753
668
|
}, i = async (s) => {
|
|
754
|
-
const a = s.detail[0], o = r.value.find((
|
|
669
|
+
const a = s.detail[0], o = r.value.find((_) => a === _.value);
|
|
755
670
|
await v.tab.triggerEventListener("onItemRemove", o) && v.tab.removeItem(o.value);
|
|
756
671
|
}, P = async (s) => {
|
|
757
672
|
await v.tab.triggerEventListener("onMenuClick", { type: s.detail[0], data: s.detail[1] });
|
|
@@ -771,7 +686,7 @@ const h = z({
|
|
|
771
686
|
"on:menuClick": P,
|
|
772
687
|
"on:pageRefresh": T,
|
|
773
688
|
"on:toggleFullScreen": S
|
|
774
|
-
}), null, 16, Xe)) :
|
|
689
|
+
}), null, 16, Xe)) : I("", !0);
|
|
775
690
|
}
|
|
776
691
|
});
|
|
777
692
|
U("@das-fed/web");
|
|
Binary file
|
|
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-
|
|
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-DGHNA_Mf.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,7 +76,6 @@ 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 */
|
|
80
79
|
}, 8, ["spinning"])), [
|
|
81
80
|
[I, !m.value]
|
|
82
81
|
]);
|
|
Binary file
|