@huyooo/ui 0.13.2 → 0.13.6
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-p_ZzaAK3.js → AuthkitAppSetting-EL2ZvAVT.js} +6 -6
- package/dist/{AuthkitGithubBinding-Cwly1un7.js → AuthkitGithubBinding-Ba9sbNEh.js} +6 -6
- package/dist/{Clipboard-k0jtK4CJ.js → Clipboard-CdJtMvg6.js} +1 -1
- package/dist/{Contact-BGZm3i5l.js → Contact-Z2VFVeKK.js} +2 -2
- package/dist/{FeedbackItem-opB6y-f2.js → FeedbackItem-B_MDdk4s.js} +3 -3
- package/dist/{FeedbackModal-9CNnFC6B.js → FeedbackModal-qrcBDDQM.js} +3 -3
- package/dist/{MessageHandle-BZBT7Ii1.js → MessageHandle-Y96z-IXv.js} +2 -2
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BbKvsNKj.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-CfmjFcay.js} +2 -2
- package/dist/{PaySubscriptions-Bxh35MKo.js → PaySubscriptions-C75OtmYw.js} +388 -425
- package/dist/{PricingPlans-BRJPtzFK.js → PricingPlans-DCYIVuuT.js} +4 -4
- package/dist/{ReferrerReferees-Hh88qOrp.js → ReferrerReferees-8eSsuPfa.js} +4 -4
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-DOHui-lA.js → Upload.vue_vue_type_script_setup_true_lang-BAibfVEN.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-_BUbnxAH.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BEVmBNlU.js} +39 -39
- package/dist/{WidthContainer-CjKGJYG4.js → WidthContainer-Dqf_-qGk.js} +8 -8
- package/dist/{apiClients-B8bOvWw_.js → apiClients-D56ALwwO.js} +2 -2
- package/dist/authkit.js +9 -9
- package/dist/common.js +1 -1
- package/dist/composables/Billing/useBillingStatusOptions.d.ts +93 -0
- package/dist/composables.d.ts +1 -0
- package/dist/composables.js +44 -36
- package/dist/feedback.js +3 -3
- package/dist/main.js +248 -240
- package/dist/message.js +3 -3
- package/dist/pay.d.ts +1 -0
- package/dist/pay.js +21 -13
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/billing.generated.d.ts +2252 -649
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-6ncIP9RT.js → useAuthkitAppsAuthPageInfo-RMs8sOwk.js} +1 -1
- package/dist/{useAuthkitAuth-Bj8XxPtO.js → useAuthkitAuth-B8aO6aMa.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-CUf8HARI.js → useAuthkitCreateAndUpdate-DkiLs143.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CoQceogN.js → useAuthkitUsersProfile-CWAr0CNv.js} +2 -2
- package/dist/useBillingStatusOptions-CottFcAr.js +127 -0
- package/dist/{useDownloads-Dj91-I6H.js → useDownloads-DqF1USJ7.js} +1 -1
- package/dist/{useEnsureAuthenticated-MpHmn2co.js → useEnsureAuthenticated-D99GiwEk.js} +2 -2
- package/dist/{useLegalLinks-CVHYmza0.js → useLegalLinks-DRTOYp3n.js} +2 -2
- package/dist/{useMessageNotifications-Bstn2qtG.js → useMessageNotifications-CUpk6zCE.js} +1 -1
- package/dist/{useSEO-DU86KCMJ.js → useSEO-CUKPmGRx.js} +2 -2
- package/dist/{useSubscriptionCheckout-DNLuRGmx.js → useSubscriptionCheckout-CAgy1CFj.js} +2 -2
- package/dist/{useTableHandle-B9aFmwYM.js → useTableHandle-CCKjahT0.js} +1 -1
- package/dist/{useUploadCos-DTMIoW7p.js → useUploadCos-Bxctd4E6.js} +1 -1
- package/dist/user.js +1 -1
- package/package.json +2 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import "./index-D3Kp6R4z.js";
|
|
3
|
-
import "./apiClients-
|
|
3
|
+
import "./apiClients-D56ALwwO.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent as z, computed as k, onMounted as te, onUnmounted as Pe, openBlock as n, createElementBlock as s, createElementVNode as i, unref as e, createBlock as H, toDisplayString as r, createVNode as v, withCtx as b, createTextVNode as R, resolveDirective as me, withDirectives as fe, normalizeClass as L, Fragment as w, renderList as C, createCommentVNode as p } from "vue";
|
|
6
6
|
import { Spin as ne, Button as A, Message as Z } from "@arco-design/web-vue";
|
|
7
7
|
import { useRoute as pe, useRouter as ve } from "vue-router";
|
|
8
|
-
import { b as ye } from "./PaySubscriptions-
|
|
8
|
+
import { b as ye } from "./PaySubscriptions-C75OtmYw.js";
|
|
9
9
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { L as he, a as ke } from "./LandingPageFAQ-CZJXvor9.js";
|
|
11
11
|
import { L as be } from "./LandingPageSectionHeader-D_74W4My.js";
|
|
12
12
|
import { Icon as ee } from "@iconify/vue";
|
|
13
|
-
import { u as Te, a as Ie } from "./useSubscriptionCheckout-
|
|
14
|
-
import { u as we } from "./useEnsureAuthenticated-
|
|
13
|
+
import { u as Te, a as Ie } from "./useSubscriptionCheckout-CAgy1CFj.js";
|
|
14
|
+
import { u as we } from "./useEnsureAuthenticated-D99GiwEk.js";
|
|
15
15
|
const pt = "/Pay/Return";
|
|
16
16
|
function V(a) {
|
|
17
17
|
const u = typeof a.scene == "string" ? a.scene : null, l = typeof a.orderId == "string" ? a.orderId : null, c = typeof a.returnTo == "string" ? a.returnTo.trim() : null, _ = c != null && c.startsWith("/") && !c.startsWith("//") ? c : null;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { U as P } from "./index-D3Kp6R4z.js";
|
|
4
4
|
import { defineComponent as w, ref as d, openBlock as p, createBlock as v, unref as a, withCtx as g, createElementVNode as n, toDisplayString as _, createCommentVNode as z, createVNode as A, createTextVNode as U } from "vue";
|
|
5
5
|
import { Modal as D } from "@arco-design/web-vue";
|
|
6
|
-
import {
|
|
7
|
-
import { u as V } from "./useTableHandle-
|
|
6
|
+
import { f as T } from "./apiClients-D56ALwwO.js";
|
|
7
|
+
import { u as V } from "./useTableHandle-CCKjahT0.js";
|
|
8
8
|
import { C as y } from "./CustomTable-BBcd4nNL.js";
|
|
9
|
-
import { C as E } from "./Clipboard-
|
|
10
|
-
import { u as M } from "./useAuthkitUsersProfile-
|
|
9
|
+
import { C as E } from "./Clipboard-CdJtMvg6.js";
|
|
10
|
+
import { u as M } from "./useAuthkitUsersProfile-CWAr0CNv.js";
|
|
11
11
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const H = {
|
|
13
13
|
class: "invite-code-section"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* empty css */
|
|
7
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-Bxctd4E6.js";
|
|
10
10
|
const N = /* @__PURE__ */ g({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { defineComponent as
|
|
4
|
+
import { defineComponent as m, openBlock as r, createElementBlock as p, toDisplayString as U, createCommentVNode as k, createVNode as d, unref as s, createBlock as _, withCtx as v, createTextVNode as $, createElementVNode as l, ref as h, computed as A, onMounted as J, Fragment as F, renderSlot as C, normalizeClass as K, watch as x } from "vue";
|
|
5
5
|
import { Avatar as L, Button as D, Dropdown as Q } from "@arco-design/web-vue";
|
|
6
|
-
import { u as R } from "./useAuthkitUsersProfile-
|
|
6
|
+
import { u as R } from "./useAuthkitUsersProfile-CWAr0CNv.js";
|
|
7
7
|
import { u as y } from "./useUserMenu-ClPBlvaM.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { u as W,
|
|
12
|
-
import { u as ee, o as ne, P as te } from "./PaySubscriptions-
|
|
13
|
-
import { C as se } from "./Clipboard-
|
|
14
|
-
import { A as ae } from "./AuthkitAppSetting-
|
|
15
|
-
import { d as oe } from "./FeedbackModal-
|
|
16
|
-
import { M as re } from "./MessageHandle-
|
|
17
|
-
import { R as ie } from "./ReferrerReferees-
|
|
11
|
+
import { u as W, e as Z } from "./apiClients-D56ALwwO.js";
|
|
12
|
+
import { u as ee, o as ne, P as te } from "./PaySubscriptions-C75OtmYw.js";
|
|
13
|
+
import { C as se } from "./Clipboard-CdJtMvg6.js";
|
|
14
|
+
import { A as ae } from "./AuthkitAppSetting-EL2ZvAVT.js";
|
|
15
|
+
import { d as oe } from "./FeedbackModal-qrcBDDQM.js";
|
|
16
|
+
import { M as re } from "./MessageHandle-Y96z-IXv.js";
|
|
17
|
+
import { R as ie } from "./ReferrerReferees-8eSsuPfa.js";
|
|
18
18
|
import { Icon as j } from "@iconify/vue";
|
|
19
19
|
const le = {
|
|
20
20
|
class: "UserAvatar"
|
|
21
21
|
}, ue = {
|
|
22
22
|
key: 0,
|
|
23
23
|
class: "UserAvatar__nickname"
|
|
24
|
-
}, ce = /* @__PURE__ */
|
|
24
|
+
}, ce = /* @__PURE__ */ m({
|
|
25
25
|
__name: "UserAvatar",
|
|
26
26
|
props: {
|
|
27
27
|
nickname: {
|
|
@@ -38,7 +38,7 @@ const le = {
|
|
|
38
38
|
"object-fit": "cover"
|
|
39
39
|
}, null, 8, ["image-url"])]));
|
|
40
40
|
}
|
|
41
|
-
}), de = /* @__PURE__ */ M(ce, [["__scopeId", "data-v-cda7eee7"]]), pe = /* @__PURE__ */
|
|
41
|
+
}), de = /* @__PURE__ */ M(ce, [["__scopeId", "data-v-cda7eee7"]]), pe = /* @__PURE__ */ m({
|
|
42
42
|
__name: "UserSignInButton",
|
|
43
43
|
setup(e) {
|
|
44
44
|
const {
|
|
@@ -53,14 +53,14 @@ const le = {
|
|
|
53
53
|
_: 1
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
|
-
}),
|
|
56
|
+
}), me = /* @__PURE__ */ M(pe, [["__scopeId", "data-v-449a105c"]]), fe = {}, _e = {
|
|
57
57
|
class: "UserMenuDivider",
|
|
58
58
|
role: "separator"
|
|
59
59
|
};
|
|
60
60
|
function ve(e, n) {
|
|
61
61
|
return r(), p("div", _e);
|
|
62
62
|
}
|
|
63
|
-
const ge = /* @__PURE__ */ M(
|
|
63
|
+
const ge = /* @__PURE__ */ M(fe, [["render", ve], ["__scopeId", "data-v-c7d18d97"]]), be = {
|
|
64
64
|
class: "UserBasicInformation"
|
|
65
65
|
}, Ue = {
|
|
66
66
|
class: "UserBasicInformation__extra"
|
|
@@ -71,7 +71,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
71
71
|
}, Ie = {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "UserBasicInformation__referrer"
|
|
74
|
-
}, $e = /* @__PURE__ */
|
|
74
|
+
}, $e = /* @__PURE__ */ m({
|
|
75
75
|
__name: "UserBasicInformation",
|
|
76
76
|
props: {
|
|
77
77
|
nickname: {
|
|
@@ -113,7 +113,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
113
113
|
}, we = {
|
|
114
114
|
key: 2,
|
|
115
115
|
class: "UserSubscriptionBaseInformation__pending"
|
|
116
|
-
}, Pe = /* @__PURE__ */
|
|
116
|
+
}, Pe = /* @__PURE__ */ m({
|
|
117
117
|
__name: "UserSubscriptionBaseInformation",
|
|
118
118
|
props: {
|
|
119
119
|
currentVersionName: {
|
|
@@ -176,7 +176,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
176
176
|
_: 1
|
|
177
177
|
}, 8, ["loading"])])) : k("", !0)]));
|
|
178
178
|
}
|
|
179
|
-
}), De = /* @__PURE__ */ M(Pe, [["__scopeId", "data-v-f183ed7e"]]), He = /* @__PURE__ */
|
|
179
|
+
}), De = /* @__PURE__ */ M(Pe, [["__scopeId", "data-v-f183ed7e"]]), He = /* @__PURE__ */ m({
|
|
180
180
|
__name: "UserMenuHeader",
|
|
181
181
|
props: {
|
|
182
182
|
showSubscription: {
|
|
@@ -206,27 +206,27 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
206
206
|
loading: g,
|
|
207
207
|
refresh: I
|
|
208
208
|
} = ee(), S = h(0), B = A(() => a.value), P = A(() => {
|
|
209
|
-
var
|
|
210
|
-
return n.currentVersionName ? n.currentVersionName : ((
|
|
209
|
+
var f, b;
|
|
210
|
+
return n.currentVersionName ? n.currentVersionName : ((f = B.value) == null ? void 0 : f.type) === "trial" ? "免费试用" : ((b = B.value) == null ? void 0 : b.productName) || "未订阅";
|
|
211
211
|
}), u = A(() => {
|
|
212
|
-
var
|
|
213
|
-
return n.expireDate || ((
|
|
212
|
+
var f;
|
|
213
|
+
return n.expireDate || ((f = B.value) == null ? void 0 : f.endAt) || "";
|
|
214
214
|
}), H = A(() => {
|
|
215
|
-
var
|
|
216
|
-
return ((
|
|
215
|
+
var f, b;
|
|
216
|
+
return ((f = B.value) == null ? void 0 : f.type) === "trial" ? S.value > 0 ? "升级" : "" : ((b = B.value) == null ? void 0 : b.type) === "subscription" ? S.value > 1 ? "修改订阅" : "" : S.value > 0 ? "订阅" : "";
|
|
217
217
|
}), X = A(() => n.canUpgrade && !!H.value);
|
|
218
218
|
function Y() {
|
|
219
219
|
ne();
|
|
220
220
|
}
|
|
221
221
|
async function q() {
|
|
222
222
|
const {
|
|
223
|
-
data:
|
|
223
|
+
data: f
|
|
224
224
|
} = await Z.products.listActive.post();
|
|
225
|
-
S.value = Array.isArray(
|
|
225
|
+
S.value = Array.isArray(f) ? f.length : 0;
|
|
226
226
|
}
|
|
227
227
|
return J(() => {
|
|
228
228
|
n.showSubscription && (I(), q());
|
|
229
|
-
}), (
|
|
229
|
+
}), (f, b) => {
|
|
230
230
|
var N, V, O, T, z, E;
|
|
231
231
|
return r(), p(F, null, [d(Be, {
|
|
232
232
|
"avatar-url": (N = s(o)) == null ? void 0 : N.avatarUrl,
|
|
@@ -256,7 +256,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
256
256
|
class: "UserMenu__content"
|
|
257
257
|
}, Ne = {
|
|
258
258
|
class: "UserMenu__header"
|
|
259
|
-
}, Ve = /* @__PURE__ */
|
|
259
|
+
}, Ve = /* @__PURE__ */ m({
|
|
260
260
|
__name: "UserMenu",
|
|
261
261
|
props: {
|
|
262
262
|
position: {
|
|
@@ -306,16 +306,16 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
306
306
|
}, null, 8, ["avatar"])];
|
|
307
307
|
}, !0)]),
|
|
308
308
|
_: 3
|
|
309
|
-
}, 8, ["popup-visible", "position", "popup-style"])) : (r(), _(
|
|
309
|
+
}, 8, ["popup-visible", "position", "popup-style"])) : (r(), _(me, {
|
|
310
310
|
key: 0
|
|
311
311
|
}));
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), mn = /* @__PURE__ */ M(Ve, [["__scopeId", "data-v-bbd2c44f"]]), Oe = ["disabled"], Te = {
|
|
314
314
|
class: "UserMenuItem__label"
|
|
315
315
|
}, ze = {
|
|
316
316
|
key: 0,
|
|
317
317
|
class: "UserMenuItem__icon"
|
|
318
|
-
}, Ee = /* @__PURE__ */
|
|
318
|
+
}, Ee = /* @__PURE__ */ m({
|
|
319
319
|
__name: "UserMenuItem",
|
|
320
320
|
props: {
|
|
321
321
|
icon: {
|
|
@@ -359,7 +359,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
359
359
|
height: 16
|
|
360
360
|
}, null, 8, ["icon"])) : k("", !0)], !0)])) : k("", !0)], 10, Oe));
|
|
361
361
|
}
|
|
362
|
-
}), w = /* @__PURE__ */ M(Ee, [["__scopeId", "data-v-d357ac04"]]),
|
|
362
|
+
}), w = /* @__PURE__ */ M(Ee, [["__scopeId", "data-v-d357ac04"]]), fn = /* @__PURE__ */ m({
|
|
363
363
|
__name: "UserMenuModals",
|
|
364
364
|
setup(e) {
|
|
365
365
|
const {
|
|
@@ -412,7 +412,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
412
412
|
class: "UserAccountMenu__name"
|
|
413
413
|
}, Ye = {
|
|
414
414
|
class: "UserAccountMenu__email"
|
|
415
|
-
}, qe = /* @__PURE__ */
|
|
415
|
+
}, qe = /* @__PURE__ */ m({
|
|
416
416
|
__name: "UserAccountMenu",
|
|
417
417
|
setup(e) {
|
|
418
418
|
const {
|
|
@@ -431,7 +431,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
431
431
|
})])]);
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
}), _n = /* @__PURE__ */ M(qe, [["__scopeId", "data-v-cc0eb033"]]), vn = /* @__PURE__ */
|
|
434
|
+
}), _n = /* @__PURE__ */ M(qe, [["__scopeId", "data-v-cc0eb033"]]), vn = /* @__PURE__ */ m({
|
|
435
435
|
__name: "UserMenuMessageItem",
|
|
436
436
|
setup(e) {
|
|
437
437
|
const {
|
|
@@ -445,7 +445,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
445
445
|
_: 1
|
|
446
446
|
}, 8, ["onClick"]));
|
|
447
447
|
}
|
|
448
|
-
}), gn = /* @__PURE__ */
|
|
448
|
+
}), gn = /* @__PURE__ */ m({
|
|
449
449
|
__name: "UserMenuSettingItem",
|
|
450
450
|
setup(e) {
|
|
451
451
|
const {
|
|
@@ -459,7 +459,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
459
459
|
_: 1
|
|
460
460
|
}, 8, ["onClick"]));
|
|
461
461
|
}
|
|
462
|
-
}), bn = /* @__PURE__ */
|
|
462
|
+
}), bn = /* @__PURE__ */ m({
|
|
463
463
|
__name: "UserMenuSubscriptionItem",
|
|
464
464
|
setup(e) {
|
|
465
465
|
const {
|
|
@@ -473,7 +473,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
473
473
|
_: 1
|
|
474
474
|
}));
|
|
475
475
|
}
|
|
476
|
-
}), Un = /* @__PURE__ */
|
|
476
|
+
}), Un = /* @__PURE__ */ m({
|
|
477
477
|
__name: "UserMenuFeedbackItem",
|
|
478
478
|
setup(e) {
|
|
479
479
|
const {
|
|
@@ -487,7 +487,7 @@ const ge = /* @__PURE__ */ M(me, [["render", ve], ["__scopeId", "data-v-c7d18d97
|
|
|
487
487
|
_: 1
|
|
488
488
|
}, 8, ["onClick"]));
|
|
489
489
|
}
|
|
490
|
-
}), kn = /* @__PURE__ */
|
|
490
|
+
}), kn = /* @__PURE__ */ m({
|
|
491
491
|
__name: "UserMenuInvitationsItem",
|
|
492
492
|
setup(e) {
|
|
493
493
|
const {
|
|
@@ -507,15 +507,15 @@ export {
|
|
|
507
507
|
Un as _,
|
|
508
508
|
de as a,
|
|
509
509
|
Be as b,
|
|
510
|
-
|
|
510
|
+
mn as c,
|
|
511
511
|
ge as d,
|
|
512
512
|
He as e,
|
|
513
513
|
kn as f,
|
|
514
514
|
w as g,
|
|
515
515
|
vn as h,
|
|
516
|
-
|
|
516
|
+
fn as i,
|
|
517
517
|
gn as j,
|
|
518
518
|
bn as k,
|
|
519
|
-
|
|
519
|
+
me as l,
|
|
520
520
|
De as m
|
|
521
521
|
};
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import "./index-D3Kp6R4z.js";
|
|
3
3
|
import { defineComponent as P, ref as U, watch as V, openBlock as t, createElementBlock as n, createElementVNode as s, createVNode as o, unref as u, withCtx as x, createTextVNode as H, renderSlot as N, toDisplayString as I, createCommentVNode as M, onMounted as j, onUnmounted as he, normalizeClass as S, Fragment as L, renderList as E, createBlock as pe, computed as B, onBeforeUnmount as fe, normalizeStyle as W } from "vue";
|
|
4
4
|
import { Spin as q } from "@arco-design/web-vue";
|
|
5
|
-
import { u as F } from "./useAuthkitAuth-
|
|
6
|
-
import { d as _e, b as ve, a as ge } from "./apiClients-
|
|
7
|
-
import { u as D } from "./useAuthkitAppsAuthPageInfo-
|
|
8
|
-
import { u as J } from "./useAuthkitUsersProfile-
|
|
9
|
-
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-
|
|
10
|
-
import "./useUploadCos-
|
|
5
|
+
import { u as F } from "./useAuthkitAuth-B8aO6aMa.js";
|
|
6
|
+
import { d as _e, b as ve, a as ge } from "./apiClients-D56ALwwO.js";
|
|
7
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
|
|
8
|
+
import { u as J } from "./useAuthkitUsersProfile-CWAr0CNv.js";
|
|
9
|
+
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO-CUKPmGRx.js";
|
|
10
|
+
import "./useUploadCos-Bxctd4E6.js";
|
|
11
11
|
import { useRouter as te, useRoute as ne } from "vue-router";
|
|
12
12
|
import "./useUserMenu-ClPBlvaM.js";
|
|
13
|
-
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BEVmBNlU.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { Icon as R } from "@iconify/vue";
|
|
16
|
-
import "./Clipboard-
|
|
16
|
+
import "./Clipboard-CdJtMvg6.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { M as be } from "./Menu-Cy2ZPeaz.js";
|
|
19
19
|
import "./CollapseItem-DUzZA6tx.js";
|
package/dist/authkit.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-
|
|
3
|
-
import { u as q } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as K } from "./useAuthkitAuth-
|
|
5
|
-
import { u as Y } from "./apiClients-
|
|
6
|
-
import { u as H } from "./useEnsureAuthenticated-
|
|
7
|
-
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-
|
|
8
|
-
import { u as $ } from "./useAuthkitUsersProfile-
|
|
9
|
-
import { u as it } from "./useAuthkitCreateAndUpdate-
|
|
1
|
+
import { A as a, B as s, E as u, a as e, b as h, O as A, P as r, c as o, _ as k, d as n, S as d, e as p, u as P } from "./AuthkitAppSetting-EL2ZvAVT.js";
|
|
2
|
+
import { A as l, a as m, b as g, c as S, d as O, e as c, f as L, _ as U, g as w, O as x, h as E, P as b, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M } from "./AuthkitGithubBinding-Ba9sbNEh.js";
|
|
3
|
+
import { u as q } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
|
|
4
|
+
import { u as K } from "./useAuthkitAuth-B8aO6aMa.js";
|
|
5
|
+
import { u as Y } from "./apiClients-D56ALwwO.js";
|
|
6
|
+
import { u as H } from "./useEnsureAuthenticated-D99GiwEk.js";
|
|
7
|
+
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-DRTOYp3n.js";
|
|
8
|
+
import { u as $ } from "./useAuthkitUsersProfile-CWAr0CNv.js";
|
|
9
|
+
import { u as it } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
|
|
10
10
|
export {
|
|
11
11
|
a as AuthkitAppSetting,
|
|
12
12
|
l as AuthkitAuth,
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-Dqf_-qGk.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
3
|
import { C as x, E as b } from "./CustomTable-BBcd4nNL.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/** 与 billing-server/src/constants/billingStatusOptions.ts 保持同步 */
|
|
2
|
+
export interface BillingStatusOption {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
color: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const POINTS_RECHARGE_STATUS_FALLBACK: BillingStatusOption[];
|
|
8
|
+
export declare const REFUND_STATUS_FALLBACK: BillingStatusOption[];
|
|
9
|
+
export declare const INVOICE_STATUS_FALLBACK: BillingStatusOption[];
|
|
10
|
+
type StatusOptionsResponse = {
|
|
11
|
+
data?: BillingStatusOption[] | null;
|
|
12
|
+
error?: {
|
|
13
|
+
message?: string;
|
|
14
|
+
} | null;
|
|
15
|
+
};
|
|
16
|
+
/** 通用状态选项加载器:拉一次 cache,fallback 与 billing-server 常量对齐 */
|
|
17
|
+
export declare function createBillingStatusOptions(fetchOptions: () => Promise<StatusOptionsResponse>, fallbackOptions: BillingStatusOption[]): {
|
|
18
|
+
statusOptionsLoading: import('vue').Ref<boolean, boolean>;
|
|
19
|
+
statusOptionsList: import('vue').Ref<{
|
|
20
|
+
key: string;
|
|
21
|
+
label: string;
|
|
22
|
+
color: string;
|
|
23
|
+
}[], BillingStatusOption[] | {
|
|
24
|
+
key: string;
|
|
25
|
+
label: string;
|
|
26
|
+
color: string;
|
|
27
|
+
}[]>;
|
|
28
|
+
statusOptionsApi: () => Promise<{
|
|
29
|
+
key: string;
|
|
30
|
+
label: string;
|
|
31
|
+
color: string;
|
|
32
|
+
}[]>;
|
|
33
|
+
getStatusLabel: (status: string) => string;
|
|
34
|
+
getStatusColor: (status: string) => string;
|
|
35
|
+
};
|
|
36
|
+
export declare function usePointsRechargeStatusOptions(): {
|
|
37
|
+
statusOptionsLoading: import('vue').Ref<boolean, boolean>;
|
|
38
|
+
statusOptionsList: import('vue').Ref<{
|
|
39
|
+
key: string;
|
|
40
|
+
label: string;
|
|
41
|
+
color: string;
|
|
42
|
+
}[], BillingStatusOption[] | {
|
|
43
|
+
key: string;
|
|
44
|
+
label: string;
|
|
45
|
+
color: string;
|
|
46
|
+
}[]>;
|
|
47
|
+
statusOptionsApi: () => Promise<{
|
|
48
|
+
key: string;
|
|
49
|
+
label: string;
|
|
50
|
+
color: string;
|
|
51
|
+
}[]>;
|
|
52
|
+
getStatusLabel: (status: string) => string;
|
|
53
|
+
getStatusColor: (status: string) => string;
|
|
54
|
+
};
|
|
55
|
+
export declare function useRefundStatusOptions(): {
|
|
56
|
+
statusOptionsLoading: import('vue').Ref<boolean, boolean>;
|
|
57
|
+
statusOptionsList: import('vue').Ref<{
|
|
58
|
+
key: string;
|
|
59
|
+
label: string;
|
|
60
|
+
color: string;
|
|
61
|
+
}[], BillingStatusOption[] | {
|
|
62
|
+
key: string;
|
|
63
|
+
label: string;
|
|
64
|
+
color: string;
|
|
65
|
+
}[]>;
|
|
66
|
+
statusOptionsApi: () => Promise<{
|
|
67
|
+
key: string;
|
|
68
|
+
label: string;
|
|
69
|
+
color: string;
|
|
70
|
+
}[]>;
|
|
71
|
+
getStatusLabel: (status: string) => string;
|
|
72
|
+
getStatusColor: (status: string) => string;
|
|
73
|
+
};
|
|
74
|
+
export declare function useInvoiceStatusOptions(): {
|
|
75
|
+
statusOptionsLoading: import('vue').Ref<boolean, boolean>;
|
|
76
|
+
statusOptionsList: import('vue').Ref<{
|
|
77
|
+
key: string;
|
|
78
|
+
label: string;
|
|
79
|
+
color: string;
|
|
80
|
+
}[], BillingStatusOption[] | {
|
|
81
|
+
key: string;
|
|
82
|
+
label: string;
|
|
83
|
+
color: string;
|
|
84
|
+
}[]>;
|
|
85
|
+
statusOptionsApi: () => Promise<{
|
|
86
|
+
key: string;
|
|
87
|
+
label: string;
|
|
88
|
+
color: string;
|
|
89
|
+
}[]>;
|
|
90
|
+
getStatusLabel: (status: string) => string;
|
|
91
|
+
getStatusColor: (status: string) => string;
|
|
92
|
+
};
|
|
93
|
+
export {};
|
package/dist/composables.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from '.
|
|
|
18
18
|
export { useUserMenu, type UseUserMenuReturn } from './composables/UserMenu/useUserMenu';
|
|
19
19
|
export { useBillingPlans, type BillingFeatureItem, type BillingInterval, type BillingIntervalTab, type BillingPlan, type BillingPrice, type BillingProduct, type BillingProductFeature, type BillingSubscription, } from './composables/Billing/useBillingPlans';
|
|
20
20
|
export { useSubscriptionCheckout } from './composables/Billing/useSubscriptionCheckout';
|
|
21
|
+
export { createBillingStatusOptions, useInvoiceStatusOptions, usePointsRechargeStatusOptions, useRefundStatusOptions, INVOICE_STATUS_FALLBACK, POINTS_RECHARGE_STATUS_FALLBACK, REFUND_STATUS_FALLBACK, type BillingStatusOption, } from './composables/Billing/useBillingStatusOptions';
|
package/dist/composables.js
CHANGED
|
@@ -1,44 +1,52 @@
|
|
|
1
|
-
import { u as a } from "./useAuthkitAuth-
|
|
2
|
-
import { g as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as c } from "./useMessageNotifications-
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { f as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
1
|
+
import { u as a } from "./useAuthkitAuth-B8aO6aMa.js";
|
|
2
|
+
import { g as o, a as u, b as r, s as i, c as n, d as f, u as p } from "./apiClients-D56ALwwO.js";
|
|
3
|
+
import { u as l } from "./useLegalLinks-DRTOYp3n.js";
|
|
4
|
+
import { u as h } from "./useAuthkitUsersProfile-CWAr0CNv.js";
|
|
5
|
+
import { u as S } from "./useAuthkitAppsAuthPageInfo-RMs8sOwk.js";
|
|
6
|
+
import { u as C } from "./useAuthkitCreateAndUpdate-DkiLs143.js";
|
|
7
|
+
import { u as c } from "./useMessageNotifications-CUpk6zCE.js";
|
|
8
|
+
import { u as T, a as b } from "./useDownloads-DqF1USJ7.js";
|
|
9
|
+
import { u as R } from "./useTableHandle-CCKjahT0.js";
|
|
10
|
+
import { f as E, a as L, g as k, u as _, b as I, c as M, d as B, e as w, w as F } from "./useSEO-CUKPmGRx.js";
|
|
11
|
+
import { u as v } from "./useUploadCos-Bxctd4E6.js";
|
|
12
|
+
import { u as G } from "./useUserMenu-ClPBlvaM.js";
|
|
13
|
+
import { u as H, a as V } from "./useSubscriptionCheckout-CAgy1CFj.js";
|
|
14
|
+
import { I as j, P as q, R as z, c as J, u as Q, a as W, b as X } from "./useBillingStatusOptions-CottFcAr.js";
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
j as INVOICE_STATUS_FALLBACK,
|
|
17
|
+
q as POINTS_RECHARGE_STATUS_FALLBACK,
|
|
18
|
+
z as REFUND_STATUS_FALLBACK,
|
|
19
|
+
J as createBillingStatusOptions,
|
|
20
|
+
E as findActiveMenuPath,
|
|
21
|
+
L as findMenuPath,
|
|
22
|
+
k as getPathOnly,
|
|
23
|
+
o as globalConfig,
|
|
24
|
+
u as globalSEOConfig,
|
|
20
25
|
r as globalThemeRef,
|
|
21
26
|
i as setGlobalConfig,
|
|
22
27
|
n as setGlobalSEOConfig,
|
|
23
28
|
f as setTheme,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
29
|
+
_ as useActiveDoc,
|
|
30
|
+
I as useAuthMenu,
|
|
31
|
+
S as useAuthkitAppsAuthPageInfo,
|
|
27
32
|
a as useAuthkitAuth,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
p as useAuthkitAuthModal,
|
|
34
|
+
C as useAuthkitCreateAndUpdate,
|
|
35
|
+
h as useAuthkitUsersProfile,
|
|
36
|
+
H as useBillingPlans,
|
|
37
|
+
T as useCommonCreateAndUpdate,
|
|
38
|
+
b as useDownloads,
|
|
39
|
+
Q as useInvoiceStatusOptions,
|
|
40
|
+
l as useLegalLinks,
|
|
35
41
|
c as useMessageNotifications,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
W as usePointsRechargeStatusOptions,
|
|
43
|
+
X as useRefundStatusOptions,
|
|
44
|
+
M as useRoutePermission,
|
|
45
|
+
B as useRouteSEO,
|
|
46
|
+
w as useSEO,
|
|
47
|
+
V as useSubscriptionCheckout,
|
|
48
|
+
R as useTableHandle,
|
|
49
|
+
v as useUploadCos,
|
|
50
|
+
G as useUserMenu,
|
|
51
|
+
F as withViewTransition
|
|
44
52
|
};
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-
|
|
2
|
-
import { C as r } from "./Clipboard-
|
|
3
|
-
import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-
|
|
1
|
+
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-qrcBDDQM.js";
|
|
2
|
+
import { C as r } from "./Clipboard-CdJtMvg6.js";
|
|
3
|
+
import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-B_MDdk4s.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|