@huyooo/ui 2.0.0 → 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-rtYZcSAR.js → AuthkitAppSetting-DCQH9IpU.js} +151 -150
- package/dist/{Contact-CcWf3UEZ.js → Contact-C7ROEqe-.js} +3 -3
- package/dist/{CustomTable-HDwqEcmB.js → CustomTable-GgvDEidl.js} +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js +1531 -0
- package/dist/{LegalDocViewer-C0tsIbz9.js → LegalDocViewer-D_QUh0uf.js} +10 -10
- package/dist/{MessageHandle-BUufez4S.js → MessageHandle-DKoySsCG.js} +3 -3
- package/dist/{MessageList-rttvPmxV.js → MessageList-HSiKkUoD.js} +1 -1
- package/dist/{PaySubscriptions-p75aBnHm.js → PaySubscriptions-NcATVJGm.js} +6 -6
- package/dist/{PricingPlans-CQ0qk9Hb.js → PricingPlans-CZn6eJby.js} +4 -4
- package/dist/{ReferrerReferees-BU9IEQgz.js → ReferrerReferees-BoOQIssE.js} +4 -4
- package/dist/Upload.vue_vue_type_script_setup_true_lang-CkS2S9Xc.js +83 -0
- package/dist/{UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-DG4AuHiO.js → UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BrNx6JWe.js} +9 -9
- package/dist/{WidthContainer-DSE4QbW0.js → WidthContainer-BJLdZfzF.js} +10 -10
- package/dist/{apiClients-Ctcq8NZs.js → apiClients-CR-hEwog.js} +5 -5
- package/dist/authkit.js +10 -10
- package/dist/common.js +2 -2
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +11 -0
- package/dist/components/Upload/Upload.vue.d.ts +3 -2
- package/dist/composables/uploadFeedbackAttachment.d.ts +7 -1
- package/dist/composables.js +13 -13
- package/dist/feedback.js +2 -2
- package/dist/{fetchAuthPageAboutUs-DiCqMUX3.js → fetchAuthPageAboutUs-BnKWq_TL.js} +2 -2
- package/dist/{index-Cn6LcfZO.js → index-BhVwozr0.js} +1 -1
- package/dist/main.js +30 -30
- package/dist/message.js +5 -5
- package/dist/pay.js +4 -4
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/{runtime-BzCSCUNv.js → runtime-DMCyhVcI.js} +1344 -1327
- package/dist/runtime.d.ts +6 -2
- package/dist/style.css +1 -1
- package/dist/upload/browserCosTransport.d.ts +2 -5
- package/dist/upload/browserUploadService.d.ts +5 -4
- package/dist/upload.d.ts +2 -2
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-DZ1p-P3Q.js → useAuthkitAppsAuthPageInfo-Byu0yvrx.js} +1 -1
- package/dist/{useAuthkitAuth-BPTZUSkM.js → useAuthkitAuth-M2vTpEcb.js} +2 -2
- package/dist/{useAuthkitCreateAndUpdate-Bbv7vZZn.js → useAuthkitCreateAndUpdate-D2_Bdazi.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CW_exa7E.js → useAuthkitUsersProfile-DdUAENic.js} +2 -2
- package/dist/{useBillingStatusOptions-Br-iL77Z.js → useBillingStatusOptions-Jq6Wqfxb.js} +1 -1
- package/dist/{useEnsureAuthenticated-CncOvj2H.js → useEnsureAuthenticated-Hel8hWLJ.js} +2 -2
- package/dist/{useLegalDocs-D44qU_q0.js → useLegalDocs-BOjqYRyQ.js} +2 -2
- package/dist/{useMessageNotifications-D9uikt21.js → useMessageNotifications-AznFeFMD.js} +1 -1
- package/dist/{useRoutePermission-BrQX7NTq.js → useRoutePermission-BmUXTwQc.js} +2 -2
- package/dist/{useSEO-_TNouXE_.js → useSEO-Chz4Zxuu.js} +2 -2
- package/dist/{useSubscriptionCheckout-BDDCRxSs.js → useSubscriptionCheckout-3ivcOcgC.js} +3 -3
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-DpOmbAg-.js +0 -1491
- package/dist/Upload.vue_vue_type_script_setup_true_lang-bh0NFq9E.js +0 -78
|
@@ -4,23 +4,23 @@ import { useRoute as Ae } from "vue-router";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import "./userMenuModal-D-nDaYqM.js";
|
|
6
6
|
import { Message as X, Form as H, FormItem as V, Input as U, Button as B, Link as Y, Tabs as de, TabPane as ce, Checkbox as Ue, Modal as Ce, List as $e, ListItem as ie, ListItemMeta as ne, Avatar as te, Alert as fe, Spin as Te, Empty as Re } from "@arco-design/web-vue";
|
|
7
|
-
import { a as M, u as N } from "./useAuthkitAuth-
|
|
8
|
-
import { g as O, u as we } from "./apiClients-
|
|
9
|
-
import { u as j } from "./useAuthkitAppsAuthPageInfo-
|
|
10
|
-
import { o as ve, i as qe, j as ge, k as be, u as xe, l as Le, m as Be, n as J, p as Oe, h as _e, S as K, q as W, r as ke, s as Me, b as Fe } from "./AuthkitAppSetting-
|
|
7
|
+
import { a as M, u as N } from "./useAuthkitAuth-M2vTpEcb.js";
|
|
8
|
+
import { g as O, u as we } from "./apiClients-CR-hEwog.js";
|
|
9
|
+
import { u as j } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
|
|
10
|
+
import { o as ve, i as qe, j as ge, k as be, u as xe, l as Le, m as Be, n as J, p as Oe, h as _e, S as K, q as W, r as ke, s as Me, b as Fe } from "./AuthkitAppSetting-DCQH9IpU.js";
|
|
11
11
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
/* empty css */
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-BhVwozr0.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { u as Se, L as De, i as Ee } from "./useLegalDocs-
|
|
16
|
-
import { u as pe } from "./runtime-
|
|
17
|
-
import { u as oe } from "./useAuthkitUsersProfile-
|
|
15
|
+
import { u as Se, L as De, i as Ee } from "./useLegalDocs-BOjqYRyQ.js";
|
|
16
|
+
import { u as pe } from "./runtime-DMCyhVcI.js";
|
|
17
|
+
import { u as oe } from "./useAuthkitUsersProfile-DdUAENic.js";
|
|
18
18
|
/* empty css */
|
|
19
19
|
/* empty css */
|
|
20
|
-
import "./CustomTable-
|
|
20
|
+
import "./CustomTable-GgvDEidl.js";
|
|
21
21
|
/* empty css */
|
|
22
22
|
import { TiptapEditor as He, TiptapTitle as Ge } from "@huyooo/vue-tiptap";
|
|
23
|
-
import { f as Ne } from "./fetchAuthPageAboutUs-
|
|
23
|
+
import { f as Ne } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
|
|
24
24
|
const je = ["title", "aria-label", "disabled"], Ke = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "OAuthItem__spinner"
|
|
@@ -3,13 +3,13 @@ import { defineComponent as $, computed as D, openBlock as p, createElementBlock
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { U as re } from "./userMenuModal-D-nDaYqM.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { M as q, a as j, u as ue } from "./MessageList-
|
|
6
|
+
import { M as q, a as j, u as ue } from "./MessageList-HSiKkUoD.js";
|
|
7
7
|
import { Descriptions as ce, Spin as ae, Breadcrumb as F, BreadcrumbItem as E, Tag as K, Modal as de } from "@arco-design/web-vue";
|
|
8
|
-
import { g as A } from "./apiClients-
|
|
8
|
+
import { g as A } from "./apiClients-CR-hEwog.js";
|
|
9
9
|
import { TiptapEditor as pe, TiptapTitle as fe } from "@huyooo/vue-tiptap";
|
|
10
10
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
import { Icon as ge } from "@iconify/vue";
|
|
12
|
-
import { u as ve } from "./useAuthkitCreateAndUpdate-
|
|
12
|
+
import { u as ve } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
|
|
13
13
|
import { M as ye } from "./Menu-uCexrsKP.js";
|
|
14
14
|
function P(a, t, u) {
|
|
15
15
|
if (a == null || a === "")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as z, computed as I, readonly as V, defineComponent as b, openBlock as i, createElementBlock as v, normalizeClass as M, createElementVNode as m, createCommentVNode as k, renderSlot as r, toDisplayString as B, createBlock as g, unref as f, withCtx as l, createTextVNode as c, createVNode as N, Fragment as S, renderList as L, createSlots as _, mergeProps as p } from "vue";
|
|
2
|
-
import { g as C } from "./apiClients-
|
|
2
|
+
import { g as C } from "./apiClients-CR-hEwog.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { I as E } from "./userMenuModal-D-nDaYqM.js";
|
|
5
5
|
import { Tag as $, Button as P, Empty as U } from "@arco-design/web-vue";
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
import { U as Nt } from "./userMenuModal-D-nDaYqM.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { g as S } from "./apiClients-
|
|
9
|
+
import { g as S } from "./apiClients-CR-hEwog.js";
|
|
10
10
|
import { ref as _, computed as W, onUnmounted as Fe, defineComponent as zt, openBlock as l, createElementBlock as d, Fragment as X, createVNode as c, unref as n, isRef as Tt, withCtx as i, createElementVNode as a, toDisplayString as r, createBlock as K, createTextVNode as g, createCommentVNode as O, renderList as Te, normalizeClass as Ae } from "vue";
|
|
11
11
|
import { Modal as Oe, Button as P, Popconfirm as Z, Tabs as At, TabPane as ee, Spin as de, Empty as We, Progress as Ot, Tooltip as pe, Tag as J, Message as M } from "@arco-design/web-vue";
|
|
12
|
-
import { u as Wt, b as Lt, a as Rt } from "./useBillingStatusOptions-
|
|
13
|
-
import { u as Et } from "./useAuthkitCreateAndUpdate-
|
|
14
|
-
import { g as $t } from "./runtime-
|
|
15
|
-
import { C as ve } from "./CustomTable-
|
|
16
|
-
import { C as Le } from "./index-
|
|
12
|
+
import { u as Wt, b as Lt, a as Rt } from "./useBillingStatusOptions-Jq6Wqfxb.js";
|
|
13
|
+
import { u as Et } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
|
|
14
|
+
import { g as $t } from "./runtime-DMCyhVcI.js";
|
|
15
|
+
import { C as ve } from "./CustomTable-GgvDEidl.js";
|
|
16
|
+
import { C as Le } from "./index-BhVwozr0.js";
|
|
17
17
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
function Be() {
|
|
19
19
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import "./userMenuModal-D-nDaYqM.js";
|
|
3
|
-
import { g as ve } from "./apiClients-
|
|
3
|
+
import { g as ve } from "./apiClients-CR-hEwog.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent as K, computed as h, onMounted as ne, onUnmounted as pe, openBlock as n, createElementBlock as s, createElementVNode as i, unref as e, createBlock as O, toDisplayString as a, createVNode as k, withCtx as w, createTextVNode as R, ref as ye, resolveDirective as he, withDirectives as ke, normalizeClass as L, Fragment as I, renderList as C, createCommentVNode as y } from "vue";
|
|
6
6
|
import { Spin as se, Button as A, Message as F } from "@arco-design/web-vue";
|
|
7
7
|
import { useRoute as be, useRouter as Te } from "vue-router";
|
|
8
|
-
import { b as we } from "./PaySubscriptions-
|
|
8
|
+
import { b as we } from "./PaySubscriptions-NcATVJGm.js";
|
|
9
9
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { L as Ie, a as Ce, b as Be } from "./LandingPageSectionHeader-3hiuw6G0.js";
|
|
11
11
|
import { Icon as te } from "@iconify/vue";
|
|
12
|
-
import { u as Le, a as Re } from "./useSubscriptionCheckout-
|
|
13
|
-
import { u as Ae } from "./useEnsureAuthenticated-
|
|
12
|
+
import { u as Le, a as Re } from "./useSubscriptionCheckout-3ivcOcgC.js";
|
|
13
|
+
import { u as Ae } from "./useEnsureAuthenticated-Hel8hWLJ.js";
|
|
14
14
|
const kt = "/Pay/Return";
|
|
15
15
|
function G(l) {
|
|
16
16
|
const _ = typeof l.scene == "string" ? l.scene : null, c = typeof l.orderId == "string" ? l.orderId : null, d = typeof l.returnTo == "string" ? l.returnTo.trim() : null, P = d != null && d.startsWith("/") && !d.startsWith("//") ? d : null;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { U as V } from "./userMenuModal-D-nDaYqM.js";
|
|
4
4
|
import { defineComponent as U, computed as k, openBlock as M, createElementBlock as R, createVNode as b, unref as o, withCtx as I, createTextVNode as A, toDisplayString as g, createElementVNode as m, createCommentVNode as w, ref as _, createBlock as x } from "vue";
|
|
5
5
|
import { Avatar as W, Modal as z } from "@arco-design/web-vue";
|
|
6
|
-
import { g as B } from "./apiClients-
|
|
7
|
-
import { C as P } from "./CustomTable-
|
|
8
|
-
import { C as G } from "./index-
|
|
6
|
+
import { g as B } from "./apiClients-CR-hEwog.js";
|
|
7
|
+
import { C as P } from "./CustomTable-GgvDEidl.js";
|
|
8
|
+
import { C as G } from "./index-BhVwozr0.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { u as H } from "./useAuthkitUsersProfile-
|
|
11
|
+
import { u as H } from "./useAuthkitUsersProfile-DdUAENic.js";
|
|
12
12
|
const j = {
|
|
13
13
|
email: "邮箱",
|
|
14
14
|
phone: "手机",
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { defineComponent as k, openBlock as h, createBlock as y, unref as S, mergeProps as q, createSlots as v, withCtx as p, renderSlot as a } from "vue";
|
|
8
|
+
import { Upload as I } from "@arco-design/web-vue";
|
|
9
|
+
import { u as _ } from "./runtime-DMCyhVcI.js";
|
|
10
|
+
const j = /* @__PURE__ */ k({
|
|
11
|
+
__name: "Upload",
|
|
12
|
+
props: {
|
|
13
|
+
options: {
|
|
14
|
+
type: Object,
|
|
15
|
+
required: !1,
|
|
16
|
+
default: () => null
|
|
17
|
+
},
|
|
18
|
+
bucketId: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: !0
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ["progress", "fileFinish", "fail"],
|
|
24
|
+
setup(m, {
|
|
25
|
+
emit: d
|
|
26
|
+
}) {
|
|
27
|
+
const t = d, n = m, f = _().upload;
|
|
28
|
+
function c(o) {
|
|
29
|
+
const {
|
|
30
|
+
onProgress: i,
|
|
31
|
+
onError: b,
|
|
32
|
+
onSuccess: g,
|
|
33
|
+
fileItem: s
|
|
34
|
+
} = o;
|
|
35
|
+
if (!s.file)
|
|
36
|
+
return {
|
|
37
|
+
abort() {
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
const r = new AbortController();
|
|
41
|
+
return f.upload({
|
|
42
|
+
file: s.file,
|
|
43
|
+
bucketId: n.bucketId,
|
|
44
|
+
signal: r.signal,
|
|
45
|
+
onProgress(e) {
|
|
46
|
+
t("progress", e), i(e);
|
|
47
|
+
}
|
|
48
|
+
}).then(({
|
|
49
|
+
data: e,
|
|
50
|
+
error: l
|
|
51
|
+
}) => {
|
|
52
|
+
if (!r.signal.aborted) {
|
|
53
|
+
if (l || !e) {
|
|
54
|
+
const u = l ?? new Error("上传失败");
|
|
55
|
+
t("fail", u), b(u);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
t("fileFinish", e), g(e);
|
|
59
|
+
}
|
|
60
|
+
}), {
|
|
61
|
+
abort() {
|
|
62
|
+
r.abort();
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
return (o, i) => (h(), y(S(I), q({
|
|
67
|
+
"custom-request": c
|
|
68
|
+
}, n.options), v({
|
|
69
|
+
_: 2
|
|
70
|
+
}, [o.$slots["upload-button"] ? {
|
|
71
|
+
name: "upload-button",
|
|
72
|
+
fn: p(() => [a(o.$slots, "upload-button")]),
|
|
73
|
+
key: "0"
|
|
74
|
+
} : void 0, o.$slots["upload-item"] ? {
|
|
75
|
+
name: "upload-item",
|
|
76
|
+
fn: p(() => [a(o.$slots, "upload-item")]),
|
|
77
|
+
key: "1"
|
|
78
|
+
} : void 0]), 1040));
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
j as _
|
|
83
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-BhVwozr0.js";
|
|
4
4
|
import { defineComponent as p, computed as b, openBlock as r, createElementBlock as _, toDisplayString as h, createCommentVNode as U, createVNode as f, unref as t, createBlock as v, withCtx as g, createTextVNode as k, ref as C, createElementVNode as d, watch as x, onMounted as ee, Fragment as q, renderSlot as A, normalizeClass as ne } from "vue";
|
|
5
5
|
import { Avatar as G, Button as N, Dropdown as te, Badge as ae } from "@arco-design/web-vue";
|
|
6
|
-
import { u as R } from "./useAuthkitUsersProfile-
|
|
6
|
+
import { u as R } from "./useAuthkitUsersProfile-DdUAENic.js";
|
|
7
7
|
import { u as y } from "./useUserMenu-ClPBlvaM.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { g as J, a as se, R as oe } from "./ReferrerReferees-
|
|
9
|
+
import { g as J, a as se, R as oe } from "./ReferrerReferees-BoOQIssE.js";
|
|
10
10
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import { u as ie } from "./apiClients-
|
|
13
|
-
import { f as re, u as le, g as ue, c as ce, s as de, P as pe } from "./PaySubscriptions-
|
|
14
|
-
import { d as me } from "./useBillingStatusOptions-
|
|
15
|
-
import { A as fe } from "./AuthkitAppSetting-
|
|
16
|
-
import { c as _e, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { M as ve } from "./MessageHandle-
|
|
12
|
+
import { u as ie } from "./apiClients-CR-hEwog.js";
|
|
13
|
+
import { f as re, u as le, g as ue, c as ce, s as de, P as pe } from "./PaySubscriptions-NcATVJGm.js";
|
|
14
|
+
import { d as me } from "./useBillingStatusOptions-Jq6Wqfxb.js";
|
|
15
|
+
import { A as fe } from "./AuthkitAppSetting-DCQH9IpU.js";
|
|
16
|
+
import { c as _e, u as K } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js";
|
|
17
|
+
import { M as ve } from "./MessageHandle-DKoySsCG.js";
|
|
18
18
|
import "./Menu-uCexrsKP.js";
|
|
19
19
|
import { Icon as ge } from "@iconify/vue";
|
|
20
20
|
const be = {
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
import "./userMenuModal-D-nDaYqM.js";
|
|
3
3
|
import { defineComponent as P, ref as A, watch as N, openBlock as n, createElementBlock as s, createElementVNode as a, createVNode as r, unref as c, withCtx as B, createTextVNode as K, renderSlot as V, toDisplayString as M, createCommentVNode as x, onMounted as Q, onBeforeUnmount as X, normalizeClass as $, Fragment as L, renderList as E, createBlock as Y, Teleport as ge, nextTick as J, computed as U, normalizeStyle as O } from "vue";
|
|
4
4
|
import { Spin as Z } from "@arco-design/web-vue";
|
|
5
|
-
import { u as ee } from "./useAuthkitAuth-
|
|
6
|
-
import "./apiClients-
|
|
7
|
-
import { u as q } from "./useAuthkitAppsAuthPageInfo-
|
|
8
|
-
import { d as ye, b as be } from "./runtime-
|
|
5
|
+
import { u as ee } from "./useAuthkitAuth-M2vTpEcb.js";
|
|
6
|
+
import "./apiClients-CR-hEwog.js";
|
|
7
|
+
import { u as q } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
|
|
8
|
+
import { d as ye, b as be } from "./runtime-DMCyhVcI.js";
|
|
9
9
|
import "@vafast/api-client";
|
|
10
|
-
import "./useAuthkitUsersProfile-
|
|
11
|
-
import { b as te, f as ne, w as W, a as oe, c as se } from "./useRoutePermission-
|
|
10
|
+
import "./useAuthkitUsersProfile-DdUAENic.js";
|
|
11
|
+
import { b as te, f as ne, w as W, a as oe, c as se } from "./useRoutePermission-BmUXTwQc.js";
|
|
12
12
|
import { useRouter as ae, useRoute as re } from "vue-router";
|
|
13
13
|
import "@unhead/vue";
|
|
14
14
|
import "./useUserMenu-ClPBlvaM.js";
|
|
15
|
-
import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as ke, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import "./PaySubscriptions-
|
|
15
|
+
import { c as ie, h as ue, k as le, _ as ce, f as de, j as me, d as pe, g as R, U as ke, i as he } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-BrNx6JWe.js";
|
|
16
|
+
import "./PaySubscriptions-NcATVJGm.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
/* empty css */
|
|
19
19
|
import { M as we } from "./Menu-uCexrsKP.js";
|
|
20
20
|
import "./CollapseItem-DUzZA6tx.js";
|
|
21
21
|
/* empty css */
|
|
22
22
|
/* empty css */
|
|
23
|
-
import "./index-
|
|
23
|
+
import "./index-BhVwozr0.js";
|
|
24
24
|
/* empty css */
|
|
25
|
-
import "./CustomTable-
|
|
25
|
+
import "./CustomTable-GgvDEidl.js";
|
|
26
26
|
import "@vueuse/core";
|
|
27
27
|
import "./index-D56hUMeD.js";
|
|
28
28
|
import { Icon as z } from "@iconify/vue";
|
|
@@ -53,14 +53,14 @@ function ne(e) {
|
|
|
53
53
|
console.warn("Failed to set localStorage:", r);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function O() {
|
|
57
57
|
try {
|
|
58
58
|
return localStorage.getItem("refreshToken");
|
|
59
59
|
} catch (e) {
|
|
60
60
|
return console.warn("Failed to get refreshToken from localStorage:", e), null;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function x(e) {
|
|
64
64
|
try {
|
|
65
65
|
localStorage.setItem("jwtToken", e);
|
|
66
66
|
} catch (r) {
|
|
@@ -119,7 +119,7 @@ function M() {
|
|
|
119
119
|
$(), K();
|
|
120
120
|
}
|
|
121
121
|
async function V(e) {
|
|
122
|
-
const r =
|
|
122
|
+
const r = O();
|
|
123
123
|
if (!r)
|
|
124
124
|
throw new Error("No refresh token available");
|
|
125
125
|
try {
|
|
@@ -134,7 +134,7 @@ async function V(e) {
|
|
|
134
134
|
})
|
|
135
135
|
})).json();
|
|
136
136
|
if (n.jwtToken)
|
|
137
|
-
return
|
|
137
|
+
return x(n.jwtToken), n.refreshToken && localStorage.setItem("refreshToken", n.refreshToken), n.jwtToken;
|
|
138
138
|
throw new Error(n.message || "Token refresh failed");
|
|
139
139
|
} catch (o) {
|
|
140
140
|
throw console.error("Token refresh failed:", o), o;
|
|
@@ -150,7 +150,7 @@ function C(e) {
|
|
|
150
150
|
a ? s(a) : i && t(i);
|
|
151
151
|
}), o = [];
|
|
152
152
|
}
|
|
153
|
-
const u = p(async (a, i) => (a.headers.set("app-id", e.appId), i()), {
|
|
153
|
+
const u = p(async (a, i) => (a.headers.has("app-id") || a.headers.set("app-id", e.appId), i()), {
|
|
154
154
|
name: "app-id"
|
|
155
155
|
}), h = p(async (a, i) => {
|
|
156
156
|
const t = e.getAccessToken();
|
package/dist/authkit.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-
|
|
2
|
-
import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-
|
|
3
|
-
import { u as K } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as q } from "./useAuthkitAuth-
|
|
5
|
-
import { u as J } from "./apiClients-
|
|
6
|
-
import { u as Q } from "./useEnsureAuthenticated-
|
|
7
|
-
import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-
|
|
8
|
-
import { f as ht } from "./fetchAuthPageAboutUs-
|
|
9
|
-
import { u as ot } from "./useAuthkitUsersProfile-
|
|
10
|
-
import { u as kt } from "./useAuthkitCreateAndUpdate-
|
|
1
|
+
import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-DCQH9IpU.js";
|
|
2
|
+
import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-D_QUh0uf.js";
|
|
3
|
+
import { u as K } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
|
|
4
|
+
import { u as q } from "./useAuthkitAuth-M2vTpEcb.js";
|
|
5
|
+
import { u as J } from "./apiClients-CR-hEwog.js";
|
|
6
|
+
import { u as Q } from "./useEnsureAuthenticated-Hel8hWLJ.js";
|
|
7
|
+
import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-BOjqYRyQ.js";
|
|
8
|
+
import { f as ht } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
|
|
9
|
+
import { u as ot } from "./useAuthkitUsersProfile-DdUAENic.js";
|
|
10
|
+
import { u as kt } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
|
|
11
11
|
export {
|
|
12
12
|
s as AuthkitAppSetting,
|
|
13
13
|
m as AuthkitAuth,
|
package/dist/common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-BJLdZfzF.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
|
-
import { C as x, E as b } from "./CustomTable-
|
|
3
|
+
import { C as x, E as b } from "./CustomTable-GgvDEidl.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
5
5
|
import { M as g, a as A } from "./Menu-uCexrsKP.js";
|
|
6
6
|
export {
|
|
@@ -9,6 +9,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
required: true;
|
|
10
10
|
validator: (value: string) => boolean;
|
|
11
11
|
};
|
|
12
|
+
appId: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
12
17
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
18
|
id: {
|
|
14
19
|
type: StringConstructor;
|
|
@@ -20,7 +25,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
20
25
|
required: true;
|
|
21
26
|
validator: (value: string) => boolean;
|
|
22
27
|
};
|
|
28
|
+
appId: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
23
33
|
}>> & Readonly<{}>, {
|
|
34
|
+
appId: string;
|
|
24
35
|
id: string;
|
|
25
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
26
37
|
scrollableContentRef: HTMLDivElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BrowserUploadResult } from '../../upload/browserUploadService';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
@@ -21,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
21
22
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
23
|
progress: (percent: number) => any;
|
|
23
24
|
fail: (error: Error) => any;
|
|
24
|
-
fileFinish: (result:
|
|
25
|
+
fileFinish: (result: BrowserUploadResult) => any;
|
|
25
26
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
27
|
options: {
|
|
27
28
|
type: ObjectConstructor;
|
|
@@ -35,7 +36,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
36
|
}>> & Readonly<{
|
|
36
37
|
onProgress?: ((percent: number) => any) | undefined;
|
|
37
38
|
onFail?: ((error: Error) => any) | undefined;
|
|
38
|
-
onFileFinish?: ((result:
|
|
39
|
+
onFileFinish?: ((result: BrowserUploadResult) => any) | undefined;
|
|
39
40
|
}>, {
|
|
40
41
|
options: Record<string, any>;
|
|
41
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -7,4 +7,10 @@ export type UploadedFeedbackAttachment = {
|
|
|
7
7
|
mimeType: string;
|
|
8
8
|
kind: UploadedFeedbackAttachmentKind;
|
|
9
9
|
};
|
|
10
|
-
export declare function uploadFeedbackAttachments(uploadService: BrowserUploadService, files: File[], bucketId: string): Promise<
|
|
10
|
+
export declare function uploadFeedbackAttachments(uploadService: BrowserUploadService, files: File[], bucketId: string): Promise<{
|
|
11
|
+
data: null;
|
|
12
|
+
error: Error;
|
|
13
|
+
} | {
|
|
14
|
+
data: UploadedFeedbackAttachment[];
|
|
15
|
+
error: null;
|
|
16
|
+
}>;
|
package/dist/composables.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { u as a } from "./useAuthkitAuth-
|
|
2
|
-
import { u as t } from "./apiClients-
|
|
3
|
-
import { L as r, a as i, b as n, i as l, o as f, r as p, c as g, u as m } from "./useLegalDocs-
|
|
4
|
-
import { f as h } from "./fetchAuthPageAboutUs-
|
|
5
|
-
import { u as d } from "./useAuthkitUsersProfile-
|
|
6
|
-
import { u as b } from "./useAuthkitAppsAuthPageInfo-
|
|
7
|
-
import { u as O } from "./useAuthkitCreateAndUpdate-
|
|
8
|
-
import { u as D } from "./useMessageNotifications-
|
|
9
|
-
import { c as P, g as E, a as R, b as U, s as k, d as M, u as T } from "./runtime-
|
|
10
|
-
import { u as w, a as y, b as H, c as I, d as B } from "./useSEO-
|
|
11
|
-
import { f as _, a as F, g as K, u as N, b as V, c as Y, w as j } from "./useRoutePermission-
|
|
1
|
+
import { u as a } from "./useAuthkitAuth-M2vTpEcb.js";
|
|
2
|
+
import { u as t } from "./apiClients-CR-hEwog.js";
|
|
3
|
+
import { L as r, a as i, b as n, i as l, o as f, r as p, c as g, u as m } from "./useLegalDocs-BOjqYRyQ.js";
|
|
4
|
+
import { f as h } from "./fetchAuthPageAboutUs-BnKWq_TL.js";
|
|
5
|
+
import { u as d } from "./useAuthkitUsersProfile-DdUAENic.js";
|
|
6
|
+
import { u as b } from "./useAuthkitAppsAuthPageInfo-Byu0yvrx.js";
|
|
7
|
+
import { u as O } from "./useAuthkitCreateAndUpdate-D2_Bdazi.js";
|
|
8
|
+
import { u as D } from "./useMessageNotifications-AznFeFMD.js";
|
|
9
|
+
import { c as P, g as E, a as R, b as U, s as k, d as M, u as T } from "./runtime-DMCyhVcI.js";
|
|
10
|
+
import { u as w, a as y, b as H, c as I, d as B } from "./useSEO-Chz4Zxuu.js";
|
|
11
|
+
import { f as _, a as F, g as K, u as N, b as V, c as Y, w as j } from "./useRoutePermission-BmUXTwQc.js";
|
|
12
12
|
import { u as z } from "./useUserMenu-ClPBlvaM.js";
|
|
13
|
-
import { u as Q, a as W } from "./useSubscriptionCheckout-
|
|
14
|
-
import { c as Z, u as $, a as ee, b as se } from "./useBillingStatusOptions-
|
|
13
|
+
import { u as Q, a as W } from "./useSubscriptionCheckout-3ivcOcgC.js";
|
|
14
|
+
import { c as Z, u as $, a as ee, b as se } from "./useBillingStatusOptions-Jq6Wqfxb.js";
|
|
15
15
|
export {
|
|
16
16
|
r as LEGAL_DOCS,
|
|
17
17
|
i as LEGAL_DOC_KEYS,
|
package/dist/feedback.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { C as i } from "./index-
|
|
1
|
+
import { B as b, a as s, F as d, b as F, _ as o, c, R as t, V as r } from "./FeedbackModal.vue_vue_type_script_setup_true_lang-C1hPqnNT.js";
|
|
2
|
+
import { C as i } from "./index-BhVwozr0.js";
|
|
3
3
|
import { F as m, a as f, b as n, c as p } from "./FeedbackItem-BP-SiJ2u.js";
|
|
4
4
|
export {
|
|
5
5
|
i as Clipboard,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as r } from "./useAuthkitAppsAuthPageInfo-
|
|
2
|
-
import { g as u } from "./runtime-
|
|
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;
|
|
@@ -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";
|