@huyooo/ui 0.5.15 → 0.5.18
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-z2tnXCf6.js → AuthkitAuthModal-CPyOF0SH.js} +17 -16
- package/dist/{AuthkitAuthorize-RSe0DQNQ.js → AuthkitAuthorize-DuQ4CKWT.js} +4 -5
- package/dist/{FeedbackItem-44CGbXN_.js → FeedbackItem-DGAsK3HZ.js} +1 -1
- package/dist/{FeedbackModal-DdTqdVlw.js → FeedbackModal-5C17AhkV.js} +4 -3
- package/dist/{Menu-BKBnsDJ8.js → Menu-Cxo8Rpu3.js} +5 -6
- package/dist/{MessageHandle-Cagv57D0.js → MessageHandle-thVNUp0p.js} +1 -1
- package/dist/UserAccountMenu-Bosjhh3l.js +613 -0
- package/dist/WidthContainer-DhHq52TL.js +528 -0
- package/dist/authkit.js +3 -3
- package/dist/common.d.ts +2 -0
- package/dist/common.js +17 -15
- package/dist/components/AppLayout.vue.d.ts +9 -0
- package/dist/components/AppSidebar.vue.d.ts +9 -0
- package/dist/components/HeaderMenus.vue.d.ts +1 -1
- package/dist/composables/Authkit/useAuthMenu.d.ts +9 -6
- package/dist/composables.js +2 -2
- package/dist/feedback.js +2 -2
- package/dist/index.js +48 -47
- package/dist/message.js +1 -1
- package/dist/pay.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/useSEO-BLlxOmk2.js +617 -0
- package/dist/user.js +6 -7
- package/package.json +1 -1
- package/dist/UserAccountMenu-DHozw36C.js +0 -40
- package/dist/UserPanel-hGYAeWcj.js +0 -579
- package/dist/WidthContainer-6YR2TCen.js +0 -397
- package/dist/useSEO-BkqUiuvw.js +0 -589
- /package/dist/{PaySubscriptions-Bva3INxJ.js → PaySubscriptions-CnPLduJz.js} +0 -0
- /package/dist/{ReferrerReferees-g-CcDpVO.js → ReferrerReferees-B3Ek3gAn.js} +0 -0
- /package/dist/{AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js → useAuthkitAuthModal-BpOmabWi.js} +0 -0
|
@@ -5,14 +5,15 @@ import { defineComponent as z, computed as T, createElementBlock as P, openBlock
|
|
|
5
5
|
import { Form as O, FormItem as I, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as F } from "@arco-design/web-vue";
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
+
/* empty css */
|
|
8
9
|
import { u as he } from "./useUploadCos-D5k1YLb7.js";
|
|
9
10
|
import { b as _e, c as ee, d as we, a as K, e as be, f as Se, u as Z } from "./useAuthkitUsersProfile-zbKT0W_h.js";
|
|
10
11
|
import { g as N } from "./globalConfig-C1YOJcxa.js";
|
|
11
12
|
import { _ as ke, g as ze, i as Ie } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
12
|
-
import { u as Ae } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
13
13
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
import { M as
|
|
15
|
-
import { u as
|
|
14
|
+
import { M as Ae } from "./Menu-Cxo8Rpu3.js";
|
|
15
|
+
import { u as Pe } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
16
|
+
import { u as Ve } from "./useAuthkitAuthModal-BpOmabWi.js";
|
|
16
17
|
import { u as J } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
|
|
17
18
|
/* empty css */
|
|
18
19
|
import { api as H } from "@huyooo/api";
|
|
@@ -329,21 +330,21 @@ function ae(i, s = 3) {
|
|
|
329
330
|
}
|
|
330
331
|
return i;
|
|
331
332
|
}
|
|
332
|
-
function
|
|
333
|
+
function mi() {
|
|
333
334
|
try {
|
|
334
335
|
localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
|
|
335
336
|
} catch (i) {
|
|
336
337
|
console.warn("Failed to clear localStorage:", i);
|
|
337
338
|
}
|
|
338
339
|
}
|
|
339
|
-
function
|
|
340
|
+
function ci() {
|
|
340
341
|
try {
|
|
341
342
|
return localStorage.getItem("refreshToken");
|
|
342
343
|
} catch (i) {
|
|
343
344
|
return console.warn("Failed to get refreshToken from localStorage:", i), null;
|
|
344
345
|
}
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
+
function fi(i) {
|
|
347
348
|
try {
|
|
348
349
|
localStorage.setItem("jwtToken", i);
|
|
349
350
|
} catch (s) {
|
|
@@ -1068,7 +1069,7 @@ const Ye = /* @__PURE__ */ z({
|
|
|
1068
1069
|
const {
|
|
1069
1070
|
changeType: c,
|
|
1070
1071
|
show: p
|
|
1071
|
-
} =
|
|
1072
|
+
} = Pe(n);
|
|
1072
1073
|
function d(f, v) {
|
|
1073
1074
|
console.log(f), p.value = v, c.value = "编辑";
|
|
1074
1075
|
}
|
|
@@ -1085,7 +1086,7 @@ const Ye = /* @__PURE__ */ z({
|
|
|
1085
1086
|
onCancel: o
|
|
1086
1087
|
}, {
|
|
1087
1088
|
title: m(() => [...v[2] || (v[2] = [S(" 系统设置 ", -1)])]),
|
|
1088
|
-
default: m(() => [w("div", et, [w("div", tt, [a(
|
|
1089
|
+
default: m(() => [w("div", et, [w("div", tt, [a(Ae, {
|
|
1089
1090
|
"selected-keys": t.value,
|
|
1090
1091
|
"onUpdate:selectedKeys": v[0] || (v[0] = (b) => t.value = b),
|
|
1091
1092
|
menus: r.value,
|
|
@@ -1106,7 +1107,7 @@ const Ye = /* @__PURE__ */ z({
|
|
|
1106
1107
|
_: 1
|
|
1107
1108
|
}, 8, ["visible"]));
|
|
1108
1109
|
}
|
|
1109
|
-
}),
|
|
1110
|
+
}), pi = /* @__PURE__ */ A(st, [["__scopeId", "data-v-cd51dcec"]]);
|
|
1110
1111
|
function nt() {
|
|
1111
1112
|
re().then(({
|
|
1112
1113
|
data: i
|
|
@@ -1794,7 +1795,7 @@ const j = /* @__PURE__ */ z({
|
|
|
1794
1795
|
addSignInCallback: u
|
|
1795
1796
|
} = Z(), {
|
|
1796
1797
|
show: n
|
|
1797
|
-
} =
|
|
1798
|
+
} = Ve(), o = i, l = s;
|
|
1798
1799
|
function t(y) {
|
|
1799
1800
|
y(!0);
|
|
1800
1801
|
}
|
|
@@ -1825,9 +1826,9 @@ const j = /* @__PURE__ */ z({
|
|
|
1825
1826
|
_: 1
|
|
1826
1827
|
}, 8, ["visible"]));
|
|
1827
1828
|
}
|
|
1828
|
-
}),
|
|
1829
|
+
}), vi = /* @__PURE__ */ A(Mt, [["__scopeId", "data-v-6fbefff8"]]);
|
|
1829
1830
|
export {
|
|
1830
|
-
|
|
1831
|
+
pi as A,
|
|
1831
1832
|
oe as E,
|
|
1832
1833
|
mt as O,
|
|
1833
1834
|
gt as P,
|
|
@@ -1836,7 +1837,7 @@ export {
|
|
|
1836
1837
|
j as _,
|
|
1837
1838
|
Ht as a,
|
|
1838
1839
|
de as b,
|
|
1839
|
-
|
|
1840
|
+
vi as c,
|
|
1840
1841
|
Rt as d,
|
|
1841
1842
|
Bt as e,
|
|
1842
1843
|
Vt as f,
|
|
@@ -1849,7 +1850,7 @@ export {
|
|
|
1849
1850
|
De as m,
|
|
1850
1851
|
Xe as n,
|
|
1851
1852
|
je as o,
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1853
|
+
mi as p,
|
|
1854
|
+
ci as q,
|
|
1855
|
+
fi as u
|
|
1855
1856
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { defineComponent as k, computed as z, createElementBlock as f, openBlock as m, normalizeStyle as b, createElementVNode as a, createCommentVNode as A, renderSlot as C, ref as h, toDisplayString as v, createVNode as r, unref as o, withCtx as i, createTextVNode as I } from "vue";
|
|
2
|
-
/* empty css */
|
|
3
2
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
3
|
/* empty css */
|
|
5
4
|
/* empty css */
|
|
@@ -76,7 +75,7 @@ const U = {
|
|
|
76
75
|
})
|
|
77
76
|
}, " 返回主页 ", 12, B)) : A("", !0)]), a("div", L, [C(l.$slots, "default", {}, void 0, !0)])], 4));
|
|
78
77
|
}
|
|
79
|
-
}),
|
|
78
|
+
}), ee = /* @__PURE__ */ S(N, [["__scopeId", "data-v-203946ff"]]), V = {
|
|
80
79
|
class: "box"
|
|
81
80
|
}, O = {
|
|
82
81
|
class: "title"
|
|
@@ -242,8 +241,8 @@ const U = {
|
|
|
242
241
|
}
|
|
243
242
|
}, "授权后将跳转至", -1)), a("div", E, v(l.value.authorizationCallback), 1)])])]));
|
|
244
243
|
}
|
|
245
|
-
}),
|
|
244
|
+
}), te = /* @__PURE__ */ S(F, [["__scopeId", "data-v-cc821ddc"]]);
|
|
246
245
|
export {
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
ee as A,
|
|
247
|
+
te as a
|
|
249
248
|
};
|
|
@@ -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-5C17AhkV.js";
|
|
13
13
|
import { Icon as Y } from "@iconify/vue";
|
|
14
14
|
const H = f({
|
|
15
15
|
name: "IconDown",
|
|
@@ -3,7 +3,8 @@
|
|
|
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-Cxo8Rpu3.js";
|
|
7
|
+
/* empty css */
|
|
7
8
|
/* empty css */
|
|
8
9
|
/* empty css */
|
|
9
10
|
/* empty css */
|
|
@@ -1045,7 +1046,7 @@ const J = [{
|
|
|
1045
1046
|
_: 1
|
|
1046
1047
|
}, 8, ["visible"]));
|
|
1047
1048
|
}
|
|
1048
|
-
}),
|
|
1049
|
+
}), Gt = /* @__PURE__ */ V(xt, [["__scopeId", "data-v-4df9453a"]]);
|
|
1049
1050
|
export {
|
|
1050
1051
|
ft as F,
|
|
1051
1052
|
Qe as R,
|
|
@@ -1053,5 +1054,5 @@ export {
|
|
|
1053
1054
|
ne as a,
|
|
1054
1055
|
vt as b,
|
|
1055
1056
|
bt as c,
|
|
1056
|
-
|
|
1057
|
+
Gt as d
|
|
1057
1058
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, ref as L, createElementBlock as a, createCommentVNode as _, openBlock as n, normalizeClass as $, createBlock as s, createElementVNode as u, unref as I, toDisplayString as K, Fragment as h, renderList as C } from "vue";
|
|
2
2
|
import { Icon as S } from "@iconify/vue";
|
|
3
|
-
/* empty css */
|
|
4
3
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
4
|
const x = /* @__PURE__ */ B({
|
|
6
5
|
__name: "MenuItem",
|
|
@@ -77,13 +76,13 @@ const x = /* @__PURE__ */ B({
|
|
|
77
76
|
l("change", d, p);
|
|
78
77
|
}
|
|
79
78
|
return (d, p) => (n(), a("div", E, [(n(!0), a(h, null, C(c.menus, (e, v) => {
|
|
80
|
-
var
|
|
79
|
+
var y, m, f;
|
|
81
80
|
return n(), a("div", {
|
|
82
81
|
key: v,
|
|
83
82
|
class: "MenuList"
|
|
84
83
|
}, [e.children && e.children.length !== 0 ? (n(), a(h, {
|
|
85
84
|
key: 0
|
|
86
|
-
}, [u("span", H, [(
|
|
85
|
+
}, [u("span", H, [(y = e == null ? void 0 : e.meta) != null && y.icon ? (n(), s(I(S), {
|
|
87
86
|
key: 0,
|
|
88
87
|
class: "icon",
|
|
89
88
|
icon: e.meta.icon
|
|
@@ -100,7 +99,7 @@ const x = /* @__PURE__ */ B({
|
|
|
100
99
|
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
|
|
101
100
|
}), 128))])], 64)) : (n(), s(q, {
|
|
102
101
|
key: 1,
|
|
103
|
-
hidden: ((
|
|
102
|
+
hidden: ((m = e.meta) == null ? void 0 : m.hidden) || !1,
|
|
104
103
|
path: e.path,
|
|
105
104
|
icon: (f = e.meta) == null ? void 0 : f.icon,
|
|
106
105
|
name: e.name,
|
|
@@ -109,8 +108,8 @@ const x = /* @__PURE__ */ B({
|
|
|
109
108
|
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
|
|
110
109
|
}), 128))]));
|
|
111
110
|
}
|
|
112
|
-
}),
|
|
111
|
+
}), j = /* @__PURE__ */ A(V, [["__scopeId", "data-v-d8d71d3e"]]);
|
|
113
112
|
export {
|
|
114
|
-
|
|
113
|
+
j as M,
|
|
115
114
|
q as a
|
|
116
115
|
};
|
|
@@ -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-Cxo8Rpu3.js";
|
|
17
17
|
function ne(a) {
|
|
18
18
|
return S({
|
|
19
19
|
url: `${D.prefixUrl}/restfulApi/messageCenter/changelogNotifications/find`,
|