@huyooo/ui 3.0.2 → 4.0.2

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.
Files changed (64) hide show
  1. package/dist/{AuthkitAppSetting-DNUAV5I8.js → AuthkitAppSetting-Cg8j3nES.js} +41 -42
  2. package/dist/{Contact-CNLjyOCR.js → Contact-D9NRguTE.js} +4 -4
  3. package/dist/{CustomTable-B1KjkixL.js → CustomTable-C15Dgbks.js} +4 -4
  4. package/dist/{FeedbackItem-BP-SiJ2u.js → FeedbackItem-hnJ7YXdE.js} +1 -1
  5. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-Ddy1jcdL.js +1526 -0
  6. package/dist/{LandingPageSectionTabs-BEAnU8B0.js → LandingPageSectionTabs-BJQeq3V5.js} +515 -402
  7. package/dist/{LegalDocViewer-B8nGoL2n.js → LegalDocViewer-BuzKCAfO.js} +44 -45
  8. package/dist/{Menu-uCexrsKP.js → Menu-C6NA8hCs.js} +1 -1
  9. package/dist/{MessageHandle-BKMBtqZM.js → MessageHandle-Cu23QspL.js} +13 -14
  10. package/dist/{MessageList-BK4u5DCH.js → MessageList-DdDKl9wk.js} +6 -7
  11. package/dist/{PaySubscriptions-tJSQUmhE.js → PaySubscriptions-ZSvRTG2i.js} +14 -15
  12. package/dist/{PricingPlans-B3HVDVac.js → PricingPlans-DTGJ-_us.js} +13 -14
  13. package/dist/{ReferrerReferees-DEdEjkFH.js → ReferrerReferees-gkKtDau-.js} +25 -26
  14. package/dist/{Upload.vue_vue_type_script_setup_true_lang-CZjNlns_.js → Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js} +2 -2
  15. package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-Bal7vFj8.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BH6l-SKs.js} +34 -35
  16. package/dist/{WidthContainer-Ck7Cr5Wc.js → WidthContainer-DXwIiG2x.js} +32 -32
  17. package/dist/{apiClients-8_c5cDW5.js → apiClients-5u4_uxFE.js} +47 -48
  18. package/dist/authkit.js +10 -10
  19. package/dist/common/globalConfig.d.ts +4 -4
  20. package/dist/common.js +3 -3
  21. package/dist/components/LandingPage/LandingPageHero.vue.d.ts +22 -0
  22. package/dist/components/Pay/PricingPlans.vue.d.ts +1 -1
  23. package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +21 -0
  24. package/dist/composables/useAccessPosture.d.ts +31 -0
  25. package/dist/composables.d.ts +1 -0
  26. package/dist/composables.js +53 -49
  27. package/dist/feedback.js +3 -3
  28. package/dist/{fetchAuthPageAboutUs--dArFYk6.js → fetchAuthPageAboutUs-C-jQ44QK.js} +2 -2
  29. package/dist/{index-D9YtlhTa.js → index-5OR_BVTz.js} +4 -5
  30. package/dist/{index-D56hUMeD.js → index-BIxwv9Xs.js} +1 -1
  31. package/dist/landingPage.js +1 -1
  32. package/dist/legalDocs/constants.d.ts +1 -0
  33. package/dist/main.js +266 -262
  34. package/dist/message.js +36 -37
  35. package/dist/pay.js +5 -5
  36. package/dist/privateCom.js +1 -1
  37. package/dist/referrer.js +1 -1
  38. package/dist/{runtime-CDEl4QQl.js → runtime-B-tHI8-q.js} +191 -186
  39. package/dist/style.css +1 -1
  40. package/dist/types/api/auth.generated.d.ts +188 -37
  41. package/dist/types/api/ones.generated.d.ts +1512 -364
  42. package/dist/types/app.d.ts +9 -0
  43. package/dist/types/auth.d.ts +2 -1
  44. package/dist/upload.js +2 -2
  45. package/dist/useAccessPosture-DBNTLWQn.js +219 -0
  46. package/dist/{useAuthkitAppsAuthPageInfo-mv7hOnhi.js → useAuthkitAppsAuthPageInfo-CsivtUQH.js} +40 -33
  47. package/dist/{useAuthkitAuth-DSC6QSKm.js → useAuthkitAuth-CV60Hc3o.js} +2 -2
  48. package/dist/useAuthkitCreateAndUpdate-DJIn96EE.js +24 -0
  49. package/dist/{useAuthkitUsersProfile-DSd5VA3_.js → useAuthkitUsersProfile-CQOLEAxC.js} +3 -3
  50. package/dist/{useBillingStatusOptions-C8fwW-AI.js → useBillingStatusOptions-BHVLZhEB.js} +1 -1
  51. package/dist/{useBillingSubscriptionSummary-C2E3p68U.js → useBillingSubscriptionSummary-DakAVL-3.js} +1 -1
  52. package/dist/{useEnsureAuthenticated-COQKiCLk.js → useEnsureAuthenticated-BYGI2uYZ.js} +2 -2
  53. package/dist/{useLegalDocs-DUbab5R9.js → useLegalDocs-BrYWCDh3.js} +6 -5
  54. package/dist/{useMessageNotifications-BXimltcx.js → useMessageNotifications-Dcl8TXr-.js} +1 -1
  55. package/dist/{usePageSEO-D8CocvOJ.js → usePageSEO-BHYaXnDU.js} +12 -13
  56. package/dist/useRoutePermission-BkWHsFxN.js +212 -0
  57. package/dist/{useSubscriptionCheckout-LrwlCr84.js → useSubscriptionCheckout-QSNro05_.js} +17 -18
  58. package/dist/user.js +1 -1
  59. package/dist/{userMenuModal-D-nDaYqM.js → userMenuModal-B4m4CHlW.js} +1 -1
  60. package/package.json +1 -1
  61. package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DEuryJ4s.js +0 -1516
  62. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  63. package/dist/useAuthkitCreateAndUpdate-CYIcEuub.js +0 -25
  64. package/dist/useRoutePermission-DgQlbUBI.js +0 -249
