@huyooo/ui 2.2.2 → 2.2.4
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-BuaqfKEv.js → AuthkitAppSetting-ZopA9Gjq.js} +8 -8
- package/dist/{Contact-D-NTKkWc.js → Contact-BdBQ_FA4.js} +92 -89
- package/dist/{CustomTable-D9j5dgOH.js → CustomTable-B1KjkixL.js} +1 -1
- package/dist/{FeedbackModal.vue_vue_type_script_setup_true_lang-CsgTdQQG.js → FeedbackModal.vue_vue_type_script_setup_true_lang-C7vaGD4R.js} +5 -5
- package/dist/{LandingPageLinkGroup-C4iHX7Hz.js → LandingPageLinkGroup-B8ERKG5f.js} +63 -61
- package/dist/{LandingPageSectionTabs-Bl6X2W5W.js → LandingPageSectionTabs-BEAnU8B0.js} +1 -1
- package/dist/{LegalDocViewer-DLpvpTeA.js → LegalDocViewer-wbdoeWU9.js} +10 -10
- package/dist/{MessageHandle-BVqmtDDc.js → MessageHandle-BKMBtqZM.js} +3 -3
- package/dist/{MessageList-CCUlHX_0.js → MessageList-BK4u5DCH.js} +1 -1
- package/dist/{PaySubscriptions-CwjgkL21.js → PaySubscriptions-OZ6OFeQJ.js} +7 -7
- package/dist/{PricingPlans-CjLXF7is.js → PricingPlans-Wf4QkUIz.js} +4 -4
- package/dist/{ReferrerReferees-RKmCkAIi.js → ReferrerReferees-DNE-htF1.js} +4 -4
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-DX_PVh8A.js → Upload.vue_vue_type_script_setup_true_lang-DtciAodp.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-RMTlKkD-.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-ELHt9JGf.js} +10 -10
- package/dist/{WidthContainer-iRk3r61v.js → WidthContainer-PjmYnZwk.js} +10 -10
- package/dist/{apiClients-cJElwYYN.js → apiClients-8_c5cDW5.js} +4 -3
- package/dist/authkit.js +10 -10
- package/dist/common/globalConfig.d.ts +7 -7
- package/dist/common.js +2 -2
- package/dist/components/MenuItem.vue.d.ts +1 -1
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +14 -0
- package/dist/composables.js +13 -13
- package/dist/feedback.js +2 -2
- package/dist/{fetchAuthPageAboutUs-D-JEoE8N.js → fetchAuthPageAboutUs-D5w21LkF.js} +8 -10
- package/dist/{index-CHWVBunT.js → index-D9YtlhTa.js} +1 -1
- package/dist/landingPage.js +2 -2
- package/dist/main.js +33 -33
- package/dist/message.js +5 -5
- package/dist/pay.js +5 -5
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/{runtime-7yUdSOYv.js → runtime-B_xhJ3i8.js} +156 -151
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +203 -13
- package/dist/types/app.d.ts +9 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-2qQf2lJP.js → useAuthkitAppsAuthPageInfo-KHO1mJvF.js} +18 -17
- package/dist/{useAuthkitAuth-C6RUN1mU.js → useAuthkitAuth-C0fVP17l.js} +2 -2
- package/dist/{useAuthkitCreateAndUpdate-piFGtY-A.js → useAuthkitCreateAndUpdate-CYIcEuub.js} +1 -1
- package/dist/{useAuthkitUsersProfile-D_9ttX6H.js → useAuthkitUsersProfile-BvldvaRx.js} +3 -3
- package/dist/{useBillingStatusOptions-Bo1wYzgB.js → useBillingStatusOptions-C8fwW-AI.js} +1 -1
- package/dist/{useBillingSubscriptionSummary-BabqnJ7S.js → useBillingSubscriptionSummary-C2E3p68U.js} +1 -1
- package/dist/{useEnsureAuthenticated-NADE0UVJ.js → useEnsureAuthenticated-BdXJDqVv.js} +2 -2
- package/dist/{useLegalDocs-CfIjSyik.js → useLegalDocs-BCWvu1ft.js} +2 -2
- package/dist/{useMessageNotifications-SMRRA3Kl.js → useMessageNotifications-BXimltcx.js} +1 -1
- package/dist/{usePageSEO-qRI2bful.js → usePageSEO-D7eyLr8d.js} +2 -2
- package/dist/{useRoutePermission-CkCE6-C3.js → useRoutePermission-BuKMkOTK.js} +3 -3
- package/dist/{useSubscriptionCheckout-B1CyTY9V.js → useSubscriptionCheckout-BHI3y7Cx.js} +3 -3
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ export type Api = {
|
|
|
35
35
|
};
|
|
36
36
|
apps: {
|
|
37
37
|
allowedOrigins: {
|
|
38
|
-
/** 供微服务按 appId 获取
|
|
38
|
+
/** 供微服务按 appId 获取 appClients.allowedOrigins 并集(需 API Key 认证) */
|
|
39
39
|
post: {
|
|
40
40
|
body: {
|
|
41
41
|
appId: string;
|
|
@@ -178,7 +178,7 @@ export type Api = {
|
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
subscription: {
|
|
181
|
-
/** 供 billing-server
|
|
181
|
+
/** 供 billing-server 对齐用户订阅权益与可托管套餐角色(需要 API Key 认证) */
|
|
182
182
|
post: {
|
|
183
183
|
body: {
|
|
184
184
|
userId: string;
|
|
@@ -186,6 +186,8 @@ export type Api = {
|
|
|
186
186
|
subscriptionId?: string | null;
|
|
187
187
|
subscriptionStatus?: string | null;
|
|
188
188
|
entitlements?: Record<string, unknown>;
|
|
189
|
+
grantRoleId: string | null;
|
|
190
|
+
managedRoleIds: string[];
|
|
189
191
|
};
|
|
190
192
|
return: any;
|
|
191
193
|
};
|
|
@@ -262,7 +264,7 @@ export type Api = {
|
|
|
262
264
|
body: {
|
|
263
265
|
id: string;
|
|
264
266
|
roleId: string;
|
|
265
|
-
status: "normal" | "forbidden";
|
|
267
|
+
status: "normal" | "forbidden" | "pending";
|
|
266
268
|
};
|
|
267
269
|
return: any;
|
|
268
270
|
};
|
|
@@ -533,8 +535,11 @@ export type Api = {
|
|
|
533
535
|
};
|
|
534
536
|
};
|
|
535
537
|
authPageInfo: {
|
|
536
|
-
/**
|
|
538
|
+
/** 获取应用认证页面配置信息(必须指定 clientKey) */
|
|
537
539
|
post: {
|
|
540
|
+
body: {
|
|
541
|
+
clientKey: "web" | "desktop" | "ios" | "android";
|
|
542
|
+
};
|
|
538
543
|
return: any;
|
|
539
544
|
};
|
|
540
545
|
};
|
|
@@ -593,6 +598,18 @@ export type Api = {
|
|
|
593
598
|
return: any;
|
|
594
599
|
};
|
|
595
600
|
};
|
|
601
|
+
socialLink: {
|
|
602
|
+
/** 更新单个页脚社交平台配置 */
|
|
603
|
+
post: {
|
|
604
|
+
body: {
|
|
605
|
+
key: string;
|
|
606
|
+
enabled: boolean;
|
|
607
|
+
url?: string;
|
|
608
|
+
emailSource?: "organization" | "custom";
|
|
609
|
+
};
|
|
610
|
+
return: any;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
596
613
|
emailConfig: {
|
|
597
614
|
/** 更新应用邮件发送配置 */
|
|
598
615
|
post: {
|
|
@@ -728,7 +745,7 @@ export type Api = {
|
|
|
728
745
|
};
|
|
729
746
|
};
|
|
730
747
|
corsOrigins: {
|
|
731
|
-
/**
|
|
748
|
+
/** 已迁移至 /appClients/update,按 Client 配置 allowedOrigins */
|
|
732
749
|
post: {
|
|
733
750
|
body: {
|
|
734
751
|
allowedOrigins: string[];
|
|
@@ -846,7 +863,7 @@ export type Api = {
|
|
|
846
863
|
};
|
|
847
864
|
};
|
|
848
865
|
newUserDefaultsSettingsInfo: {
|
|
849
|
-
/**
|
|
866
|
+
/** 获取注册身份、无权益角色与积分奖励展示信息 */
|
|
850
867
|
post: {
|
|
851
868
|
return: any;
|
|
852
869
|
};
|
|
@@ -857,6 +874,12 @@ export type Api = {
|
|
|
857
874
|
return: any;
|
|
858
875
|
};
|
|
859
876
|
};
|
|
877
|
+
socialLinksInfo: {
|
|
878
|
+
/** 获取页脚社交平台配置卡片信息 */
|
|
879
|
+
post: {
|
|
880
|
+
return: any;
|
|
881
|
+
};
|
|
882
|
+
};
|
|
860
883
|
securitySettingsInfo: {
|
|
861
884
|
/** 获取域名白名单与会话策略展示信息 */
|
|
862
885
|
post: {
|
|
@@ -1697,6 +1720,80 @@ export type Api = {
|
|
|
1697
1720
|
};
|
|
1698
1721
|
};
|
|
1699
1722
|
};
|
|
1723
|
+
appClients: {
|
|
1724
|
+
create: {
|
|
1725
|
+
/** 在当前 App 下创建 Client(web/desktop/ios/android) */
|
|
1726
|
+
post: {
|
|
1727
|
+
body: {
|
|
1728
|
+
clientKey: "web" | "desktop" | "ios" | "android";
|
|
1729
|
+
name?: string;
|
|
1730
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
1731
|
+
authorizationCallback?: string;
|
|
1732
|
+
allowedOrigins?: string[];
|
|
1733
|
+
status?: "active" | "disabled";
|
|
1734
|
+
};
|
|
1735
|
+
return: any;
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
update: {
|
|
1739
|
+
/** 更新 Client 配置(回调、CORS、平台、状态) */
|
|
1740
|
+
post: {
|
|
1741
|
+
body: {
|
|
1742
|
+
id: string;
|
|
1743
|
+
name?: string;
|
|
1744
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
1745
|
+
authorizationCallback?: string;
|
|
1746
|
+
allowedOrigins?: string[];
|
|
1747
|
+
status?: "active" | "disabled";
|
|
1748
|
+
};
|
|
1749
|
+
return: any;
|
|
1750
|
+
};
|
|
1751
|
+
};
|
|
1752
|
+
delete: {
|
|
1753
|
+
/** 删除 Client(API Key 为 App 级,不随 Client 删除拦截) */
|
|
1754
|
+
post: {
|
|
1755
|
+
body: {
|
|
1756
|
+
id: string;
|
|
1757
|
+
};
|
|
1758
|
+
return: any;
|
|
1759
|
+
};
|
|
1760
|
+
};
|
|
1761
|
+
find: {
|
|
1762
|
+
/** 分页查询当前 App 的 Client */
|
|
1763
|
+
post: {
|
|
1764
|
+
body: {
|
|
1765
|
+
current: number;
|
|
1766
|
+
pageSize: number;
|
|
1767
|
+
where: {
|
|
1768
|
+
clientKey?: string;
|
|
1769
|
+
platform?: string;
|
|
1770
|
+
status?: string;
|
|
1771
|
+
keyword?: string;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
return: any;
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
findOne: {
|
|
1778
|
+
/** 按 id 或 clientKey 查询 Client */
|
|
1779
|
+
post: {
|
|
1780
|
+
body: {
|
|
1781
|
+
id?: string;
|
|
1782
|
+
clientKey?: "web" | "desktop" | "ios" | "android";
|
|
1783
|
+
};
|
|
1784
|
+
return: any;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
findAll: {
|
|
1788
|
+
/** 返回当前 App 全部 Client(下拉选项用) */
|
|
1789
|
+
post: {
|
|
1790
|
+
body: {
|
|
1791
|
+
status?: "active" | "disabled";
|
|
1792
|
+
};
|
|
1793
|
+
return: any;
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1700
1797
|
organizations: {
|
|
1701
1798
|
create: {
|
|
1702
1799
|
/** 创建新的组织 */
|
|
@@ -1921,6 +2018,8 @@ export type Api = {
|
|
|
1921
2018
|
endTime?: string;
|
|
1922
2019
|
clientIp?: string;
|
|
1923
2020
|
email?: string;
|
|
2021
|
+
clientKey?: string;
|
|
2022
|
+
platform?: string;
|
|
1924
2023
|
};
|
|
1925
2024
|
return: any;
|
|
1926
2025
|
};
|
|
@@ -1931,6 +2030,8 @@ export type Api = {
|
|
|
1931
2030
|
body: {
|
|
1932
2031
|
startTime?: string;
|
|
1933
2032
|
endTime?: string;
|
|
2033
|
+
clientKey?: string;
|
|
2034
|
+
platform?: string;
|
|
1934
2035
|
};
|
|
1935
2036
|
return: any;
|
|
1936
2037
|
};
|
|
@@ -2175,6 +2276,8 @@ export type Api = {
|
|
|
2175
2276
|
path?: string;
|
|
2176
2277
|
method?: string;
|
|
2177
2278
|
traceId?: string;
|
|
2279
|
+
clientKey?: string;
|
|
2280
|
+
platform?: string;
|
|
2178
2281
|
startTime?: string;
|
|
2179
2282
|
endTime?: string;
|
|
2180
2283
|
page?: number;
|
|
@@ -2189,6 +2292,8 @@ export type Api = {
|
|
|
2189
2292
|
body: {
|
|
2190
2293
|
startTime?: string;
|
|
2191
2294
|
endTime?: string;
|
|
2295
|
+
clientKey?: string;
|
|
2296
|
+
platform?: string;
|
|
2192
2297
|
};
|
|
2193
2298
|
return: any;
|
|
2194
2299
|
};
|
|
@@ -2272,6 +2377,8 @@ export type Api = {
|
|
|
2272
2377
|
body: {
|
|
2273
2378
|
startTime?: string;
|
|
2274
2379
|
endTime?: string;
|
|
2380
|
+
clientKey?: string;
|
|
2381
|
+
platform?: string;
|
|
2275
2382
|
};
|
|
2276
2383
|
return: any;
|
|
2277
2384
|
};
|
|
@@ -2405,7 +2512,7 @@ export interface ApiClient {
|
|
|
2405
2512
|
};
|
|
2406
2513
|
apps: {
|
|
2407
2514
|
allowedOrigins: {
|
|
2408
|
-
/** 供微服务按 appId 获取
|
|
2515
|
+
/** 供微服务按 appId 获取 appClients.allowedOrigins 并集(需 API Key 认证) */
|
|
2409
2516
|
post: (body: {
|
|
2410
2517
|
appId: string;
|
|
2411
2518
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -2509,13 +2616,15 @@ export interface ApiClient {
|
|
|
2509
2616
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2510
2617
|
};
|
|
2511
2618
|
subscription: {
|
|
2512
|
-
/** 供 billing-server
|
|
2619
|
+
/** 供 billing-server 对齐用户订阅权益与可托管套餐角色(需要 API Key 认证) */
|
|
2513
2620
|
post: (body: {
|
|
2514
2621
|
userId: string;
|
|
2515
2622
|
appId: string;
|
|
2516
2623
|
subscriptionId?: string | null;
|
|
2517
2624
|
subscriptionStatus?: string | null;
|
|
2518
2625
|
entitlements?: Record<string, unknown>;
|
|
2626
|
+
grantRoleId: string | null;
|
|
2627
|
+
managedRoleIds: string[];
|
|
2519
2628
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2520
2629
|
};
|
|
2521
2630
|
search: {
|
|
@@ -2571,7 +2680,7 @@ export interface ApiClient {
|
|
|
2571
2680
|
post: (body: {
|
|
2572
2681
|
id: string;
|
|
2573
2682
|
roleId: string;
|
|
2574
|
-
status: "normal" | "forbidden";
|
|
2683
|
+
status: "normal" | "forbidden" | "pending";
|
|
2575
2684
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2576
2685
|
phone: {
|
|
2577
2686
|
/** 管理员更新用户手机号 */
|
|
@@ -2767,8 +2876,10 @@ export interface ApiClient {
|
|
|
2767
2876
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2768
2877
|
};
|
|
2769
2878
|
authPageInfo: {
|
|
2770
|
-
/**
|
|
2771
|
-
post: (
|
|
2879
|
+
/** 获取应用认证页面配置信息(必须指定 clientKey) */
|
|
2880
|
+
post: (body: {
|
|
2881
|
+
clientKey: "web" | "desktop" | "ios" | "android";
|
|
2882
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2772
2883
|
};
|
|
2773
2884
|
create: {
|
|
2774
2885
|
/** 创建新应用 */
|
|
@@ -2810,6 +2921,15 @@ export interface ApiClient {
|
|
|
2810
2921
|
noAccessRoleId: string;
|
|
2811
2922
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2812
2923
|
};
|
|
2924
|
+
socialLink: {
|
|
2925
|
+
/** 更新单个页脚社交平台配置 */
|
|
2926
|
+
post: (body: {
|
|
2927
|
+
key: string;
|
|
2928
|
+
enabled: boolean;
|
|
2929
|
+
url?: string;
|
|
2930
|
+
emailSource?: "organization" | "custom";
|
|
2931
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2932
|
+
};
|
|
2813
2933
|
emailConfig: {
|
|
2814
2934
|
/** 更新应用邮件发送配置 */
|
|
2815
2935
|
post: (body?: {
|
|
@@ -2915,7 +3035,7 @@ export interface ApiClient {
|
|
|
2915
3035
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
2916
3036
|
};
|
|
2917
3037
|
corsOrigins: {
|
|
2918
|
-
/**
|
|
3038
|
+
/** 已迁移至 /appClients/update,按 Client 配置 allowedOrigins */
|
|
2919
3039
|
post: (body: {
|
|
2920
3040
|
allowedOrigins: string[];
|
|
2921
3041
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -3004,13 +3124,17 @@ export interface ApiClient {
|
|
|
3004
3124
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3005
3125
|
};
|
|
3006
3126
|
newUserDefaultsSettingsInfo: {
|
|
3007
|
-
/**
|
|
3127
|
+
/** 获取注册身份、无权益角色与积分奖励展示信息 */
|
|
3008
3128
|
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
3009
3129
|
};
|
|
3010
3130
|
brandSettingsInfo: {
|
|
3011
3131
|
/** 获取邮件与短信品牌设置信息 */
|
|
3012
3132
|
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
3013
3133
|
};
|
|
3134
|
+
socialLinksInfo: {
|
|
3135
|
+
/** 获取页脚社交平台配置卡片信息 */
|
|
3136
|
+
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
3137
|
+
};
|
|
3014
3138
|
securitySettingsInfo: {
|
|
3015
3139
|
/** 获取域名白名单与会话策略展示信息 */
|
|
3016
3140
|
post: (config?: RequestConfig) => RequestBuilder<any>;
|
|
@@ -3630,6 +3754,62 @@ export interface ApiClient {
|
|
|
3630
3754
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3631
3755
|
};
|
|
3632
3756
|
};
|
|
3757
|
+
appClients: {
|
|
3758
|
+
create: {
|
|
3759
|
+
/** 在当前 App 下创建 Client(web/desktop/ios/android) */
|
|
3760
|
+
post: (body: {
|
|
3761
|
+
clientKey: "web" | "desktop" | "ios" | "android";
|
|
3762
|
+
name?: string;
|
|
3763
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
3764
|
+
authorizationCallback?: string;
|
|
3765
|
+
allowedOrigins?: string[];
|
|
3766
|
+
status?: "active" | "disabled";
|
|
3767
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3768
|
+
};
|
|
3769
|
+
update: {
|
|
3770
|
+
/** 更新 Client 配置(回调、CORS、平台、状态) */
|
|
3771
|
+
post: (body: {
|
|
3772
|
+
id: string;
|
|
3773
|
+
name?: string;
|
|
3774
|
+
platforms?: ("browser" | "darwin" | "win32" | "linux" | "ios" | "android")[];
|
|
3775
|
+
authorizationCallback?: string;
|
|
3776
|
+
allowedOrigins?: string[];
|
|
3777
|
+
status?: "active" | "disabled";
|
|
3778
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3779
|
+
};
|
|
3780
|
+
delete: {
|
|
3781
|
+
/** 删除 Client(API Key 为 App 级,不随 Client 删除拦截) */
|
|
3782
|
+
post: (body: {
|
|
3783
|
+
id: string;
|
|
3784
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3785
|
+
};
|
|
3786
|
+
find: {
|
|
3787
|
+
/** 分页查询当前 App 的 Client */
|
|
3788
|
+
post: (body: {
|
|
3789
|
+
current: number;
|
|
3790
|
+
pageSize: number;
|
|
3791
|
+
where: {
|
|
3792
|
+
clientKey?: string;
|
|
3793
|
+
platform?: string;
|
|
3794
|
+
status?: string;
|
|
3795
|
+
keyword?: string;
|
|
3796
|
+
};
|
|
3797
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3798
|
+
};
|
|
3799
|
+
findOne: {
|
|
3800
|
+
/** 按 id 或 clientKey 查询 Client */
|
|
3801
|
+
post: (body?: {
|
|
3802
|
+
id?: string;
|
|
3803
|
+
clientKey?: "web" | "desktop" | "ios" | "android";
|
|
3804
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3805
|
+
};
|
|
3806
|
+
findAll: {
|
|
3807
|
+
/** 返回当前 App 全部 Client(下拉选项用) */
|
|
3808
|
+
post: (body?: {
|
|
3809
|
+
status?: "active" | "disabled";
|
|
3810
|
+
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3811
|
+
};
|
|
3812
|
+
};
|
|
3633
3813
|
organizations: {
|
|
3634
3814
|
create: {
|
|
3635
3815
|
/** 创建新的组织 */
|
|
@@ -3797,6 +3977,8 @@ export interface ApiClient {
|
|
|
3797
3977
|
endTime?: string;
|
|
3798
3978
|
clientIp?: string;
|
|
3799
3979
|
email?: string;
|
|
3980
|
+
clientKey?: string;
|
|
3981
|
+
platform?: string;
|
|
3800
3982
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3801
3983
|
};
|
|
3802
3984
|
stats: {
|
|
@@ -3804,6 +3986,8 @@ export interface ApiClient {
|
|
|
3804
3986
|
post: (body?: {
|
|
3805
3987
|
startTime?: string;
|
|
3806
3988
|
endTime?: string;
|
|
3989
|
+
clientKey?: string;
|
|
3990
|
+
platform?: string;
|
|
3807
3991
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
3808
3992
|
};
|
|
3809
3993
|
':id': {
|
|
@@ -3986,6 +4170,8 @@ export interface ApiClient {
|
|
|
3986
4170
|
path?: string;
|
|
3987
4171
|
method?: string;
|
|
3988
4172
|
traceId?: string;
|
|
4173
|
+
clientKey?: string;
|
|
4174
|
+
platform?: string;
|
|
3989
4175
|
startTime?: string;
|
|
3990
4176
|
endTime?: string;
|
|
3991
4177
|
page?: number;
|
|
@@ -3997,6 +4183,8 @@ export interface ApiClient {
|
|
|
3997
4183
|
post: (body?: {
|
|
3998
4184
|
startTime?: string;
|
|
3999
4185
|
endTime?: string;
|
|
4186
|
+
clientKey?: string;
|
|
4187
|
+
platform?: string;
|
|
4000
4188
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4001
4189
|
};
|
|
4002
4190
|
delete: {
|
|
@@ -4056,6 +4244,8 @@ export interface ApiClient {
|
|
|
4056
4244
|
post: (body?: {
|
|
4057
4245
|
startTime?: string;
|
|
4058
4246
|
endTime?: string;
|
|
4247
|
+
clientKey?: string;
|
|
4248
|
+
platform?: string;
|
|
4059
4249
|
}, config?: RequestConfig) => RequestBuilder<any>;
|
|
4060
4250
|
};
|
|
4061
4251
|
getDevTestConfig: {
|
package/dist/types/app.d.ts
CHANGED
|
@@ -59,6 +59,14 @@ export interface Brand {
|
|
|
59
59
|
backgroundImageUrl: string;
|
|
60
60
|
backgroundImage: string;
|
|
61
61
|
}
|
|
62
|
+
/** 页脚公开社交链接(authPageInfo 下发) */
|
|
63
|
+
export interface SocialLinkPublicItem {
|
|
64
|
+
key: string;
|
|
65
|
+
label: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
kind: 'email' | 'url';
|
|
68
|
+
url?: string;
|
|
69
|
+
}
|
|
62
70
|
export interface AppsData {
|
|
63
71
|
id: string;
|
|
64
72
|
name: string;
|
|
@@ -74,4 +82,5 @@ export interface AppsData {
|
|
|
74
82
|
authorizationCallback: string;
|
|
75
83
|
aboutUs: AboutUs;
|
|
76
84
|
brand: Brand;
|
|
85
|
+
socialLinks?: SocialLinkPublicItem[];
|
|
77
86
|
}
|
package/dist/upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { b as s, d as p } from "./runtime-
|
|
1
|
+
import { _ as o } from "./Upload.vue_vue_type_script_setup_true_lang-DtciAodp.js";
|
|
2
|
+
import { b as s, d as p } from "./runtime-B_xhJ3i8.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Upload,
|
|
5
5
|
s as createBrowserCosTransport,
|
package/dist/{useAuthkitAppsAuthPageInfo-2qQf2lJP.js → useAuthkitAppsAuthPageInfo-KHO1mJvF.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as r } from "vue";
|
|
2
|
-
import { g as
|
|
3
|
-
import { g as
|
|
4
|
-
function
|
|
2
|
+
import { g as s } from "./apiClients-8_c5cDW5.js";
|
|
3
|
+
import { g as u } from "./runtime-B_xhJ3i8.js";
|
|
4
|
+
function t() {
|
|
5
5
|
return {
|
|
6
6
|
type: "doc",
|
|
7
7
|
content: [{
|
|
@@ -9,13 +9,13 @@ function i() {
|
|
|
9
9
|
}]
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function c(e) {
|
|
13
13
|
return e.type === "doc" && Array.isArray(e.content) && e.content.length > 0;
|
|
14
14
|
}
|
|
15
15
|
function a(e) {
|
|
16
|
-
return typeof e == "string" || e == null ?
|
|
16
|
+
return typeof e == "string" || e == null ? t() : c(e) ? e : t();
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function p(e) {
|
|
19
19
|
return {
|
|
20
20
|
personalInformationCollectionList: a(e.personalInformationCollectionList),
|
|
21
21
|
thirdPartyInformationSharingList: a(e.thirdPartyInformationSharingList),
|
|
@@ -25,7 +25,7 @@ function c(e) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
function f() {
|
|
28
|
-
const e =
|
|
28
|
+
const e = t();
|
|
29
29
|
return {
|
|
30
30
|
personalInformationCollectionList: e,
|
|
31
31
|
thirdPartyInformationSharingList: e,
|
|
@@ -91,36 +91,37 @@ const o = r({
|
|
|
91
91
|
backgroundColor: "",
|
|
92
92
|
backgroundImageUrl: "",
|
|
93
93
|
backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
|
|
94
|
-
}
|
|
95
|
-
|
|
94
|
+
},
|
|
95
|
+
socialLinks: []
|
|
96
|
+
}), n = r(!1), i = r(!1);
|
|
96
97
|
function g(e) {
|
|
97
|
-
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 =
|
|
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
99
|
}
|
|
99
100
|
async function h() {
|
|
100
|
-
n.value = !0,
|
|
101
|
+
n.value = !0, i.value = !1;
|
|
101
102
|
const {
|
|
102
103
|
data: e,
|
|
103
104
|
error: l
|
|
104
|
-
} = await
|
|
105
|
-
clientKey:
|
|
105
|
+
} = await s().auth.apps.authPageInfo.post({
|
|
106
|
+
clientKey: u().config.clientKey,
|
|
106
107
|
meta: {
|
|
107
108
|
silentError: !0
|
|
108
109
|
}
|
|
109
110
|
});
|
|
110
|
-
n.value = !1, !(l || !e) && (g(e),
|
|
111
|
+
n.value = !1, !(l || !e) && (g(e), i.value = !0);
|
|
111
112
|
}
|
|
112
113
|
function v() {
|
|
113
114
|
async function e() {
|
|
114
|
-
|
|
115
|
+
i.value || n.value || await h();
|
|
115
116
|
}
|
|
116
117
|
return {
|
|
117
118
|
appsData: o,
|
|
118
119
|
appsAuthPageInfoApi: e,
|
|
119
120
|
appsAuthPageInfoLoading: n,
|
|
120
|
-
appsAuthPageInfoSuccess:
|
|
121
|
+
appsAuthPageInfoSuccess: i
|
|
121
122
|
};
|
|
122
123
|
}
|
|
123
124
|
export {
|
|
124
|
-
|
|
125
|
+
p as n,
|
|
125
126
|
v as u
|
|
126
127
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as u, computed as h, nextTick as _, readonly as x } from "vue";
|
|
2
|
-
import { o as M, g as m, r as $, s as F } from "./apiClients-
|
|
3
|
-
import { u as D } from "./useAuthkitAppsAuthPageInfo-
|
|
2
|
+
import { o as M, g as m, r as $, s as F } from "./apiClients-8_c5cDW5.js";
|
|
3
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-KHO1mJvF.js";
|
|
4
4
|
const g = u(!1), w = u(!1);
|
|
5
5
|
let I;
|
|
6
6
|
const G = "请先阅读并同意用户协议与隐私政策", K = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as a, computed as i } from "vue";
|
|
2
|
-
import { g as p } from "./apiClients-
|
|
3
|
-
import { u as l } from "./useAuthkitAuth-
|
|
2
|
+
import { g as p } from "./apiClients-8_c5cDW5.js";
|
|
3
|
+
import { u as l } from "./useAuthkitAuth-C0fVP17l.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-
|
|
43
|
+
} = await import("./useBillingSubscriptionSummary-C2E3p68U.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,6 +1,6 @@
|
|
|
1
1
|
import { computed as f } from "vue";
|
|
2
|
-
import { u as r } from "./useAuthkitAuth-
|
|
3
|
-
import { u as d } from "./apiClients-
|
|
2
|
+
import { u as r } from "./useAuthkitAuth-C0fVP17l.js";
|
|
3
|
+
import { u as d } from "./apiClients-8_c5cDW5.js";
|
|
4
4
|
const A = "jwtToken";
|
|
5
5
|
let e = null, i = !1;
|
|
6
6
|
async function h(n) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as f } from "vue";
|
|
2
|
-
import { u as d } from "./useAuthkitAppsAuthPageInfo-
|
|
3
|
-
import { g as L } from "./runtime-
|
|
2
|
+
import { u as d } from "./useAuthkitAppsAuthPageInfo-KHO1mJvF.js";
|
|
3
|
+
import { g as L } from "./runtime-B_xhJ3i8.js";
|
|
4
4
|
const c = {
|
|
5
5
|
userServiceAgreement: "用户服务协议",
|
|
6
6
|
privacyPolicy: "隐私协议",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import "./apiClients-
|
|
2
|
+
import "./apiClients-8_c5cDW5.js";
|
|
3
3
|
import { Message as y } from "@arco-design/web-vue";
|
|
4
4
|
import { ref as a, computed as s, toValue as A } from "vue";
|
|
5
|
-
import { u as N } from "./runtime-
|
|
5
|
+
import { u as N } from "./runtime-B_xhJ3i8.js";
|
|
6
6
|
import { useHead as g, useSeoMeta as w } from "@unhead/vue";
|
|
7
7
|
import { useRoute as E } from "vue-router";
|
|
8
8
|
function M(t) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as g, ref as L, watch as S } from "vue";
|
|
2
2
|
import { useRouter as w, useRoute as C } from "vue-router";
|
|
3
|
-
import { u as k } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as M } from "./useAuthkitUsersProfile-
|
|
5
|
-
import { u as K } from "./useAuthkitAuth-
|
|
3
|
+
import { u as k } from "./useAuthkitAppsAuthPageInfo-KHO1mJvF.js";
|
|
4
|
+
import { u as M } from "./useAuthkitUsersProfile-BvldvaRx.js";
|
|
5
|
+
import { u as K } from "./useAuthkitAuth-C0fVP17l.js";
|
|
6
6
|
function O(e, s = "default") {
|
|
7
7
|
const n = document;
|
|
8
8
|
if (n && typeof n.startViewTransition == "function") {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as v, computed as S } from "vue";
|
|
2
|
-
import { d as V } from "./useBillingStatusOptions-
|
|
3
|
-
import { g as $ } from "./apiClients-
|
|
2
|
+
import { d as V } from "./useBillingStatusOptions-C8fwW-AI.js";
|
|
3
|
+
import { g as $ } from "./apiClients-8_c5cDW5.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { Message as b } from "@arco-design/web-vue";
|
|
6
|
-
import { u as _ } from "./useEnsureAuthenticated-
|
|
6
|
+
import { u as _ } from "./useEnsureAuthenticated-BdXJDqVv.js";
|
|
7
7
|
function D(e) {
|
|
8
8
|
var u;
|
|
9
9
|
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-ELHt9JGf.js";
|
|
2
2
|
export {
|
|
3
3
|
a as UserAccountMenu,
|
|
4
4
|
n as UserAvatar,
|