@huyooo/ui 1.0.7 → 2.0.0
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-rtYZcSAR.js +2677 -0
- package/dist/{Contact-BWuVR9ho.js → Contact-CcWf3UEZ.js} +9 -9
- package/dist/{CustomTable-BzGfaAVH.js → CustomTable-HDwqEcmB.js} +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DpOmbAg-.js +1491 -0
- package/dist/{LegalDocViewer-DM8FYBpf.js → LegalDocViewer-C0tsIbz9.js} +747 -748
- package/dist/MessageHandle-BUufez4S.js +1233 -0
- package/dist/{MessageList-Ce-_LNTk.js → MessageList-rttvPmxV.js} +4 -4
- package/dist/PaySubscriptions-p75aBnHm.js +1331 -0
- package/dist/{PricingPlans-CV97ck9p.js → PricingPlans-CQ0qk9Hb.js} +99 -105
- package/dist/{ReferrerReferees-DgygiIiE.js → ReferrerReferees-BU9IEQgz.js} +47 -46
- package/dist/Upload.vue_vue_type_script_setup_true_lang-bh0NFq9E.js +78 -0
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-0Td42Nb3.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DG4AuHiO.js} +64 -65
- package/dist/WidthContainer-DSE4QbW0.js +717 -0
- package/dist/api/billingSubscriptionApi.d.ts +4 -1
- package/dist/apiClients-Ctcq8NZs.js +245 -0
- package/dist/authkit.js +10 -10
- package/dist/common/globalConfig.d.ts +36 -18
- package/dist/common.js +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthCallback.vue.d.ts +2 -2
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +0 -5
- package/dist/components/Upload/Upload.vue.d.ts +6 -6
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +3 -0
- package/dist/composables/Billing/usePaymentReturn.d.ts +1 -0
- package/dist/composables/uploadFeedbackAttachment.d.ts +2 -1
- package/dist/composables/useMessageList.d.ts +2 -1
- package/dist/composables.d.ts +2 -2
- package/dist/composables.js +46 -46
- package/dist/feedback.js +2 -2
- package/dist/{fetchAuthPageAboutUs-dzTSwRsB.js → fetchAuthPageAboutUs-DiCqMUX3.js} +4 -4
- package/dist/{index-BkLvw1PU.js → index-Cn6LcfZO.js} +1 -1
- package/dist/legalDocs/resolveAppId.d.ts +1 -1
- package/dist/main.d.ts +4 -3
- package/dist/main.js +464 -469
- package/dist/message.js +53 -52
- package/dist/pay.js +4 -4
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/{useUploadCos-C8BqFPkx.js → runtime-BzCSCUNv.js} +2712 -2609
- package/dist/runtime.d.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +0 -10
- package/dist/upload/browserCosTransport.d.ts +25 -0
- package/dist/upload/browserUploadService.d.ts +20 -0
- package/dist/upload.d.ts +2 -1
- package/dist/upload.js +5 -4
- package/dist/{useAuthkitAppsAuthPageInfo-CNudJd04.js → useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js} +18 -21
- package/dist/useAuthkitAuth-BPTZUSkM.js +272 -0
- package/dist/{useAuthkitCreateAndUpdate-BsINsI-E.js → useAuthkitCreateAndUpdate-Bbv7vZZn.js} +1 -1
- package/dist/useAuthkitUsersProfile-CW_exa7E.js +39 -0
- package/dist/useBillingStatusOptions-Br-iL77Z.js +61 -0
- package/dist/{useEnsureAuthenticated-DNkCCy_Y.js → useEnsureAuthenticated-CncOvj2H.js} +2 -2
- package/dist/{useLegalDocs-DQP_Yq6B.js → useLegalDocs-D44qU_q0.js} +25 -25
- package/dist/useMessageNotifications-D9uikt21.js +80 -0
- package/dist/{useRoutePermission-CEiya9AM.js → useRoutePermission-BrQX7NTq.js} +2 -2
- package/dist/{useSEO-CDWxbk8B.js → useSEO-_TNouXE_.js} +89 -86
- package/dist/useSubscriptionCheckout-BDDCRxSs.js +353 -0
- package/dist/user.js +1 -1
- package/dist/utils/apiClients.d.ts +20 -12
- package/dist/utils/apiMiddlewares.d.ts +9 -23
- package/package.json +1 -1
- package/dist/AuthkitAppSetting-BN8-xgNq.js +0 -2674
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DrL_XBqf.js +0 -1481
- package/dist/MessageHandle-mEkCsv9e.js +0 -1173
- package/dist/PaySubscriptions-CXkEjqr2.js +0 -1326
- package/dist/Upload.vue_vue_type_script_setup_true_lang-VGh2V4o0.js +0 -76
- package/dist/WidthContainer-CFMQRsCy.js +0 -721
- package/dist/apiClients-BcXOLuYu.js +0 -272
- package/dist/composables/Upload/useUploadCos.d.ts +0 -12
- package/dist/useAuthkitAuth-3m0yW6uP.js +0 -267
- package/dist/useAuthkitUsersProfile-DJlMsftY.js +0 -40
- package/dist/useBillingStatusOptions-CfHQOFNw.js +0 -71
- package/dist/useMessageNotifications-CAphguOm.js +0 -75
- package/dist/useSubscriptionCheckout-d_M_rKRa.js +0 -368
- package/dist/utils/billingFetch.d.ts +0 -1
package/dist/message.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { r as L, D as q } from "./MessageHandle-
|
|
2
|
-
import { _ as
|
|
1
|
+
import { r as L, D as q } from "./MessageHandle-BUufez4S.js";
|
|
2
|
+
import { _ as Ne, C as De, a as Be, b as Ae, E as Ie, c as Te, M as Le, N as Pe, d as $e, e as qe, f as Se, h as Ee, l as He, g as Ve } from "./MessageHandle-BUufez4S.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { M as Ke } from "./MessageList-
|
|
5
|
-
import { h as
|
|
4
|
+
import { M as Ke } from "./MessageList-rttvPmxV.js";
|
|
5
|
+
import { h as N, defineComponent as m, computed as d, openBlock as r, createBlock as g, unref as v, withCtx as S, resolveDynamicComponent as E, createElementBlock as l, toDisplayString as y, Fragment as h, renderList as D, createCommentVNode as b, ref as M, normalizeClass as H, createElementVNode as k } from "vue";
|
|
6
6
|
import { Tag as V, Descriptions as F } from "@arco-design/web-vue";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import { useRouter as K } from "vue-router";
|
|
10
10
|
import { I as je } from "./userMenuModal-D-nDaYqM.js";
|
|
11
11
|
import { Icon as $ } from "@iconify/vue";
|
|
12
|
-
import {
|
|
13
|
-
import { u as ze } from "./useMessageNotifications-
|
|
14
|
-
function
|
|
12
|
+
import { g as O } from "./apiClients-Ctcq8NZs.js";
|
|
13
|
+
import { u as ze } from "./useMessageNotifications-D9uikt21.js";
|
|
14
|
+
function C(e) {
|
|
15
15
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
16
16
|
}
|
|
17
17
|
function j(e) {
|
|
18
|
-
return
|
|
18
|
+
return C(e) ? e.color === void 0 || typeof e.color == "string" : !1;
|
|
19
19
|
}
|
|
20
20
|
function w(e) {
|
|
21
|
-
return
|
|
21
|
+
return C(e) ? typeof e.href == "string" && (e.target === void 0 || typeof e.target == "string") : !1;
|
|
22
22
|
}
|
|
23
23
|
function z(e) {
|
|
24
|
-
return !
|
|
24
|
+
return !C(e) || typeof e.type != "string" || typeof e.text != "string" ? !1 : e.type === "text" ? !0 : e.type === "tag" ? e.tagProps === void 0 || j(e.tagProps) : e.type === "link" ? w(e.linkProps) : !1;
|
|
25
25
|
}
|
|
26
26
|
function J(e) {
|
|
27
|
-
return
|
|
27
|
+
return C(e) ? typeof e.key == "string" && typeof e.label == "string" && z(e.value) : !1;
|
|
28
28
|
}
|
|
29
29
|
function R(e) {
|
|
30
30
|
const t = Array.isArray(e.items) ? e.items.filter(J) : [];
|
|
@@ -36,18 +36,18 @@ function R(e) {
|
|
|
36
36
|
function W(e) {
|
|
37
37
|
var t;
|
|
38
38
|
if (e.type === "tag")
|
|
39
|
-
return
|
|
39
|
+
return N(V, {
|
|
40
40
|
color: ((t = e.tagProps) == null ? void 0 : t.color) ?? "gray"
|
|
41
41
|
}, () => e.text);
|
|
42
42
|
if (e.type === "link") {
|
|
43
|
-
const
|
|
44
|
-
return
|
|
43
|
+
const n = e.linkProps.target ?? "_blank";
|
|
44
|
+
return N("a", {
|
|
45
45
|
href: e.linkProps.href,
|
|
46
|
-
target:
|
|
47
|
-
rel:
|
|
46
|
+
target: n,
|
|
47
|
+
rel: n === "_blank" ? "noopener noreferrer" : void 0
|
|
48
48
|
}, e.text);
|
|
49
49
|
}
|
|
50
|
-
return
|
|
50
|
+
return N("span", e.text);
|
|
51
51
|
}
|
|
52
52
|
const G = {
|
|
53
53
|
key: 1,
|
|
@@ -61,14 +61,14 @@ const G = {
|
|
|
61
61
|
type: {}
|
|
62
62
|
},
|
|
63
63
|
setup(e) {
|
|
64
|
-
const t = e,
|
|
64
|
+
const t = e, n = d(() => R(t.data)), o = d(() => n.value.title), i = d(() => n.value.items), a = d(() => {
|
|
65
65
|
try {
|
|
66
66
|
return JSON.stringify(t.data, null, 2);
|
|
67
67
|
} catch {
|
|
68
68
|
return String(t.data);
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
|
-
return (c,
|
|
71
|
+
return (c, s) => i.value.length > 0 ? (r(), g(v(F), {
|
|
72
72
|
key: 0,
|
|
73
73
|
class: "descriptions-message-body",
|
|
74
74
|
title: o.value,
|
|
@@ -94,11 +94,11 @@ function X(e) {
|
|
|
94
94
|
label: a || "点击查看详情"
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
const
|
|
98
|
-
if (
|
|
97
|
+
const n = typeof e.linkHref == "string" ? e.linkHref.trim() : "";
|
|
98
|
+
if (n) {
|
|
99
99
|
const o = typeof e.linkLabel == "string" ? e.linkLabel.trim() : "点击查看详情";
|
|
100
100
|
return {
|
|
101
|
-
href:
|
|
101
|
+
href: n,
|
|
102
102
|
label: o || "点击查看详情"
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -121,16 +121,16 @@ const ee = {
|
|
|
121
121
|
type: {}
|
|
122
122
|
},
|
|
123
123
|
setup(e) {
|
|
124
|
-
const t = e,
|
|
125
|
-
var
|
|
126
|
-
return typeof t.data.text == "string" ? t.data.text : ((
|
|
124
|
+
const t = e, n = K(), o = d(() => {
|
|
125
|
+
var s;
|
|
126
|
+
return typeof t.data.text == "string" ? t.data.text : ((s = t.description) == null ? void 0 : s.trim()) || "";
|
|
127
127
|
}), i = d(() => Y(o.value)), a = d(() => X(t.data));
|
|
128
|
-
function c(
|
|
128
|
+
function c(s) {
|
|
129
129
|
var u;
|
|
130
130
|
const p = (u = a.value) == null ? void 0 : u.href;
|
|
131
|
-
!p || Z(p) || (
|
|
131
|
+
!p || Z(p) || (s.preventDefault(), n.push(p));
|
|
132
132
|
}
|
|
133
|
-
return (
|
|
133
|
+
return (s, p) => (r(), l("div", ee, [(r(!0), l(h, null, D(i.value, (u, _) => (r(), l("p", {
|
|
134
134
|
key: _,
|
|
135
135
|
class: "text-message-body__paragraph"
|
|
136
136
|
}, y(u), 1))), 128)), a.value ? (r(), l("a", {
|
|
@@ -169,18 +169,18 @@ const oe = /* @__PURE__ */ m({
|
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
setup(e) {
|
|
172
|
-
const t = e,
|
|
172
|
+
const t = e, n = M(!1);
|
|
173
173
|
function o() {
|
|
174
|
-
|
|
174
|
+
n.value = !0;
|
|
175
175
|
}
|
|
176
176
|
function i() {
|
|
177
|
-
|
|
177
|
+
n.value = !1;
|
|
178
178
|
}
|
|
179
179
|
return (a, c) => t.hidden ? b("", !0) : (r(), l("div", {
|
|
180
180
|
key: 0,
|
|
181
181
|
class: H(["List", {
|
|
182
182
|
Active: t.active,
|
|
183
|
-
Hover:
|
|
183
|
+
Hover: n.value && !t.active
|
|
184
184
|
}]),
|
|
185
185
|
onMouseover: o,
|
|
186
186
|
onMouseout: i
|
|
@@ -214,21 +214,21 @@ const oe = /* @__PURE__ */ m({
|
|
|
214
214
|
setup(e, {
|
|
215
215
|
emit: t
|
|
216
216
|
}) {
|
|
217
|
-
const
|
|
217
|
+
const n = e, o = t;
|
|
218
218
|
function i(a, c) {
|
|
219
219
|
o("change", a, c);
|
|
220
220
|
}
|
|
221
|
-
return (a, c) => (r(), l("div", ie, [(r(!0), l(h, null, D(
|
|
221
|
+
return (a, c) => (r(), l("div", ie, [(r(!0), l(h, null, D(n.menus, (s, p) => {
|
|
222
222
|
var u, _, B;
|
|
223
223
|
return r(), l("div", {
|
|
224
224
|
key: p
|
|
225
|
-
}, [
|
|
225
|
+
}, [s.children && s.children.length !== 0 ? (r(), l(h, {
|
|
226
226
|
key: 0
|
|
227
|
-
}, [k("span", ae, [(u =
|
|
227
|
+
}, [k("span", ae, [(u = s == null ? void 0 : s.meta) != null && u.icon ? (r(), g(v($), {
|
|
228
228
|
key: 0,
|
|
229
229
|
class: "icon",
|
|
230
|
-
icon:
|
|
231
|
-
}, null, 8, ["icon"])) : b("", !0), k("span", ce, y(
|
|
230
|
+
icon: s.meta.icon
|
|
231
|
+
}, null, 8, ["icon"])) : b("", !0), k("span", ce, y(s.name), 1)]), k("span", le, [(r(!0), l(h, null, D(s.children, (f, A) => {
|
|
232
232
|
var I, T;
|
|
233
233
|
return r(), g(P, {
|
|
234
234
|
key: A,
|
|
@@ -236,17 +236,17 @@ const oe = /* @__PURE__ */ m({
|
|
|
236
236
|
path: f.path,
|
|
237
237
|
icon: (T = f.meta) == null ? void 0 : T.icon,
|
|
238
238
|
name: f.name,
|
|
239
|
-
active:
|
|
239
|
+
active: n.selectedKeys.includes(f.path),
|
|
240
240
|
onClick: (ue) => i(f, A)
|
|
241
241
|
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
|
|
242
242
|
}), 128))])], 64)) : (r(), g(P, {
|
|
243
243
|
key: 1,
|
|
244
|
-
hidden: ((_ =
|
|
245
|
-
path:
|
|
246
|
-
icon: (B =
|
|
247
|
-
name:
|
|
248
|
-
active:
|
|
249
|
-
onClick: (f) => i(
|
|
244
|
+
hidden: ((_ = s.meta) == null ? void 0 : _.hidden) || !1,
|
|
245
|
+
path: s.path,
|
|
246
|
+
icon: (B = s.meta) == null ? void 0 : B.icon,
|
|
247
|
+
name: s.name,
|
|
248
|
+
active: n.selectedKeys.includes(s.path),
|
|
249
|
+
onClick: (f) => i(s, p)
|
|
250
250
|
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
|
|
251
251
|
}), 128))]));
|
|
252
252
|
}
|
|
@@ -259,18 +259,19 @@ const oe = /* @__PURE__ */ m({
|
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
261
|
setup(e) {
|
|
262
|
-
const t = M(!1),
|
|
262
|
+
const t = M(!1), n = M(null), o = M(""), i = e;
|
|
263
263
|
async function a() {
|
|
264
264
|
t.value = !0;
|
|
265
265
|
const {
|
|
266
|
-
data: c
|
|
267
|
-
|
|
266
|
+
data: c,
|
|
267
|
+
error: s
|
|
268
|
+
} = await O().ones.messageCenter.noticeNotifications.findOne.post({
|
|
268
269
|
id: i.id
|
|
269
270
|
});
|
|
270
|
-
t.value = !1, c && (
|
|
271
|
+
t.value = !1, !s && c && (n.value = c.content, o.value = c.title);
|
|
271
272
|
}
|
|
272
|
-
return a(), (c,
|
|
273
|
-
content:
|
|
273
|
+
return a(), (c, s) => (r(), g(q, {
|
|
274
|
+
content: n.value,
|
|
274
275
|
title: o.value,
|
|
275
276
|
loading: t.value
|
|
276
277
|
}, null, 8, ["content", "title", "loading"]));
|
|
@@ -279,7 +280,7 @@ const oe = /* @__PURE__ */ m({
|
|
|
279
280
|
re();
|
|
280
281
|
export {
|
|
281
282
|
je as InfiniteLoading,
|
|
282
|
-
|
|
283
|
+
Ne as MessageAppMessage,
|
|
283
284
|
De as MessageChangelogNotifications,
|
|
284
285
|
Be as MessageChangelogNotificationsDetails,
|
|
285
286
|
Ae as MessageCustomTabs,
|
package/dist/pay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-
|
|
2
|
-
import { P as o, a as P, b as p, c as m, p as c, r as l } from "./PricingPlans-
|
|
3
|
-
import { u as y, a as S } from "./useSubscriptionCheckout-
|
|
4
|
-
import { c as b, u as f, a as v, b as x } from "./useBillingStatusOptions-
|
|
1
|
+
import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-p75aBnHm.js";
|
|
2
|
+
import { P as o, a as P, b as p, c as m, p as c, r as l } from "./PricingPlans-CQ0qk9Hb.js";
|
|
3
|
+
import { u as y, a as S } from "./useSubscriptionCheckout-BDDCRxSs.js";
|
|
4
|
+
import { c as b, u as f, a as v, b as x } from "./useBillingStatusOptions-Br-iL77Z.js";
|
|
5
5
|
export {
|
|
6
6
|
o as PAYMENT_RETURN_PATH,
|
|
7
7
|
e as PaySubscriptions,
|
package/dist/privateCom.js
CHANGED
package/dist/referrer.js
CHANGED