@huyooo/ui 4.0.2 → 4.0.5
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-Cg8j3nES.js → AuthkitAppSetting-B7xyx5Kb.js} +20 -17
- package/dist/{CustomTable-C15Dgbks.js → CustomTable-FlfUde4Q.js} +14 -14
- package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-Ddy1jcdL.js → FeedbackModal.vue_vue_type_script_setup_true_lang-BBmobezM.js} +9 -8
- package/dist/LandingPageLinkGroup-DBhikoiz.js +749 -0
- package/dist/{LandingPageSectionTabs-BJQeq3V5.js → LandingPageSectionTabs-BwStYRXA.js} +362 -366
- package/dist/{LegalDocViewer-BuzKCAfO.js → LegalDocViewer-BPbrJ2tj.js} +24 -21
- package/dist/{PaySubscriptions-ZSvRTG2i.js → PaySubscriptions-CPH1wESx.js} +22 -21
- package/dist/{PricingPlans-DTGJ-_us.js → PricingPlans-Cb2qrkmu.js} +3 -3
- package/dist/{ReferrerReferees-gkKtDau-.js → ReferrerReferees-B2OR30NV.js} +3 -3
- package/dist/Report-C5RbZNpM.js +317 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js → Upload.vue_vue_type_script_setup_true_lang-BygtAblQ.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DxvHvsQm.js} +6 -6
- package/dist/{WidthContainer-DXwIiG2x.js → WidthContainer-DtKLf5Ub.js} +10 -10
- package/dist/authkit.js +8 -8
- package/dist/common/globalConfig.d.ts +5 -5
- package/dist/common.js +2 -2
- package/dist/components/LandingPage/LandingPageContact.vue.d.ts +14 -1
- package/dist/components/LandingPage/LandingPageContactForm.vue.d.ts +3 -8
- package/dist/components/LandingPage/LandingPageFooterContact.vue.d.ts +23 -15
- package/dist/components/LandingPage/LandingPageLink.vue.d.ts +7 -2
- package/dist/components/LandingPage/LandingPageReportForm.vue.d.ts +4 -0
- package/dist/components/PrivateCom/Report.vue.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +14 -0
- package/dist/composables/Authkit/useLegalDocs.d.ts +1 -1
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +60 -54
- package/dist/feedback.js +2 -2
- package/dist/{fetchAuthPageAboutUs-C-jQ44QK.js → fetchAuthPageAboutUs-DD-MwyiG.js} +2 -2
- package/dist/{index-BIxwv9Xs.js → index-ClOjruo3.js} +1 -1
- package/dist/{index-5OR_BVTz.js → index-CncbUu-V.js} +1 -1
- package/dist/landingPage.d.ts +1 -0
- package/dist/landingPage.js +17 -16
- package/dist/legalDocs/buildBuiltinUrl.d.ts +1 -1
- package/dist/main.js +306 -298
- package/dist/pay.js +3 -3
- package/dist/privateCom.d.ts +1 -0
- package/dist/privateCom.js +3 -2
- package/dist/publicReport-ZlMy0xQf.js +32 -0
- package/dist/referrer.js +1 -1
- package/dist/{runtime-B-tHI8-q.js → runtime-CfbHkmk9.js} +25 -26
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +250 -43
- package/dist/types/api/ones.generated.d.ts +44 -0
- package/dist/types/app.d.ts +9 -0
- package/dist/upload.js +2 -2
- package/dist/{useAccessPosture-DBNTLWQn.js → useAccessPosture-NSPnmu0I.js} +33 -33
- package/dist/{useAuthkitAppsAuthPageInfo-CsivtUQH.js → useAuthkitAppsAuthPageInfo-Cg40bxCJ.js} +25 -23
- package/dist/{useAuthkitAuth-CV60Hc3o.js → useAuthkitAuth-C5oUnl8U.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CQOLEAxC.js → useAuthkitUsersProfile-BWNVk2UM.js} +1 -1
- package/dist/{useEnsureAuthenticated-BYGI2uYZ.js → useEnsureAuthenticated-CQWINiHB.js} +1 -1
- package/dist/useLegalDocs-ky2EzBke.js +114 -0
- package/dist/{usePageSEO-BHYaXnDU.js → usePageSEO-CWLQAmET.js} +1 -1
- package/dist/{useRoutePermission-BkWHsFxN.js → useRoutePermission-K-Eu4pRD.js} +3 -3
- package/dist/{useSubscriptionCheckout-QSNro05_.js → useSubscriptionCheckout-BcN8cRMV.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/utils/company.d.ts +2 -0
- package/dist/utils/publicFeedbackSubmit.d.ts +13 -0
- package/dist/utils/publicReport.d.ts +26 -0
- package/dist/utils/reportForm.d.ts +8 -0
- package/dist/utils/requiredFooterLinks.d.ts +11 -0
- package/package.json +1 -1
- package/dist/Contact-D9NRguTE.js +0 -222
- package/dist/LandingPageLinkGroup-B8ERKG5f.js +0 -527
- package/dist/useLegalDocs-BrYWCDh3.js +0 -107
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed as a, ref as p, onMounted as
|
|
2
|
-
import { useRouter as
|
|
3
|
-
import { u as y } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as A } from "./useAuthkitAuth-
|
|
1
|
+
import { computed as a, ref as p, onMounted as E } from "vue";
|
|
2
|
+
import { useRouter as $ } from "vue-router";
|
|
3
|
+
import { u as y } from "./useAuthkitAppsAuthPageInfo-Cg40bxCJ.js";
|
|
4
|
+
import { u as A } from "./useAuthkitAuth-C5oUnl8U.js";
|
|
5
5
|
import { g as h } from "./apiClients-5u4_uxFE.js";
|
|
6
|
-
function
|
|
6
|
+
function B(e, n = "default") {
|
|
7
7
|
const t = document;
|
|
8
8
|
if (t && typeof t.startViewTransition == "function") {
|
|
9
9
|
const r = document.body;
|
|
@@ -18,13 +18,13 @@ function $(e, n = "default") {
|
|
|
18
18
|
} else
|
|
19
19
|
e();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function M() {
|
|
22
22
|
const {
|
|
23
23
|
appsData: e,
|
|
24
24
|
appsAuthPageInfoSuccess: n
|
|
25
|
-
} = y(), t =
|
|
25
|
+
} = y(), t = $(), r = a(() => n.value), s = a(() => r.value && e.value.applicationLogoUrl || ""), o = a(() => r.value && e.value.name || "");
|
|
26
26
|
function f() {
|
|
27
|
-
|
|
27
|
+
B(() => {
|
|
28
28
|
t.push("/"), window.scrollTo({
|
|
29
29
|
top: 0,
|
|
30
30
|
behavior: "smooth"
|
|
@@ -43,18 +43,18 @@ let m = !1;
|
|
|
43
43
|
function v(e) {
|
|
44
44
|
return e === "development" || e === "enterprise" || e === "invite" || e === "public" ? e : null;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function T(e) {
|
|
47
47
|
var n;
|
|
48
48
|
return v(e.accessMode) || v((n = e.inviteAccess) == null ? void 0 : n.mode);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function j(e) {
|
|
51
51
|
var n;
|
|
52
52
|
return !(e.signUpEnabled === !1 || ((n = e.signUpAuth) == null ? void 0 : n.enabled) === !1);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function D(e) {
|
|
55
55
|
return typeof e != "object" || e === null || !("granted" in e) ? !1 : e.granted === !0;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function R(e) {
|
|
58
58
|
if (typeof e != "object" || e === null || !("application" in e))
|
|
59
59
|
return !1;
|
|
60
60
|
const n = e.application;
|
|
@@ -84,18 +84,18 @@ function L(e) {
|
|
|
84
84
|
secondaryLabel: null
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function C(e) {
|
|
88
88
|
return e === "development" ? "正在开发中" : e === "enterprise" ? "正在进行企业内测" : "正在邀请制内测中";
|
|
89
89
|
}
|
|
90
|
-
function
|
|
91
|
-
const t = n.brandName || "", r = L(n.signUpEnabled), s =
|
|
90
|
+
function F(e, n) {
|
|
91
|
+
const t = n.brandName || "", r = L(n.signUpEnabled), s = C(e), o = n.signUpEnabled ? `${s}。注册时填写邀请码即可开通;没有邀请码也可以先注册,再申请开通。` : `${s}。请使用已开通账号登录。`;
|
|
92
92
|
return {
|
|
93
93
|
note: l(t, o),
|
|
94
94
|
kind: "guest",
|
|
95
95
|
...r
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function V(e) {
|
|
99
99
|
return {
|
|
100
100
|
note: l(e, "你的账号尚未开通。申请开通通过后即可使用。"),
|
|
101
101
|
kind: "waitlisted",
|
|
@@ -111,7 +111,7 @@ function w(e) {
|
|
|
111
111
|
secondaryLabel: null
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function I(e) {
|
|
115
115
|
const n = e.brandName || "";
|
|
116
116
|
return e.loggedIn && e.granted ? d() : e.loggedIn && e.applied ? w(n) : e.loggedIn ? {
|
|
117
117
|
note: l(n, "当前尚未对外开放。你可以申请开通,通过后即可使用。"),
|
|
@@ -125,10 +125,10 @@ function V(e) {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
function x(e, n) {
|
|
128
|
-
return n.loggedIn && n.granted
|
|
128
|
+
return n.loggedIn && n.granted ? d() : e ? e === "public" ? d() : n.loggedIn ? n.applied ? w(n.brandName || "") : V(n.brandName || "") : F(e, n) : I(n);
|
|
129
129
|
}
|
|
130
130
|
function z(e) {
|
|
131
|
-
c.value =
|
|
131
|
+
c.value = D(e), u.value = R(e);
|
|
132
132
|
}
|
|
133
133
|
async function G() {
|
|
134
134
|
const {
|
|
@@ -141,12 +141,12 @@ async function G() {
|
|
|
141
141
|
});
|
|
142
142
|
n || !e || z(e);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function P() {
|
|
145
145
|
c.value = !1, u.value = !1;
|
|
146
146
|
}
|
|
147
|
-
async function
|
|
147
|
+
async function k(e) {
|
|
148
148
|
if (!e) {
|
|
149
|
-
|
|
149
|
+
P(), i.value = !0;
|
|
150
150
|
return;
|
|
151
151
|
}
|
|
152
152
|
await G(), i.value = !0;
|
|
@@ -160,9 +160,9 @@ function H() {
|
|
|
160
160
|
onSignOut: n
|
|
161
161
|
} = A();
|
|
162
162
|
e(() => {
|
|
163
|
-
i.value = !1,
|
|
163
|
+
i.value = !1, k(!0);
|
|
164
164
|
}), n(() => {
|
|
165
|
-
|
|
165
|
+
P(), i.value = !0;
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
async function O() {
|
|
@@ -179,32 +179,32 @@ async function O() {
|
|
|
179
179
|
function Q() {
|
|
180
180
|
const {
|
|
181
181
|
brandName: e
|
|
182
|
-
} =
|
|
182
|
+
} = M(), {
|
|
183
183
|
jwtToken: n
|
|
184
184
|
} = A(), {
|
|
185
185
|
appsData: t,
|
|
186
186
|
appsAuthPageInfoSuccess: r,
|
|
187
187
|
appsAuthPageInfoFailed: s
|
|
188
188
|
} = y();
|
|
189
|
-
H(),
|
|
190
|
-
|
|
189
|
+
H(), E(() => {
|
|
190
|
+
k(!!n.value);
|
|
191
191
|
});
|
|
192
|
-
const o = a(() =>
|
|
192
|
+
const o = a(() => T(t.value)), f = a(() => j(t.value)), S = a(() => !!n.value), U = a(() => r.value || s.value), b = a(() => U.value && i.value), N = a(() => {
|
|
193
193
|
if (!b.value)
|
|
194
194
|
return null;
|
|
195
195
|
const g = {
|
|
196
196
|
brandName: e.value,
|
|
197
|
-
loggedIn:
|
|
197
|
+
loggedIn: S.value,
|
|
198
198
|
granted: c.value,
|
|
199
199
|
applied: u.value,
|
|
200
200
|
signUpEnabled: f.value
|
|
201
201
|
};
|
|
202
|
-
return s.value ?
|
|
202
|
+
return s.value ? I(g) : x(o.value, g);
|
|
203
203
|
});
|
|
204
204
|
return {
|
|
205
205
|
accessMode: o,
|
|
206
206
|
loaded: b,
|
|
207
|
-
posture:
|
|
207
|
+
posture: N,
|
|
208
208
|
granted: c,
|
|
209
209
|
applied: u,
|
|
210
210
|
applyWaitlist: O
|
|
@@ -213,7 +213,7 @@ function Q() {
|
|
|
213
213
|
export {
|
|
214
214
|
x as a,
|
|
215
215
|
O as b,
|
|
216
|
-
|
|
216
|
+
M as c,
|
|
217
217
|
Q as u,
|
|
218
|
-
|
|
218
|
+
B as w
|
|
219
219
|
};
|
package/dist/{useAuthkitAppsAuthPageInfo-CsivtUQH.js → useAuthkitAppsAuthPageInfo-Cg40bxCJ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as t } from "vue";
|
|
2
2
|
import { g as u } from "./apiClients-5u4_uxFE.js";
|
|
3
|
-
import { g as c } from "./runtime-
|
|
3
|
+
import { g as c } from "./runtime-CfbHkmk9.js";
|
|
4
4
|
function r() {
|
|
5
5
|
return {
|
|
6
6
|
type: "doc",
|
|
@@ -12,17 +12,17 @@ function r() {
|
|
|
12
12
|
function p(e) {
|
|
13
13
|
return e.type === "doc" && Array.isArray(e.content) && e.content.length > 0;
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function o(e) {
|
|
16
16
|
return typeof e == "string" || e == null ? r() : p(e) ? e : r();
|
|
17
17
|
}
|
|
18
18
|
function f(e) {
|
|
19
19
|
return {
|
|
20
|
-
personalInformationCollectionList:
|
|
21
|
-
thirdPartyInformationSharingList:
|
|
22
|
-
userServiceAgreement:
|
|
23
|
-
privacyPolicy:
|
|
24
|
-
licenseInformation:
|
|
25
|
-
complaintReportingRules:
|
|
20
|
+
personalInformationCollectionList: o(e.personalInformationCollectionList),
|
|
21
|
+
thirdPartyInformationSharingList: o(e.thirdPartyInformationSharingList),
|
|
22
|
+
userServiceAgreement: o(e.userServiceAgreement),
|
|
23
|
+
privacyPolicy: o(e.privacyPolicy),
|
|
24
|
+
licenseInformation: o(e.licenseInformation),
|
|
25
|
+
complaintReportingRules: o(e.complaintReportingRules)
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function g() {
|
|
@@ -36,7 +36,7 @@ function g() {
|
|
|
36
36
|
complaintReportingRules: e
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const n = t({
|
|
40
40
|
id: "",
|
|
41
41
|
name: "",
|
|
42
42
|
description: "",
|
|
@@ -94,13 +94,15 @@ const o = t({
|
|
|
94
94
|
backgroundImageUrl: "",
|
|
95
95
|
backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
|
|
96
96
|
},
|
|
97
|
-
socialLinks: []
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
socialLinks: [],
|
|
98
|
+
filings: [],
|
|
99
|
+
organizationName: ""
|
|
100
|
+
}), i = t(!1), a = t(!1), l = t(!1);
|
|
101
|
+
function m(e) {
|
|
102
|
+
n.value.id = e.id, n.value.name = e.name, n.value.description = e.description, n.value.homePageUrl = e.homePageUrl, n.value.applicationLogo = e.applicationLogo, n.value.applicationLogoUrl = e.applicationLogoUrl, n.value.publicRoutes = e.publicRoutes || [], n.value.oauth = e.oauth, n.value.authMethods = e.authMethods || n.value.authMethods, n.value.signUpAuth = e.signUpAuth, n.value.inviteAccess = e.inviteAccess, n.value.accessMode = e.accessMode, n.value.signUpEnabled = e.signUpEnabled, n.value.inviteOnly = e.inviteOnly, n.value.registrationTerms = e.registrationTerms, n.value.authorizationCallback = e.authorizationCallback, n.value.aboutUs = f(e.aboutUs), n.value.brand = e.brand, n.value.socialLinks = Array.isArray(e.socialLinks) ? e.socialLinks : [], n.value.filings = Array.isArray(e.filings) ? e.filings : [], n.value.organizationName = e.organizationName || "";
|
|
101
103
|
}
|
|
102
|
-
async function
|
|
103
|
-
|
|
104
|
+
async function h() {
|
|
105
|
+
i.value = !0, a.value = !1, l.value = !1;
|
|
104
106
|
const {
|
|
105
107
|
data: e,
|
|
106
108
|
error: s
|
|
@@ -110,25 +112,25 @@ async function m() {
|
|
|
110
112
|
silentError: !0
|
|
111
113
|
}
|
|
112
114
|
});
|
|
113
|
-
if (
|
|
115
|
+
if (i.value = !1, s || !e) {
|
|
114
116
|
l.value = !0;
|
|
115
117
|
return;
|
|
116
118
|
}
|
|
117
|
-
|
|
119
|
+
m(e), a.value = !0;
|
|
118
120
|
}
|
|
119
|
-
function
|
|
121
|
+
function b() {
|
|
120
122
|
async function e() {
|
|
121
|
-
|
|
123
|
+
a.value || i.value || await h();
|
|
122
124
|
}
|
|
123
125
|
return {
|
|
124
|
-
appsData:
|
|
126
|
+
appsData: n,
|
|
125
127
|
appsAuthPageInfoApi: e,
|
|
126
|
-
appsAuthPageInfoLoading:
|
|
127
|
-
appsAuthPageInfoSuccess:
|
|
128
|
+
appsAuthPageInfoLoading: i,
|
|
129
|
+
appsAuthPageInfoSuccess: a,
|
|
128
130
|
appsAuthPageInfoFailed: l
|
|
129
131
|
};
|
|
130
132
|
}
|
|
131
133
|
export {
|
|
132
134
|
f as n,
|
|
133
|
-
|
|
135
|
+
b as u
|
|
134
136
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as u, computed as m, nextTick as M, readonly as $ } from "vue";
|
|
2
2
|
import { o as D, g as f, r as G, s as R } from "./apiClients-5u4_uxFE.js";
|
|
3
|
-
import { u as K } from "./useAuthkitAppsAuthPageInfo-
|
|
3
|
+
import { u as K } from "./useAuthkitAppsAuthPageInfo-Cg40bxCJ.js";
|
|
4
4
|
const p = u(!1), g = u(!1);
|
|
5
5
|
let I;
|
|
6
6
|
const N = "请先阅读并同意用户协议与隐私政策", Y = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as a, computed as i } from "vue";
|
|
2
2
|
import { g as p } from "./apiClients-5u4_uxFE.js";
|
|
3
|
-
import { u as l } from "./useAuthkitAuth-
|
|
3
|
+
import { u as l } from "./useAuthkitAuth-C5oUnl8U.js";
|
|
4
4
|
const e = a(null), n = a(!1), u = a(!1), s = a(!1);
|
|
5
5
|
function v() {
|
|
6
6
|
s.value = !0;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { computed as f } from "vue";
|
|
2
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-Cg40bxCJ.js";
|
|
3
|
+
import { g as s } from "./runtime-CfbHkmk9.js";
|
|
4
|
+
const l = {
|
|
5
|
+
userServiceAgreement: "用户服务协议",
|
|
6
|
+
privacyPolicy: "隐私协议",
|
|
7
|
+
personalInformationCollectionList: "个人信息收集清单",
|
|
8
|
+
thirdPartyInformationSharingList: "第三方信息共享清单",
|
|
9
|
+
licenseInformation: "证照信息",
|
|
10
|
+
complaintReportingRules: "投诉举报处理规则"
|
|
11
|
+
}, b = Object.keys(l);
|
|
12
|
+
function A() {
|
|
13
|
+
var n;
|
|
14
|
+
try {
|
|
15
|
+
const e = (n = s().config.legalDocsBaseUrl) == null ? void 0 : n.replace(/\/$/, "");
|
|
16
|
+
if (e)
|
|
17
|
+
return e;
|
|
18
|
+
} catch {
|
|
19
|
+
}
|
|
20
|
+
return typeof window < "u" && /^https?:/i.test(window.location.origin) ? window.location.origin : "";
|
|
21
|
+
}
|
|
22
|
+
function g(n, e) {
|
|
23
|
+
const t = A(), u = "/AboutUsDetails", o = new URLSearchParams({
|
|
24
|
+
type: n,
|
|
25
|
+
appId: e
|
|
26
|
+
}), i = `${u}?${o.toString()}`;
|
|
27
|
+
return t ? `${t}${i}` : i;
|
|
28
|
+
}
|
|
29
|
+
function I(n) {
|
|
30
|
+
typeof window > "u" || window.open(n, "_blank", "noopener,noreferrer");
|
|
31
|
+
}
|
|
32
|
+
function p(n) {
|
|
33
|
+
I(n.url);
|
|
34
|
+
}
|
|
35
|
+
function h(n) {
|
|
36
|
+
var t, u, o;
|
|
37
|
+
if ((t = n == null ? void 0 : n.appId) != null && t.trim())
|
|
38
|
+
return n.appId.trim();
|
|
39
|
+
const e = (o = (u = n == null ? void 0 : n.route) == null ? void 0 : u.query) == null ? void 0 : o.appId;
|
|
40
|
+
return typeof e == "string" && e.trim() ? e.trim() : s().config.appId;
|
|
41
|
+
}
|
|
42
|
+
function v(n) {
|
|
43
|
+
if (!(n != null && n.content) || !Array.isArray(n.content) || n.content.length === 0)
|
|
44
|
+
return !1;
|
|
45
|
+
const e = n.content[0];
|
|
46
|
+
return !(n.content.length === 1 && typeof e == "object" && e !== null && "type" in e && e.type === "paragraph" && !("content" in e && Array.isArray(e.content) && e.content.length));
|
|
47
|
+
}
|
|
48
|
+
function w(n, e, t) {
|
|
49
|
+
var o;
|
|
50
|
+
const u = (o = e.aboutUs) == null ? void 0 : o[n];
|
|
51
|
+
if (v(u))
|
|
52
|
+
return {
|
|
53
|
+
key: n,
|
|
54
|
+
label: l[n],
|
|
55
|
+
url: g(n, t),
|
|
56
|
+
configured: !0
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function y(n) {
|
|
60
|
+
return {
|
|
61
|
+
...n,
|
|
62
|
+
open: () => p(n)
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function $(n) {
|
|
66
|
+
const {
|
|
67
|
+
appsData: e
|
|
68
|
+
} = D();
|
|
69
|
+
function t() {
|
|
70
|
+
return h({
|
|
71
|
+
route: n == null ? void 0 : n.route,
|
|
72
|
+
appId: n == null ? void 0 : n.appId
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function u(a) {
|
|
76
|
+
var r;
|
|
77
|
+
return w(a, {
|
|
78
|
+
aboutUs: (r = e.value) == null ? void 0 : r.aboutUs
|
|
79
|
+
}, t());
|
|
80
|
+
}
|
|
81
|
+
function o(a) {
|
|
82
|
+
const r = u(a), c = (r == null ? void 0 : r.url) || g(a, t());
|
|
83
|
+
return y({
|
|
84
|
+
key: a,
|
|
85
|
+
label: l[a],
|
|
86
|
+
url: c,
|
|
87
|
+
configured: !!r
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
const i = f(() => b.map(o)), m = f(() => i.value);
|
|
91
|
+
function d(a) {
|
|
92
|
+
const r = i.value.find((c) => c.key === a);
|
|
93
|
+
return r != null && r.configured ? r : void 0;
|
|
94
|
+
}
|
|
95
|
+
function L(a) {
|
|
96
|
+
p(o(a));
|
|
97
|
+
}
|
|
98
|
+
return {
|
|
99
|
+
all: i,
|
|
100
|
+
items: m,
|
|
101
|
+
getLink: d,
|
|
102
|
+
openLegalDoc: L
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
l as L,
|
|
107
|
+
b as a,
|
|
108
|
+
g as b,
|
|
109
|
+
w as c,
|
|
110
|
+
v as i,
|
|
111
|
+
p as o,
|
|
112
|
+
h as r,
|
|
113
|
+
$ as u
|
|
114
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./apiClients-5u4_uxFE.js";
|
|
2
2
|
import { Message as y } from "@arco-design/web-vue";
|
|
3
3
|
import { ref as a, computed as s, toValue as A } from "vue";
|
|
4
|
-
import { u as N } from "./runtime-
|
|
4
|
+
import { u as N } from "./runtime-CfbHkmk9.js";
|
|
5
5
|
import { useHead as g, useSeoMeta as w } from "@unhead/vue";
|
|
6
6
|
import { useRoute as E } from "vue-router";
|
|
7
7
|
function q(t) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as C, computed as M, watch as L } from "vue";
|
|
2
2
|
import { useRouter as S, useRoute as O } from "vue-router";
|
|
3
|
-
import { u as x } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as I } from "./useAuthkitUsersProfile-
|
|
5
|
-
import { g as W } from "./runtime-
|
|
3
|
+
import { u as x } from "./useAuthkitAppsAuthPageInfo-Cg40bxCJ.js";
|
|
4
|
+
import { u as I } from "./useAuthkitUsersProfile-BWNVk2UM.js";
|
|
5
|
+
import { g as W } from "./runtime-CfbHkmk9.js";
|
|
6
6
|
const R = C({
|
|
7
7
|
key: "",
|
|
8
8
|
name: ""
|
|
@@ -2,7 +2,7 @@ import { ref as v, computed as S } from "vue";
|
|
|
2
2
|
import { d as V } from "./useBillingStatusOptions-BHVLZhEB.js";
|
|
3
3
|
import { g as $ } from "./apiClients-5u4_uxFE.js";
|
|
4
4
|
import { Message as b } from "@arco-design/web-vue";
|
|
5
|
-
import { u as _ } from "./useEnsureAuthenticated-
|
|
5
|
+
import { u as _ } from "./useEnsureAuthenticated-CQWINiHB.js";
|
|
6
6
|
function D(e) {
|
|
7
7
|
var u;
|
|
8
8
|
const i = (u = e == null ? void 0 : e.metadata) == null ? void 0 : u.originalPrice;
|
package/dist/user.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { U as a, a as n, b as r, c as t, d as U, _ as u, e as i, f as M, g as o, h as m, i as I, j as c, k as d, l as b, m as f } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DxvHvsQm.js";
|
|
2
2
|
export {
|
|
3
3
|
a as UserAccountMenu,
|
|
4
4
|
n as UserAvatar,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** 落地页联系我们:写入 ones-server 反馈中心 */
|
|
2
|
+
export declare function submitPublicContact(body: {
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
message: string;
|
|
6
|
+
}): Promise<import('@vafast/api-client').ApiResponse<any>>;
|
|
7
|
+
/** 落地页违法不良信息举报:写入 ones-server 反馈中心 */
|
|
8
|
+
export declare function submitPublicReport(body: {
|
|
9
|
+
location: string;
|
|
10
|
+
occurredAt?: string;
|
|
11
|
+
detail: string;
|
|
12
|
+
contact?: string;
|
|
13
|
+
}): Promise<import('@vafast/api-client').ApiResponse<any>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** 公开投诉举报渠道:页脚与本站 /Report 共用,不以登录为前提 */
|
|
2
|
+
export declare const SUPPORT_EMAIL = "support@huyooo.com";
|
|
3
|
+
export declare const CYBER_REPORT_URL = "https://www.12377.cn/";
|
|
4
|
+
export declare const CYBER_REPORT_PHONE = "12377";
|
|
5
|
+
export declare const CYBER_REPORT_LABEL = "\u4E2D\u56FD\u4E92\u8054\u7F51\u8FDD\u6CD5\u548C\u4E0D\u826F\u4FE1\u606F\u4E3E\u62A5\u4E2D\u5FC3";
|
|
6
|
+
/** 当前站点站内路径,本地与各 ONES 站点都走自己的源,不跳官网 */
|
|
7
|
+
export declare const REPORT_PATH = "/Report";
|
|
8
|
+
export declare const COMPLAINT_MAIL_SUBJECT = "\u6295\u8BC9\u4E3E\u62A5";
|
|
9
|
+
export type ComplianceFooterLink = {
|
|
10
|
+
label: string;
|
|
11
|
+
href: string;
|
|
12
|
+
};
|
|
13
|
+
/** 生成投诉举报 mailto,邮件主题固定便于客服分拣 */
|
|
14
|
+
export declare function createComplaintMailto(email?: string): string;
|
|
15
|
+
/** 把举报表单拼进邮件正文 */
|
|
16
|
+
export declare function createComplaintMailtoWithBody(body: string, email?: string): string;
|
|
17
|
+
/** 公开举报表单正文,便于按规则核查 */
|
|
18
|
+
export declare function composeReportMailBody(input: {
|
|
19
|
+
location: string;
|
|
20
|
+
time: string;
|
|
21
|
+
detail: string;
|
|
22
|
+
contact: string;
|
|
23
|
+
}): string;
|
|
24
|
+
/** 页脚常驻公示:本站举报入口 + 12377 */
|
|
25
|
+
export declare function createComplianceFooterLinks(reportHref?: string): ComplianceFooterLink[];
|
|
26
|
+
export declare function isExternalComplianceHref(href: string): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function isReportEmail(value: string): boolean;
|
|
2
|
+
export declare function isReportMobile(value: string): boolean;
|
|
3
|
+
/** 选填:空值通过;填写则须是邮箱或 11 位大陆手机号 */
|
|
4
|
+
export declare function isOptionalEmailOrMobile(value: string): boolean;
|
|
5
|
+
/** datetime-local 的 value / max */
|
|
6
|
+
export declare function toDatetimeLocalValue(date: Date): string;
|
|
7
|
+
/** 把 datetime-local 转成邮件里可读的 `YYYY-MM-DD HH:mm` */
|
|
8
|
+
export declare function formatDatetimeLocalForDisplay(value: string): string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** 各站点页脚「公司」栏必备站内入口,与协议/举报表一起公示 */
|
|
2
|
+
export declare const REQUIRED_SITE_FOOTER_NAV: readonly [{
|
|
3
|
+
readonly label: "关于我们";
|
|
4
|
+
readonly href: "/Introduce";
|
|
5
|
+
}, {
|
|
6
|
+
readonly label: "联系我们";
|
|
7
|
+
readonly href: "/Contact";
|
|
8
|
+
}, {
|
|
9
|
+
readonly label: "博客";
|
|
10
|
+
readonly href: "/Blog";
|
|
11
|
+
}];
|