@huyooo/ui 0.9.7 → 0.9.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/{AuthkitAuthModal-C7uInLdY.js → AuthkitAuthModal-BpQZ_cSv.js} +26 -26
- package/dist/{AuthkitSignInPhone-8uhC9TZk.js → AuthkitSignInPhone-DEkq7yIu.js} +9 -9
- package/dist/{Clipboard-cVQOko5l.js → Clipboard-BsST2Mjo.js} +13 -13
- package/dist/{CollapseItem-Cw1vcdLu.js → CollapseItem-DN-GUAQA.js} +9 -9
- package/dist/{Contact-DUmCnXqQ.js → Contact-HpDiHdUv.js} +5 -5
- package/dist/{CustomTable-BCOwLyRJ.js → CustomTable-Dyjn6dOW.js} +5 -5
- package/dist/{FeedbackItem-fkgvLHJD.js → FeedbackItem-CUQUsQCd.js} +8 -8
- package/dist/{FeedbackModal-CIZ40lMX.js → FeedbackModal-DCxmeHW4.js} +8 -8
- package/dist/{LandingPageSectionHeader-BU7Qtxaj.js → LandingPageSectionHeader-AfrKhRQg.js} +1 -1
- package/dist/{LandingPageSectionTabs-DYNXKElT.js → LandingPageSectionTabs-BPG1U38v.js} +27 -27
- package/dist/{Menu-DXrn5cEL.js → Menu-v8cCDSzi.js} +9 -9
- package/dist/{MessageHandle-DTzrBuMx.js → MessageHandle-DJCHYY9T.js} +8 -8
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CmCk86SN.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-rkng32OA.js} +10 -10
- package/dist/{PaySubscriptions-DyhcLb_v.js → PaySubscriptions-CWey-mbh.js} +84 -86
- package/dist/{ReferrerReferees-DxsvdWMg.js → ReferrerReferees-Byrr8T8H.js} +10 -10
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-BWn8nk3F.js → Upload.vue_vue_type_script_setup_true_lang-C4-In_x4.js} +3 -3
- package/dist/{UserAccountMenu-BV_lg4Mh.js → UserAccountMenu-CxYmNgME.js} +16 -16
- package/dist/WidthContainer-BsPQN5_v.js +677 -0
- package/dist/apiClients-DJchWBAG.js +201 -0
- package/dist/authkit.js +14 -14
- package/dist/common/globalConfig.d.ts +11 -2
- package/dist/common.js +4 -4
- package/dist/components/DefaultLayout.vue.d.ts +4 -0
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +9 -8
- package/dist/components/Header.vue.d.ts +4 -1
- package/dist/components/HeaderMenus.vue.d.ts +11 -1
- package/dist/components/Logo.vue.d.ts +2 -13
- package/dist/composables/Authkit/useAuthkitUsersProfile.d.ts +10 -197
- package/dist/composables.d.ts +1 -1
- package/dist/composables.js +26 -24
- package/dist/feedback.js +3 -3
- package/dist/{index-Cr5RQSnA.js → index-CUfrjRxu.js} +2 -2
- package/dist/{index-Bb-d5pBq.js → index-D56hUMeD.js} +1 -1
- package/dist/landingPage.js +2 -2
- package/dist/main.d.ts +1 -0
- package/dist/{index.js → main.js} +742 -726
- package/dist/message.js +3 -3
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-xaOevaqO.js → useAuthkitAppsAuthPageInfo-C3EHOtlk.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-CrSEPNA3.js → useAuthkitCreateAndUpdate-CPkogY7K.js} +1 -1
- package/dist/{useAuthkitUsersProfile-TtiVCE3D.js → useAuthkitUsersProfile-BqW74gfs.js} +1 -3
- package/dist/{useDownloads-DskduMrh.js → useDownloads-CMQtTjNj.js} +1 -1
- package/dist/{useMessageNotifications-CMGnvtH8.js → useMessageNotifications-SIM85vdb.js} +1 -1
- package/dist/{useSEO-BjcQPhFP.js → useSEO-DeAU9YEc.js} +56 -54
- package/dist/{useTableHandle-LnJV7C1S.js → useTableHandle-CWu0LbeI.js} +1 -1
- package/dist/{useUploadCos-CPplFhAR.js → useUploadCos-BO3W_uqs.js} +125 -125
- package/dist/user.js +1 -1
- package/package.json +5 -5
- package/dist/WidthContainer-DijLkJHM.js +0 -585
- package/dist/apiClients-DACL0EIt.js +0 -188
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { defineComponent as
|
|
9
|
-
import { Modal as
|
|
10
|
-
import {
|
|
11
|
-
import { u as dt } from "./useAuthkitCreateAndUpdate-
|
|
12
|
-
import { C as
|
|
8
|
+
import { defineComponent as tt, ref as c, openBlock as l, createBlock as C, unref as u, isRef as et, withCtx as s, createElementVNode as n, createElementBlock as d, toDisplayString as o, createVNode as r, createTextVNode as p, createCommentVNode as L, Fragment as at, renderList as nt } from "vue";
|
|
9
|
+
import { Modal as it, Tag as P, Button as I, Popconfirm as st, Tabs as ot, TabPane as w, Spin as lt, Empty as ut, Progress as rt } from "@arco-design/web-vue";
|
|
10
|
+
import { f as g } from "./apiClients-DJchWBAG.js";
|
|
11
|
+
import { u as dt } from "./useAuthkitCreateAndUpdate-CPkogY7K.js";
|
|
12
|
+
import { C as q } from "./CustomTable-Dyjn6dOW.js";
|
|
13
13
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const pt = {
|
|
15
15
|
class: "content"
|
|
@@ -22,9 +22,9 @@ const pt = {
|
|
|
22
22
|
class: "subscription-info"
|
|
23
23
|
}, ft = {
|
|
24
24
|
class: "subscription-actions"
|
|
25
|
-
}, _t = {
|
|
26
|
-
class: "subscription-details"
|
|
27
25
|
}, bt = {
|
|
26
|
+
class: "subscription-details"
|
|
27
|
+
}, _t = {
|
|
28
28
|
class: "detail-item"
|
|
29
29
|
}, yt = {
|
|
30
30
|
class: "detail-item"
|
|
@@ -39,7 +39,7 @@ const pt = {
|
|
|
39
39
|
class: "detail-item warning"
|
|
40
40
|
}, xt = {
|
|
41
41
|
key: 1,
|
|
42
|
-
class: "no-subscription"
|
|
42
|
+
class: "no-subscription-row"
|
|
43
43
|
}, Ct = {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "quotas-loading"
|
|
@@ -66,15 +66,15 @@ const pt = {
|
|
|
66
66
|
}, Lt = {
|
|
67
67
|
key: 2,
|
|
68
68
|
class: "reset-time"
|
|
69
|
-
}, qt = /* @__PURE__ */
|
|
69
|
+
}, qt = /* @__PURE__ */ tt({
|
|
70
70
|
__name: "PaySubscriptions",
|
|
71
71
|
emits: ["confirm", "cancel"],
|
|
72
72
|
setup(Bt, {
|
|
73
|
-
expose:
|
|
74
|
-
emit:
|
|
73
|
+
expose: B,
|
|
74
|
+
emit: F
|
|
75
75
|
}) {
|
|
76
|
-
const A =
|
|
77
|
-
changeType:
|
|
76
|
+
const A = F, {
|
|
77
|
+
changeType: V,
|
|
78
78
|
show: f
|
|
79
79
|
} = dt(A), z = c("subscriptions"), i = c(null), N = c([]), y = c(!1), v = c({
|
|
80
80
|
current: 1,
|
|
@@ -84,7 +84,7 @@ const pt = {
|
|
|
84
84
|
current: 1,
|
|
85
85
|
pageSize: 10,
|
|
86
86
|
total: 0
|
|
87
|
-
}),
|
|
87
|
+
}), _ = c([]), k = c(!1), U = [{
|
|
88
88
|
dataIndex: "productName",
|
|
89
89
|
title: "产品",
|
|
90
90
|
minWidth: 120
|
|
@@ -115,7 +115,7 @@ const pt = {
|
|
|
115
115
|
dataIndex: "createAt",
|
|
116
116
|
title: "创建时间",
|
|
117
117
|
minWidth: 160
|
|
118
|
-
}],
|
|
118
|
+
}], D = [{
|
|
119
119
|
dataIndex: "productName",
|
|
120
120
|
title: "产品",
|
|
121
121
|
minWidth: 120
|
|
@@ -163,7 +163,7 @@ const pt = {
|
|
|
163
163
|
paused: "已暂停"
|
|
164
164
|
}[t] || t;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function K(t) {
|
|
167
167
|
return {
|
|
168
168
|
draft: "gray",
|
|
169
169
|
open: "orange",
|
|
@@ -172,7 +172,7 @@ const pt = {
|
|
|
172
172
|
uncollectible: "red"
|
|
173
173
|
}[t] || "gray";
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function R(t) {
|
|
176
176
|
return {
|
|
177
177
|
draft: "草稿",
|
|
178
178
|
open: "待支付",
|
|
@@ -181,7 +181,7 @@ const pt = {
|
|
|
181
181
|
uncollectible: "无法收款"
|
|
182
182
|
}[t] || t;
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function M(t) {
|
|
185
185
|
return {
|
|
186
186
|
day: "每天",
|
|
187
187
|
week: "每周",
|
|
@@ -190,10 +190,10 @@ const pt = {
|
|
|
190
190
|
lifetime: "永久"
|
|
191
191
|
}[t] || t;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function O() {
|
|
194
194
|
f.value = !1, A("cancel");
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function Q() {
|
|
197
197
|
window.open("/Pricing", "_blank");
|
|
198
198
|
}
|
|
199
199
|
async function S() {
|
|
@@ -202,7 +202,7 @@ const pt = {
|
|
|
202
202
|
} = await g.subscriptions.current.post({});
|
|
203
203
|
i.value = t;
|
|
204
204
|
}
|
|
205
|
-
async function
|
|
205
|
+
async function b() {
|
|
206
206
|
y.value = !0;
|
|
207
207
|
const {
|
|
208
208
|
data: t
|
|
@@ -222,14 +222,14 @@ const pt = {
|
|
|
222
222
|
});
|
|
223
223
|
h.value = !1, t && (W.value = t.items, m.value.total = t.count);
|
|
224
224
|
}
|
|
225
|
-
async function
|
|
225
|
+
async function $() {
|
|
226
226
|
k.value = !0;
|
|
227
227
|
const {
|
|
228
228
|
data: t
|
|
229
229
|
} = await g.quotas.my.post({});
|
|
230
|
-
k.value = !1, t && t.hasSubscription ?
|
|
230
|
+
k.value = !1, t && t.hasSubscription ? _.value = t.quotas : _.value = [];
|
|
231
231
|
}
|
|
232
|
-
async function
|
|
232
|
+
async function j() {
|
|
233
233
|
if (!i.value) return;
|
|
234
234
|
const {
|
|
235
235
|
error: t
|
|
@@ -237,64 +237,64 @@ const pt = {
|
|
|
237
237
|
subscriptionId: i.value.id,
|
|
238
238
|
cancelAtPeriodEnd: !0
|
|
239
239
|
});
|
|
240
|
-
t || (await S(), await
|
|
240
|
+
t || (await S(), await b());
|
|
241
241
|
}
|
|
242
|
-
async function
|
|
242
|
+
async function G() {
|
|
243
243
|
if (!i.value) return;
|
|
244
244
|
const {
|
|
245
245
|
error: t
|
|
246
246
|
} = await g.subscriptions.resume.post({
|
|
247
247
|
subscriptionId: i.value.id
|
|
248
248
|
});
|
|
249
|
-
t || (await S(), await
|
|
249
|
+
t || (await S(), await b());
|
|
250
|
+
}
|
|
251
|
+
function H(t) {
|
|
252
|
+
v.value.current = t, b();
|
|
250
253
|
}
|
|
251
254
|
function J(t) {
|
|
252
|
-
v.value.
|
|
255
|
+
v.value.pageSize = t, v.value.current = 1, b();
|
|
253
256
|
}
|
|
254
257
|
function X(t) {
|
|
255
|
-
v.value.pageSize = t, v.value.current = 1, _();
|
|
256
|
-
}
|
|
257
|
-
function Y(t) {
|
|
258
258
|
m.value.current = t, x();
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Y(t) {
|
|
261
261
|
m.value.pageSize = t, m.value.current = 1, x();
|
|
262
262
|
}
|
|
263
|
-
function
|
|
264
|
-
f.value = e,
|
|
263
|
+
function Z(t, e) {
|
|
264
|
+
f.value = e, V.value = "编辑", e && (S(), b(), x(), $());
|
|
265
265
|
}
|
|
266
|
-
return
|
|
267
|
-
setData:
|
|
268
|
-
}), (t, e) => (
|
|
269
|
-
visible:
|
|
270
|
-
"onUpdate:visible": e[1] || (e[1] = (a) =>
|
|
266
|
+
return B({
|
|
267
|
+
setData: Z
|
|
268
|
+
}), (t, e) => (l(), C(u(it), {
|
|
269
|
+
visible: u(f),
|
|
270
|
+
"onUpdate:visible": e[1] || (e[1] = (a) => et(f) ? f.value = a : null),
|
|
271
271
|
loading: !1,
|
|
272
272
|
"body-class": "SubscriptionsbodyClass",
|
|
273
273
|
"mask-closable": !1,
|
|
274
274
|
footer: !1,
|
|
275
275
|
width: "90%",
|
|
276
|
-
onCancel:
|
|
276
|
+
onCancel: O
|
|
277
277
|
}, {
|
|
278
278
|
title: s(() => [...e[2] || (e[2] = [p(" 订阅管理 ", -1)])]),
|
|
279
|
-
default: s(() => [n("div", pt, [i.value ? (
|
|
279
|
+
default: s(() => [n("div", pt, [i.value ? (l(), d("div", vt, [n("div", mt, [n("div", gt, [n("h3", null, o(i.value.productName), 1), r(u(P), {
|
|
280
280
|
color: E(i.value.status)
|
|
281
281
|
}, {
|
|
282
|
-
default: s(() => [p(
|
|
282
|
+
default: s(() => [p(o(T(i.value.status)), 1)]),
|
|
283
283
|
_: 1
|
|
284
|
-
}, 8, ["color"])]), n("div", ft, [i.value.cancelAtPeriodEnd ? (
|
|
284
|
+
}, 8, ["color"])]), n("div", ft, [i.value.cancelAtPeriodEnd ? (l(), C(u(I), {
|
|
285
285
|
key: 0,
|
|
286
286
|
type: "primary",
|
|
287
287
|
size: "small",
|
|
288
|
-
onClick:
|
|
288
|
+
onClick: G
|
|
289
289
|
}, {
|
|
290
290
|
default: s(() => [...e[3] || (e[3] = [p(" 恢复订阅 ", -1)])]),
|
|
291
291
|
_: 1
|
|
292
|
-
})) : (
|
|
292
|
+
})) : (l(), C(u(st), {
|
|
293
293
|
key: 1,
|
|
294
294
|
content: "取消后订阅将在当前周期结束时失效,确定取消吗?",
|
|
295
|
-
onOk:
|
|
295
|
+
onOk: j
|
|
296
296
|
}, {
|
|
297
|
-
default: s(() => [r(
|
|
297
|
+
default: s(() => [r(u(I), {
|
|
298
298
|
type: "outline",
|
|
299
299
|
size: "small",
|
|
300
300
|
status: "warning"
|
|
@@ -303,100 +303,98 @@ const pt = {
|
|
|
303
303
|
_: 1
|
|
304
304
|
})]),
|
|
305
305
|
_: 1
|
|
306
|
-
}))])]), n("div",
|
|
306
|
+
}))])]), n("div", bt, [n("div", _t, [e[5] || (e[5] = n("span", {
|
|
307
307
|
class: "label"
|
|
308
|
-
}, "计费周期:", -1)), n("span", null,
|
|
308
|
+
}, "计费周期:", -1)), n("span", null, o(i.value.interval === "month" ? "按月" : i.value.interval === "year" ? "按年" : i.value.interval), 1)]), n("div", yt, [e[6] || (e[6] = n("span", {
|
|
309
309
|
class: "label"
|
|
310
|
-
}, "价格:", -1)), n("span", null, "¥" +
|
|
310
|
+
}, "价格:", -1)), n("span", null, "¥" + o(((i.value.unitAmount ?? 0) / 100).toFixed(2)) + " / " + o(i.value.interval === "month" ? "月" : "年"), 1)]), i.value.status === "trialing" ? (l(), d("div", ht, [e[7] || (e[7] = n("span", {
|
|
311
311
|
class: "label"
|
|
312
|
-
}, "试用结束:", -1)), n("span", null,
|
|
312
|
+
}, "试用结束:", -1)), n("span", null, o(i.value.trialEnd), 1)])) : (l(), d("div", kt, [e[8] || (e[8] = n("span", {
|
|
313
313
|
class: "label"
|
|
314
|
-
}, "当前周期结束:", -1)), n("span", null,
|
|
314
|
+
}, "当前周期结束:", -1)), n("span", null, o(i.value.currentPeriodEnd), 1)])), i.value.cancelAtPeriodEnd ? (l(), d("div", St, [...e[9] || (e[9] = [n("span", {
|
|
315
315
|
class: "label"
|
|
316
|
-
}, "订阅将于周期结束后停止", -1)])])) : L("", !0)])])) : (
|
|
317
|
-
|
|
316
|
+
}, "订阅将于周期结束后停止", -1)])])) : L("", !0)])])) : (l(), d("div", xt, [e[11] || (e[11] = n("span", {
|
|
317
|
+
class: "no-subscription-text"
|
|
318
|
+
}, "暂无订阅", -1)), r(u(I), {
|
|
319
|
+
type: "primary",
|
|
320
|
+
size: "small",
|
|
321
|
+
onClick: Q
|
|
318
322
|
}, {
|
|
319
|
-
default: s(() => [
|
|
320
|
-
type: "primary",
|
|
321
|
-
onClick: $
|
|
322
|
-
}, {
|
|
323
|
-
default: s(() => [...e[10] || (e[10] = [p("查看价格方案", -1)])]),
|
|
324
|
-
_: 1
|
|
325
|
-
})]),
|
|
323
|
+
default: s(() => [...e[10] || (e[10] = [p("查看价格方案", -1)])]),
|
|
326
324
|
_: 1
|
|
327
|
-
})])), r(
|
|
325
|
+
})])), r(u(ot), {
|
|
328
326
|
"active-key": z.value,
|
|
329
327
|
"onUpdate:activeKey": e[0] || (e[0] = (a) => z.value = a),
|
|
330
328
|
class: "subscription-tabs"
|
|
331
329
|
}, {
|
|
332
|
-
default: s(() => [r(
|
|
330
|
+
default: s(() => [r(u(w), {
|
|
333
331
|
key: "subscriptions",
|
|
334
332
|
title: "订阅历史"
|
|
335
333
|
}, {
|
|
336
|
-
default: s(() => [r(
|
|
337
|
-
columns:
|
|
334
|
+
default: s(() => [r(q, {
|
|
335
|
+
columns: U,
|
|
338
336
|
data: N.value,
|
|
339
337
|
loading: y.value,
|
|
340
338
|
pagination: v.value,
|
|
341
|
-
onPageChange:
|
|
342
|
-
onPageSizeChange:
|
|
339
|
+
onPageChange: H,
|
|
340
|
+
onPageSizeChange: J
|
|
343
341
|
}, {
|
|
344
342
|
status: s(({
|
|
345
343
|
record: a
|
|
346
|
-
}) => [r(
|
|
344
|
+
}) => [r(u(P), {
|
|
347
345
|
color: E(a.status)
|
|
348
346
|
}, {
|
|
349
|
-
default: s(() => [p(
|
|
347
|
+
default: s(() => [p(o(T(a.status)), 1)]),
|
|
350
348
|
_: 2
|
|
351
349
|
}, 1032, ["color"])]),
|
|
352
350
|
interval: s(({
|
|
353
351
|
record: a
|
|
354
|
-
}) => [p(
|
|
352
|
+
}) => [p(o(a.interval === "month" ? "按月" : a.interval === "year" ? "按年" : a.interval || "-"), 1)]),
|
|
355
353
|
unitAmount: s(({
|
|
356
354
|
record: a
|
|
357
|
-
}) => [p(
|
|
355
|
+
}) => [p(o(a.unitAmount ? `¥${(a.unitAmount / 100).toFixed(2)}` : "-"), 1)]),
|
|
358
356
|
_: 1
|
|
359
357
|
}, 8, ["data", "loading", "pagination"])]),
|
|
360
358
|
_: 1
|
|
361
|
-
}), r(
|
|
359
|
+
}), r(u(w), {
|
|
362
360
|
key: "invoices",
|
|
363
361
|
title: "账单记录"
|
|
364
362
|
}, {
|
|
365
|
-
default: s(() => [r(
|
|
366
|
-
columns:
|
|
363
|
+
default: s(() => [r(q, {
|
|
364
|
+
columns: D,
|
|
367
365
|
data: W.value,
|
|
368
366
|
loading: h.value,
|
|
369
367
|
pagination: m.value,
|
|
370
|
-
onPageChange:
|
|
371
|
-
onPageSizeChange:
|
|
368
|
+
onPageChange: X,
|
|
369
|
+
onPageSizeChange: Y
|
|
372
370
|
}, {
|
|
373
371
|
status: s(({
|
|
374
372
|
record: a
|
|
375
|
-
}) => [r(
|
|
376
|
-
color:
|
|
373
|
+
}) => [r(u(P), {
|
|
374
|
+
color: K(a.status)
|
|
377
375
|
}, {
|
|
378
|
-
default: s(() => [p(
|
|
376
|
+
default: s(() => [p(o(R(a.status)), 1)]),
|
|
379
377
|
_: 2
|
|
380
378
|
}, 1032, ["color"])]),
|
|
381
379
|
total: s(({
|
|
382
380
|
record: a
|
|
383
|
-
}) => [p(" ¥" +
|
|
381
|
+
}) => [p(" ¥" + o((a.total / 100).toFixed(2)), 1)]),
|
|
384
382
|
_: 1
|
|
385
383
|
}, 8, ["data", "loading", "pagination"])]),
|
|
386
384
|
_: 1
|
|
387
|
-
}), r(
|
|
385
|
+
}), r(u(w), {
|
|
388
386
|
key: "quotas",
|
|
389
387
|
title: "配额使用"
|
|
390
388
|
}, {
|
|
391
|
-
default: s(() => [k.value ? (
|
|
389
|
+
default: s(() => [k.value ? (l(), d("div", Ct, [r(u(lt))])) : _.value.length === 0 ? (l(), d("div", Pt, [r(u(ut), {
|
|
392
390
|
description: "暂无配额限制"
|
|
393
|
-
})])) : (
|
|
391
|
+
})])) : (l(), d("div", It, [(l(!0), d(at, null, nt(_.value, (a) => (l(), d("div", {
|
|
394
392
|
key: a.featureKey,
|
|
395
393
|
class: "quota-card"
|
|
396
|
-
}, [n("div", wt, [n("span", At,
|
|
394
|
+
}, [n("div", wt, [n("span", At, o(a.name), 1), n("span", zt, o(M(a.period)), 1)]), n("div", Nt, [r(u(rt), {
|
|
397
395
|
percent: a.percentage,
|
|
398
396
|
status: a.percentage >= 90 ? "danger" : a.percentage >= 70 ? "warning" : "normal"
|
|
399
|
-
}, null, 8, ["percent", "status"])]), n("div", Wt, [a.unlimited ? (
|
|
397
|
+
}, null, 8, ["percent", "status"])]), n("div", Wt, [a.unlimited ? (l(), d("span", Et, "无限制")) : (l(), d("span", Tt, "已使用 " + o(a.used) + " / " + o(a.limit), 1)), a.resetsAt ? (l(), d("span", Lt, o(a.resetsAt) + " 重置", 1)) : L("", !0)])]))), 128))]))]),
|
|
400
398
|
_: 1
|
|
401
399
|
})]),
|
|
402
400
|
_: 1
|
|
@@ -404,7 +402,7 @@ const pt = {
|
|
|
404
402
|
_: 1
|
|
405
403
|
}, 8, ["visible"]));
|
|
406
404
|
}
|
|
407
|
-
}), Jt = /* @__PURE__ */ ct(qt, [["__scopeId", "data-v-
|
|
405
|
+
}), Jt = /* @__PURE__ */ ct(qt, [["__scopeId", "data-v-2a69da54"]]);
|
|
408
406
|
export {
|
|
409
407
|
Jt as S
|
|
410
408
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { defineComponent as z, ref as m,
|
|
4
|
+
import { defineComponent as z, ref as m, openBlock as p, createBlock as v, unref as t, withCtx as g, createElementVNode as n, toDisplayString as _, createCommentVNode as R, createVNode as w, createTextVNode as A } from "vue";
|
|
5
5
|
import { Modal as V } from "@arco-design/web-vue";
|
|
6
|
-
import {
|
|
7
|
-
import { u as T } from "./useTableHandle-
|
|
8
|
-
import { C as B } from "./CustomTable-
|
|
9
|
-
import { C as D } from "./Clipboard-
|
|
10
|
-
import { a as U } from "./useAuthkitUsersProfile-
|
|
6
|
+
import { e as y } from "./apiClients-DJchWBAG.js";
|
|
7
|
+
import { u as T } from "./useTableHandle-CWu0LbeI.js";
|
|
8
|
+
import { C as B } from "./CustomTable-Dyjn6dOW.js";
|
|
9
|
+
import { C as D } from "./Clipboard-BsST2Mjo.js";
|
|
10
|
+
import { a as U } from "./useAuthkitUsersProfile-BqW74gfs.js";
|
|
11
11
|
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const H = {
|
|
13
13
|
class: "invite-code-section"
|
|
@@ -64,7 +64,7 @@ const H = {
|
|
|
64
64
|
}
|
|
65
65
|
return C({
|
|
66
66
|
setData: N
|
|
67
|
-
}), (e, i) => (
|
|
67
|
+
}), (e, i) => (p(), v(t(V), {
|
|
68
68
|
visible: r.value,
|
|
69
69
|
"onUpdate:visible": i[0] || (i[0] = (l) => r.value = l),
|
|
70
70
|
title: "被邀请人详情",
|
|
@@ -79,11 +79,11 @@ const H = {
|
|
|
79
79
|
var l, d;
|
|
80
80
|
return [n("div", H, [i[1] || (i[1] = n("div", {
|
|
81
81
|
class: "invite-code-label"
|
|
82
|
-
}, "我的邀请码:", -1)), n("div", M, [n("span", null, _(((l = t(s)) == null ? void 0 : l.referrerId) || "-"), 1), (d = t(s)) != null && d.referrerId ? (
|
|
82
|
+
}, "我的邀请码:", -1)), n("div", M, [n("span", null, _(((l = t(s)) == null ? void 0 : l.referrerId) || "-"), 1), (d = t(s)) != null && d.referrerId ? (p(), v(D, {
|
|
83
83
|
key: 0,
|
|
84
84
|
value: t(s).referrerId,
|
|
85
85
|
message: "邀请码复制成功"
|
|
86
|
-
}, null, 8, ["value"])) :
|
|
86
|
+
}, null, 8, ["value"])) : R("", !0)])]), w(B, {
|
|
87
87
|
columns: x,
|
|
88
88
|
data: t(c),
|
|
89
89
|
loading: o.value,
|
|
@@ -100,7 +100,7 @@ const H = {
|
|
|
100
100
|
_: 1
|
|
101
101
|
}, 8, ["visible", "ok-loading"]));
|
|
102
102
|
}
|
|
103
|
-
}), $ = /* @__PURE__ */ E(j, [["__scopeId", "data-v-
|
|
103
|
+
}), $ = /* @__PURE__ */ E(j, [["__scopeId", "data-v-1ed2f0da"]]);
|
|
104
104
|
export {
|
|
105
105
|
$ as R
|
|
106
106
|
};
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { defineComponent as g,
|
|
7
|
+
import { defineComponent as g, openBlock as F, createBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
|
|
8
8
|
import { Upload as S } from "@arco-design/web-vue";
|
|
9
|
-
import { u as _ } from "./useUploadCos-
|
|
9
|
+
import { u as _ } from "./useUploadCos-BO3W_uqs.js";
|
|
10
10
|
const N = /* @__PURE__ */ g({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -56,7 +56,7 @@ const N = /* @__PURE__ */ g({
|
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
return (e, i) => (
|
|
59
|
+
return (e, i) => (F(), h(q(S), y({
|
|
60
60
|
"custom-request": a
|
|
61
61
|
}, s.options), I({
|
|
62
62
|
_: 2
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import {
|
|
5
|
-
import { defineComponent as C,
|
|
4
|
+
import { b as De, A as Ve } from "./AuthkitAuthModal-BpQZ_cSv.js";
|
|
5
|
+
import { defineComponent as C, computed as P, openBlock as s, createElementBlock as g, normalizeStyle as ie, normalizeClass as se, createElementVNode as p, createVNode as c, unref as o, withCtx as l, createTextVNode as y, toDisplayString as S, createBlock as d, createCommentVNode as m, useModel as re, renderSlot as ae, mergeModels as D, ref as f, Fragment as Re } from "vue";
|
|
6
6
|
import { Tag as ze, Button as le, Avatar as ue, Dropdown as Ne, Divider as ce, Doption as h } from "@arco-design/web-vue";
|
|
7
|
-
import { S as Le } from "./PaySubscriptions-
|
|
8
|
-
import { R as je } from "./ReferrerReferees-
|
|
9
|
-
import { a as N, u as He } from "./useAuthkitUsersProfile-
|
|
10
|
-
import {
|
|
11
|
-
import { d as qe } from "./FeedbackModal-
|
|
12
|
-
import { M as Ee } from "./MessageHandle-
|
|
7
|
+
import { S as Le } from "./PaySubscriptions-CWey-mbh.js";
|
|
8
|
+
import { R as je } from "./ReferrerReferees-Byrr8T8H.js";
|
|
9
|
+
import { a as N, u as He } from "./useAuthkitUsersProfile-BqW74gfs.js";
|
|
10
|
+
import { g as oe, u as Fe } from "./apiClients-DJchWBAG.js";
|
|
11
|
+
import { d as qe } from "./FeedbackModal-DCxmeHW4.js";
|
|
12
|
+
import { M as Ee } from "./MessageHandle-DJCHYY9T.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
/* empty css */
|
|
17
|
-
import { I as U } from "./index-
|
|
17
|
+
import { I as U } from "./index-CUfrjRxu.js";
|
|
18
18
|
import { _ as de, g as pe, i as fe } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
19
19
|
import { Icon as Ke } from "@iconify/vue";
|
|
20
20
|
const Te = C({
|
|
@@ -264,7 +264,7 @@ const Ze = Object.assign(z, {
|
|
|
264
264
|
"object-fit": "cover"
|
|
265
265
|
}, null, 8, ["image-url"]), p("div", ct, [p("span", dt, S(n.nickname), 1), p("span", pt, S(n.email), 1), n.referrerId ? (s(), g("span", ft, " 邀请码:" + S(n.referrerId), 1)) : m("", !0)])]));
|
|
266
266
|
}
|
|
267
|
-
}), vt = /* @__PURE__ */ I(mt, [["__scopeId", "data-v-
|
|
267
|
+
}), vt = /* @__PURE__ */ I(mt, [["__scopeId", "data-v-e4a80853"]]), kt = {
|
|
268
268
|
class: "dropdownContent"
|
|
269
269
|
}, yt = {
|
|
270
270
|
class: "header"
|
|
@@ -622,12 +622,12 @@ const Ze = Object.assign(z, {
|
|
|
622
622
|
})])]);
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
|
-
}), Xt = /* @__PURE__ */ I(Ot, [["__scopeId", "data-v-
|
|
625
|
+
}), Xt = /* @__PURE__ */ I(Ot, [["__scopeId", "data-v-170a00b2"]]);
|
|
626
626
|
export {
|
|
627
627
|
it as S,
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
628
|
+
Xt as U,
|
|
629
|
+
lt as a,
|
|
630
|
+
vt as b,
|
|
631
|
+
_t as c,
|
|
632
|
+
Wt as d
|
|
633
633
|
};
|