@@ -43,6 +43,10 @@ export interface RegistrationTermsInfo {
43
43
  export interface SignUpAuthConfig {
44
44
  enabled: boolean;
45
45
  }
46
+ export type AppAccessMode = 'development' | 'enterprise' | 'invite' | 'public';
47
+ export interface AppInviteAccess {
48
+ mode: AppAccessMode;
49
+ }
46
50
  export interface AboutUsDoc {
47
51
  type: string;
48
52
  content: any[];
@@ -53,6 +57,7 @@ export interface AboutUs {
53
57
  userServiceAgreement: AboutUsDoc;
54
58
  privacyPolicy: AboutUsDoc;
55
59
  licenseInformation: AboutUsDoc;
60
+ complaintReportingRules: AboutUsDoc;
56
61
  }
57
62
  export interface Brand {
58
63
  theme: string;
@@ -82,6 +87,10 @@ export interface AppsData {
82
87
  oauth: OAuthConfig;
83
88
  authMethods: AuthMethodsConfig;
84
89
  signUpAuth?: SignUpAuthConfig;
90
+ inviteAccess?: AppInviteAccess;
91
+ accessMode?: AppAccessMode;
92
+ signUpEnabled?: boolean;
93
+ inviteOnly?: boolean;
85
94
  registrationTerms?: RegistrationTermsInfo;
86
95
  authorizationCallback: string;
87
96
  aboutUs: AboutUs;
@@ -23,5 +23,6 @@ export type AboutUsType = {
23
23
  userServiceAgreement: JSONContent;
24
24
  privacyPolicy: JSONContent;
25
25
  licenseInformation: JSONContent;
26
+ complaintReportingRules: JSONContent;
26
27
  };
27
- export type AboutUsTypes = 'personalInformationCollectionList' | 'thirdPartyInformationSharingList' | 'userServiceAgreement' | 'privacyPolicy' | 'licenseInformation';
28
+ export type AboutUsTypes = 'personalInformationCollectionList' | 'thirdPartyInformationSharingList' | 'userServiceAgreement' | 'privacyPolicy' | 'licenseInformation' | 'complaintReportingRules';
package/dist/upload.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-CZjNlns_.js";
2
- import { b as s, d as p } from "./runtime-CDEl4QQl.js";
1
+ import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-C6B5_Hjo.js";
2
+ import { b as s, d as p } from "./runtime-B-tHI8-q.js";
3
3
  export {
4
4
  o as Upload,
5
5
  s as createBrowserCosTransport,
@@ -0,0 +1,219 @@
1
+ import { computed as a, ref as p, onMounted as N } from "vue";
2
+ import { useRouter as E } from "vue-router";
3
+ import { u as y } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
4
+ import { u as A } from "./useAuthkitAuth-CV60Hc3o.js";
5
+ import { g as h } from "./apiClients-5u4_uxFE.js";
6
+ function $(e, n = "default") {
7
+ const t = document;
8
+ if (t && typeof t.startViewTransition == "function") {
9
+ const r = document.body;
10
+ r.classList.add(`vt-${n}`), t.startViewTransition(() => {
11
+ try {
12
+ e();
13
+ } catch {
14
+ }
15
+ }).finished.finally(() => {
16
+ r.classList.remove(`vt-${n}`);
17
+ });
18
+ } else
19
+ e();
20
+ }
21
+ function B() {
22
+ const {
23
+ appsData: e,
24
+ appsAuthPageInfoSuccess: n
25
+ } = y(), t = E(), r = a(() => n.value), s = a(() => r.value && e.value.applicationLogoUrl || ""), o = a(() => r.value && e.value.name || "");
26
+ function f() {
27
+ $(() => {
28
+ t.push("/"), window.scrollTo({
29
+ top: 0,
30
+ behavior: "smooth"
31
+ });
32
+ });
33
+ }
34
+ return {
35
+ brandReady: r,
36
+ brandLogoUrl: s,
37
+ brandName: o,
38
+ navigateToAppHome: f
39
+ };
40
+ }
41
+ const c = p(!1), u = p(!1), i = p(!1);
42
+ let m = !1;
43
+ function v(e) {
44
+ return e === "development" || e === "enterprise" || e === "invite" || e === "public" ? e : null;
45
+ }
46
+ function M(e) {
47
+ var n;
48
+ return v(e.accessMode) || v((n = e.inviteAccess) == null ? void 0 : n.mode);
49
+ }
50
+ function T(e) {
51
+ var n;
52
+ return !(e.signUpEnabled === !1 || ((n = e.signUpAuth) == null ? void 0 : n.enabled) === !1);
53
+ }
54
+ function j(e) {
55
+ return typeof e != "object" || e === null || !("granted" in e) ? !1 : e.granted === !0;
56
+ }
57
+ function D(e) {
58
+ if (typeof e != "object" || e === null || !("application" in e))
59
+ return !1;
60
+ const n = e.application;
61
+ return typeof n != "object" || n === null || !("submittedAt" in n) ? !1 : !!n.submittedAt;
62
+ }
63
+ function l(e, n) {
64
+ const t = e.trim();
65
+ if (!t)
66
+ return n;
67
+ const r = t.slice(-1);
68
+ return /[A-Za-z0-9]/.test(r) ? `${t} ${n}` : `${t}${n}`;
69
+ }
70
+ function d() {
71
+ return {
72
+ note: null,
73
+ kind: "enter",
74
+ primaryLabel: "进入应用",
75
+ secondaryLabel: null
76
+ };
77
+ }
78
+ function L(e) {
79
+ return e ? {
80
+ primaryLabel: "注册",
81
+ secondaryLabel: "登录"
82
+ } : {
83
+ primaryLabel: "登录",
84
+ secondaryLabel: null
85
+ };
86
+ }
87
+ function R(e) {
88
+ return e === "development" ? "正在开发中" : e === "enterprise" ? "正在进行企业内测" : "正在邀请制内测中";
89
+ }
90
+ function C(e, n) {
91
+ const t = n.brandName || "", r = L(n.signUpEnabled), s = R(e), o = n.signUpEnabled ? `${s}。注册时填写邀请码即可开通;没有邀请码也可以先注册,再申请开通。` : `${s}。请使用已开通账号登录。`;
92
+ return {
93
+ note: l(t, o),
94
+ kind: "guest",
95
+ ...r
96
+ };
97
+ }
98
+ function F(e) {
99
+ return {
100
+ note: l(e, "你的账号尚未开通。申请开通通过后即可使用。"),
101
+ kind: "waitlisted",
102
+ primaryLabel: "申请开通",
103
+ secondaryLabel: null
104
+ };
105
+ }
106
+ function w(e) {
107
+ return {
108
+ note: l(e, "已收到你的申请,开通后即可使用。"),
109
+ kind: "applied",
110
+ primaryLabel: "已提交申请",
111
+ secondaryLabel: null
112
+ };
113
+ }
114
+ function V(e) {
115
+ const n = e.brandName || "";
116
+ return e.loggedIn && e.granted ? d() : e.loggedIn && e.applied ? w(n) : e.loggedIn ? {
117
+ note: l(n, "当前尚未对外开放。你可以申请开通,通过后即可使用。"),
118
+ kind: "waitlisted",
119
+ primaryLabel: "申请开通",
120
+ secondaryLabel: null
121
+ } : {
122
+ note: l(n, e.signUpEnabled ? "当前尚未对外开放。你可以注册并申请开通,通过后即可使用。" : "当前尚未对外开放。请使用已开通账号登录。"),
123
+ kind: "guest",
124
+ ...L(e.signUpEnabled)
125
+ };
126
+ }
127
+ function x(e, n) {
128
+ return n.loggedIn && n.granted || !e || e === "public" ? d() : n.loggedIn ? n.applied ? w(n.brandName || "") : F(n.brandName || "") : C(e, n);
129
+ }
130
+ function z(e) {
131
+ c.value = j(e), u.value = D(e);
132
+ }
133
+ async function G() {
134
+ const {
135
+ data: e,
136
+ error: n
137
+ } = await h().auth.serviceAccess.status.post({
138
+ meta: {
139
+ silentError: !0
140
+ }
141
+ });
142
+ n || !e || z(e);
143
+ }
144
+ function I() {
145
+ c.value = !1, u.value = !1;
146
+ }
147
+ async function P(e) {
148
+ if (!e) {
149
+ I(), i.value = !0;
150
+ return;
151
+ }
152
+ await G(), i.value = !0;
153
+ }
154
+ function H() {
155
+ if (m)
156
+ return;
157
+ m = !0;
158
+ const {
159
+ onSignIn: e,
160
+ onSignOut: n
161
+ } = A();
162
+ e(() => {
163
+ i.value = !1, P(!0);
164
+ }), n(() => {
165
+ I(), i.value = !0;
166
+ });
167
+ }
168
+ async function O() {
169
+ const {
170
+ data: e,
171
+ error: n
172
+ } = await h().auth.serviceAccess.apply.post({});
173
+ return n || !e ? {
174
+ ok: !1
175
+ } : (u.value = !0, {
176
+ ok: !0
177
+ });
178
+ }
179
+ function Q() {
180
+ const {
181
+ brandName: e
182
+ } = B(), {
183
+ jwtToken: n
184
+ } = A(), {
185
+ appsData: t,
186
+ appsAuthPageInfoSuccess: r,
187
+ appsAuthPageInfoFailed: s
188
+ } = y();
189
+ H(), N(() => {
190
+ P(!!n.value);
191
+ });
192
+ const o = a(() => M(t.value)), f = a(() => T(t.value)), k = a(() => !!n.value), S = a(() => r.value || s.value), b = a(() => S.value && i.value), U = a(() => {
193
+ if (!b.value)
194
+ return null;
195
+ const g = {
196
+ brandName: e.value,
197
+ loggedIn: k.value,
198
+ granted: c.value,
199
+ applied: u.value,
200
+ signUpEnabled: f.value
201
+ };
202
+ return s.value ? V(g) : x(o.value, g);
203
+ });
204
+ return {
205
+ accessMode: o,
206
+ loaded: b,
207
+ posture: U,
208
+ granted: c,
209
+ applied: u,
210
+ applyWaitlist: O
211
+ };
212
+ }
213
+ export {
214
+ x as a,
215
+ O as b,
216
+ B as c,
217
+ Q as u,
218
+ $ as w
219
+ };
@@ -1,7 +1,7 @@
1
- import { ref as r } from "vue";
2
- import { g as s } from "./apiClients-8_c5cDW5.js";
3
- import { g as u } from "./runtime-CDEl4QQl.js";
4
- function t() {
1
+ import { ref as t } from "vue";
2
+ import { g as u } from "./apiClients-5u4_uxFE.js";
3
+ import { g as c } from "./runtime-B-tHI8-q.js";
4
+ function r() {
5
5
  return {
6
6
  type: "doc",
7
7
  content: [{
@@ -9,32 +9,34 @@ function t() {
9
9
  }]
10
10
  };
11
11
  }
12
- function c(e) {
12
+ function p(e) {
13
13
  return e.type === "doc" && Array.isArray(e.content) && e.content.length > 0;
14
14
  }
15
- function a(e) {
16
- return typeof e == "string" || e == null ? t() : c(e) ? e : t();
15
+ function n(e) {
16
+ return typeof e == "string" || e == null ? r() : p(e) ? e : r();
17
17
  }
18
- function p(e) {
18
+ function f(e) {
19
19
  return {
20
- personalInformationCollectionList: a(e.personalInformationCollectionList),
21
- thirdPartyInformationSharingList: a(e.thirdPartyInformationSharingList),
22
- userServiceAgreement: a(e.userServiceAgreement),
23
- privacyPolicy: a(e.privacyPolicy),
24
- licenseInformation: a(e.licenseInformation)
20
+ personalInformationCollectionList: n(e.personalInformationCollectionList),
21
+ thirdPartyInformationSharingList: n(e.thirdPartyInformationSharingList),
22
+ userServiceAgreement: n(e.userServiceAgreement),
23
+ privacyPolicy: n(e.privacyPolicy),
24
+ licenseInformation: n(e.licenseInformation),
25
+ complaintReportingRules: n(e.complaintReportingRules)
25
26
  };
26
27
  }
27
- function f() {
28
- const e = t();
28
+ function g() {
29
+ const e = r();
29
30
  return {
30
31
  personalInformationCollectionList: e,
31
32
  thirdPartyInformationSharingList: e,
32
33
  userServiceAgreement: e,
33
34
  privacyPolicy: e,
34
- licenseInformation: e
35
+ licenseInformation: e,
36
+ complaintReportingRules: e
35
37
  };
36
38
  }
37
- const o = r({
39
+ const o = t({
38
40
  id: "",
39
41
  name: "",
40
42
  description: "",
@@ -82,7 +84,7 @@ const o = r({
82
84
  }
83
85
  },
84
86
  authorizationCallback: "",
85
- aboutUs: f(),
87
+ aboutUs: g(),
86
88
  brand: {
87
89
  theme: "dark",
88
90
  logo: "",
@@ -93,35 +95,40 @@ const o = r({
93
95
  backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
94
96
  },
95
97
  socialLinks: []
96
- }), n = r(!1), i = r(!1);
97
- function g(e) {
98
- o.value.id = e.id, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.publicRoutes = e.publicRoutes || [], o.value.oauth = e.oauth, o.value.authMethods = e.authMethods || o.value.authMethods, o.value.signUpAuth = e.signUpAuth, o.value.registrationTerms = e.registrationTerms, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = p(e.aboutUs), o.value.brand = e.brand, o.value.socialLinks = Array.isArray(e.socialLinks) ? e.socialLinks : [];
98
+ }), a = t(!1), i = t(!1), l = t(!1);
99
+ function h(e) {
100
+ o.value.id = e.id, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.publicRoutes = e.publicRoutes || [], o.value.oauth = e.oauth, o.value.authMethods = e.authMethods || o.value.authMethods, o.value.signUpAuth = e.signUpAuth, o.value.inviteAccess = e.inviteAccess, o.value.accessMode = e.accessMode, o.value.signUpEnabled = e.signUpEnabled, o.value.inviteOnly = e.inviteOnly, o.value.registrationTerms = e.registrationTerms, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = f(e.aboutUs), o.value.brand = e.brand, o.value.socialLinks = Array.isArray(e.socialLinks) ? e.socialLinks : [];
99
101
  }
100
- async function h() {
101
- n.value = !0, i.value = !1;
102
+ async function m() {
103
+ a.value = !0, i.value = !1, l.value = !1;
102
104
  const {
103
105
  data: e,
104
- error: l
105
- } = await s().auth.apps.authPageInfo.post({
106
- clientKey: u().config.clientKey,
106
+ error: s
107
+ } = await u().auth.apps.authPageInfo.post({
108
+ clientKey: c().config.clientKey,
107
109
  meta: {
108
110
  silentError: !0
109
111
  }
110
112
  });
111
- n.value = !1, !(l || !e) && (g(e), i.value = !0);
113
+ if (a.value = !1, s || !e) {
114
+ l.value = !0;
115
+ return;
116
+ }
117
+ h(e), i.value = !0;
112
118
  }
113
- function v() {
119
+ function A() {
114
120
  async function e() {
115
- i.value || n.value || await h();
121
+ i.value || a.value || await m();
116
122
  }
117
123
  return {
118
124
  appsData: o,
119
125
  appsAuthPageInfoApi: e,
120
- appsAuthPageInfoLoading: n,
121
- appsAuthPageInfoSuccess: i
126
+ appsAuthPageInfoLoading: a,
127
+ appsAuthPageInfoSuccess: i,
128
+ appsAuthPageInfoFailed: l
122
129
  };
123
130
  }
124
131
  export {
125
- p as n,
126
- v as u
132
+ f as n,
133
+ A as u
127
134
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as u, computed as m, nextTick as M, readonly as $ } from "vue";
2
- import { o as D, g as f, r as G, s as R } from "./apiClients-8_c5cDW5.js";
3
- import { u as K } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
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-CsivtUQH.js";
4
4
  const p = u(!1), g = u(!1);
5
5
  let I;
6
6
  const N = "请先阅读并同意用户协议与隐私政策", Y = {
@@ -0,0 +1,24 @@
1
+ import "./apiClients-5u4_uxFE.js";
2
+ import { Message as r } from "@arco-design/web-vue";
3
+ import { ref as e } from "vue";
4
+ function d(n) {
5
+ const o = e(!1), a = e(), s = e(!1), c = e(""), t = e("");
6
+ function f(u) {
7
+ r.success(u), s.value = !1, o.value = !1, n("confirm");
8
+ }
9
+ function l() {
10
+ s.value = !1, n("cancel");
11
+ }
12
+ return {
13
+ loading: o,
14
+ formRef: a,
15
+ submitSuccess: f,
16
+ modelType: c,
17
+ changeType: t,
18
+ show: s,
19
+ handleCancel: l
20
+ };
21
+ }
22
+ export {
23
+ d as u
24
+ };
@@ -1,6 +1,6 @@
1
1
  import { ref as a, computed as i } from "vue";
2
- import { g as p } from "./apiClients-8_c5cDW5.js";
3
- import { u as l } from "./useAuthkitAuth-DSC6QSKm.js";
2
+ import { g as p } from "./apiClients-5u4_uxFE.js";
3
+ import { u as l } from "./useAuthkitAuth-CV60Hc3o.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;
@@ -40,7 +40,7 @@ async function g() {
40
40
  if (e.value = r, r.subscription) {
41
41
  const {
42
42
  useBillingSubscriptionSummary: c
43
- } = await import("./useBillingSubscriptionSummary-C2E3p68U.js");
43
+ } = await import("./useBillingSubscriptionSummary-DakAVL-3.js");
44
44
  c().hydrateFromProfile(r.subscription);
45
45
  }
46
46
  } else d(o == null ? void 0 : o.code) && (e.value = null, console.warn("认证已过期,清除认证状态"), f());
@@ -1,4 +1,4 @@
1
- import { g as s } from "./apiClients-8_c5cDW5.js";
1
+ import { g as s } from "./apiClients-5u4_uxFE.js";
2
2
  import { ref as c } from "vue";
3
3
  const v = {
4
4
  async productOptions() {
@@ -1,5 +1,5 @@
1
1
  import { ref as u, computed as t } from "vue";
2
- import { g as d } from "./apiClients-8_c5cDW5.js";
2
+ import { g as d } from "./apiClients-5u4_uxFE.js";
3
3
  function r() {
4
4
  return {
5
5
  syncedAt: "",
@@ -1,6 +1,6 @@
1
1
  import { computed as f } from "vue";
2
- import { u as r } from "./useAuthkitAuth-DSC6QSKm.js";
3
- import { u as d } from "./apiClients-8_c5cDW5.js";
2
+ import { u as r } from "./useAuthkitAuth-CV60Hc3o.js";
3
+ import { u as d } from "./apiClients-5u4_uxFE.js";
4
4
  const A = "jwtToken";
5
5
  let e = null, i = !1;
6
6
  async function h(n) {
@@ -1,12 +1,13 @@
1
1
  import { computed as f } from "vue";
2
- import { u as d } from "./useAuthkitAppsAuthPageInfo-mv7hOnhi.js";
3
- import { g as L } from "./runtime-CDEl4QQl.js";
2
+ import { u as d } from "./useAuthkitAppsAuthPageInfo-CsivtUQH.js";
3
+ import { g as L } from "./runtime-B-tHI8-q.js";
4
4
  const c = {
5
5
  userServiceAgreement: "用户服务协议",
6
6
  privacyPolicy: "隐私协议",
7
7
  personalInformationCollectionList: "个人信息收集清单",
8
8
  thirdPartyInformationSharingList: "第三方信息共享清单",
9
- licenseInformation: "证照信息"
9
+ licenseInformation: "证照信息",
10
+ complaintReportingRules: "投诉举报处理规则"
10
11
  }, b = Object.keys(c);
11
12
  function A(e) {
12
13
  typeof window > "u" || window.open(e, "_blank", "noopener,noreferrer");
@@ -51,7 +52,7 @@ function w(e) {
51
52
  open: () => l(e)
52
53
  };
53
54
  }
54
- function C(e) {
55
+ function R(e) {
55
56
  const {
56
57
  appsData: n
57
58
  } = d();
@@ -102,5 +103,5 @@ export {
102
103
  y as i,
103
104
  l as o,
104
105
  D as r,
105
- C as u
106
+ R as u
106
107
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as a, computed as y } from "vue";
2
- import { g as f } from "./apiClients-8_c5cDW5.js";
2
+ import { g as f } from "./apiClients-5u4_uxFE.js";
3
3
  function z() {
4
4
  const n = a(!0), d = a(""), i = a(!1), g = a(!1), o = a([]), t = a({
5
5
  total: 0,
@@ -1,11 +1,10 @@
1
- /* empty css */
2
- import "./apiClients-8_c5cDW5.js";
1
+ import "./apiClients-5u4_uxFE.js";
3
2
  import { Message as y } from "@arco-design/web-vue";
4
3
  import { ref as a, computed as s, toValue as A } from "vue";
5
- import { u as N } from "./runtime-CDEl4QQl.js";
4
+ import { u as N } from "./runtime-B-tHI8-q.js";
6
5
  import { useHead as g, useSeoMeta as w } from "@unhead/vue";
7
6
  import { useRoute as E } from "vue-router";
8
- function M(t) {
7
+ function q(t) {
9
8
  const e = a(!1), l = a(), n = a(!1), i = a(""), d = a("");
10
9
  function c(o) {
11
10
  y.success(o), n.value = !1, e.value = !1, t("confirm");
@@ -23,7 +22,7 @@ function M(t) {
23
22
  handleCancel: u
24
23
  };
25
24
  }
26
- function _(t) {
25
+ function M(t) {
27
26
  const e = a(t), l = a(!1), n = a(!1), i = a({
28
27
  total: 0,
29
28
  current: 1,
@@ -85,7 +84,7 @@ function _(t) {
85
84
  removeLoading: n
86
85
  };
87
86
  }
88
- function G() {
87
+ function _() {
89
88
  const {
90
89
  config: t
91
90
  } = N(), e = a([]), l = a(!1), n = a(""), i = a("");
@@ -156,7 +155,7 @@ function S(t) {
156
155
  twitterImage: s(() => e.value.image)
157
156
  });
158
157
  }
159
- function J(t) {
158
+ function G(t) {
160
159
  const e = E(), l = s(() => ({
161
160
  title: typeof e.meta.title == "string" ? e.meta.title : void 0,
162
161
  description: typeof e.meta.description == "string" ? e.meta.description : t.defaultDescription,
@@ -177,13 +176,13 @@ function J(t) {
177
176
  ogLocale: t.locale
178
177
  }), S(l);
179
178
  }
180
- function V(t) {
179
+ function J(t) {
181
180
  S(t);
182
181
  }
183
182
  export {
184
- M as a,
185
- G as b,
186
- V as c,
187
- _ as d,
188
- J as u
183
+ q as a,
184
+ _ as b,
185
+ J as c,
186
+ M as d,
187
+ G as u
189
188
  };