@skyfox2000/webui 0.1.7 → 1.0.2
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/.cursorignore +8 -0
- package/lib/assets/modules/{menuTabs-JxjPoyCD.js → menuTabs-BXdbFZor.js} +143 -138
- package/lib/components/content/search/index.vue.d.ts +1 -0
- package/lib/components/content/search/index.vue.d.ts.map +1 -1
- package/lib/components/layout/header/headerExits.vue.d.ts.map +1 -1
- package/lib/components/layout/header/index.vue.d.ts.map +1 -1
- package/lib/components/layout/header/user.vue.d.ts +4 -0
- package/lib/components/layout/header/user.vue.d.ts.map +1 -0
- package/lib/components/layout/menu/menuTabs.vue.d.ts.map +1 -1
- package/lib/es/BasicLayout/index.js +1 -1
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +244 -240
- package/package.json +6 -4
- package/src/components/content/search/index.vue +12 -0
- package/src/components/layout/header/headerExits.vue +1 -1
- package/src/components/layout/header/index.vue +5 -3
- package/src/components/layout/header/user.vue +10 -0
- package/src/components/layout/menu/menuTabs.vue +14 -1
package/.cursorignore
ADDED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { createFromIconfont as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { mainAppApis as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as _, createBlock as v, createCommentVNode as I, openBlock as p, unref as t, mergeProps as C, useAttrs as D, computed as P, ref as h, watch as S, withCtx as m, createElementBlock as g, normalizeStyle as T, createElementVNode as x, inject as q, onMounted as U, createVNode as u, toDisplayString as R, Fragment as L, createTextVNode as O, reactive as J, nextTick as W, renderList as G, withModifiers as Q } from "vue";
|
|
2
|
+
import { a as A, _ as k } from "./index-BEWJ_qAH.js";
|
|
3
|
+
import { createFromIconfont as V, getIconTransform as j, usePageInfo as B, showBreadcrumb as K, crumbs as E, useUserInfo as F, useSettingInfo as H, initMenu as X, AppRouter as Y, useAppInfo as w } from "@skyfox2000/webbase";
|
|
4
|
+
import { theme as N, Breadcrumb as Z, Modal as ee, Flex as te, LayoutHeader as ne, Space as oe, Menu as se, Tabs as ie, TabPane as ce } from "ant-design-vue";
|
|
5
|
+
import { SERVER_HOST as z } from "@skyfox2000/fapi";
|
|
6
|
+
import { mainAppApis as M } from "@skyfox2000/microbase";
|
|
7
|
+
const le = /* @__PURE__ */ _({
|
|
8
8
|
__name: "appicon",
|
|
9
9
|
props: {
|
|
10
10
|
icon: {
|
|
11
11
|
type: String
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
iconUrl: `${
|
|
17
|
-
icon:
|
|
14
|
+
setup(o) {
|
|
15
|
+
const c = o, e = V({
|
|
16
|
+
iconUrl: `${z.APP_ICONS}`,
|
|
17
|
+
icon: c.icon
|
|
18
18
|
});
|
|
19
|
-
return (a,
|
|
19
|
+
return (a, l) => o.icon ? (p(), v(t(e), C({
|
|
20
20
|
key: 0,
|
|
21
|
-
icon:
|
|
21
|
+
icon: o.icon,
|
|
22
22
|
class: ["text-2xl", "align-middle", "w-6", "h-6"]
|
|
23
|
-
}, a.$attrs), null, 16, ["icon"])) :
|
|
23
|
+
}, a.$attrs), null, 16, ["icon"])) : I("", !0);
|
|
24
24
|
}
|
|
25
|
-
}), ae = ["xlink:href"], re = /* @__PURE__ */
|
|
25
|
+
}), ae = ["xlink:href"], re = /* @__PURE__ */ _({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
__name: "index",
|
|
28
28
|
props: {
|
|
@@ -266,63 +266,63 @@ const ze = /* @__PURE__ */ v({
|
|
|
266
266
|
*/
|
|
267
267
|
"update:iconIndex"
|
|
268
268
|
],
|
|
269
|
-
setup(
|
|
270
|
-
const i =
|
|
269
|
+
setup(o, { emit: c }) {
|
|
270
|
+
const i = D(), e = o, a = c, l = P(() => {
|
|
271
271
|
if (Array.isArray(e.size)) return e.size;
|
|
272
272
|
{
|
|
273
|
-
let
|
|
274
|
-
return [
|
|
273
|
+
let n = e.size;
|
|
274
|
+
return [n, n];
|
|
275
275
|
}
|
|
276
|
-
}),
|
|
276
|
+
}), s = h(e.icon), d = h(e.iconIndex);
|
|
277
277
|
S(
|
|
278
278
|
() => e.icon,
|
|
279
|
-
(
|
|
280
|
-
|
|
279
|
+
(n) => {
|
|
280
|
+
s.value = n;
|
|
281
281
|
}
|
|
282
282
|
), S(
|
|
283
283
|
() => e.iconIndex,
|
|
284
|
-
(
|
|
285
|
-
d.value =
|
|
284
|
+
(n) => {
|
|
285
|
+
d.value = n, s.value = e.icons[n];
|
|
286
286
|
}
|
|
287
287
|
);
|
|
288
288
|
const r = P({
|
|
289
289
|
get() {
|
|
290
290
|
return d.value;
|
|
291
291
|
},
|
|
292
|
-
set(
|
|
293
|
-
d.value =
|
|
292
|
+
set(n) {
|
|
293
|
+
d.value = n, a("update:iconIndex", d.value);
|
|
294
294
|
}
|
|
295
295
|
});
|
|
296
|
-
e.icons.length > 0 ? (r.value = r.value >= e.icons.length ? 0 : r.value,
|
|
297
|
-
const b = (
|
|
298
|
-
if (
|
|
296
|
+
e.icons.length > 0 ? (r.value = r.value >= e.icons.length ? 0 : r.value, s.value = e.icons[d.value]) : s.value = e.icon;
|
|
297
|
+
const b = (n) => {
|
|
298
|
+
if (n.stopPropagation(), e.clickEvent) {
|
|
299
299
|
const y = e.clickEvent.split("#");
|
|
300
|
-
y.length === 2 &&
|
|
300
|
+
y.length === 2 && q("$" + y[0]).$emit(y[1], e.data);
|
|
301
301
|
}
|
|
302
|
-
e.autoSwitch && e.icons.length > 0 && (r.value = (r.value + 1) % e.icons.length,
|
|
302
|
+
e.autoSwitch && e.icons.length > 0 && (r.value = (r.value + 1) % e.icons.length, s.value = e.icons[d.value]), a("click");
|
|
303
303
|
}, f = () => {
|
|
304
|
-
let
|
|
305
|
-
return e.spin && (
|
|
304
|
+
let n = "";
|
|
305
|
+
return e.spin && (n += "rotate"), e.flip && (n += " flip"), n;
|
|
306
306
|
};
|
|
307
|
-
return (
|
|
307
|
+
return (n, y) => (p(), v(A, {
|
|
308
308
|
title: e.tiptext,
|
|
309
309
|
disabled: e.tiptext ? void 0 : "disabled",
|
|
310
|
-
color:
|
|
311
|
-
placement:
|
|
312
|
-
size:
|
|
310
|
+
color: o.tipcolor,
|
|
311
|
+
placement: o.placement,
|
|
312
|
+
size: o.tipsize
|
|
313
313
|
}, {
|
|
314
314
|
default: m(() => {
|
|
315
|
-
var
|
|
315
|
+
var $;
|
|
316
316
|
return [
|
|
317
|
-
|
|
317
|
+
s.value ? (p(), g("div", {
|
|
318
318
|
key: 0,
|
|
319
319
|
class: "re-icon-container",
|
|
320
|
-
style:
|
|
321
|
-
width:
|
|
322
|
-
height:
|
|
320
|
+
style: T({
|
|
321
|
+
width: l.value[0].toString(),
|
|
322
|
+
height: l.value[1].toString()
|
|
323
323
|
})
|
|
324
324
|
}, [
|
|
325
|
-
(
|
|
325
|
+
($ = s.value) != null && $.startsWith("sym-") ? (p(), g("svg", C({ key: 1 }, t(i), {
|
|
326
326
|
class: ["re-icon symbol", [e.clickable ? "clickable" : "", f(), e.className]],
|
|
327
327
|
"aria-hidden": "true",
|
|
328
328
|
style: {
|
|
@@ -330,38 +330,38 @@ const ze = /* @__PURE__ */ v({
|
|
|
330
330
|
left: e.position ? e.position[0] : 0,
|
|
331
331
|
fontSize: e.fontsize,
|
|
332
332
|
transformOrigin: e.center ?? "center center",
|
|
333
|
-
transform: t(
|
|
333
|
+
transform: t(j)(),
|
|
334
334
|
color: e.color
|
|
335
335
|
}
|
|
336
336
|
}), [
|
|
337
337
|
x("use", {
|
|
338
|
-
"xlink:href": "#icon-" +
|
|
338
|
+
"xlink:href": "#icon-" + s.value.replace("sym-", "")
|
|
339
339
|
}, null, 8, ae)
|
|
340
|
-
], 16)) : (p(), g("i",
|
|
341
|
-
class: ["re-icon iconfont fontclass", [e.clickable ? "clickable" : "", "icon-" +
|
|
340
|
+
], 16)) : (p(), g("i", C({ key: 0 }, t(i), {
|
|
341
|
+
class: ["re-icon iconfont fontclass", [e.clickable ? "clickable" : "", "icon-" + s.value, f(), e.className]],
|
|
342
342
|
style: {
|
|
343
343
|
top: e.position ? e.position[1] : 1,
|
|
344
344
|
left: e.position ? e.position[0] : 0,
|
|
345
345
|
fontSize: e.fontsize,
|
|
346
346
|
transformOrigin: e.center ?? "center center",
|
|
347
|
-
transform: t(
|
|
347
|
+
transform: t(j)(e.angle, e.flip),
|
|
348
348
|
color: e.color
|
|
349
349
|
},
|
|
350
350
|
"aria-hidden": "true",
|
|
351
351
|
onClick: b
|
|
352
352
|
}), null, 16))
|
|
353
|
-
], 4)) :
|
|
353
|
+
], 4)) : I("", !0)
|
|
354
354
|
];
|
|
355
355
|
}),
|
|
356
356
|
_: 1
|
|
357
357
|
}, 8, ["title", "disabled", "color", "placement", "size"]));
|
|
358
358
|
}
|
|
359
|
-
}), ue = (
|
|
360
|
-
const i =
|
|
361
|
-
for (const [e, a] of
|
|
359
|
+
}), ue = (o, c) => {
|
|
360
|
+
const i = o.__vccOpts || o;
|
|
361
|
+
for (const [e, a] of c)
|
|
362
362
|
i[e] = a;
|
|
363
363
|
return i;
|
|
364
|
-
},
|
|
364
|
+
}, $e = /* @__PURE__ */ ue(re, [["__scopeId", "data-v-e29c02e6"]]), pe = /* @__PURE__ */ _({
|
|
365
365
|
__name: "projectIcon",
|
|
366
366
|
props: {
|
|
367
367
|
icon: {
|
|
@@ -378,35 +378,35 @@ const ze = /* @__PURE__ */ v({
|
|
|
378
378
|
default: !0
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
|
-
setup(
|
|
382
|
-
const
|
|
383
|
-
iconUrl: `${
|
|
384
|
-
monoColor:
|
|
385
|
-
icon:
|
|
386
|
-
icons:
|
|
381
|
+
setup(o) {
|
|
382
|
+
const c = o, e = V({
|
|
383
|
+
iconUrl: `${c.iconUrl ?? z.PROJECT_ICONS ?? z.TOOL_ICONS}`,
|
|
384
|
+
monoColor: c.monoColor,
|
|
385
|
+
icon: c.icon,
|
|
386
|
+
icons: c.icons
|
|
387
387
|
});
|
|
388
|
-
return (a,
|
|
388
|
+
return (a, l) => o.icon || o.icons ? (p(), v(t(e), C({
|
|
389
389
|
key: 0,
|
|
390
|
-
icon:
|
|
391
|
-
icons:
|
|
390
|
+
icon: o.icon,
|
|
391
|
+
icons: o.icons,
|
|
392
392
|
class: ["align-middle"]
|
|
393
|
-
}, a.$attrs), null, 16, ["icon", "icons"])) :
|
|
393
|
+
}, a.$attrs), null, 16, ["icon", "icons"])) : I("", !0);
|
|
394
394
|
}
|
|
395
395
|
}), de = { class: "text-xs leading-[3]" }, fe = {
|
|
396
396
|
key: 0,
|
|
397
397
|
class: "leading-[2.5] mx-[6px] text-[rgba(0,0,0,0.45)]"
|
|
398
|
-
}, me = /* @__PURE__ */
|
|
398
|
+
}, me = /* @__PURE__ */ _({
|
|
399
399
|
__name: "index",
|
|
400
|
-
setup(
|
|
401
|
-
const { useToken:
|
|
400
|
+
setup(o) {
|
|
401
|
+
const { useToken: c } = N, { token: i } = c(), e = B();
|
|
402
402
|
return S(
|
|
403
403
|
() => e.TabActive,
|
|
404
|
-
() =>
|
|
404
|
+
() => K()
|
|
405
405
|
), U(() => {
|
|
406
|
-
|
|
407
|
-
}), (a,
|
|
406
|
+
K();
|
|
407
|
+
}), (a, l) => (p(), g("div", {
|
|
408
408
|
class: "ml-5 h-fit p-0 flex items-center justify-between",
|
|
409
|
-
style:
|
|
409
|
+
style: T({
|
|
410
410
|
backgroundColor: t(i).colorBgContainer
|
|
411
411
|
})
|
|
412
412
|
}, [
|
|
@@ -414,39 +414,40 @@ const ze = /* @__PURE__ */ v({
|
|
|
414
414
|
icon: "icon-home",
|
|
415
415
|
class: "w-[15px] h-[15px]"
|
|
416
416
|
}),
|
|
417
|
-
|
|
417
|
+
l[0] || (l[0] = x("span", { class: "leading-[2.5] mx-[6px] text-[rgba(0,0,0,0.45)]" }, ">", -1)),
|
|
418
418
|
u(t(Z), {
|
|
419
|
-
routes: t(
|
|
419
|
+
routes: t(E),
|
|
420
420
|
separator: ""
|
|
421
421
|
}, {
|
|
422
|
-
itemRender: m(({ route:
|
|
423
|
-
x("span", de,
|
|
422
|
+
itemRender: m(({ route: s }) => [
|
|
423
|
+
x("span", de, R(s.breadcrumbName), 1),
|
|
424
424
|
u(t(k), {
|
|
425
|
-
icon:
|
|
425
|
+
icon: s.icon,
|
|
426
426
|
fontsize: "15px"
|
|
427
427
|
}, null, 8, ["icon"]),
|
|
428
|
-
|
|
428
|
+
s.index < t(E).length - 1 ? (p(), g("span", fe, ">")) : I("", !0)
|
|
429
429
|
]),
|
|
430
430
|
_: 1
|
|
431
431
|
}, 8, ["routes"])
|
|
432
432
|
], 4));
|
|
433
433
|
}
|
|
434
|
-
}), ge = /* @__PURE__ */
|
|
434
|
+
}), ge = /* @__PURE__ */ _({
|
|
435
435
|
__name: "headerExits",
|
|
436
|
-
setup(
|
|
437
|
-
const
|
|
438
|
-
i.value = !1,
|
|
436
|
+
setup(o) {
|
|
437
|
+
const c = F(), i = h(!1), e = () => {
|
|
438
|
+
i.value = !1, M.value ? M.value.userLogout() : c.logout();
|
|
439
439
|
};
|
|
440
|
-
return (a,
|
|
440
|
+
return (a, l) => (p(), g(L, null, [
|
|
441
441
|
u(t(k), {
|
|
442
442
|
icon: "icon-logout",
|
|
443
|
-
onClick:
|
|
443
|
+
onClick: l[0] || (l[0] = (s) => i.value = !0),
|
|
444
444
|
clickable: "",
|
|
445
|
-
class: "w-5 h-5"
|
|
445
|
+
class: "w-5 h-5",
|
|
446
|
+
title: "退出系统"
|
|
446
447
|
}),
|
|
447
448
|
u(t(ee), {
|
|
448
449
|
open: i.value,
|
|
449
|
-
"onUpdate:open":
|
|
450
|
+
"onUpdate:open": l[1] || (l[1] = (s) => i.value = s),
|
|
450
451
|
title: "确定退出?",
|
|
451
452
|
"ok-text": "确定",
|
|
452
453
|
"cancel-text": "取消",
|
|
@@ -465,10 +466,10 @@ const ze = /* @__PURE__ */ v({
|
|
|
465
466
|
color: "orange",
|
|
466
467
|
class: "w-[60px] h-[60px]"
|
|
467
468
|
}),
|
|
468
|
-
|
|
469
|
-
|
|
469
|
+
l[2] || (l[2] = x("div", { style: { margin: "0 0 0 20px", "font-weight": "400", "font-size": "16px" } }, [
|
|
470
|
+
O("是否退出系统,"),
|
|
470
471
|
x("br"),
|
|
471
|
-
|
|
472
|
+
O("清除用户缓存信息?")
|
|
472
473
|
], -1))
|
|
473
474
|
]),
|
|
474
475
|
_: 1,
|
|
@@ -479,15 +480,28 @@ const ze = /* @__PURE__ */ v({
|
|
|
479
480
|
}, 8, ["open"])
|
|
480
481
|
], 64));
|
|
481
482
|
}
|
|
482
|
-
}), xe =
|
|
483
|
+
}), xe = /* @__PURE__ */ _({
|
|
484
|
+
__name: "user",
|
|
485
|
+
setup(o) {
|
|
486
|
+
const c = F().userInfo;
|
|
487
|
+
return (i, e) => (p(), v(t(A), {
|
|
488
|
+
title: t(c).Name
|
|
489
|
+
}, {
|
|
490
|
+
default: m(() => [
|
|
491
|
+
u(t(le), { icon: "icon-account" })
|
|
492
|
+
]),
|
|
493
|
+
_: 1
|
|
494
|
+
}, 8, ["title"]));
|
|
495
|
+
}
|
|
496
|
+
}), _e = { class: "flex items-center" }, we = /* @__PURE__ */ _({
|
|
483
497
|
__name: "index",
|
|
484
|
-
setup(
|
|
485
|
-
const { useToken:
|
|
498
|
+
setup(o) {
|
|
499
|
+
const { useToken: c } = N, { token: i } = c(), e = H(), a = () => {
|
|
486
500
|
e.setMenuCollapse(!e.menuCollapse);
|
|
487
501
|
};
|
|
488
|
-
return (
|
|
502
|
+
return (l, s) => (p(), v(t(ne), {
|
|
489
503
|
class: "w-full relative z-[1] shadow-[0_-3px_6px_#000] py-0 flex items-center justify-between",
|
|
490
|
-
style:
|
|
504
|
+
style: T({
|
|
491
505
|
height: "40px",
|
|
492
506
|
lineHeight: "1",
|
|
493
507
|
paddingLeft: "10px",
|
|
@@ -496,10 +510,11 @@ const ze = /* @__PURE__ */ v({
|
|
|
496
510
|
})
|
|
497
511
|
}, {
|
|
498
512
|
default: m(() => [
|
|
499
|
-
x("div",
|
|
513
|
+
x("div", _e, [
|
|
500
514
|
u(t(k), {
|
|
501
515
|
icon: "icon-menu",
|
|
502
|
-
|
|
516
|
+
clickable: "",
|
|
517
|
+
class: "w-[18px] h-[18px]",
|
|
503
518
|
angle: t(e).menuCollapse ? 90 : 0,
|
|
504
519
|
onClick: a
|
|
505
520
|
}, null, 8, ["angle"]),
|
|
@@ -511,17 +526,7 @@ const ze = /* @__PURE__ */ v({
|
|
|
511
526
|
class: "flex items-center"
|
|
512
527
|
}, {
|
|
513
528
|
default: m(() => [
|
|
514
|
-
u(
|
|
515
|
-
class: "avatar",
|
|
516
|
-
style: { backgroundColor: "#f56a00", fontSize: "14px" },
|
|
517
|
-
size: 24
|
|
518
|
-
}, {
|
|
519
|
-
default: m(() => n[0] || (n[0] = [
|
|
520
|
-
A(" U ")
|
|
521
|
-
])),
|
|
522
|
-
_: 1,
|
|
523
|
-
__: [0]
|
|
524
|
-
}),
|
|
529
|
+
u(xe, { class: "w-7 h-7" }),
|
|
525
530
|
u(ge)
|
|
526
531
|
]),
|
|
527
532
|
_: 1
|
|
@@ -531,56 +536,56 @@ const ze = /* @__PURE__ */ v({
|
|
|
531
536
|
_: 1
|
|
532
537
|
}, 8, ["style"]));
|
|
533
538
|
}
|
|
534
|
-
}),
|
|
539
|
+
}), ze = /* @__PURE__ */ _({
|
|
535
540
|
__name: "index",
|
|
536
541
|
props: {
|
|
537
542
|
routes: {}
|
|
538
543
|
},
|
|
539
|
-
setup(
|
|
540
|
-
const
|
|
544
|
+
setup(o) {
|
|
545
|
+
const c = o, i = h([]), e = h([]), a = J([]), l = B(), s = (f) => {
|
|
541
546
|
w().push(f.key.toString());
|
|
542
|
-
}, d =
|
|
543
|
-
let f =
|
|
544
|
-
const
|
|
545
|
-
|
|
547
|
+
}, d = H(), r = h([]), b = () => {
|
|
548
|
+
let f = l.TabActive;
|
|
549
|
+
const n = f.split("/");
|
|
550
|
+
n.pop(), i.value = [n.join("/")], d.menuCollapse || (r.value = [n.join("/")]), e.value = [f];
|
|
546
551
|
};
|
|
547
552
|
return S(
|
|
548
553
|
() => d.menuCollapse,
|
|
549
554
|
(f) => {
|
|
550
|
-
f || (r.value = [],
|
|
555
|
+
f || (r.value = [], W(() => {
|
|
551
556
|
r.value = [...i.value];
|
|
552
557
|
}));
|
|
553
558
|
}
|
|
554
559
|
), S(
|
|
555
|
-
() =>
|
|
560
|
+
() => l.TabActive,
|
|
556
561
|
() => {
|
|
557
562
|
b();
|
|
558
563
|
}
|
|
559
564
|
), U(() => {
|
|
560
|
-
X(
|
|
561
|
-
}), (f,
|
|
565
|
+
X(c.routes, a, pe, { class: "!w-5 !h-5" }), l.setTabActive(Y.currentRoute.value.path), b();
|
|
566
|
+
}), (f, n) => (p(), v(t(se), {
|
|
562
567
|
openKeys: r.value,
|
|
563
|
-
"onUpdate:openKeys":
|
|
568
|
+
"onUpdate:openKeys": n[0] || (n[0] = (y) => r.value = y),
|
|
564
569
|
selectedKeys: e.value,
|
|
565
|
-
"onUpdate:selectedKeys":
|
|
570
|
+
"onUpdate:selectedKeys": n[1] || (n[1] = (y) => e.value = y),
|
|
566
571
|
mode: "inline",
|
|
567
572
|
theme: "dark",
|
|
568
573
|
items: a,
|
|
569
|
-
onClick:
|
|
574
|
+
onClick: s
|
|
570
575
|
}, null, 8, ["openKeys", "selectedKeys", "items"]));
|
|
571
576
|
}
|
|
572
|
-
}), ye = { class: "flex items-center" }, ve = { class: "flex" },
|
|
577
|
+
}), ye = { class: "flex items-center" }, ve = { class: "flex" }, he = ["onClick"], Ae = /* @__PURE__ */ _({
|
|
573
578
|
__name: "menuTabs",
|
|
574
|
-
setup(
|
|
575
|
-
const { useToken:
|
|
576
|
-
w().push(
|
|
577
|
-
},
|
|
578
|
-
e.removeTabPane(
|
|
579
|
+
setup(o) {
|
|
580
|
+
const { useToken: c } = N, { token: i } = c(), e = B(), a = (s) => {
|
|
581
|
+
w().push(s);
|
|
582
|
+
}, l = (s) => {
|
|
583
|
+
e.removeTabPane(s), w().push(e.TabActive);
|
|
579
584
|
};
|
|
580
|
-
return (
|
|
581
|
-
style:
|
|
585
|
+
return (s, d) => (p(), g("div", {
|
|
586
|
+
style: T({ height: "38px", backgroundColor: t(i).colorBgBase })
|
|
582
587
|
}, [
|
|
583
|
-
u(t(
|
|
588
|
+
u(t(ie), {
|
|
584
589
|
activeKey: t(e).TabActive,
|
|
585
590
|
"hide-add": "",
|
|
586
591
|
size: "small",
|
|
@@ -588,13 +593,13 @@ const ze = /* @__PURE__ */ v({
|
|
|
588
593
|
onTabClick: a
|
|
589
594
|
}, {
|
|
590
595
|
default: m(() => [
|
|
591
|
-
(p(!0), g(
|
|
596
|
+
(p(!0), g(L, null, G(t(e).TabPanes, (r) => (p(), v(t(ce), {
|
|
592
597
|
key: r.key
|
|
593
598
|
}, {
|
|
594
599
|
tab: m(() => [
|
|
595
600
|
x("div", ye, [
|
|
596
|
-
x("span", ve,
|
|
597
|
-
u(t(
|
|
601
|
+
x("span", ve, R(r.title), 1),
|
|
602
|
+
u(t(A), {
|
|
598
603
|
title: "关闭",
|
|
599
604
|
placement: "top",
|
|
600
605
|
size: "small"
|
|
@@ -603,7 +608,7 @@ const ze = /* @__PURE__ */ v({
|
|
|
603
608
|
t(e).TabPanes.length > 1 && r.closable ? (p(), g("div", {
|
|
604
609
|
key: 0,
|
|
605
610
|
class: "inline-block mx-auto relative flex items-center",
|
|
606
|
-
onClick:
|
|
611
|
+
onClick: Q((b) => l(r.key), ["stop"])
|
|
607
612
|
}, [
|
|
608
613
|
u(t(k), {
|
|
609
614
|
icon: "icon-new",
|
|
@@ -612,7 +617,7 @@ const ze = /* @__PURE__ */ v({
|
|
|
612
617
|
class: "w-[15px] h-[15px] ml-1",
|
|
613
618
|
tipcolor: t(i).colorBgSpotlight
|
|
614
619
|
}, null, 8, ["tipcolor"])
|
|
615
|
-
], 8,
|
|
620
|
+
], 8, he)) : I("", !0)
|
|
616
621
|
]),
|
|
617
622
|
_: 2
|
|
618
623
|
}, 1024)
|
|
@@ -627,13 +632,13 @@ const ze = /* @__PURE__ */ v({
|
|
|
627
632
|
}
|
|
628
633
|
});
|
|
629
634
|
export {
|
|
630
|
-
|
|
635
|
+
$e as I,
|
|
631
636
|
ue as _,
|
|
632
|
-
|
|
637
|
+
le as a,
|
|
633
638
|
pe as b,
|
|
634
639
|
me as c,
|
|
635
|
-
|
|
640
|
+
we as d,
|
|
636
641
|
ge as e,
|
|
637
|
-
|
|
638
|
-
|
|
642
|
+
ze as f,
|
|
643
|
+
Ae as g
|
|
639
644
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/content/search/index.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/content/search/index.vue"],"names":[],"mappings":";AAyJA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAgB3C,KAAK,WAAW,GAAG;IAIhB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAI5B,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAI/B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAsFF,iBAAS,cAAc;WAsIT,OAAO,IAA6B;;yBAXrB,GAAG;yBACH,GAAG;;;;EAe/B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerExits.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/headerExits.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"headerExits.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/headerExits.vue"],"names":[],"mappings":";;AA0KA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/index.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/index.vue"],"names":[],"mappings":";;AAkMA,wBAMG"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
4
|
+
//# sourceMappingURL=user.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/user.vue"],"names":[],"mappings":";;AAwEA,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menuTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/menu/menuTabs.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"menuTabs.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/menu/menuTabs.vue"],"names":[],"mappings":";;AA4OA,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, ref as I, watch as C, onMounted as g, resolveComponent as b, createBlock as n, openBlock as o, unref as e, withCtx as a, createCommentVNode as c, createVNode as r, createElementVNode as f, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
|
|
2
2
|
import { Layout as m, LayoutSider as E } from "ant-design-vue";
|
|
3
3
|
import { a as z } from "../../assets/modules/index-BEWJ_qAH.js";
|
|
4
|
-
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-
|
|
4
|
+
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-BXdbFZor.js";
|
|
5
5
|
import { useAppInfo as j, useSettingInfo as K, usePageInfo as M } from "@skyfox2000/webbase";
|
|
6
6
|
import P from "vue-m-message";
|
|
7
7
|
const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-nowrap items-center justify-center text-white font-bold text-lg overflow-hidden text-ellipsis" }, U = {
|