@huyooo/ui 0.5.18 → 0.5.20
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/dist/{AuthkitAuthModal-CPyOF0SH.js → AuthkitAuthModal-BRKkQ2Px.js} +1 -1
- package/dist/{Contact-CbRmh_Br.js → Contact-TYzxCmbB.js} +32 -26
- package/dist/{FeedbackItem-DGAsK3HZ.js → FeedbackItem-DJDUUJbB.js} +1 -1
- package/dist/{FeedbackModal-5C17AhkV.js → FeedbackModal-Df1Wiclk.js} +1 -1
- package/dist/Menu-ejsosUdV.js +118 -0
- package/dist/{MessageHandle-thVNUp0p.js → MessageHandle-De7eLBi_.js} +1 -1
- package/dist/{UserAccountMenu-Bosjhh3l.js → UserAccountMenu-BNCGS_KR.js} +3 -3
- package/dist/{WidthContainer-DhHq52TL.js → WidthContainer-DFWspiGt.js} +74 -74
- package/dist/authkit.js +1 -1
- package/dist/common.js +2 -2
- package/dist/components/Menu.vue.d.ts +8 -1
- package/dist/components/MenuItem.vue.d.ts +15 -1
- package/dist/feedback.js +2 -2
- package/dist/index.js +9 -9
- package/dist/message.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/style.css +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/Menu-Cxo8Rpu3.js +0 -115
|
@@ -9,7 +9,7 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { u as Z } from "./useUploadCos-D5k1YLb7.js";
|
|
11
11
|
import { g as A } from "./globalConfig-C1YOJcxa.js";
|
|
12
|
-
import "./FeedbackModal-
|
|
12
|
+
import "./FeedbackModal-Df1Wiclk.js";
|
|
13
13
|
import { Icon as Y } from "@iconify/vue";
|
|
14
14
|
const H = f({
|
|
15
15
|
name: "IconDown",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { defineComponent as R, createElementBlock as S, openBlock as r, normalizeStyle as M, normalizeClass as oe, createElementVNode as I, computed as O, createBlock as y, unref as l, withCtx as n, createVNode as u, createCommentVNode as L, Fragment as B, createTextVNode as $, toDisplayString as z, ref as m, onUnmounted as xe, h as X, renderList as ie, nextTick as A } from "vue";
|
|
5
5
|
import { Space as ue, Image as ce, Avatar as de, Descriptions as Se, DescriptionsItem as K, Tag as E, Spin as we, Button as G, Form as Ie, FormItem as H, Input as $e, Select as Fe, Option as Ue, Textarea as Le, Message as Re, Breadcrumb as Be, BreadcrumbItem as ee, Modal as ze, Drawer as qe } from "@arco-design/web-vue";
|
|
6
|
-
import { M as De } from "./Menu-
|
|
6
|
+
import { M as De } from "./Menu-ejsosUdV.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { defineComponent as g, ref as S, createElementBlock as t, createCommentVNode as f, openBlock as o, normalizeClass as K, createBlock as u, createElementVNode as l, unref as M, toDisplayString as C, Fragment as _, renderList as v, normalizeStyle as A } from "vue";
|
|
2
|
+
import { Icon as q } from "@iconify/vue";
|
|
3
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const I = /* @__PURE__ */ g({
|
|
5
|
+
__name: "MenuItem",
|
|
6
|
+
props: {
|
|
7
|
+
hidden: {
|
|
8
|
+
type: Boolean,
|
|
9
|
+
required: !0,
|
|
10
|
+
default: () => !1
|
|
11
|
+
},
|
|
12
|
+
path: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: !0,
|
|
15
|
+
default: () => ""
|
|
16
|
+
},
|
|
17
|
+
icon: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: !0,
|
|
20
|
+
default: () => ""
|
|
21
|
+
},
|
|
22
|
+
name: {
|
|
23
|
+
type: String,
|
|
24
|
+
required: !0,
|
|
25
|
+
default: () => ""
|
|
26
|
+
},
|
|
27
|
+
active: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
required: !0,
|
|
30
|
+
default: () => !1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
setup(d) {
|
|
34
|
+
const a = d, c = S(!1);
|
|
35
|
+
function i() {
|
|
36
|
+
c.value = !0;
|
|
37
|
+
}
|
|
38
|
+
function r() {
|
|
39
|
+
c.value = !1;
|
|
40
|
+
}
|
|
41
|
+
return (s, p) => a.hidden ? f("", !0) : (o(), t("div", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: K(["List", {
|
|
44
|
+
Active: a.active,
|
|
45
|
+
Hover: c.value && !a.active
|
|
46
|
+
}]),
|
|
47
|
+
onMouseover: i,
|
|
48
|
+
onMouseout: r
|
|
49
|
+
}, [a.icon ? (o(), u(M(q), {
|
|
50
|
+
key: 0,
|
|
51
|
+
class: "icon",
|
|
52
|
+
icon: a.icon
|
|
53
|
+
}, null, 8, ["icon"])) : f("", !0), l("span", null, C(a.name), 1)], 34));
|
|
54
|
+
}
|
|
55
|
+
}), k = /* @__PURE__ */ B(I, [["__scopeId", "data-v-6276a4d5"]]), T = {
|
|
56
|
+
class: "Menu"
|
|
57
|
+
}, $ = {
|
|
58
|
+
class: "Title"
|
|
59
|
+
}, m = {
|
|
60
|
+
class: "MenuItem2"
|
|
61
|
+
}, x = /* @__PURE__ */ g({
|
|
62
|
+
__name: "Menu",
|
|
63
|
+
props: {
|
|
64
|
+
menus: {
|
|
65
|
+
type: Array,
|
|
66
|
+
required: !0,
|
|
67
|
+
default: () => []
|
|
68
|
+
},
|
|
69
|
+
selectedKeys: {
|
|
70
|
+
type: Array,
|
|
71
|
+
required: !0,
|
|
72
|
+
default: () => []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
emits: ["update:selectedKeys", "change"],
|
|
76
|
+
setup(d, {
|
|
77
|
+
emit: a
|
|
78
|
+
}) {
|
|
79
|
+
const c = d, i = a;
|
|
80
|
+
function r(s, p) {
|
|
81
|
+
console.log(s, "itemitemitemitem"), i("change", s, p);
|
|
82
|
+
}
|
|
83
|
+
return (s, p) => (o(), t("div", T, [(o(!0), t(_, null, v(c.menus, (e, h) => (o(), t("div", {
|
|
84
|
+
key: h
|
|
85
|
+
}, [e.children && e.children.length !== 0 ? (o(), t(_, {
|
|
86
|
+
key: 0
|
|
87
|
+
}, [l("span", {
|
|
88
|
+
class: "TitleContent",
|
|
89
|
+
style: A({
|
|
90
|
+
marginTop: h !== 0 ? "20px" : "0"
|
|
91
|
+
})
|
|
92
|
+
}, [e != null && e.icon ? (o(), u(M(q), {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "icon",
|
|
95
|
+
icon: e.icon
|
|
96
|
+
}, null, 8, ["icon"])) : f("", !0), l("span", $, C(e.name), 1)], 4), l("span", m, [(o(!0), t(_, null, v(e.children, (n, y) => (o(), u(k, {
|
|
97
|
+
key: y,
|
|
98
|
+
hidden: n == null ? void 0 : n.hidden,
|
|
99
|
+
path: n.path,
|
|
100
|
+
icon: n == null ? void 0 : n.icon,
|
|
101
|
+
name: n.name,
|
|
102
|
+
active: c.selectedKeys.includes(n.path),
|
|
103
|
+
onClick: (z) => r(n, y)
|
|
104
|
+
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))), 128))])], 64)) : (o(), u(k, {
|
|
105
|
+
key: 1,
|
|
106
|
+
hidden: e == null ? void 0 : e.hidden,
|
|
107
|
+
path: e.path,
|
|
108
|
+
icon: e == null ? void 0 : e.icon,
|
|
109
|
+
name: e.name,
|
|
110
|
+
active: c.selectedKeys.includes(e.path),
|
|
111
|
+
onClick: (n) => r(e, h)
|
|
112
|
+
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]))), 128))]));
|
|
113
|
+
}
|
|
114
|
+
}), N = /* @__PURE__ */ B(x, [["__scopeId", "data-v-df591619"]]);
|
|
115
|
+
export {
|
|
116
|
+
N as M,
|
|
117
|
+
k as a
|
|
118
|
+
};
|
|
@@ -13,7 +13,7 @@ import { useIntersectionObserver as X } from "@vueuse/core";
|
|
|
13
13
|
import { u as Y } from "./useMessageNotifications-DSRanuRe.js";
|
|
14
14
|
import { Icon as Z } from "@iconify/vue";
|
|
15
15
|
import { u as ee } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
16
|
-
import { M as te } from "./Menu-
|
|
16
|
+
import { M as te } from "./Menu-ejsosUdV.js";
|
|
17
17
|
function ne(a) {
|
|
18
18
|
return S({
|
|
19
19
|
url: `${D.prefixUrl}/restfulApi/messageCenter/changelogNotifications/find`,
|
|
@@ -9,9 +9,9 @@ import { R as Ie } from "./ReferrerReferees-B3Ek3gAn.js";
|
|
|
9
9
|
import { a as N, u as he } from "./useAuthkitUsersProfile-zbKT0W_h.js";
|
|
10
10
|
import { u as Ue } from "./useAuthkitAuthModal-BpOmabWi.js";
|
|
11
11
|
import { g as q } from "./globalConfig-C1YOJcxa.js";
|
|
12
|
-
import { c as Ae, A as Me } from "./AuthkitAuthModal-
|
|
13
|
-
import { d as xe } from "./FeedbackModal-
|
|
14
|
-
import { M as Be } from "./MessageHandle-
|
|
12
|
+
import { c as Ae, A as Me } from "./AuthkitAuthModal-BRKkQ2Px.js";
|
|
13
|
+
import { d as xe } from "./FeedbackModal-Df1Wiclk.js";
|
|
14
|
+
import { M as Be } from "./MessageHandle-De7eLBi_.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { defineComponent as g, ref as C, watch as H, createElementBlock as o, openBlock as t, createElementVNode as r, createVNode as _, unref as
|
|
3
|
+
import { defineComponent as g, ref as C, watch as H, createElementBlock as o, openBlock as t, createElementVNode as r, createVNode as _, unref as d, withCtx as Q, resolveComponent as X, createBlock as E, createCommentVNode as $, toDisplayString as I, onMounted as Y, onUnmounted as Z, Fragment as z, renderList as q, normalizeClass as L, normalizeStyle as x, renderSlot as K, computed as P } from "vue";
|
|
4
4
|
import { Spin as V } from "@arco-design/web-vue";
|
|
5
5
|
import { a as B } from "./useAuthkitUsersProfile-zbKT0W_h.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
6
|
+
import { u as R } from "./useAuthkitAuthModal-BpOmabWi.js";
|
|
7
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "@huyooo/api";
|
|
10
|
-
import { a as
|
|
10
|
+
import { a as O, w as A, b as G, d as W, f as ee, c as te } from "./useSEO-BLlxOmk2.js";
|
|
11
11
|
import "./useUploadCos-D5k1YLb7.js";
|
|
12
12
|
import { useRouter as N, useRoute as F } from "vue-router";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { d as ne, c as j } from "./UserAccountMenu-
|
|
15
|
+
import { d as ne, c as j } from "./UserAccountMenu-BNCGS_KR.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
19
|
/* empty css */
|
|
20
|
-
import { M as oe } from "./Menu-
|
|
20
|
+
import { M as oe } from "./Menu-ejsosUdV.js";
|
|
21
21
|
import "./CollapseItem-Cw1vcdLu.js";
|
|
22
22
|
/* empty css */
|
|
23
23
|
import "./CustomTable-B8i1SbFB.js";
|
|
@@ -31,9 +31,9 @@ const ae = {
|
|
|
31
31
|
class: "LogoContent"
|
|
32
32
|
}, re = {
|
|
33
33
|
class: "MenuContent"
|
|
34
|
-
},
|
|
34
|
+
}, ce = {
|
|
35
35
|
class: "sidebar-footer"
|
|
36
|
-
},
|
|
36
|
+
}, ue = /* @__PURE__ */ g({
|
|
37
37
|
__name: "AppSidebar",
|
|
38
38
|
props: {
|
|
39
39
|
menuType: {
|
|
@@ -47,24 +47,24 @@ const ae = {
|
|
|
47
47
|
setup(n) {
|
|
48
48
|
const e = n, {
|
|
49
49
|
show: a
|
|
50
|
-
} =
|
|
51
|
-
isLoggedIn:
|
|
50
|
+
} = R(), {
|
|
51
|
+
isLoggedIn: c
|
|
52
52
|
} = B(), {
|
|
53
53
|
appsData: i
|
|
54
|
-
} =
|
|
55
|
-
menus:
|
|
54
|
+
} = D(), {
|
|
55
|
+
menus: u,
|
|
56
56
|
hasPermission: k
|
|
57
|
-
} =
|
|
57
|
+
} = O(e.menuType), y = N(), f = C(!1);
|
|
58
58
|
function S() {
|
|
59
59
|
y.push({
|
|
60
60
|
path: "/"
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
const
|
|
64
|
-
function w(
|
|
65
|
-
const s =
|
|
63
|
+
const p = F(), b = C([""]);
|
|
64
|
+
function w(m) {
|
|
65
|
+
const s = m.path;
|
|
66
66
|
if (!k(s)) {
|
|
67
|
-
|
|
67
|
+
c.value || (a.value = !0);
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
70
|
A(() => {
|
|
@@ -74,33 +74,33 @@ const ae = {
|
|
|
74
74
|
});
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
function l(
|
|
77
|
+
function l(m, s, v) {
|
|
78
78
|
var M;
|
|
79
|
-
for (let T =
|
|
80
|
-
const U =
|
|
79
|
+
for (let T = m.length - 1; T >= 0; T--) {
|
|
80
|
+
const U = m[T];
|
|
81
81
|
if (((M = U.meta) == null ? void 0 : M.menuType) === s)
|
|
82
82
|
return U.path;
|
|
83
83
|
}
|
|
84
84
|
return "";
|
|
85
85
|
}
|
|
86
|
-
return H(() =>
|
|
87
|
-
const
|
|
88
|
-
console.log(
|
|
86
|
+
return H(() => p.path, () => {
|
|
87
|
+
const m = l(p.matched, e.menuType, p.path);
|
|
88
|
+
console.log(m, p.matched, e.menuType, p.path, "activateKey"), m && (b.value = [m]);
|
|
89
89
|
}, {
|
|
90
90
|
immediate: !0
|
|
91
|
-
}), (
|
|
92
|
-
icon:
|
|
93
|
-
name:
|
|
91
|
+
}), (m, s) => (t(), o("div", ae, [r("div", ie, [_(d(J), {
|
|
92
|
+
icon: d(i).applicationLogoUrl,
|
|
93
|
+
name: d(i).name,
|
|
94
94
|
onTo: S
|
|
95
|
-
}, null, 8, ["icon"])]), r("div", re, [_(oe, {
|
|
95
|
+
}, null, 8, ["icon", "name"])]), r("div", re, [_(oe, {
|
|
96
96
|
"selected-keys": b.value,
|
|
97
97
|
"onUpdate:selectedKeys": s[0] || (s[0] = (v) => b.value = v),
|
|
98
|
-
menus:
|
|
98
|
+
menus: d(u),
|
|
99
99
|
onChange: w
|
|
100
|
-
}, null, 8, ["selected-keys", "menus"])]), r("div",
|
|
100
|
+
}, null, 8, ["selected-keys", "menus"])]), r("div", ce, [_(d(ne), {
|
|
101
101
|
onArrowClick: s[2] || (s[2] = (v) => f.value = !f.value)
|
|
102
102
|
}, {
|
|
103
|
-
avatar: Q(() => [_(
|
|
103
|
+
avatar: Q(() => [_(d(j), {
|
|
104
104
|
modelValue: f.value,
|
|
105
105
|
"onUpdate:modelValue": s[1] || (s[1] = (v) => f.value = v),
|
|
106
106
|
position: "tr",
|
|
@@ -110,7 +110,7 @@ const ae = {
|
|
|
110
110
|
_: 1
|
|
111
111
|
})])]));
|
|
112
112
|
}
|
|
113
|
-
}), le = /* @__PURE__ */ h(
|
|
113
|
+
}), le = /* @__PURE__ */ h(ue, [["__scopeId", "data-v-4cbc1a75"]]), de = {
|
|
114
114
|
class: "layout"
|
|
115
115
|
}, pe = {
|
|
116
116
|
class: "leftContent"
|
|
@@ -138,14 +138,14 @@ const ae = {
|
|
|
138
138
|
const e = n, {
|
|
139
139
|
isChecking: a
|
|
140
140
|
} = G();
|
|
141
|
-
return W(), (
|
|
142
|
-
const
|
|
141
|
+
return W(), (c, i) => {
|
|
142
|
+
const u = X("RouterView");
|
|
143
143
|
return t(), o("div", de, [r("div", pe, [_(le, {
|
|
144
144
|
"menu-type": e.menuType,
|
|
145
145
|
"show-user-panel": e.showUserPanel
|
|
146
|
-
}, null, 8, ["menu-type", "show-user-panel"])]), r("div", me, [r("div", fe, [r("div", _e, [
|
|
146
|
+
}, null, 8, ["menu-type", "show-user-panel"])]), r("div", me, [r("div", fe, [r("div", _e, [d(a) ? (t(), o("div", he, [_(d(V), {
|
|
147
147
|
size: 40
|
|
148
|
-
})])) : (t(), E(
|
|
148
|
+
})])) : (t(), E(u, {
|
|
149
149
|
key: 1
|
|
150
150
|
}))])])])]);
|
|
151
151
|
};
|
|
@@ -173,7 +173,7 @@ const ae = {
|
|
|
173
173
|
},
|
|
174
174
|
setup(n) {
|
|
175
175
|
const e = n;
|
|
176
|
-
return (a,
|
|
176
|
+
return (a, c) => (t(), o("div", ge, [r("h1", ye, I(e.title), 1), e.description ? (t(), o("p", be, I(e.description), 1)) : $("", !0)]));
|
|
177
177
|
}
|
|
178
178
|
}), St = /* @__PURE__ */ h(ke, [["__scopeId", "data-v-209a7bef"]]), Se = {
|
|
179
179
|
class: "HeaderMenus"
|
|
@@ -201,9 +201,9 @@ const ae = {
|
|
|
201
201
|
setup(n, {
|
|
202
202
|
emit: e
|
|
203
203
|
}) {
|
|
204
|
-
const a = n,
|
|
204
|
+
const a = n, c = e, i = C(!1), u = C(!1);
|
|
205
205
|
function k() {
|
|
206
|
-
|
|
206
|
+
u.value = window.innerWidth <= 1024;
|
|
207
207
|
}
|
|
208
208
|
function y() {
|
|
209
209
|
i.value = !i.value;
|
|
@@ -212,35 +212,35 @@ const ae = {
|
|
|
212
212
|
i.value = !1;
|
|
213
213
|
}
|
|
214
214
|
function S(l) {
|
|
215
|
-
|
|
215
|
+
c("change", l), f();
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function p(l) {
|
|
218
218
|
return a.activateKey === l.path;
|
|
219
219
|
}
|
|
220
220
|
function b(l) {
|
|
221
|
-
|
|
221
|
+
c("change", l);
|
|
222
222
|
}
|
|
223
223
|
function w() {
|
|
224
|
-
k(),
|
|
224
|
+
k(), u.value || f();
|
|
225
225
|
}
|
|
226
226
|
return Y(() => {
|
|
227
227
|
k(), window.addEventListener("resize", w);
|
|
228
228
|
}), Z(() => {
|
|
229
229
|
window.removeEventListener("resize", w);
|
|
230
|
-
}), (l,
|
|
230
|
+
}), (l, m) => (t(), o("div", Se, [u.value ? $("", !0) : (t(), o("div", we, [(t(!0), o(z, null, q(a.menus, (s, v) => (t(), o("div", {
|
|
231
231
|
key: v,
|
|
232
232
|
class: L(["headerLink", {
|
|
233
|
-
activate:
|
|
233
|
+
activate: p(s)
|
|
234
234
|
}]),
|
|
235
235
|
onClick: (M) => b(s)
|
|
236
|
-
}, I(s.name), 11, $e))), 128))])),
|
|
236
|
+
}, I(s.name), 11, $e))), 128))])), u.value ? (t(), o("button", {
|
|
237
237
|
key: 1,
|
|
238
238
|
class: L(["mobile-menu-toggle", {
|
|
239
239
|
active: i.value
|
|
240
240
|
}]),
|
|
241
241
|
"aria-label": "切换菜单",
|
|
242
242
|
onClick: y
|
|
243
|
-
}, [...
|
|
243
|
+
}, [...m[0] || (m[0] = [r("span", {
|
|
244
244
|
class: "hamburger-line"
|
|
245
245
|
}, null, -1), r("span", {
|
|
246
246
|
class: "hamburger-line"
|
|
@@ -253,7 +253,7 @@ const ae = {
|
|
|
253
253
|
})) : $("", !0), i.value ? (t(), o("div", Ce, [r("div", Ie, [(t(!0), o(z, null, q(a.menus, (s, v) => (t(), o("div", {
|
|
254
254
|
key: v,
|
|
255
255
|
class: L(["mobile-menu-item", {
|
|
256
|
-
activate:
|
|
256
|
+
activate: p(s)
|
|
257
257
|
}]),
|
|
258
258
|
onClick: (M) => S(s)
|
|
259
259
|
}, I(s.name), 11, Me))), 128))])])) : $("", !0)]));
|
|
@@ -286,11 +286,11 @@ const ae = {
|
|
|
286
286
|
setup(n, {
|
|
287
287
|
emit: e
|
|
288
288
|
}) {
|
|
289
|
-
const a = n,
|
|
289
|
+
const a = n, c = e;
|
|
290
290
|
function i() {
|
|
291
|
-
|
|
291
|
+
c("to");
|
|
292
292
|
}
|
|
293
|
-
return (
|
|
293
|
+
return (u, k) => (t(), o("div", {
|
|
294
294
|
class: "Logo",
|
|
295
295
|
onClick: i
|
|
296
296
|
}, [n.icon ? (t(), o("img", {
|
|
@@ -328,15 +328,15 @@ const ae = {
|
|
|
328
328
|
setup(n) {
|
|
329
329
|
const e = n, {
|
|
330
330
|
show: a
|
|
331
|
-
} =
|
|
332
|
-
isLoggedIn:
|
|
331
|
+
} = R(), {
|
|
332
|
+
isLoggedIn: c
|
|
333
333
|
} = B(), {
|
|
334
334
|
appsData: i
|
|
335
|
-
} =
|
|
336
|
-
menus:
|
|
335
|
+
} = D(), {
|
|
336
|
+
menus: u,
|
|
337
337
|
hasPermission: k
|
|
338
|
-
} =
|
|
339
|
-
function
|
|
338
|
+
} = O(e.menuType), y = C(""), f = N(), S = F();
|
|
339
|
+
function p() {
|
|
340
340
|
A(() => {
|
|
341
341
|
f.push({
|
|
342
342
|
path: "/"
|
|
@@ -349,7 +349,7 @@ const ae = {
|
|
|
349
349
|
function b(w) {
|
|
350
350
|
const l = w.path;
|
|
351
351
|
if (!k(l)) {
|
|
352
|
-
|
|
352
|
+
c.value || (a.value = !0);
|
|
353
353
|
return;
|
|
354
354
|
}
|
|
355
355
|
A(() => {
|
|
@@ -364,17 +364,17 @@ const ae = {
|
|
|
364
364
|
}, {
|
|
365
365
|
immediate: !0
|
|
366
366
|
}), (w, l) => (t(), o("div", Ae, [r("div", Ue, [_(J, {
|
|
367
|
-
icon:
|
|
368
|
-
name:
|
|
369
|
-
onTo:
|
|
367
|
+
icon: d(i).applicationLogoUrl,
|
|
368
|
+
name: d(i).name,
|
|
369
|
+
onTo: p
|
|
370
370
|
}, null, 8, ["icon", "name"])]), r("div", ze, [_(Te, {
|
|
371
|
-
menus:
|
|
371
|
+
menus: d(u),
|
|
372
372
|
activateKey: y.value,
|
|
373
373
|
onChange: b
|
|
374
374
|
}, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), E(j, {
|
|
375
375
|
key: 0,
|
|
376
|
-
onToHomePage:
|
|
377
|
-
onSignOut:
|
|
376
|
+
onToHomePage: p,
|
|
377
|
+
onSignOut: p
|
|
378
378
|
})) : $("", !0)])]));
|
|
379
379
|
}
|
|
380
380
|
}), He = /* @__PURE__ */ h(qe, [["__scopeId", "data-v-48ee6be5"]]), Ee = {
|
|
@@ -402,9 +402,9 @@ const ae = {
|
|
|
402
402
|
} = te();
|
|
403
403
|
a(se);
|
|
404
404
|
const {
|
|
405
|
-
isChecking:
|
|
405
|
+
isChecking: c
|
|
406
406
|
} = G();
|
|
407
|
-
return W(), (i,
|
|
407
|
+
return W(), (i, u) => (t(), o("div", {
|
|
408
408
|
class: "layout",
|
|
409
409
|
style: x({
|
|
410
410
|
backgroundImage: e.backgroundImage || Ve,
|
|
@@ -413,13 +413,13 @@ const ae = {
|
|
|
413
413
|
}, [_(He, {
|
|
414
414
|
"menu-type": e.menuType,
|
|
415
415
|
"show-user-panel": e.showUserPanel
|
|
416
|
-
}, null, 8, ["menu-type", "show-user-panel"]), r("div", Ee, [
|
|
416
|
+
}, null, 8, ["menu-type", "show-user-panel"]), r("div", Ee, [d(c) ? (t(), o("div", Ke, [_(d(V), {
|
|
417
417
|
size: 40
|
|
418
418
|
})])) : K(i.$slots, "default", {
|
|
419
419
|
key: 1
|
|
420
420
|
}, void 0, !0)])], 4));
|
|
421
421
|
}
|
|
422
|
-
}), wt = /* @__PURE__ */ h(Be, [["__scopeId", "data-v-690c2133"]]),
|
|
422
|
+
}), wt = /* @__PURE__ */ h(Be, [["__scopeId", "data-v-690c2133"]]), Re = /* @__PURE__ */ g({
|
|
423
423
|
__name: "Gradientbackground",
|
|
424
424
|
props: {
|
|
425
425
|
width: {
|
|
@@ -464,7 +464,7 @@ const ae = {
|
|
|
464
464
|
width: e.width,
|
|
465
465
|
height: e.height,
|
|
466
466
|
filter: `blur(${e.blur})`
|
|
467
|
-
})),
|
|
467
|
+
})), c = P(() => ({
|
|
468
468
|
width: "100%",
|
|
469
469
|
height: "100%",
|
|
470
470
|
background: e.background
|
|
@@ -472,17 +472,17 @@ const ae = {
|
|
|
472
472
|
// background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
|
|
473
473
|
// background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
|
|
474
474
|
}));
|
|
475
|
-
return (i,
|
|
475
|
+
return (i, u) => (t(), o("div", {
|
|
476
476
|
class: "ellipsis",
|
|
477
477
|
style: x(a.value)
|
|
478
478
|
}, [r("div", {
|
|
479
479
|
class: "ellipsis-item",
|
|
480
|
-
style: x(
|
|
480
|
+
style: x(c.value)
|
|
481
481
|
}, null, 4)], 4));
|
|
482
482
|
}
|
|
483
|
-
}), $t = /* @__PURE__ */ h(
|
|
483
|
+
}), $t = /* @__PURE__ */ h(Re, [["__scopeId", "data-v-b6461ac4"]]), De = {
|
|
484
484
|
class: "SvgIcon"
|
|
485
|
-
},
|
|
485
|
+
}, Oe = ["href", "fill"], Ge = /* @__PURE__ */ g({
|
|
486
486
|
__name: "SvgIcon",
|
|
487
487
|
props: {
|
|
488
488
|
prefix: {
|
|
@@ -502,10 +502,10 @@ const ae = {
|
|
|
502
502
|
},
|
|
503
503
|
setup(n) {
|
|
504
504
|
const e = n, a = P(() => `#${e.prefix ?? "icon"}-${e.name}`);
|
|
505
|
-
return (
|
|
505
|
+
return (c, i) => (t(), o("svg", De, [r("use", {
|
|
506
506
|
href: a.value,
|
|
507
507
|
fill: e.color
|
|
508
|
-
}, null, 8,
|
|
508
|
+
}, null, 8, Oe)]));
|
|
509
509
|
}
|
|
510
510
|
}), Ct = /* @__PURE__ */ h(Ge, [["__scopeId", "data-v-0a9de94e"]]), We = {}, Ne = {
|
|
511
511
|
class: "WidthContainer"
|
package/dist/authkit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-
|
|
1
|
+
import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-BRKkQ2Px.js";
|
|
2
2
|
import { A as y, a as E } from "./AuthkitAuthorize-DuQ4CKWT.js";
|
|
3
3
|
import { u as C } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
|
|
4
4
|
import { u as V, a as b } from "./useAuthkitUsersProfile-zbKT0W_h.js";
|
package/dist/common.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-DFWspiGt.js";
|
|
2
2
|
import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
|
|
3
3
|
import { C as x, E as H } from "./CustomTable-B8i1SbFB.js";
|
|
4
|
-
import { M, a as g } from "./Menu-
|
|
4
|
+
import { M, a as g } from "./Menu-ejsosUdV.js";
|
|
5
5
|
export {
|
|
6
6
|
s as AppLayout,
|
|
7
7
|
o as AppSidebar,
|
|
@@ -3,10 +3,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
menus: {
|
|
4
4
|
type: PropType<any[]>;
|
|
5
5
|
required: true;
|
|
6
|
+
default: () => never[];
|
|
6
7
|
};
|
|
7
8
|
selectedKeys: {
|
|
8
9
|
type: PropType<any[]>;
|
|
9
10
|
required: true;
|
|
11
|
+
default: () => never[];
|
|
10
12
|
};
|
|
11
13
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
14
|
change: (...args: any[]) => void;
|
|
@@ -15,13 +17,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
17
|
menus: {
|
|
16
18
|
type: PropType<any[]>;
|
|
17
19
|
required: true;
|
|
20
|
+
default: () => never[];
|
|
18
21
|
};
|
|
19
22
|
selectedKeys: {
|
|
20
23
|
type: PropType<any[]>;
|
|
21
24
|
required: true;
|
|
25
|
+
default: () => never[];
|
|
22
26
|
};
|
|
23
27
|
}>> & Readonly<{
|
|
24
28
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
29
|
"onUpdate:selectedKeys"?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}>, {
|
|
30
|
+
}>, {
|
|
31
|
+
menus: any[];
|
|
32
|
+
selectedKeys: any[];
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
27
34
|
export default _default;
|
|
@@ -2,43 +2,57 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2
2
|
hidden: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
required: true;
|
|
5
|
+
default: () => boolean;
|
|
5
6
|
};
|
|
6
7
|
path: {
|
|
7
8
|
type: StringConstructor;
|
|
8
9
|
required: true;
|
|
10
|
+
default: () => string;
|
|
9
11
|
};
|
|
10
12
|
icon: {
|
|
11
13
|
type: StringConstructor;
|
|
12
14
|
required: true;
|
|
15
|
+
default: () => string;
|
|
13
16
|
};
|
|
14
17
|
name: {
|
|
15
18
|
type: StringConstructor;
|
|
16
19
|
required: true;
|
|
20
|
+
default: () => string;
|
|
17
21
|
};
|
|
18
22
|
active: {
|
|
19
23
|
type: BooleanConstructor;
|
|
20
24
|
required: true;
|
|
25
|
+
default: () => boolean;
|
|
21
26
|
};
|
|
22
27
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
28
|
hidden: {
|
|
24
29
|
type: BooleanConstructor;
|
|
25
30
|
required: true;
|
|
31
|
+
default: () => boolean;
|
|
26
32
|
};
|
|
27
33
|
path: {
|
|
28
34
|
type: StringConstructor;
|
|
29
35
|
required: true;
|
|
36
|
+
default: () => string;
|
|
30
37
|
};
|
|
31
38
|
icon: {
|
|
32
39
|
type: StringConstructor;
|
|
33
40
|
required: true;
|
|
41
|
+
default: () => string;
|
|
34
42
|
};
|
|
35
43
|
name: {
|
|
36
44
|
type: StringConstructor;
|
|
37
45
|
required: true;
|
|
46
|
+
default: () => string;
|
|
38
47
|
};
|
|
39
48
|
active: {
|
|
40
49
|
type: BooleanConstructor;
|
|
41
50
|
required: true;
|
|
51
|
+
default: () => boolean;
|
|
42
52
|
};
|
|
43
|
-
}>> & Readonly<{}>, {
|
|
53
|
+
}>> & Readonly<{}>, {
|
|
54
|
+
name: string;
|
|
55
|
+
icon: string;
|
|
56
|
+
path: string;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
44
58
|
export default _default;
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-
|
|
1
|
+
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-Df1Wiclk.js";
|
|
2
2
|
import { C as r } from "./Clipboard-Bful1lNJ.js";
|
|
3
|
-
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-DJDUUJbB.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|