@huyooo/ui 0.4.7 → 0.4.8
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/{AuthkitAppSetting-CufEYL2W.js → AuthkitAppSetting-BTQp9Blh.js} +1 -1
- package/dist/{AuthkitAuthorize-DnvypjyO.js → AuthkitAuthorize-CP26s3ny.js} +1 -1
- package/dist/{UserPanel-azycBFZP.js → UserPanel-BoDqMItR.js} +29 -29
- package/dist/authkit.js +3 -3
- package/dist/common.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/dist/{useAuthkitProps-ZAjekGnM.js → useAuthkitProps-BnIq3hzQ.js} +32 -36
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { defineComponent as k, createBlock as y, openBlock as g, unref as e, withCtx as c, createElementVNode as w, toDisplayString as L, createVNode as o, computed as R, createElementBlock as U, createCommentVNode as S, createTextVNode as z, ref as h, onMounted as N, onUnmounted as se, withDirectives as ve, vShow as ge, useSlots as _e, renderSlot as ne, normalizeStyle as D, isRef as ae, normalizeClass as he, Fragment as W } from "vue";
|
|
5
5
|
import { Button as $, Divider as ye, Form as B, FormItem as I, Input as C, Link as E, Modal as le, Avatar as oe, Textarea as be, Message as O, Alert as T } from "@arco-design/web-vue";
|
|
6
|
-
import { U as K, u as Z, b as we, c as ze, e as Se, f as ie, g as ke, a as J, h as Ae, i as Ie } from "./useAuthkitProps-
|
|
6
|
+
import { U as K, u as Z, b as we, c as ze, e as Se, f as ie, g as ke, a as J, h as Ae, i as Ie } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { Icon as Pe } from "@iconify/vue";
|
|
9
9
|
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -8,7 +8,7 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { List as w, ListItem as p, ListItemMeta as d, Avatar as c, Button as x } from "@arco-design/web-vue";
|
|
11
|
-
import { d as $, o as T } from "./useAuthkitProps-
|
|
11
|
+
import { d as $, o as T } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
12
12
|
const O = {
|
|
13
13
|
class: "header"
|
|
14
14
|
}, U = ["href"], B = {
|
|
@@ -6,9 +6,9 @@ import { defineComponent as _, createElementBlock as y, openBlock as l, normaliz
|
|
|
6
6
|
import { Tag as ge, Button as F, Avatar as O, Dropdown as ye, Divider as T, Doption as g } from "@arco-design/web-vue";
|
|
7
7
|
import { S as _e } from "./PaySubscriptions-CFKM4gyf.js";
|
|
8
8
|
import { R as Se } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
9
|
-
import { a as q, u as be, b as Ce, c as $e } from "./useAuthkitProps-
|
|
9
|
+
import { a as q, u as be, b as Ce, c as $e } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
10
10
|
import { u as he } from "./useUserPanelProps-Dt9zkMJw.js";
|
|
11
|
-
import { b as Ie, a as xe } from "./AuthkitAppSetting-
|
|
11
|
+
import { b as Ie, a as xe } from "./AuthkitAppSetting-BTQp9Blh.js";
|
|
12
12
|
import { d as Ue } from "./FeedbackFeedBackModal-DKgZZ8OR.js";
|
|
13
13
|
import { M as Be } from "./MessageHandle-C9nSNw5A.js";
|
|
14
14
|
/* empty css */
|
|
@@ -48,20 +48,20 @@ const Pe = _({
|
|
|
48
48
|
}) {
|
|
49
49
|
const i = K("icon"), s = B(() => [i, `${i}-export`, {
|
|
50
50
|
[`${i}-spin`]: e.spin
|
|
51
|
-
}]),
|
|
51
|
+
}]), c = B(() => {
|
|
52
52
|
const o = {};
|
|
53
53
|
return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
54
54
|
});
|
|
55
55
|
return {
|
|
56
56
|
cls: s,
|
|
57
|
-
innerStyle:
|
|
57
|
+
innerStyle: c,
|
|
58
58
|
onClick: (o) => {
|
|
59
59
|
n("click", o);
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
}), we = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
64
|
-
function De(e, n, i, s,
|
|
64
|
+
function De(e, n, i, s, c, m) {
|
|
65
65
|
return l(), y("svg", {
|
|
66
66
|
viewBox: "0 0 48 48",
|
|
67
67
|
fill: "none",
|
|
@@ -115,20 +115,20 @@ const Me = Object.assign(D, {
|
|
|
115
115
|
}) {
|
|
116
116
|
const i = K("icon"), s = B(() => [i, `${i}-launch`, {
|
|
117
117
|
[`${i}-spin`]: e.spin
|
|
118
|
-
}]),
|
|
118
|
+
}]), c = B(() => {
|
|
119
119
|
const o = {};
|
|
120
120
|
return e.size && (o.fontSize = W(e.size) ? `${e.size}px` : e.size), e.rotate && (o.transform = `rotate(${e.rotate}deg)`), o;
|
|
121
121
|
});
|
|
122
122
|
return {
|
|
123
123
|
cls: s,
|
|
124
|
-
innerStyle:
|
|
124
|
+
innerStyle: c,
|
|
125
125
|
onClick: (o) => {
|
|
126
126
|
n("click", o);
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
}), Ae = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
131
|
-
function ze(e, n, i, s,
|
|
131
|
+
function ze(e, n, i, s, c, m) {
|
|
132
132
|
return l(), y("svg", {
|
|
133
133
|
viewBox: "0 0 48 48",
|
|
134
134
|
fill: "none",
|
|
@@ -178,7 +178,7 @@ const Ne = Object.assign(M, {
|
|
|
178
178
|
emit: n
|
|
179
179
|
}) {
|
|
180
180
|
const i = e, s = n;
|
|
181
|
-
function
|
|
181
|
+
function c() {
|
|
182
182
|
s("upgradeHandle");
|
|
183
183
|
}
|
|
184
184
|
return (m, o) => (l(), y("div", je, [d("div", Le, [d("div", He, [o[0] || (o[0] = d("span", null, "我的订阅:", -1)), r(t(ge), {
|
|
@@ -194,7 +194,7 @@ const Ne = Object.assign(M, {
|
|
|
194
194
|
type: "primary",
|
|
195
195
|
size: "mini",
|
|
196
196
|
class: "updatePricing",
|
|
197
|
-
onClick:
|
|
197
|
+
onClick: c
|
|
198
198
|
}, {
|
|
199
199
|
default: a(() => o[1] || (o[1] = [f(" 升级 ")])),
|
|
200
200
|
_: 1,
|
|
@@ -271,7 +271,7 @@ const Ne = Object.assign(M, {
|
|
|
271
271
|
const i = n, {
|
|
272
272
|
userProfile: s
|
|
273
273
|
} = q();
|
|
274
|
-
function
|
|
274
|
+
function c() {
|
|
275
275
|
i("toSignIn");
|
|
276
276
|
}
|
|
277
277
|
return (m, o) => t(s) ? (l(), v(t(ye), {
|
|
@@ -306,7 +306,7 @@ const Ne = Object.assign(M, {
|
|
|
306
306
|
key: 0,
|
|
307
307
|
type: "primary",
|
|
308
308
|
class: "handle",
|
|
309
|
-
onClick:
|
|
309
|
+
onClick: c
|
|
310
310
|
}, {
|
|
311
311
|
default: a(() => o[0] || (o[0] = [f(" 登陆 ")])),
|
|
312
312
|
_: 1,
|
|
@@ -321,7 +321,7 @@ const Ne = Object.assign(M, {
|
|
|
321
321
|
setup(e, {
|
|
322
322
|
emit: n
|
|
323
323
|
}) {
|
|
324
|
-
const i = p(), s = p(),
|
|
324
|
+
const i = p(), s = p(), c = p(Symbol("key")), m = n, {
|
|
325
325
|
prefixUrl: o,
|
|
326
326
|
bucketId: k,
|
|
327
327
|
bucket: S,
|
|
@@ -361,7 +361,7 @@ const Ne = Object.assign(M, {
|
|
|
361
361
|
P();
|
|
362
362
|
});
|
|
363
363
|
function re() {
|
|
364
|
-
|
|
364
|
+
c.value = Symbol("key");
|
|
365
365
|
}
|
|
366
366
|
function se() {
|
|
367
367
|
s.value.show = !1;
|
|
@@ -372,10 +372,10 @@ const Ne = Object.assign(M, {
|
|
|
372
372
|
function le() {
|
|
373
373
|
w.value.setData(null, !0);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function ue() {
|
|
376
376
|
w.value.setData(null, !0);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function ce() {
|
|
379
379
|
N.value.openNotification();
|
|
380
380
|
}
|
|
381
381
|
function pe() {
|
|
@@ -391,25 +391,25 @@ const Ne = Object.assign(M, {
|
|
|
391
391
|
m("toHomePage");
|
|
392
392
|
}
|
|
393
393
|
async function ke() {
|
|
394
|
-
localStorage.removeItem("jwtToken"),
|
|
394
|
+
await P(), localStorage.removeItem("jwtToken"), m("signOut");
|
|
395
395
|
}
|
|
396
|
-
return (U,
|
|
396
|
+
return (U, u) => (l(), y("div", nt, [r(tt, {
|
|
397
397
|
onToSignIn: ie
|
|
398
398
|
}, {
|
|
399
399
|
DoptionList: a(() => [r(t(g), {
|
|
400
400
|
value: "messages",
|
|
401
401
|
class: "Doption",
|
|
402
|
-
onClick:
|
|
402
|
+
onClick: ce
|
|
403
403
|
}, {
|
|
404
|
-
icon: a(() =>
|
|
404
|
+
icon: a(() => u[0] || (u[0] = [f("消息中心")])),
|
|
405
405
|
default: a(() => [r(t($))]),
|
|
406
406
|
_: 1
|
|
407
407
|
}), r(t(g), {
|
|
408
408
|
value: "setting",
|
|
409
409
|
class: "Doption",
|
|
410
|
-
onClick:
|
|
410
|
+
onClick: ue
|
|
411
411
|
}, {
|
|
412
|
-
icon: a(() =>
|
|
412
|
+
icon: a(() => u[1] || (u[1] = [f("系统设置 ")])),
|
|
413
413
|
default: a(() => [r(t($))]),
|
|
414
414
|
_: 1
|
|
415
415
|
}), r(t(g), {
|
|
@@ -417,7 +417,7 @@ const Ne = Object.assign(M, {
|
|
|
417
417
|
class: "Doption",
|
|
418
418
|
onClick: pe
|
|
419
419
|
}, {
|
|
420
|
-
icon: a(() =>
|
|
420
|
+
icon: a(() => u[2] || (u[2] = [f("订阅信息 ")])),
|
|
421
421
|
default: a(() => [r(t($))]),
|
|
422
422
|
_: 1
|
|
423
423
|
}), r(t(g), {
|
|
@@ -425,7 +425,7 @@ const Ne = Object.assign(M, {
|
|
|
425
425
|
class: "Doption",
|
|
426
426
|
onClick: de
|
|
427
427
|
}, {
|
|
428
|
-
icon: a(() =>
|
|
428
|
+
icon: a(() => u[3] || (u[3] = [f("系统反馈 ")])),
|
|
429
429
|
default: a(() => [r(t($))]),
|
|
430
430
|
_: 1
|
|
431
431
|
}), r(t(g), {
|
|
@@ -433,7 +433,7 @@ const Ne = Object.assign(M, {
|
|
|
433
433
|
class: "Doption",
|
|
434
434
|
onClick: fe
|
|
435
435
|
}, {
|
|
436
|
-
icon: a(() =>
|
|
436
|
+
icon: a(() => u[4] || (u[4] = [f("邀请 ")])),
|
|
437
437
|
default: a(() => [r(t($))]),
|
|
438
438
|
_: 1
|
|
439
439
|
}), r(t(T), {
|
|
@@ -445,7 +445,7 @@ const Ne = Object.assign(M, {
|
|
|
445
445
|
class: "Doption",
|
|
446
446
|
onClick: me
|
|
447
447
|
}, {
|
|
448
|
-
icon: a(() =>
|
|
448
|
+
icon: a(() => u[5] || (u[5] = [f("主页 ")])),
|
|
449
449
|
default: a(() => [r(t(Ne))]),
|
|
450
450
|
_: 1
|
|
451
451
|
}), r(t(g), {
|
|
@@ -453,7 +453,7 @@ const Ne = Object.assign(M, {
|
|
|
453
453
|
class: "Doption",
|
|
454
454
|
onClick: ke
|
|
455
455
|
}, {
|
|
456
|
-
icon: a(() =>
|
|
456
|
+
icon: a(() => u[6] || (u[6] = [f("退出登陆 ")])),
|
|
457
457
|
default: a(() => [r(t(Me))]),
|
|
458
458
|
_: 1
|
|
459
459
|
})]),
|
|
@@ -491,7 +491,7 @@ const Ne = Object.assign(M, {
|
|
|
491
491
|
}, null, 8, ["prefix-url"]), (l(), v(Ue, {
|
|
492
492
|
ref_key: "FeedBackModalRef",
|
|
493
493
|
ref: i,
|
|
494
|
-
key:
|
|
494
|
+
key: c.value,
|
|
495
495
|
"app-id": t(R),
|
|
496
496
|
"prefix-url": t(o),
|
|
497
497
|
"bucket-id": t(k),
|
|
@@ -501,7 +501,7 @@ const Ne = Object.assign(M, {
|
|
|
501
501
|
onCancel: re
|
|
502
502
|
}, null, 8, ["app-id", "prefix-url", "bucket-id", "bucket", "region"]))]));
|
|
503
503
|
}
|
|
504
|
-
}), $t = /* @__PURE__ */ I(ot, [["__scopeId", "data-v-
|
|
504
|
+
}), $t = /* @__PURE__ */ I(ot, [["__scopeId", "data-v-9ae39d68"]]);
|
|
505
505
|
export {
|
|
506
506
|
Fe as S,
|
|
507
507
|
$t as U,
|
package/dist/authkit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as y, a as E } from "./AuthkitAuthorize-
|
|
3
|
-
import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-
|
|
1
|
+
import { b as s, A as a, a as u, c as A, n as h, E as e, k, l as r, _ as o, O as n, f as d, o as p, P, j as f, R as m, S, i as g, m as l, d as U, e as w, g as c, h as I } from "./AuthkitAppSetting-BTQp9Blh.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-CP26s3ny.js";
|
|
3
|
+
import { U as b, u as C, b as R, c as V, a as v } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
4
4
|
import { u as M } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
5
5
|
export {
|
|
6
6
|
s as AuthkitAppSetting,
|
package/dist/common.js
CHANGED
|
@@ -3,7 +3,7 @@ import { C as t, G as n, S as p, W as m } from "./WidthContainer-D795bWdT.js";
|
|
|
3
3
|
import { C as i, E as u } from "./CustomTable-Cd6RiAPX.js";
|
|
4
4
|
import { I as x } from "./FeedbackFeedBackModal-DKgZZ8OR.js";
|
|
5
5
|
import { M as d, a as U } from "./Menu-2SePYCYT.js";
|
|
6
|
-
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-
|
|
6
|
+
import { S as I, b, c as S, a as g, U as v } from "./UserPanel-BoDqMItR.js";
|
|
7
7
|
import { S as B } from "./PaySubscriptions-CFKM4gyf.js";
|
|
8
8
|
import { R as P } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
9
9
|
import { _ as G } from "./Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js";
|
package/dist/composables.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as t, u, b as a, c as o, a as r } from "./useAuthkitProps-
|
|
1
|
+
import { U as t, u, b as a, c as o, a as r } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
2
2
|
import { u as A } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
3
3
|
import { u as f } from "./useMessageNotifications-lmP0vJDM.js";
|
|
4
4
|
import { u as d } from "./useUserPanelProps-Dt9zkMJw.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as s, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as c, _ as P, O as A, f as k, o as L, P as h, j as p, R as f, S as m, i as l, m as b, d as F, e as M, g as C, h as S } from "./AuthkitAppSetting-
|
|
2
|
-
import { U as I, u as B, b as U, c as T, a as N } from "./useAuthkitProps-
|
|
3
|
-
import { A as w, a as D } from "./AuthkitAuthorize-
|
|
1
|
+
import { A as s, a as t, b as i, A as n, a as o, c as g, n as r, E as d, k as u, l as c, _ as P, O as A, f as k, o as L, P as h, j as p, R as f, S as m, i as l, m as b, d as F, e as M, g as C, h as S } from "./AuthkitAppSetting-BTQp9Blh.js";
|
|
2
|
+
import { U as I, u as B, b as U, c as T, a as N } from "./useAuthkitProps-BnIq3hzQ.js";
|
|
3
|
+
import { A as w, a as D } from "./AuthkitAuthorize-CP26s3ny.js";
|
|
4
4
|
import { u as v } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
5
5
|
import { A as G, C as H, _ as O, a as _, D as V, E as j, b as z, M as W, I as q, c as J, N as K, f as Q, d as X, e as Y } from "./MessageHandle-C9nSNw5A.js";
|
|
6
6
|
import { M as $, a as aa } from "./MessageMenu-x26lfAeK.js";
|
|
@@ -12,7 +12,7 @@ import { C as de, a as ue } from "./CollapseItem-Cw1vcdLu.js";
|
|
|
12
12
|
import { C as Pe, G as Ae, S as ke, W as Le } from "./WidthContainer-D795bWdT.js";
|
|
13
13
|
import { C as pe, E as fe } from "./CustomTable-Cd6RiAPX.js";
|
|
14
14
|
import { M as le, a as be } from "./Menu-2SePYCYT.js";
|
|
15
|
-
import { S as Me, b as Ce, c as Se, a as xe, U as Ie, S as Be } from "./UserPanel-
|
|
15
|
+
import { S as Me, b as Ce, c as Se, a as xe, U as Ie, S as Be } from "./UserPanel-BoDqMItR.js";
|
|
16
16
|
import { S as Te, S as Ne } from "./PaySubscriptions-CFKM4gyf.js";
|
|
17
17
|
import { R as we, R as De } from "./ReferrerReferees-q8H-v-Hq.js";
|
|
18
18
|
import { _ as ve } from "./Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js";
|