@huyooo/ui 0.11.5 → 0.11.6
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-CSHkDxQT.js → AuthkitAppSetting-CjQiWZab.js} +5 -5
- package/dist/{Clipboard-CRZDADLE.js → Clipboard-ChMNfcO5.js} +1 -1
- package/dist/{Contact-Y0Yczmc9.js → Contact-Yqmjh47e.js} +2 -2
- package/dist/{FeedbackItem-D7MpOmoM.js → FeedbackItem-DHp_C0pN.js} +3 -3
- package/dist/{FeedbackModal-CvNF1D-5.js → FeedbackModal-Dzl0Alp7.js} +3 -3
- package/dist/{MessageHandle-B12koVQL.js → MessageHandle-BcRjYeVi.js} +2 -2
- package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DxDn6Ok8.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BOtgTje-.js} +2 -2
- package/dist/{PaySubscriptions-B8jAtG5n.js → PaySubscriptions-BsU0XmXf.js} +2 -2
- package/dist/{PricingPlans-CO26OcbJ.js → PricingPlans-BfVy4xU0.js} +1 -1
- package/dist/{ReferrerReferees-D_Iiw9wZ.js → ReferrerReferees-CHSoGrE1.js} +4 -4
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CbVSY_vt.js → Upload.vue_vue_type_script_setup_true_lang-CDWyo3RL.js} +1 -1
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DpVadjMH.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-B4tD8pIE.js} +8 -8
- package/dist/{WidthContainer-B6d4xrGT.js → WidthContainer-BzS-A143.js} +7 -7
- package/dist/{apiClients-DVz12LeW.js → apiClients-KFp-rs-C.js} +19 -19
- package/dist/authkit.js +7 -7
- package/dist/common/globalConfig.d.ts +2 -0
- package/dist/common.js +1 -1
- package/dist/composables.js +11 -11
- package/dist/feedback.js +3 -3
- package/dist/main.d.ts +1 -0
- package/dist/main.js +672 -642
- package/dist/message.js +3 -3
- package/dist/pay.js +3 -3
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-Du5d6VK-.js → useAuthkitAppsAuthPageInfo-B9_VzVkQ.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-Bc9D5C6R.js → useAuthkitCreateAndUpdate-DomftQMK.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CQGyvL7g.js → useAuthkitUsersProfile-D4h6OOdR.js} +1 -1
- package/dist/{useDownloads-BFx1a-f9.js → useDownloads-CzC3gLUV.js} +1 -1
- package/dist/{useEnsureAuthenticated-Cc64hF1O.js → useEnsureAuthenticated-C_Ss0e9n.js} +5 -5
- package/dist/{useLegalLinks-Deksq9h-.js → useLegalLinks-OGVbqXVy.js} +2 -2
- package/dist/{useMessageNotifications-DY5xKtif.js → useMessageNotifications-DeHFJFcX.js} +1 -1
- package/dist/{useSEO-CvfzTZA9.js → useSEO--jTDDkXk.js} +2 -2
- package/dist/{useSubscriptionCheckout-BgQJN61l.js → useSubscriptionCheckout-CQ6wHuLI.js} +1 -1
- package/dist/{useTableHandle-D71P3Ez_.js → useTableHandle-jw0P7-2a.js} +1 -1
- package/dist/{useUploadCos-N5pim6q1.js → useUploadCos-keDKcs0j.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/utils/legacyApi.d.ts +18 -0
- package/package.json +1 -1
|
@@ -4,16 +4,16 @@ import { U as ye } from "./index-D3Kp6R4z.js";
|
|
|
4
4
|
import { defineComponent as O, computed as I, openBlock as h, createElementBlock as j, normalizeStyle as be, normalizeClass as ke, createElementVNode as C, ref as y, createBlock as z, unref as e, withCtx as t, createVNode as o, createTextVNode as k, onMounted as ee, onUnmounted as fe, withDirectives as _e, toDisplayString as B, vShow as we, Fragment as J, createCommentVNode as P, renderList as ze, watch as ne, isRef as Ve } from "vue";
|
|
5
5
|
import { Form as Q, FormItem as U, Avatar as re, Input as N, Textarea as Ce, Button as A, Message as G, Alert as F, Link as Ie, Space as ce, InputPassword as $e, Result as Pe, Modal as Se } from "@arco-design/web-vue";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { e as x, g as Y, i as me } from "./apiClients-
|
|
7
|
+
import { e as x, g as Y, i as me } from "./apiClients-KFp-rs-C.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { u as Ae } from "./useUploadCos-
|
|
9
|
+
import { u as Ae } from "./useUploadCos-keDKcs0j.js";
|
|
10
10
|
import { _ as Ue, g as xe, i as qe } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
11
11
|
import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
import { a as te, u as Te } from "./useAuthkitUsersProfile-
|
|
12
|
+
import { a as te, u as Te } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
13
13
|
import { Icon as Be } from "@iconify/vue";
|
|
14
|
-
import { u as pe } from "./useAuthkitAppsAuthPageInfo-
|
|
14
|
+
import { u as pe } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
|
|
15
15
|
import { M as Ee } from "./Menu-Cy2ZPeaz.js";
|
|
16
|
-
import { u as Re } from "./useAuthkitCreateAndUpdate-
|
|
16
|
+
import { u as Re } from "./useAuthkitCreateAndUpdate-DomftQMK.js";
|
|
17
17
|
const Le = O({
|
|
18
18
|
name: "IconCamera",
|
|
19
19
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import "./apiClients-
|
|
2
|
+
import "./apiClients-KFp-rs-C.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";
|
|
@@ -2,8 +2,8 @@ import { defineComponent as P, ref as q, openBlock as Q, createElementBlock as t
|
|
|
2
2
|
import { e as n, d as y, g as G, f as R, L as Z, c as h, j as b, k as J, i as S, a as O, b as d } from "./LandingPageLinkGroup-DDNRivMt.js";
|
|
3
3
|
import { L as Y } from "./LandingPageSectionHeader-D_74W4My.js";
|
|
4
4
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { u as M } from "./useAuthkitAppsAuthPageInfo-
|
|
6
|
-
import { g as L } from "./apiClients-
|
|
5
|
+
import { u as M } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
|
|
6
|
+
import { g as L } from "./apiClients-KFp-rs-C.js";
|
|
7
7
|
import { c as x } from "./index-D56hUMeD.js";
|
|
8
8
|
const j = {
|
|
9
9
|
class: "Footer"
|
|
@@ -8,9 +8,9 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { u as Z } from "./useUploadCos-
|
|
12
|
-
import { g as A } from "./apiClients-
|
|
13
|
-
import "./FeedbackModal-
|
|
11
|
+
import { u as Z } from "./useUploadCos-keDKcs0j.js";
|
|
12
|
+
import { g as A } from "./apiClients-KFp-rs-C.js";
|
|
13
|
+
import "./FeedbackModal-Dzl0Alp7.js";
|
|
14
14
|
import { Icon as Y } from "@iconify/vue";
|
|
15
15
|
const H = f({
|
|
16
16
|
name: "IconDown",
|
|
@@ -8,16 +8,16 @@ import { M as Oe } from "./Menu-Cy2ZPeaz.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { o as V, g as Te } from "./apiClients-
|
|
11
|
+
import { o as V, g as Te } from "./apiClients-KFp-rs-C.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { u as je } from "./useUploadCos-
|
|
15
|
+
import { u as je } from "./useUploadCos-keDKcs0j.js";
|
|
16
16
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
import { M as Ae } from "./MessageList-Bo6YCfRO.js";
|
|
18
18
|
import { f as j } from "./index-D56hUMeD.js";
|
|
19
19
|
import { Bubble as ve, Prompts as Ne, Sender as Pe } from "ant-design-x-vue";
|
|
20
|
-
import { C as ye } from "./Clipboard-
|
|
20
|
+
import { C as ye } from "./Clipboard-ChMNfcO5.js";
|
|
21
21
|
import { Icon as We } from "@iconify/vue";
|
|
22
22
|
import { _ as ge, g as be, i as ke } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
23
23
|
const Ke = B({
|
|
@@ -5,11 +5,11 @@ import { U as ee } from "./index-D3Kp6R4z.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { M as q } from "./MessageList-Bo6YCfRO.js";
|
|
7
7
|
import { Spin as te, Breadcrumb as K, BreadcrumbItem as D, Tag as U, Modal as ae } from "@arco-design/web-vue";
|
|
8
|
-
import { o as x } from "./apiClients-
|
|
8
|
+
import { o as x } from "./apiClients-KFp-rs-C.js";
|
|
9
9
|
import { TiptapEditor as se, TiptapTitle as ne } from "@huyooo/vue-tiptap";
|
|
10
10
|
import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
import { Icon as le } from "@iconify/vue";
|
|
12
|
-
import { u as ie } from "./useAuthkitCreateAndUpdate-
|
|
12
|
+
import { u as ie } from "./useAuthkitCreateAndUpdate-DomftQMK.js";
|
|
13
13
|
import { M as oe } from "./Menu-Cy2ZPeaz.js";
|
|
14
14
|
function J(h, u = {}) {
|
|
15
15
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i, normalizeClass as K, createBlock as d, unref as S, createCommentVNode as v, createElementVNode as _, toDisplayString as A, Fragment as h, renderList as N } from "vue";
|
|
2
2
|
import { Icon as D } from "@iconify/vue";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { o as $ } from "./apiClients-
|
|
5
|
-
import { D as x } from "./MessageHandle-
|
|
4
|
+
import { o as $ } from "./apiClients-KFp-rs-C.js";
|
|
5
|
+
import { D as x } from "./MessageHandle-BcRjYeVi.js";
|
|
6
6
|
const b = /* @__PURE__ */ f({
|
|
7
7
|
__name: "MessageMenuItem",
|
|
8
8
|
props: {
|
|
@@ -8,8 +8,8 @@ import { U as ft } from "./index-D3Kp6R4z.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { ref as v, computed as f, defineComponent as gt, openBlock as s, createBlock as P, unref as n, isRef as yt, withCtx as o, createElementVNode as i, createElementBlock as l, toDisplayString as u, createTextVNode as d, createVNode as c, createCommentVNode as g, Fragment as bt, renderList as _t } from "vue";
|
|
10
10
|
import { Modal as kt, Button as w, Popconfirm as ht, Tabs as St, TabPane as D, Tag as K, Spin as wt, Empty as Ct, Progress as It } from "@arco-design/web-vue";
|
|
11
|
-
import { f as C } from "./apiClients-
|
|
12
|
-
import { u as xt } from "./useAuthkitCreateAndUpdate-
|
|
11
|
+
import { f as C } from "./apiClients-KFp-rs-C.js";
|
|
12
|
+
import { u as xt } from "./useAuthkitCreateAndUpdate-DomftQMK.js";
|
|
13
13
|
import { C as O } from "./CustomTable-BUkwlbzN.js";
|
|
14
14
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
function H() {
|
|
@@ -7,7 +7,7 @@ import "./index-D3Kp6R4z.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { Spin as Y, Button as Z } from "@arco-design/web-vue";
|
|
9
9
|
import { Icon as ee } from "@iconify/vue";
|
|
10
|
-
import { u as te, a as se } from "./useSubscriptionCheckout-
|
|
10
|
+
import { u as te, a as se } from "./useSubscriptionCheckout-CQ6wHuLI.js";
|
|
11
11
|
const ie = /* @__PURE__ */ L({
|
|
12
12
|
__name: "PricingFAQ",
|
|
13
13
|
props: {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { U as P } from "./index-D3Kp6R4z.js";
|
|
4
4
|
import { defineComponent as w, ref as d, openBlock as p, createBlock as v, unref as a, withCtx as g, createElementVNode as n, toDisplayString as _, createCommentVNode as z, createVNode as A, createTextVNode as U } from "vue";
|
|
5
5
|
import { Modal as D } from "@arco-design/web-vue";
|
|
6
|
-
import { e as T } from "./apiClients-
|
|
7
|
-
import { u as V } from "./useTableHandle-
|
|
6
|
+
import { e as T } from "./apiClients-KFp-rs-C.js";
|
|
7
|
+
import { u as V } from "./useTableHandle-jw0P7-2a.js";
|
|
8
8
|
import { C as y } from "./CustomTable-BUkwlbzN.js";
|
|
9
|
-
import { C as E } from "./Clipboard-
|
|
10
|
-
import { a as M } from "./useAuthkitUsersProfile-
|
|
9
|
+
import { C as E } from "./Clipboard-ChMNfcO5.js";
|
|
10
|
+
import { a as M } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
11
11
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const H = {
|
|
13
13
|
class: "invite-code-section"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { defineComponent as g, openBlock as F, createBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
|
|
8
8
|
import { Upload as S } from "@arco-design/web-vue";
|
|
9
|
-
import { u as _ } from "./useUploadCos-
|
|
9
|
+
import { u as _ } from "./useUploadCos-keDKcs0j.js";
|
|
10
10
|
const N = /* @__PURE__ */ g({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { defineComponent as d, openBlock as a, createElementBlock as l, toDisplayString as g, createCommentVNode as b, createVNode as f, unref as s, createBlock as _, withCtx as U, createTextVNode as B, createElementVNode as u, ref as S, computed as A, onMounted as G, Fragment as F, renderSlot as C, normalizeClass as J, watch as x } from "vue";
|
|
5
5
|
import { Avatar as L, Button as R, Dropdown as K } from "@arco-design/web-vue";
|
|
6
|
-
import { a as N } from "./useAuthkitUsersProfile-
|
|
6
|
+
import { a as N } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
7
7
|
import { u as k } from "./useUserMenu-ClPBlvaM.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { u as Q, f as W } from "./apiClients-
|
|
12
|
-
import { u as Z, P as ee } from "./PaySubscriptions-
|
|
13
|
-
import { C as ne } from "./Clipboard-
|
|
14
|
-
import { A as te } from "./AuthkitAppSetting-
|
|
15
|
-
import { d as se } from "./FeedbackModal-
|
|
16
|
-
import { M as ae } from "./MessageHandle-
|
|
17
|
-
import { R as re } from "./ReferrerReferees-
|
|
11
|
+
import { u as Q, f as W } from "./apiClients-KFp-rs-C.js";
|
|
12
|
+
import { u as Z, P as ee } from "./PaySubscriptions-BsU0XmXf.js";
|
|
13
|
+
import { C as ne } from "./Clipboard-ChMNfcO5.js";
|
|
14
|
+
import { A as te } from "./AuthkitAppSetting-CjQiWZab.js";
|
|
15
|
+
import { d as se } from "./FeedbackModal-Dzl0Alp7.js";
|
|
16
|
+
import { M as ae } from "./MessageHandle-BcRjYeVi.js";
|
|
17
|
+
import { R as re } from "./ReferrerReferees-CHSoGrE1.js";
|
|
18
18
|
import { Icon as j } from "@iconify/vue";
|
|
19
19
|
const oe = {
|
|
20
20
|
class: "UserAvatar"
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import "./index-D3Kp6R4z.js";
|
|
3
3
|
import { defineComponent as P, ref as U, watch as V, openBlock as t, createElementBlock as n, createElementVNode as s, createVNode as o, unref as u, withCtx as x, createTextVNode as H, renderSlot as N, toDisplayString as I, createCommentVNode as M, onMounted as j, onUnmounted as he, normalizeClass as S, Fragment as L, renderList as E, createBlock as pe, computed as B, onBeforeUnmount as fe, normalizeStyle as W } from "vue";
|
|
4
4
|
import { Spin as q } from "@arco-design/web-vue";
|
|
5
|
-
import { u as F, a as J } from "./useAuthkitUsersProfile-
|
|
6
|
-
import { d as _e, b as ve, a as ge } from "./apiClients-
|
|
7
|
-
import { u as D } from "./useAuthkitAppsAuthPageInfo-
|
|
8
|
-
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO
|
|
9
|
-
import "./useUploadCos-
|
|
5
|
+
import { u as F, a as J } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
6
|
+
import { d as _e, b as ve, a as ge } from "./apiClients-KFp-rs-C.js";
|
|
7
|
+
import { u as D } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
|
|
8
|
+
import { b as Q, f as X, w as G, a as Y, c as Z, d as ee, e as ye } from "./useSEO--jTDDkXk.js";
|
|
9
|
+
import "./useUploadCos-keDKcs0j.js";
|
|
10
10
|
import { useRouter as te, useRoute as ne } from "vue-router";
|
|
11
11
|
import "./useUserMenu-ClPBlvaM.js";
|
|
12
|
-
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { U as ke, c as oe, h as se, k as ae, _ as re, f as ie, j as ue, d as le, g as K, i as ce } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-B4tD8pIE.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
import { Icon as R } from "@iconify/vue";
|
|
15
|
-
import "./Clipboard-
|
|
15
|
+
import "./Clipboard-ChMNfcO5.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { M as be } from "./Menu-Cy2ZPeaz.js";
|
|
18
18
|
import "./CollapseItem-DUzZA6tx.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { eden as n, defineMiddleware as
|
|
1
|
+
import { eden as n, defineMiddleware as f, createClient as I } from "@vafast/api-client";
|
|
2
2
|
import { ref as k, computed as b } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { Message as A } from "@arco-design/web-vue";
|
|
5
5
|
const P = k(void 0);
|
|
6
|
-
function
|
|
6
|
+
function U(e) {
|
|
7
7
|
var t, r;
|
|
8
8
|
return e === "system" ? typeof window < "u" && ((r = (t = window.matchMedia) == null ? void 0 : t.call(window, "(prefers-color-scheme: dark)")) != null && r.matches) ? "dark" : "light" : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function v(e) {
|
|
11
11
|
typeof document > "u" || (e === "dark" ? (document.body.setAttribute("arco-theme", "dark"), document.body.classList.add("dark")) : (document.body.removeAttribute("arco-theme"), document.body.classList.remove("dark")));
|
|
12
12
|
}
|
|
13
13
|
function X(e) {
|
|
14
|
-
P.value = e, U(
|
|
14
|
+
P.value = e, v(U(e));
|
|
15
15
|
}
|
|
16
16
|
let o = {
|
|
17
17
|
appId: "",
|
|
@@ -32,7 +32,7 @@ function H(e) {
|
|
|
32
32
|
Object.assign(R, e);
|
|
33
33
|
}
|
|
34
34
|
function Q(e) {
|
|
35
|
-
o.appId = e.appId, e.theme !== void 0 && (P.value = e.theme, U(
|
|
35
|
+
o.appId = e.appId, e.theme !== void 0 && (P.value = e.theme, v(U(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", (e.onesPrefixUrl !== void 0 || e.prefixUrl !== void 0) && (o.onesPrefixUrl = e.onesPrefixUrl ?? e.prefixUrl ?? o.onesPrefixUrl), e.billingPrefixUrl !== void 0 && (o.billingPrefixUrl = e.billingPrefixUrl), e.logPrefixUrl !== void 0 && (o.logPrefixUrl = e.logPrefixUrl), e.aiPrefixUrl !== void 0 && (o.aiPrefixUrl = e.aiPrefixUrl), e.webhookPrefixUrl !== void 0 && (o.webhookPrefixUrl = e.webhookPrefixUrl), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/`), e.avatarBucketId !== void 0 && (o.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (o.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (o.bucket = e.bucket), e.region !== void 0 && (o.region = e.region), e.web3formsAccessKey !== void 0 && (o.web3formsAccessKey = e.web3formsAccessKey);
|
|
36
36
|
}
|
|
37
37
|
function j(e) {
|
|
38
38
|
return n(e);
|
|
@@ -88,7 +88,7 @@ function z(e) {
|
|
|
88
88
|
function _() {
|
|
89
89
|
p.value = !1;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function T() {
|
|
92
92
|
return {
|
|
93
93
|
open: z,
|
|
94
94
|
close: _,
|
|
@@ -97,7 +97,7 @@ function w() {
|
|
|
97
97
|
};
|
|
98
98
|
}
|
|
99
99
|
const d = 40101;
|
|
100
|
-
let
|
|
100
|
+
let u = !1, h = [];
|
|
101
101
|
function m(e, t = null) {
|
|
102
102
|
h.forEach(({
|
|
103
103
|
resolve: r,
|
|
@@ -128,22 +128,22 @@ async function F() {
|
|
|
128
128
|
throw console.error("Token refresh failed:", t), t;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
const L =
|
|
131
|
+
const L = f(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
|
|
132
132
|
name: "app-id"
|
|
133
|
-
}), N =
|
|
133
|
+
}), N = f(async (e, t) => {
|
|
134
134
|
const r = localStorage.getItem("jwtToken");
|
|
135
135
|
return r && e.headers.set("authorization", `Bearer ${r}`), t();
|
|
136
136
|
}, {
|
|
137
137
|
name: "token"
|
|
138
|
-
}), q =
|
|
138
|
+
}), q = f(async (e, t) => {
|
|
139
139
|
var a;
|
|
140
140
|
const r = await t();
|
|
141
141
|
if (((a = r.error) == null ? void 0 : a.code) === d) {
|
|
142
|
-
if (
|
|
142
|
+
if (u)
|
|
143
143
|
return new Promise((i, c) => {
|
|
144
144
|
h.push({
|
|
145
|
-
resolve: async (
|
|
146
|
-
e.headers.set("authorization", `Bearer ${
|
|
145
|
+
resolve: async (w) => {
|
|
146
|
+
e.headers.set("authorization", `Bearer ${w}`);
|
|
147
147
|
const g = await t();
|
|
148
148
|
i(g);
|
|
149
149
|
},
|
|
@@ -152,7 +152,7 @@ const L = u(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
|
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
});
|
|
155
|
-
|
|
155
|
+
u = !0;
|
|
156
156
|
try {
|
|
157
157
|
const i = await F();
|
|
158
158
|
return m(null, i), e.headers.set("authorization", `Bearer ${i}`), await t();
|
|
@@ -160,23 +160,23 @@ const L = u(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
|
|
|
160
160
|
m(i, null), x();
|
|
161
161
|
const {
|
|
162
162
|
open: c
|
|
163
|
-
} =
|
|
163
|
+
} = T();
|
|
164
164
|
return c(), r;
|
|
165
165
|
} finally {
|
|
166
|
-
|
|
166
|
+
u = !1;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
return r;
|
|
170
170
|
}, {
|
|
171
171
|
name: "token-refresh"
|
|
172
|
-
}), D =
|
|
172
|
+
}), D = f(async (e, t) => {
|
|
173
173
|
var a;
|
|
174
174
|
const r = await t();
|
|
175
175
|
if (r.status === 401 && ((a = r.error) == null ? void 0 : a.code) !== d) {
|
|
176
176
|
x();
|
|
177
177
|
const {
|
|
178
178
|
open: i
|
|
179
|
-
} =
|
|
179
|
+
} = T();
|
|
180
180
|
return i(), r;
|
|
181
181
|
}
|
|
182
182
|
return r.error && r.error.code !== d && A.error(r.error.message || "请求失败"), r;
|
|
@@ -211,6 +211,6 @@ export {
|
|
|
211
211
|
re as l,
|
|
212
212
|
ee as o,
|
|
213
213
|
Q as s,
|
|
214
|
-
|
|
214
|
+
T as u,
|
|
215
215
|
oe as w
|
|
216
216
|
};
|
package/dist/authkit.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as i, B as s, E as u, a as h, b as e, O as A, P as k, c as n, _ as r, d as o, S as d, e as P, u as p } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as f, a as g, b as S, c as m, d as O, e as c, f as L, _ as U, g as w, O as E, h as b, P as x, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M, u as j } from "./useEnsureAuthenticated-
|
|
3
|
-
import { u as z } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as T, a as Y } from "./useAuthkitUsersProfile-
|
|
5
|
-
import { u as H } from "./apiClients-
|
|
6
|
-
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-
|
|
7
|
-
import { u as $ } from "./useAuthkitCreateAndUpdate-
|
|
1
|
+
import { A as i, B as s, E as u, a as h, b as e, O as A, P as k, c as n, _ as r, d as o, S as d, e as P, u as p } from "./AuthkitAppSetting-CjQiWZab.js";
|
|
2
|
+
import { A as f, a as g, b as S, c as m, d as O, e as c, f as L, _ as U, g as w, O as E, h as b, P as x, i as B, j as C, k as y, R as I, S as V, l as _, m as v, n as G, o as R, p as D, q as M, u as j } from "./useEnsureAuthenticated-C_Ss0e9n.js";
|
|
3
|
+
import { u as z } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
|
|
4
|
+
import { u as T, a as Y } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
5
|
+
import { u as H } from "./apiClients-KFp-rs-C.js";
|
|
6
|
+
import { L as N, a as Q, b as W, u as X } from "./useLegalLinks-OGVbqXVy.js";
|
|
7
|
+
import { u as $ } from "./useAuthkitCreateAndUpdate-DomftQMK.js";
|
|
8
8
|
export {
|
|
9
9
|
i as AuthkitAppSetting,
|
|
10
10
|
f as AuthkitAuth,
|
|
@@ -48,6 +48,8 @@ export interface SetGlobalConfigOptions {
|
|
|
48
48
|
appId: string;
|
|
49
49
|
/** 应用主题:light / dark / system,全局生效(body.dark + Arco) */
|
|
50
50
|
theme?: GlobalTheme;
|
|
51
|
+
/** 旧版 ones-server API 前缀别名;新代码请使用 onesPrefixUrl */
|
|
52
|
+
prefixUrl?: string;
|
|
51
53
|
/** ones-server API前缀 - 默认 '/onesRestfulApi' */
|
|
52
54
|
onesPrefixUrl?: string;
|
|
53
55
|
/** auth-server API前缀 - 默认 '/authRestfulApi' */
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-BzS-A143.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
3
|
import { C as x, E as b } from "./CustomTable-BUkwlbzN.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
package/dist/composables.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { u as a, a as o } from "./useAuthkitUsersProfile-
|
|
2
|
-
import { g as t, a as r, b as i, s as n, c as f, d as l, u as p } from "./apiClients-
|
|
3
|
-
import { u as h } from "./useLegalLinks-
|
|
4
|
-
import { u as A } from "./useAuthkitAppsAuthPageInfo-
|
|
5
|
-
import { u as x } from "./useAuthkitCreateAndUpdate-
|
|
6
|
-
import { u as C } from "./useMessageNotifications-
|
|
7
|
-
import { u as k, a as P } from "./useDownloads-
|
|
8
|
-
import { u as O } from "./useTableHandle-
|
|
9
|
-
import { f as U, a as w, g as E, u as T, b as R, c as v, d as D, e as G, w as L } from "./useSEO
|
|
10
|
-
import { u as B } from "./useUploadCos-
|
|
1
|
+
import { u as a, a as o } from "./useAuthkitUsersProfile-D4h6OOdR.js";
|
|
2
|
+
import { g as t, a as r, b as i, s as n, c as f, d as l, u as p } from "./apiClients-KFp-rs-C.js";
|
|
3
|
+
import { u as h } from "./useLegalLinks-OGVbqXVy.js";
|
|
4
|
+
import { u as A } from "./useAuthkitAppsAuthPageInfo-B9_VzVkQ.js";
|
|
5
|
+
import { u as x } from "./useAuthkitCreateAndUpdate-DomftQMK.js";
|
|
6
|
+
import { u as C } from "./useMessageNotifications-DeHFJFcX.js";
|
|
7
|
+
import { u as k, a as P } from "./useDownloads-CzC3gLUV.js";
|
|
8
|
+
import { u as O } from "./useTableHandle-jw0P7-2a.js";
|
|
9
|
+
import { f as U, a as w, g as E, u as T, b as R, c as v, d as D, e as G, w as L } from "./useSEO--jTDDkXk.js";
|
|
10
|
+
import { u as B } from "./useUploadCos-keDKcs0j.js";
|
|
11
11
|
import { u as I } from "./useUserMenu-ClPBlvaM.js";
|
|
12
|
-
import { u as V, a as j } from "./useSubscriptionCheckout-
|
|
12
|
+
import { u as V, a as j } from "./useSubscriptionCheckout-CQ6wHuLI.js";
|
|
13
13
|
export {
|
|
14
14
|
U as findActiveMenuPath,
|
|
15
15
|
w as findMenuPath,
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-
|
|
2
|
-
import { C as r } from "./Clipboard-
|
|
3
|
-
import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-
|
|
1
|
+
import { B as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-Dzl0Alp7.js";
|
|
2
|
+
import { C as r } from "./Clipboard-ChMNfcO5.js";
|
|
3
|
+
import { F as m, a as n, b as f, c as i, d as p } from "./FeedbackItem-DHp_C0pN.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|
package/dist/main.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export * from './download';
|
|
|
13
13
|
export * from './privateCom';
|
|
14
14
|
export { createHead, type CreateClientHeadOptions, type VueHeadPlugin, } from './head';
|
|
15
15
|
export { auth, billing, ones, log, ai, webhook } from './utils/apiClients';
|
|
16
|
+
export { api, type LegacyApiRequestConfig, type LegacyApiResponse } from './utils/legacyApi';
|