@das-fed/web 7.0.7-hot.76 → 7.0.7-hot.78
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-lNIT4x7Y.js → index-BZRBK6ha.js} +5726 -6215
- package/index-BZRBK6ha.js.gz +0 -0
- package/{packages/main-app-framework/index-mcZhp5kH.js → index-TpHHnTvN.js} +1 -1
- package/{index-BQWA6MED.js → index-zXPXiFJr.js} +1 -2
- package/index-zXPXiFJr.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/layout/index.js +118 -197
- package/packages/layout/index.js.gz +0 -0
- package/{index-CgHQnDxY.js → packages/main-app-framework/index-Cc0OYUtI.js} +1 -1
- package/packages/main-app-framework/{index-TlWCq0Vp.js → index-DjKNqLYL.js} +6260 -6651
- package/packages/main-app-framework/index-DjKNqLYL.js.gz +0 -0
- package/packages/main-app-framework/{index-KrpfKz6n.js → index-tz1GckQe.js} +1 -2
- package/packages/main-app-framework/index-tz1GckQe.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/micro-frontend/index.js +19 -38
- package/packages/micro-frontend/index.js.gz +0 -0
- package/types/main-app-framework/init-config/get-project-config/api.d.ts +3 -0
- package/types/main-app-framework/init-config/get-project-config/index.d.ts +5 -0
- package/types/main-app-framework/init-config/get-project-config/station-reserve-entry.d.ts +66 -0
- package/index-BQWA6MED.js.gz +0 -0
- package/index-lNIT4x7Y.js.gz +0 -0
- package/packages/main-app-framework/index-KrpfKz6n.js.gz +0 -0
- package/packages/main-app-framework/index-TlWCq0Vp.js.gz +0 -0
|
Binary file
|
|
@@ -6,7 +6,7 @@ import { DasSpin as T } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as b } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as E } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as L } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-
|
|
9
|
+
import { u as P, p as q, a as u, c as d, b as B, l as K, g as M, d as N } from "./index-BZRBK6ha.js";
|
|
10
10
|
const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/auth/user/auth_code"), ee = /* @__PURE__ */ v({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(G) {
|
|
@@ -77,7 +77,6 @@ const O = "v1", V = L(`/api/justauth/client/${O}`), F = V.get("/visitor/kingdee/
|
|
|
77
77
|
}, null, 8, ["theme", "appCategorys"])
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
80
|
-
/* STABLE */
|
|
81
80
|
}, 8, ["spinning"])), [
|
|
82
81
|
[j, !w.value]
|
|
83
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-
|
|
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-BZRBK6ha.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/web",
|
|
3
|
-
"version": "7.0.7-hot.
|
|
3
|
+
"version": "7.0.7-hot.78",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "7.0.7-hot.
|
|
8
|
-
"@das-fed/utils": "7.0.7-hot.
|
|
9
|
-
"@das-fed/web": "7.0.7-hot.
|
|
10
|
-
"@das-fed/web-components": "7.0.7-hot.
|
|
7
|
+
"@das-fed/ui": "7.0.7-hot.78",
|
|
8
|
+
"@das-fed/utils": "7.0.7-hot.78",
|
|
9
|
+
"@das-fed/web": "7.0.7-hot.78",
|
|
10
|
+
"@das-fed/web-components": "7.0.7-hot.78",
|
|
11
11
|
"@microsoft/signalr": "^8.0.7",
|
|
12
12
|
"@vueuse/core": "^9.13.0",
|
|
13
13
|
"animate.css": "^4.1.1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"vue-router": "^4.4.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@das-fed/cli": "7.0.7-hot.
|
|
22
|
+
"@das-fed/cli": "7.0.7-hot.78",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|
package/packages/layout/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/web/packages/layout/style.css';
|
|
2
|
-
import { reactive as Q, ref as $, defineComponent as z, computed as c, watch as te, createElementBlock as I, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as
|
|
2
|
+
import { reactive as Q, ref as $, defineComponent as z, computed as c, watch as te, createElementBlock as I, openBlock as g, Fragment as Y, createBlock as V, createCommentVNode as _, TransitionGroup as we, normalizeProps as ne, mergeProps as ae, withCtx as W, renderList as ue, withDirectives as D, resolveDynamicComponent as N, vShow as M, unref as L, nextTick as ce, resolveComponent as be, createElementVNode as x, normalizeStyle as Le, normalizeClass as _e, renderSlot as F, createVNode as Z, Transition as ve, guardReactiveProps as de, KeepAlive as me, h as ee, onBeforeMount as Ie, onMounted as Ce, onUnmounted as ke } from "vue";
|
|
3
3
|
import { useRouter as Te, useRoute as pe } from "vue-router";
|
|
4
4
|
import { setHtmlMinWH as Ae } from "@das-fed/utils/common-tools/setHtmlMinWH";
|
|
5
5
|
import { createCeNav as Ee, createCeTabs as Re, createCeMenu as Ve } from "@das-fed/web-components/das-web-app";
|
|
@@ -64,8 +64,8 @@ const p = Q({
|
|
|
64
64
|
triggerEventListener: (e, t, s) => {
|
|
65
65
|
var m;
|
|
66
66
|
const l = p.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
|
|
67
|
-
for (const
|
|
68
|
-
const o = l[
|
|
67
|
+
for (const w in l) {
|
|
68
|
+
const o = l[w];
|
|
69
69
|
o.type === e && r.push(
|
|
70
70
|
(m = o == null ? void 0 : o.handler) == null ? void 0 : m.call(o, t).then(() => {
|
|
71
71
|
d && o.remove();
|
|
@@ -117,8 +117,8 @@ const p = Q({
|
|
|
117
117
|
triggerEventListener: (e, t, s) => {
|
|
118
118
|
var m;
|
|
119
119
|
const l = R.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
|
|
120
|
-
for (const
|
|
121
|
-
const o = l[
|
|
120
|
+
for (const w in l) {
|
|
121
|
+
const o = l[w];
|
|
122
122
|
o.type === e && r.push(
|
|
123
123
|
(m = o == null ? void 0 : o.handler) == null ? void 0 : m.call(o, t).then(() => {
|
|
124
124
|
d && o.remove();
|
|
@@ -171,8 +171,8 @@ const p = Q({
|
|
|
171
171
|
triggerEventListener: (e, t, s) => {
|
|
172
172
|
var m;
|
|
173
173
|
const l = k.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
|
|
174
|
-
for (const
|
|
175
|
-
const o = l[
|
|
174
|
+
for (const w in l) {
|
|
175
|
+
const o = l[w];
|
|
176
176
|
o.type === e && r.push(
|
|
177
177
|
(m = o == null ? void 0 : o.handler) == null ? void 0 : m.call(o, t).then(() => {
|
|
178
178
|
d && o.remove();
|
|
@@ -205,8 +205,8 @@ const p = Q({
|
|
|
205
205
|
triggerEventListener: (e, t, s) => {
|
|
206
206
|
var m;
|
|
207
207
|
const l = K.eventListeners, { autoRemove: d = !1 } = s || {}, r = [];
|
|
208
|
-
for (const
|
|
209
|
-
const o = l[
|
|
208
|
+
for (const w in l) {
|
|
209
|
+
const o = l[w];
|
|
210
210
|
o.type === e && r.push(
|
|
211
211
|
(m = o == null ? void 0 : o.handler) == null ? void 0 : m.call(o, t).then(() => {
|
|
212
212
|
d && o.remove();
|
|
@@ -275,7 +275,7 @@ const p = Q({
|
|
|
275
275
|
}), l = Te(), d = pe(), r = $([]), m = c(() => r.value.filter((n) => {
|
|
276
276
|
var a;
|
|
277
277
|
return (a = n.meta) == null ? void 0 : a.isOpen;
|
|
278
|
-
})),
|
|
278
|
+
})), w = (n) => {
|
|
279
279
|
const a = n.lastIndexOf("-");
|
|
280
280
|
let i = a !== -1 ? n.substring(a + 1) : "";
|
|
281
281
|
i === "0" ? i = "1" : i = "0", m.value.forEach((f) => {
|
|
@@ -287,7 +287,7 @@ const p = Q({
|
|
|
287
287
|
(n) => {
|
|
288
288
|
if (!n || !n.length) return;
|
|
289
289
|
const a = m.value.find((i) => n.includes(i.path));
|
|
290
|
-
a &&
|
|
290
|
+
a && w(a.meta.key);
|
|
291
291
|
},
|
|
292
292
|
{ deep: !0 }
|
|
293
293
|
);
|
|
@@ -332,43 +332,10 @@ const p = Q({
|
|
|
332
332
|
r.value.forEach((a) => {
|
|
333
333
|
a.path === n && (a.meta.isOpen = !1);
|
|
334
334
|
});
|
|
335
|
-
}), (n, a) => (g(), I(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
n.needTransition ? (g(), V(
|
|
340
|
-
we,
|
|
341
|
-
ne(ae({ key: 0 }, s.value)),
|
|
342
|
-
{
|
|
343
|
-
default: W(() => [
|
|
344
|
-
(g(!0), I(
|
|
345
|
-
Y,
|
|
346
|
-
null,
|
|
347
|
-
ue(m.value, ({ path: i, meta: f }) => D((g(), I("div", {
|
|
348
|
-
class: "das-iframe-router-view",
|
|
349
|
-
key: f.key,
|
|
350
|
-
name: i
|
|
351
|
-
}, [
|
|
352
|
-
(g(), V(N(f.componentInstance), {
|
|
353
|
-
key: f.key
|
|
354
|
-
}))
|
|
355
|
-
], 8, Me)), [
|
|
356
|
-
[M, f.componentInstance && i === _(d).path]
|
|
357
|
-
])),
|
|
358
|
-
128
|
|
359
|
-
/* KEYED_FRAGMENT */
|
|
360
|
-
))
|
|
361
|
-
]),
|
|
362
|
-
_: 1
|
|
363
|
-
/* STABLE */
|
|
364
|
-
},
|
|
365
|
-
16
|
|
366
|
-
/* FULL_PROPS */
|
|
367
|
-
)) : w("v-if", !0),
|
|
368
|
-
n.needTransition ? w("v-if", !0) : (g(!0), I(
|
|
369
|
-
Y,
|
|
370
|
-
{ key: 1 },
|
|
371
|
-
ue(m.value, ({ path: i, meta: f }) => D((g(), I("div", {
|
|
335
|
+
}), (n, a) => (g(), I(Y, null, [
|
|
336
|
+
n.needTransition ? (g(), V(we, ne(ae({ key: 0 }, s.value)), {
|
|
337
|
+
default: W(() => [
|
|
338
|
+
(g(!0), I(Y, null, ue(m.value, ({ path: i, meta: f }) => D((g(), I("div", {
|
|
372
339
|
class: "das-iframe-router-view",
|
|
373
340
|
key: f.key,
|
|
374
341
|
name: i
|
|
@@ -376,16 +343,24 @@ const p = Q({
|
|
|
376
343
|
(g(), V(N(f.componentInstance), {
|
|
377
344
|
key: f.key
|
|
378
345
|
}))
|
|
379
|
-
], 8,
|
|
380
|
-
[M, f.componentInstance && i ===
|
|
381
|
-
])),
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
346
|
+
], 8, Me)), [
|
|
347
|
+
[M, f.componentInstance && i === L(d).path]
|
|
348
|
+
])), 128))
|
|
349
|
+
]),
|
|
350
|
+
_: 1
|
|
351
|
+
}, 16)) : _("", !0),
|
|
352
|
+
n.needTransition ? _("", !0) : (g(!0), I(Y, { key: 1 }, ue(m.value, ({ path: i, meta: f }) => D((g(), I("div", {
|
|
353
|
+
class: "das-iframe-router-view",
|
|
354
|
+
key: f.key,
|
|
355
|
+
name: i
|
|
356
|
+
}, [
|
|
357
|
+
(g(), V(N(f.componentInstance), {
|
|
358
|
+
key: f.key
|
|
359
|
+
}))
|
|
360
|
+
], 8, je)), [
|
|
361
|
+
[M, f.componentInstance && i === L(d).path]
|
|
362
|
+
])), 128))
|
|
363
|
+
], 64));
|
|
389
364
|
}
|
|
390
365
|
}), ye = (e, t) => {
|
|
391
366
|
const s = e.__vccOpts || e;
|
|
@@ -431,15 +406,15 @@ const p = Q({
|
|
|
431
406
|
setup(e) {
|
|
432
407
|
const t = e;
|
|
433
408
|
Ee(), Re(), Ve();
|
|
434
|
-
const s = pe(), l = $(!0), d = $(!0), r = $(!0), m = c(() => l.value && t.showLayout),
|
|
409
|
+
const s = pe(), l = $(!0), d = $(!0), r = $(!0), m = c(() => l.value && t.showLayout), w = c(() => d.value && t.showLayout && t.showAside), o = c(() => l.value && t.showLayout && t.showTabs), P = c(() => t.routerViewVisible ?? !0), T = c(() => B.overlay.visible ?? !1), A = $(!0), n = c(() => A.value && B.visible.value), a = c(() => !m.value || t.ignoreLoading || !t.loading), i = c(() => ({
|
|
435
410
|
"das-web-app-overlay-show": T.value === !0,
|
|
436
411
|
"das-web-app-overlay-hide": T.value === !1,
|
|
437
412
|
"das-web-app-overlay-destroy": T.value === "destroy"
|
|
438
413
|
})), f = c(() => B.overlay.style ?? { backgroundColor: "rgba(0,0,0,0.5)" }), C = c(() => t.excludeRoutes), q = c(() => t.routeKeepAliveVisible);
|
|
439
414
|
te(
|
|
440
415
|
() => [s.meta, s.query],
|
|
441
|
-
([
|
|
442
|
-
const { layout: u = {}, showLayout: h = !0, showAside: y = !0, showTabs: j = !0 } =
|
|
416
|
+
([b, S]) => {
|
|
417
|
+
const { layout: u = {}, showLayout: h = !0, showAside: y = !0, showTabs: j = !0 } = b, {
|
|
443
418
|
showLayout: E = !0,
|
|
444
419
|
showAside: H = !0,
|
|
445
420
|
showTabs: re = !0,
|
|
@@ -458,174 +433,120 @@ const p = Q({
|
|
|
458
433
|
...t.transitionConfig || {}
|
|
459
434
|
}));
|
|
460
435
|
let U = /* @__PURE__ */ new Map();
|
|
461
|
-
const G = (
|
|
462
|
-
if (!
|
|
436
|
+
const G = (b, S) => {
|
|
437
|
+
if (!b) return null;
|
|
463
438
|
let u;
|
|
464
439
|
return U.has(S) ? u = U.get(S) : (u = {
|
|
465
440
|
name: S,
|
|
466
441
|
render() {
|
|
467
|
-
return ee("div", { style: { width: "100%", height: "100%" } }, [ee(
|
|
442
|
+
return ee("div", { style: { width: "100%", height: "100%" } }, [ee(b)]);
|
|
468
443
|
}
|
|
469
444
|
}, U.set(S, u)), ee(u);
|
|
470
445
|
};
|
|
471
|
-
return (
|
|
446
|
+
return (b, S) => {
|
|
472
447
|
const u = be("router-view");
|
|
473
448
|
return g(), I("div", Be, [
|
|
474
|
-
D(x(
|
|
475
|
-
"
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
style: Le(f.value)
|
|
479
|
-
},
|
|
480
|
-
null,
|
|
481
|
-
6
|
|
482
|
-
/* CLASS, STYLE */
|
|
483
|
-
), [
|
|
449
|
+
D(x("div", {
|
|
450
|
+
class: _e(["das-web-app-overlay", i.value]),
|
|
451
|
+
style: Le(f.value)
|
|
452
|
+
}, null, 6), [
|
|
484
453
|
[M, n.value]
|
|
485
454
|
]),
|
|
486
|
-
m.value ? D((g(), I(
|
|
487
|
-
"
|
|
488
|
-
|
|
489
|
-
[
|
|
490
|
-
F(L.$slots, "header", {}, void 0, !0)
|
|
491
|
-
],
|
|
492
|
-
512
|
|
493
|
-
/* NEED_PATCH */
|
|
494
|
-
)), [
|
|
455
|
+
m.value ? D((g(), I("div", He, [
|
|
456
|
+
F(b.$slots, "header", {}, void 0, !0)
|
|
457
|
+
], 512)), [
|
|
495
458
|
[M, n.value]
|
|
496
|
-
]) :
|
|
459
|
+
]) : _("", !0),
|
|
497
460
|
x("div", Fe, [
|
|
498
|
-
|
|
499
|
-
"
|
|
500
|
-
|
|
501
|
-
[
|
|
502
|
-
F(L.$slots, "aside", {}, void 0, !0)
|
|
503
|
-
],
|
|
504
|
-
512
|
|
505
|
-
/* NEED_PATCH */
|
|
506
|
-
)), [
|
|
461
|
+
w.value ? D((g(), I("div", Ne, [
|
|
462
|
+
F(b.$slots, "aside", {}, void 0, !0)
|
|
463
|
+
], 512)), [
|
|
507
464
|
[M, n.value]
|
|
508
|
-
]) :
|
|
465
|
+
]) : _("", !0),
|
|
509
466
|
x("div", Oe, [
|
|
510
|
-
o.value ? D((g(), I(
|
|
511
|
-
"
|
|
512
|
-
|
|
513
|
-
[
|
|
514
|
-
F(L.$slots, "tab", {}, void 0, !0)
|
|
515
|
-
],
|
|
516
|
-
512
|
|
517
|
-
/* NEED_PATCH */
|
|
518
|
-
)), [
|
|
467
|
+
o.value ? D((g(), I("div", Ue, [
|
|
468
|
+
F(b.$slots, "tab", {}, void 0, !0)
|
|
469
|
+
], 512)), [
|
|
519
470
|
[M, n.value]
|
|
520
|
-
]) :
|
|
471
|
+
]) : _("", !0),
|
|
521
472
|
x("div", We, [
|
|
522
473
|
x("div", Ke, [
|
|
523
|
-
F(
|
|
474
|
+
F(b.$slots, "banner", {}, void 0, !0)
|
|
524
475
|
]),
|
|
525
476
|
a.value ? (g(), I("div", Qe, [
|
|
526
477
|
D((g(), I("div", {
|
|
527
|
-
key:
|
|
478
|
+
key: b.pageKey,
|
|
528
479
|
style: { width: "100%", height: "100%" }
|
|
529
480
|
}, [
|
|
530
|
-
F(
|
|
531
|
-
|
|
532
|
-
L.needTransition ? (g(), V(u, { key: 0 }, {
|
|
481
|
+
F(b.$slots, "router-view", {}, () => [
|
|
482
|
+
b.needTransition ? (g(), V(u, { key: 0 }, {
|
|
533
483
|
default: W(({ Component: h }) => [
|
|
534
|
-
Z(
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
},
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
{
|
|
561
|
-
default: W(() => [
|
|
562
|
-
!_(s).meta.keepAlive && !_(s).meta.isIframe ? (g(), I("div", ze, [
|
|
563
|
-
(g(), V(N(h), {
|
|
564
|
-
key: _(s).fullPath
|
|
565
|
-
}))
|
|
566
|
-
])) : w("v-if", !0)
|
|
567
|
-
]),
|
|
568
|
-
_: 2
|
|
569
|
-
/* DYNAMIC */
|
|
570
|
-
},
|
|
571
|
-
1040
|
|
572
|
-
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
573
|
-
)
|
|
484
|
+
Z(ve, ne(de(O.value)), {
|
|
485
|
+
default: W(() => {
|
|
486
|
+
var y;
|
|
487
|
+
return [
|
|
488
|
+
L(s).meta.keepAlive ? (g(), V(me, {
|
|
489
|
+
key: 0,
|
|
490
|
+
exclude: C.value
|
|
491
|
+
}, [
|
|
492
|
+
q.value && !((y = L(s).meta) != null && y.isIframe) ? (g(), V(N(G(h, L(s).path)), {
|
|
493
|
+
key: L(s).fullPath
|
|
494
|
+
})) : _("", !0)
|
|
495
|
+
], 1032, ["exclude"])) : _("", !0)
|
|
496
|
+
];
|
|
497
|
+
}),
|
|
498
|
+
_: 2
|
|
499
|
+
}, 1040),
|
|
500
|
+
Z(ve, ne(de(O.value)), {
|
|
501
|
+
default: W(() => [
|
|
502
|
+
!L(s).meta.keepAlive && !L(s).meta.isIframe ? (g(), I("div", ze, [
|
|
503
|
+
(g(), V(N(h), {
|
|
504
|
+
key: L(s).fullPath
|
|
505
|
+
}))
|
|
506
|
+
])) : _("", !0)
|
|
507
|
+
]),
|
|
508
|
+
_: 2
|
|
509
|
+
}, 1040)
|
|
574
510
|
]),
|
|
575
511
|
_: 1
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
w(" 无动画 "),
|
|
579
|
-
L.needTransition ? w("v-if", !0) : (g(), V(u, { key: 1 }, {
|
|
512
|
+
})) : _("", !0),
|
|
513
|
+
b.needTransition ? _("", !0) : (g(), V(u, { key: 1 }, {
|
|
580
514
|
default: W(({ Component: h }) => [
|
|
581
|
-
|
|
515
|
+
L(s).meta.keepAlive ? (g(), V(me, {
|
|
582
516
|
key: 0,
|
|
583
517
|
exclude: C.value
|
|
584
518
|
}, [
|
|
585
|
-
q.value && !
|
|
586
|
-
key:
|
|
587
|
-
})) :
|
|
588
|
-
], 1032, ["exclude"])) :
|
|
589
|
-
!
|
|
519
|
+
q.value && !L(s).meta.isIframe ? (g(), V(N(G(h, L(s).path)), {
|
|
520
|
+
key: L(s).fullPath
|
|
521
|
+
})) : _("", !0)
|
|
522
|
+
], 1032, ["exclude"])) : _("", !0),
|
|
523
|
+
!L(s).meta.keepAlive && !L(s).meta.isIframe ? (g(), I("div", qe, [
|
|
590
524
|
(g(), V(N(h), {
|
|
591
|
-
key:
|
|
525
|
+
key: L(s).fullPath
|
|
592
526
|
}))
|
|
593
|
-
])) :
|
|
527
|
+
])) : _("", !0)
|
|
594
528
|
]),
|
|
595
529
|
_: 1
|
|
596
|
-
/* STABLE */
|
|
597
530
|
})),
|
|
598
|
-
D(x(
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}, null, 8, ["exclude", "transitionConfig", "needTransition"])
|
|
607
|
-
],
|
|
608
|
-
512
|
|
609
|
-
/* NEED_PATCH */
|
|
610
|
-
), [
|
|
611
|
-
[M, _(s).meta.isIframe]
|
|
531
|
+
D(x("div", Ge, [
|
|
532
|
+
Z($e, {
|
|
533
|
+
exclude: C.value,
|
|
534
|
+
transitionConfig: O.value,
|
|
535
|
+
needTransition: b.needTransition
|
|
536
|
+
}, null, 8, ["exclude", "transitionConfig", "needTransition"])
|
|
537
|
+
], 512), [
|
|
538
|
+
[M, L(s).meta.isIframe]
|
|
612
539
|
])
|
|
613
540
|
], !0)
|
|
614
541
|
])), [
|
|
615
542
|
[M, P.value]
|
|
616
543
|
]),
|
|
617
|
-
D(x(
|
|
618
|
-
"
|
|
619
|
-
|
|
620
|
-
[
|
|
621
|
-
F(L.$slots, "default", {}, void 0, !0)
|
|
622
|
-
],
|
|
623
|
-
512
|
|
624
|
-
/* NEED_PATCH */
|
|
625
|
-
), [
|
|
544
|
+
D(x("div", Je, [
|
|
545
|
+
F(b.$slots, "default", {}, void 0, !0)
|
|
546
|
+
], 512), [
|
|
626
547
|
[M, !P.value]
|
|
627
548
|
])
|
|
628
|
-
])) :
|
|
549
|
+
])) : _("", !0)
|
|
629
550
|
])
|
|
630
551
|
])
|
|
631
552
|
])
|
|
@@ -635,7 +556,7 @@ const p = Q({
|
|
|
635
556
|
}), ot = /* @__PURE__ */ ye(Xe, [["__scopeId", "data-v-687de0c1"]]), Ye = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], it = /* @__PURE__ */ z({
|
|
636
557
|
__name: "das-web-nav",
|
|
637
558
|
setup(e) {
|
|
638
|
-
const { nav: t } = B, s = c(() => t.theme), l = c(() => t.logo || ""), d = c(() => t.activeItem || ""), r = c(() => (t.items || []).filter((h) => h.fixed)), m = c(() => (t.items || []).filter((h) => !h.fixed)),
|
|
559
|
+
const { nav: t } = B, s = c(() => t.theme), l = c(() => t.logo || ""), d = c(() => t.activeItem || ""), r = c(() => (t.items || []).filter((h) => h.fixed)), m = c(() => (t.items || []).filter((h) => !h.fixed)), w = c(() => {
|
|
639
560
|
var u, h, y, j, E;
|
|
640
561
|
return {
|
|
641
562
|
showAIHelper: ((u = t.config) == null ? void 0 : u.showAIHelper) ?? !1,
|
|
@@ -679,7 +600,7 @@ const p = Q({
|
|
|
679
600
|
v.nav.triggerEventListener("deleteSearchItem", { value: u.detail[0], cb: u.detail[1] });
|
|
680
601
|
}, G = () => {
|
|
681
602
|
v.nav.triggerEventListener("changeEnterpriseHandle");
|
|
682
|
-
},
|
|
603
|
+
}, b = () => {
|
|
683
604
|
v.nav.triggerEventListener("fullScreenHandle");
|
|
684
605
|
}, S = () => {
|
|
685
606
|
v.nav.triggerEventListener("openAI");
|
|
@@ -694,7 +615,7 @@ const p = Q({
|
|
|
694
615
|
theme: s.value,
|
|
695
616
|
modelValue: d.value,
|
|
696
617
|
logoUrl: l.value,
|
|
697
|
-
config:
|
|
618
|
+
config: w.value,
|
|
698
619
|
innerPagesConfig: o.value,
|
|
699
620
|
searchConfig: A.value,
|
|
700
621
|
projectTreeConfig: P.value,
|
|
@@ -708,7 +629,7 @@ const p = Q({
|
|
|
708
629
|
"on:clearSearchList": O,
|
|
709
630
|
"on:deleteSearchItem": U,
|
|
710
631
|
"on:changeEnterpriseHandle": G,
|
|
711
|
-
"on:fullScreen":
|
|
632
|
+
"on:fullScreen": b,
|
|
712
633
|
"on:openAI": S
|
|
713
634
|
}, null, 40, Ye));
|
|
714
635
|
}
|
|
@@ -718,7 +639,7 @@ const p = Q({
|
|
|
718
639
|
menuAttr: {}
|
|
719
640
|
},
|
|
720
641
|
setup(e) {
|
|
721
|
-
const { menu: t } = B, s = e, l = c(() => t.theme), d = c(() => s.menuAttr || {}), r = c(() => t.items), m = c(() => t.items.find((n) => n.fixed)),
|
|
642
|
+
const { menu: t } = B, s = e, l = c(() => t.theme), d = c(() => s.menuAttr || {}), r = c(() => t.items), m = c(() => t.items.find((n) => n.fixed)), w = c(() => t.activeItem || ""), o = c(() => t.collapse || !1), P = c(() => ({ popupClassName: t.popupClassName ?? "" })), T = async (n) => {
|
|
722
643
|
const a = n.detail[0], i = Pe(r.value).find((C) => a === C.id);
|
|
723
644
|
await v.menu.triggerEventListener("onItemClick", i) && v.menu.setActiveItem(i.id);
|
|
724
645
|
}, A = (n) => {
|
|
@@ -727,7 +648,7 @@ const p = Q({
|
|
|
727
648
|
return (n, a) => r.value.length > 0 ? (g(), I("das-ce-menu", ae({
|
|
728
649
|
key: 0,
|
|
729
650
|
theme: l.value,
|
|
730
|
-
modelValue:
|
|
651
|
+
modelValue: w.value,
|
|
731
652
|
data: r.value,
|
|
732
653
|
collapse: o.value,
|
|
733
654
|
fixedTopMenu: m.value,
|
|
@@ -735,7 +656,7 @@ const p = Q({
|
|
|
735
656
|
}, d.value, {
|
|
736
657
|
onChange: T,
|
|
737
658
|
"on:toggleCollapse": A
|
|
738
|
-
}), null, 16, Ze)) :
|
|
659
|
+
}), null, 16, Ze)) : _("", !0);
|
|
739
660
|
}
|
|
740
661
|
}), et = ["theme", "modelValue", "options"], ut = /* @__PURE__ */ z({
|
|
741
662
|
__name: "das-web-tabs",
|
|
@@ -747,7 +668,7 @@ const p = Q({
|
|
|
747
668
|
...n,
|
|
748
669
|
key: n.value,
|
|
749
670
|
tab: n.label
|
|
750
|
-
}))), m = c(() => t.activeItem || ""),
|
|
671
|
+
}))), m = c(() => t.activeItem || ""), w = async (n) => {
|
|
751
672
|
const a = n.detail[0], i = r.value.find((C) => a === C.value);
|
|
752
673
|
await v.tab.triggerEventListener("onItemClick", i) && v.tab.setActiveItem(i.value);
|
|
753
674
|
}, o = async (n) => {
|
|
@@ -766,12 +687,12 @@ const p = Q({
|
|
|
766
687
|
modelValue: m.value,
|
|
767
688
|
options: r.value
|
|
768
689
|
}, l.value, {
|
|
769
|
-
"on:tabClick":
|
|
690
|
+
"on:tabClick": w,
|
|
770
691
|
"on:tabDelete": o,
|
|
771
692
|
"on:menuClick": P,
|
|
772
693
|
"on:pageRefresh": T,
|
|
773
694
|
"on:toggleFullScreen": A
|
|
774
|
-
}), null, 16, et)) :
|
|
695
|
+
}), null, 16, et)) : _("", !0);
|
|
775
696
|
}
|
|
776
697
|
});
|
|
777
698
|
$("@das-fed/web");
|
|
Binary file
|