@huyooo/ui 1.0.7 → 2.0.1
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-DCQH9IpU.js +2678 -0
- package/dist/{Contact-BWuVR9ho.js → Contact-C7ROEqe-.js} +9 -9
- package/dist/{CustomTable-BzGfaAVH.js → CustomTable-GgvDEidl.js} +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js +1531 -0
- package/dist/{LegalDocViewer-DM8FYBpf.js → LegalDocViewer-D_QUh0uf.js} +747 -748
- package/dist/MessageHandle-DKoySsCG.js +1233 -0
- package/dist/{MessageList-Ce-_LNTk.js → MessageList-HSiKkUoD.js} +4 -4
- package/dist/PaySubscriptions-NcATVJGm.js +1331 -0
- package/dist/{PricingPlans-CV97ck9p.js → PricingPlans-CZn6eJby.js} +99 -105
- package/dist/{ReferrerReferees-DgygiIiE.js → ReferrerReferees-BoOQIssE.js} +47 -46
- package/dist/Upload.vue_vue_type_script_setup_true_lang-CkS2S9Xc.js +83 -0
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-0Td42Nb3.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BrNx6JWe.js} +64 -65
- package/dist/WidthContainer-BJLdZfzF.js +717 -0
- package/dist/api/billingSubscriptionApi.d.ts +4 -1
- package/dist/apiClients-CR-hEwog.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/Feedback/FeedbackDetails.vue.d.ts +11 -0
- package/dist/components/Upload/Upload.vue.d.ts +7 -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 +8 -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-BnKWq_TL.js} +4 -4
- package/dist/{index-BkLvw1PU.js → index-BhVwozr0.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-DMCyhVcI.js} +2305 -2185
- package/dist/runtime.d.ts +22 -0
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +0 -10
- package/dist/upload/browserCosTransport.d.ts +22 -0
- package/dist/upload/browserUploadService.d.ts +21 -0
- package/dist/upload.d.ts +2 -1
- package/dist/upload.js +5 -4
- package/dist/{useAuthkitAppsAuthPageInfo-CNudJd04.js → useAuthkitAppsAuthPageInfo-Byu0yvrx.js} +18 -21
- package/dist/useAuthkitAuth-M2vTpEcb.js +272 -0
- package/dist/{useAuthkitCreateAndUpdate-BsINsI-E.js → useAuthkitCreateAndUpdate-D2_Bdazi.js} +1 -1
- package/dist/useAuthkitUsersProfile-DdUAENic.js +39 -0
- package/dist/useBillingStatusOptions-Jq6Wqfxb.js +61 -0
- package/dist/{useEnsureAuthenticated-DNkCCy_Y.js → useEnsureAuthenticated-Hel8hWLJ.js} +2 -2
- package/dist/{useLegalDocs-DQP_Yq6B.js → useLegalDocs-BOjqYRyQ.js} +25 -25
- package/dist/useMessageNotifications-AznFeFMD.js +80 -0
- package/dist/{useRoutePermission-CEiya9AM.js → useRoutePermission-BmUXTwQc.js} +2 -2
- package/dist/{useSEO-CDWxbk8B.js → useSEO-Chz4Zxuu.js} +89 -86
- package/dist/useSubscriptionCheckout-3ivcOcgC.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
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as r } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
|
|
2
|
+
import { g as u } from "./runtime-DMCyhVcI.js";
|
|
3
3
|
async function i(n) {
|
|
4
4
|
if (!n)
|
|
5
5
|
return null;
|
|
6
6
|
try {
|
|
7
|
-
const e = await fetch(`${
|
|
7
|
+
const e = await fetch(`${u().config.authPrefixUrl}/apps/authPageInfo`, {
|
|
8
8
|
method: "POST",
|
|
9
9
|
headers: {
|
|
10
10
|
"Content-Type": "application/json",
|
|
@@ -15,7 +15,7 @@ async function i(n) {
|
|
|
15
15
|
if (!e.ok)
|
|
16
16
|
return null;
|
|
17
17
|
const t = await e.json(), o = t == null ? void 0 : t.aboutUs;
|
|
18
|
-
return !o || typeof o != "object" ? null :
|
|
18
|
+
return !o || typeof o != "object" ? null : r(o);
|
|
19
19
|
} catch {
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import "./apiClients-
|
|
2
|
+
import "./apiClients-CR-hEwog.js";
|
|
3
3
|
import { defineComponent as X, ref as J, openBlock as K, createBlock as Q, unref as W } from "vue";
|
|
4
4
|
import { Message as Z } from "@arco-design/web-vue";
|
|
5
5
|
import { Icon as $ } from "@iconify/vue";
|
|
@@ -4,5 +4,5 @@ export interface ResolveLegalAppIdOptions {
|
|
|
4
4
|
query: Record<string, unknown>;
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
/** 解析法律文档所属租户 appId:显式参数 → 路由 query →
|
|
7
|
+
/** 解析法律文档所属租户 appId:显式参数 → 路由 query → Runtime */
|
|
8
8
|
export declare function resolveLegalAppId(options?: ResolveLegalAppIdOptions): string;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './composables';
|
|
2
|
-
export { setTheme,
|
|
2
|
+
export { setTheme, globalThemeRef, globalSEOConfig, setGlobalSEOConfig, type GlobalTheme, type CreateHuyoooUIOptions, type HuyoooUIConfig, type HuyoooUIEndpoints, } from './common/globalConfig';
|
|
3
|
+
export { createHuyoooUI, getHuyoooRuntime, useHuyoooRuntime, HUYOOO_RUNTIME_KEY, type HuyoooRuntime, } from './runtime';
|
|
3
4
|
export * from './authkit';
|
|
4
5
|
export * from './message';
|
|
5
6
|
export * from './feedback';
|
|
@@ -12,6 +13,6 @@ export * from './user';
|
|
|
12
13
|
export * from './download';
|
|
13
14
|
export * from './privateCom';
|
|
14
15
|
export { createHead, type CreateClientHeadOptions, } from './head';
|
|
15
|
-
export {
|
|
16
|
+
export { getApiClients, type ApiClients } from './utils/apiClients';
|
|
16
17
|
export { api, type LegacyApiRequestConfig, type LegacyApiResponse } from './utils/legacyApi';
|
|
17
|
-
export {
|
|
18
|
+
export { createApiMiddlewares, withAuthHandling, } from './utils/apiMiddlewares';
|