@huyooo/ui 0.5.38 → 0.5.40
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/{AuthkitAuthModal-BUicw-gi.js → AuthkitAuthModal-D9KYU2Q_.js} +5 -5
- package/dist/{AuthkitAuthorize--PZTQ6P_.js → AuthkitAuthorize-Dp2O6V8H.js} +2 -2
- package/dist/{Clipboard-07wvmu-K.js → Clipboard-CKth2I5_.js} +1 -1
- package/dist/{Contact-Cyjfnsrc.js → Contact-DCnybs0y.js} +2 -2
- package/dist/{FeedbackItem-CdNcEvhG.js → FeedbackItem-CRLaflw8.js} +3 -3
- package/dist/{FeedbackModal-BmQ-U6uw.js → FeedbackModal-CieTPhns.js} +3 -3
- package/dist/{MessageHandle-B7xIxdar.js → MessageHandle-CXNFRd1b.js} +3 -3
- package/dist/{PaySubscriptions-DW5TFQLM.js → PaySubscriptions--3YYjJJQ.js} +3 -3
- package/dist/{ReferrerReferees-B74Ti5ip.js → ReferrerReferees-BTGhLFWg.js} +4 -4
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CoOnOaNP.js → Upload.vue_vue_type_script_setup_true_lang-BRIQece7.js} +2 -2
- package/dist/{UserAccountMenu-CBcYE5WO.js → UserAccountMenu-kABD5Mgj.js} +7 -7
- package/dist/{WidthContainer-CaG3ubDu.js → WidthContainer-DBh2ZOUb.js} +76 -73
- package/dist/{auth-B864DrVx.js → auth-DoFeUkvU.js} +1 -1
- package/dist/authkit.js +6 -6
- package/dist/common.js +1 -1
- package/dist/composables.js +9 -9
- package/dist/feedback.js +3 -3
- package/dist/index.js +23 -23
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-Ct-ElH04.js → useAuthkitAppsAuthPageInfo-ColL5PT9.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-C7pOKxNA.js → useAuthkitCreateAndUpdate-sd36XPRm.js} +1 -1
- package/dist/{useAuthkitUsersProfile-B1y2nleU.js → useAuthkitUsersProfile-DZErSTcF.js} +1 -1
- package/dist/{useDownloads-B7Leb86s.js → useDownloads-ZE9iJwIA.js} +1 -1
- package/dist/{useMessageNotifications-BUJtc-Us.js → useMessageNotifications-a37WUHHY.js} +1 -1
- package/dist/{useSEO-BPLbTGu_.js → useSEO-cMg2LHqd.js} +2 -2
- package/dist/{useTableHandle-DGz8Wwsj.js → useTableHandle-CdyzAUWe.js} +1 -1
- package/dist/{useUploadCos-Ca4Mo5FD.js → useUploadCos-BEzVZoNh.js} +1 -1
- package/dist/user.js +1 -1
- package/package.json +1 -1
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
import { defineComponent as k, computed as T, createElementBlock as P, openBlock as g, normalizeStyle as j, normalizeClass as ce, createElementVNode as b, ref as h, createBlock as _, unref as e, withCtx as m, createVNode as s, createTextVNode as z, onMounted as G, onUnmounted as te, withDirectives as fe, toDisplayString as B, vShow as pe, Fragment as W, createCommentVNode as S, isRef as ie, useSlots as ve, renderSlot as se } from "vue";
|
|
5
5
|
import { Form as O, FormItem as A, Avatar as ne, Input as V, Textarea as ge, Button as U, Message as E, Alert as L, Modal as le, Divider as ye, Link as N } from "@arco-design/web-vue";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { g as F, c as H, h as ae, u as he } from "./auth-
|
|
7
|
+
import { g as F, c as H, h as ae, u as he } from "./auth-DoFeUkvU.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { u as _e } from "./useUploadCos-
|
|
10
|
-
import { b as be, c as ee, d as we, a as K, e as ze, f as Se, u as Z } from "./useAuthkitUsersProfile-
|
|
9
|
+
import { u as _e } from "./useUploadCos-BEzVZoNh.js";
|
|
10
|
+
import { b as be, c as ee, d as we, a as K, e as ze, f as Se, u as Z } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
11
11
|
import { _ as ke, g as Ae, i as Ie } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
12
12
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
import { M as Pe } from "./Menu-ejsosUdV.js";
|
|
14
|
-
import { u as Ve } from "./useAuthkitCreateAndUpdate-
|
|
15
|
-
import { u as J } from "./useAuthkitAppsAuthPageInfo-
|
|
14
|
+
import { u as Ve } from "./useAuthkitCreateAndUpdate-sd36XPRm.js";
|
|
15
|
+
import { u as J } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { Icon as Ue } from "@iconify/vue";
|
|
18
18
|
const $e = k({
|
|
@@ -8,8 +8,8 @@ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { List as w, ListItem as d, ListItemMeta as p, Avatar as c, Button as x } from "@arco-design/web-vue";
|
|
11
|
-
import { a as $ } from "./useAuthkitAppsAuthPageInfo-
|
|
12
|
-
import { o as T } from "./auth-
|
|
11
|
+
import { a as $ } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
12
|
+
import { o as T } from "./auth-DoFeUkvU.js";
|
|
13
13
|
const U = {
|
|
14
14
|
class: "header"
|
|
15
15
|
}, B = ["href"], L = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import "./auth-
|
|
2
|
+
import "./auth-DoFeUkvU.js";
|
|
3
3
|
import { defineComponent as V, ref as X, createBlock as J, openBlock as K, unref as Q } from "vue";
|
|
4
4
|
import { Message as W } from "@arco-design/web-vue";
|
|
5
5
|
import { Icon as Z } from "@iconify/vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as P, ref as q, createElementBlock as t, openBlock as Q, createVNode as A, withCtx as B, Fragment as H, renderList as e, createBlock as W, createTextVNode as p, toDisplayString as i, unref as V, createElementVNode as F } from "vue";
|
|
2
2
|
import { f as n, e as y, h as G, g as R, L as Z, c as h, l as Y, m as b, n as J, k as S, a as O, b as d } from "./LandingPageSectionHeader-BWX7bHHG.js";
|
|
3
3
|
import { _ as U } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { u as M } from "./useAuthkitAppsAuthPageInfo-
|
|
5
|
-
import { g as L } from "./auth-
|
|
4
|
+
import { u as M } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
5
|
+
import { g as L } from "./auth-DoFeUkvU.js";
|
|
6
6
|
import { c as x } from "./index-Bb-d5pBq.js";
|
|
7
7
|
const j = {
|
|
8
8
|
class: "Footer"
|
|
@@ -7,9 +7,9 @@ import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { u as Z } from "./useUploadCos-
|
|
11
|
-
import { g as A } from "./auth-
|
|
12
|
-
import "./FeedbackModal-
|
|
10
|
+
import { u as Z } from "./useUploadCos-BEzVZoNh.js";
|
|
11
|
+
import { g as A } from "./auth-DoFeUkvU.js";
|
|
12
|
+
import "./FeedbackModal-CieTPhns.js";
|
|
13
13
|
import { Icon as Y } from "@iconify/vue";
|
|
14
14
|
const H = f({
|
|
15
15
|
name: "IconDown",
|
|
@@ -8,16 +8,16 @@ import { M as De } from "./Menu-ejsosUdV.js";
|
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { c as N, g as q } from "./auth-
|
|
11
|
+
import { c as N, g as q } from "./auth-DoFeUkvU.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-
|
|
14
|
+
import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-BEzVZoNh.js";
|
|
15
15
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { f as j } from "./index-Bb-d5pBq.js";
|
|
18
18
|
import { C as Ve } from "./CustomTable-B8i1SbFB.js";
|
|
19
19
|
import { Bubble as fe, Prompts as Pe, Sender as Ee } from "ant-design-x-vue";
|
|
20
|
-
import { C as pe } from "./Clipboard-
|
|
20
|
+
import { C as pe } from "./Clipboard-CKth2I5_.js";
|
|
21
21
|
import { Icon as je } from "@iconify/vue";
|
|
22
22
|
import { _ as me, g as ve, i as ye } from "./plugin-vue_export-helper-LjDO2Zua.js";
|
|
23
23
|
const Me = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), te = {
|
|
@@ -4,14 +4,14 @@ import { defineComponent as b, ref as r, createBlock as p, openBlock as l, unref
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { Spin as V, Empty as K, Button as G, Divider as J, Breadcrumb as O, BreadcrumbItem as x, Modal as P } from "@arco-design/web-vue";
|
|
7
|
-
import { c as S, g as D } from "./auth-
|
|
7
|
+
import { c as S, g as D } from "./auth-DoFeUkvU.js";
|
|
8
8
|
import { TiptapEditor as Q, TiptapTitle as W } from "@huyooo/vue-tiptap";
|
|
9
9
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { useIntersectionObserver as X } from "@vueuse/core";
|
|
12
|
-
import { u as Y } from "./useMessageNotifications-
|
|
12
|
+
import { u as Y } from "./useMessageNotifications-a37WUHHY.js";
|
|
13
13
|
import { Icon as Z } from "@iconify/vue";
|
|
14
|
-
import { u as ee } from "./useAuthkitCreateAndUpdate-
|
|
14
|
+
import { u as ee } from "./useAuthkitCreateAndUpdate-sd36XPRm.js";
|
|
15
15
|
import { M as te } from "./Menu-ejsosUdV.js";
|
|
16
16
|
function ne(a) {
|
|
17
17
|
return S({
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { defineComponent as D, ref as U, createBlock as B, openBlock as L, unref as a, isRef as M, withCtx as o, createElementVNode as d, createVNode as r, createTextVNode as u, toDisplayString as n } from "vue";
|
|
7
7
|
import { Modal as V, Popconfirm as $, Button as E, Tag as g } from "@arco-design/web-vue";
|
|
8
|
-
import { c as _, g as x } from "./auth-
|
|
9
|
-
import { u as H } from "./useAuthkitCreateAndUpdate-
|
|
10
|
-
import { u as j } from "./useTableHandle-
|
|
8
|
+
import { c as _, g as x } from "./auth-DoFeUkvU.js";
|
|
9
|
+
import { u as H } from "./useAuthkitCreateAndUpdate-sd36XPRm.js";
|
|
10
|
+
import { u as j } from "./useTableHandle-CdyzAUWe.js";
|
|
11
11
|
import { f as y } from "./index-Bb-d5pBq.js";
|
|
12
12
|
import { C as q } from "./CustomTable-B8i1SbFB.js";
|
|
13
13
|
import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { defineComponent as z, ref as d, createBlock as v, openBlock as g, unref as a, withCtx as _, createElementVNode as n, createVNode as A, createCommentVNode as V, toDisplayString as C, createTextVNode as w } from "vue";
|
|
5
5
|
import { Modal as T } from "@arco-design/web-vue";
|
|
6
|
-
import { c as U, g as y } from "./auth-
|
|
7
|
-
import { u as B } from "./useTableHandle-
|
|
6
|
+
import { c as U, g as y } from "./auth-DoFeUkvU.js";
|
|
7
|
+
import { u as B } from "./useTableHandle-CdyzAUWe.js";
|
|
8
8
|
import { C as D } from "./CustomTable-B8i1SbFB.js";
|
|
9
|
-
import { C as E } from "./Clipboard-
|
|
10
|
-
import { a as H } from "./useAuthkitUsersProfile-
|
|
9
|
+
import { C as E } from "./Clipboard-CKth2I5_.js";
|
|
10
|
+
import { a as H } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
11
11
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
function $(c) {
|
|
13
13
|
return U({
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { defineComponent as q, createBlock as y, openBlock as F, unref as S, mergeProps as h, createSlots as C, withCtx as u, renderSlot as p } from "vue";
|
|
7
7
|
import { Upload as I } from "@arco-design/web-vue";
|
|
8
|
-
import { u as _ } from "./useUploadCos-
|
|
9
|
-
import { g as l } from "./auth-
|
|
8
|
+
import { u as _ } from "./useUploadCos-BEzVZoNh.js";
|
|
9
|
+
import { g as l } from "./auth-DoFeUkvU.js";
|
|
10
10
|
const O = /* @__PURE__ */ q({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent as b, createElementBlock as v, openBlock as u, normalizeStyle as E, normalizeClass as K, createElementVNode as d, computed as B, createBlock as _, createCommentVNode as P, createVNode as r, unref as n, withCtx as l, createTextVNode as k, toDisplayString as S, mergeModels as D, useModel as T, renderSlot as W, ref as p, Fragment as be } from "vue";
|
|
6
6
|
import { Tag as Ce, Button as X, Avatar as Y, Dropdown as $e, Divider as G, Doption as C } from "@arco-design/web-vue";
|
|
7
|
-
import { S as we } from "./PaySubscriptions
|
|
8
|
-
import { R as Ie } from "./ReferrerReferees-
|
|
9
|
-
import { a as N, u as he } from "./useAuthkitUsersProfile-
|
|
10
|
-
import { u as Ue, g as q } from "./auth-
|
|
11
|
-
import { c as Ae, A as Me } from "./AuthkitAuthModal-
|
|
12
|
-
import { d as xe } from "./FeedbackModal-
|
|
13
|
-
import { M as Be } from "./MessageHandle-
|
|
7
|
+
import { S as we } from "./PaySubscriptions--3YYjJJQ.js";
|
|
8
|
+
import { R as Ie } from "./ReferrerReferees-BTGhLFWg.js";
|
|
9
|
+
import { a as N, u as he } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
10
|
+
import { u as Ue, g as q } from "./auth-DoFeUkvU.js";
|
|
11
|
+
import { c as Ae, A as Me } from "./AuthkitAuthModal-D9KYU2Q_.js";
|
|
12
|
+
import { d as xe } from "./FeedbackModal-CieTPhns.js";
|
|
13
|
+
import { M as Be } from "./MessageHandle-CXNFRd1b.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
import { defineComponent as x, ref as
|
|
3
|
+
import { defineComponent as x, ref as q, watch as B, createElementBlock as n, openBlock as e, createElementVNode as s, createVNode as y, unref as h, withCtx as ne, resolveComponent as oe, createBlock as O, createCommentVNode as k, toDisplayString as w, onMounted as se, onUnmounted as ae, Fragment as U, renderList as H, normalizeClass as L, createTextVNode as ie, normalizeStyle as K, renderSlot as R, computed as E } from "vue";
|
|
4
4
|
import { Spin as D } from "@arco-design/web-vue";
|
|
5
|
-
import { a as G } from "./useAuthkitUsersProfile-
|
|
6
|
-
import { u as N, a as re } from "./auth-
|
|
7
|
-
import { u as F } from "./useAuthkitAppsAuthPageInfo-
|
|
8
|
-
import { a as j, f as J, w as W, b as Q, d as X, c as ce } from "./useSEO-
|
|
9
|
-
import "./useUploadCos-
|
|
5
|
+
import { a as G } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
6
|
+
import { u as N, a as re } from "./auth-DoFeUkvU.js";
|
|
7
|
+
import { u as F } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
8
|
+
import { a as j, f as J, w as W, b as Q, d as X, c as ce } from "./useSEO-cMg2LHqd.js";
|
|
9
|
+
import "./useUploadCos-BEzVZoNh.js";
|
|
10
10
|
import { useRouter as Y, useRoute as Z } from "vue-router";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { d as ue, c as ee } from "./UserAccountMenu-
|
|
13
|
+
import { d as ue, c as ee } from "./UserAccountMenu-kABD5Mgj.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
|
@@ -51,46 +51,49 @@ const de = {
|
|
|
51
51
|
} = F(), {
|
|
52
52
|
menus: m,
|
|
53
53
|
hasPermission: b
|
|
54
|
-
} = j(t.menuType), $ = Y(), C =
|
|
54
|
+
} = j(t.menuType), $ = Y(), C = q(!1);
|
|
55
55
|
function I() {
|
|
56
56
|
$.push({
|
|
57
57
|
path: "/"
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
function T(
|
|
62
|
-
const r =
|
|
60
|
+
const f = Z(), M = q([""]);
|
|
61
|
+
function T(_) {
|
|
62
|
+
const r = _.path;
|
|
63
63
|
if (!b(r)) {
|
|
64
64
|
d.value || (c.value = !0);
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
W(() => {
|
|
68
|
-
$.push(
|
|
68
|
+
$.push({
|
|
69
|
+
path: r,
|
|
70
|
+
query: f.query
|
|
71
|
+
}), M.value = [r], window.scrollTo({
|
|
69
72
|
top: 0,
|
|
70
73
|
behavior: "smooth"
|
|
71
74
|
});
|
|
72
75
|
});
|
|
73
76
|
}
|
|
74
|
-
return B(() =>
|
|
75
|
-
const
|
|
76
|
-
console.log(
|
|
77
|
+
return B(() => f.path, () => {
|
|
78
|
+
const _ = J(f.matched, t.menuType, f.path);
|
|
79
|
+
console.log(_, f.matched, t.menuType, f.path, "activateKey"), _ && (M.value = [_]);
|
|
77
80
|
}, {
|
|
78
81
|
immediate: !0
|
|
79
|
-
}), (
|
|
82
|
+
}), (_, r) => (e(), n("div", de, [s("div", pe, [y(h(te), {
|
|
80
83
|
icon: h(u).applicationLogoUrl,
|
|
81
84
|
name: h(u).name,
|
|
82
85
|
onTo: I
|
|
83
|
-
}, null, 8, ["icon", "name"])]), s("div", he, [
|
|
86
|
+
}, null, 8, ["icon", "name"])]), s("div", he, [y(le, {
|
|
84
87
|
"selected-keys": M.value,
|
|
85
|
-
"onUpdate:selectedKeys": r[0] || (r[0] = (
|
|
88
|
+
"onUpdate:selectedKeys": r[0] || (r[0] = (v) => M.value = v),
|
|
86
89
|
menus: h(m),
|
|
87
90
|
onChange: T
|
|
88
|
-
}, null, 8, ["selected-keys", "menus"])]), s("div", me, [
|
|
89
|
-
onArrowClick: r[2] || (r[2] = (
|
|
91
|
+
}, null, 8, ["selected-keys", "menus"])]), s("div", me, [y(h(ue), {
|
|
92
|
+
onArrowClick: r[2] || (r[2] = (v) => C.value = !C.value)
|
|
90
93
|
}, {
|
|
91
|
-
avatar: ne(() => [
|
|
94
|
+
avatar: ne(() => [y(h(ee), {
|
|
92
95
|
modelValue: C.value,
|
|
93
|
-
"onUpdate:modelValue": r[1] || (r[1] = (
|
|
96
|
+
"onUpdate:modelValue": r[1] || (r[1] = (v) => C.value = v),
|
|
94
97
|
position: "tr",
|
|
95
98
|
"dropdown-offset-y": "30px",
|
|
96
99
|
"dropdown-offset-x": "230px"
|
|
@@ -98,7 +101,7 @@ const de = {
|
|
|
98
101
|
_: 1
|
|
99
102
|
})])]));
|
|
100
103
|
}
|
|
101
|
-
}), _e = /* @__PURE__ */ S(fe, [["__scopeId", "data-v-
|
|
104
|
+
}), _e = /* @__PURE__ */ S(fe, [["__scopeId", "data-v-19d56143"]]), ve = {
|
|
102
105
|
class: "layout"
|
|
103
106
|
}, ge = {
|
|
104
107
|
class: "leftContent"
|
|
@@ -128,17 +131,17 @@ const de = {
|
|
|
128
131
|
} = Q();
|
|
129
132
|
return X(), (d, u) => {
|
|
130
133
|
const m = oe("RouterView");
|
|
131
|
-
return e(), n("div", ve, [s("div", ge, [
|
|
134
|
+
return e(), n("div", ve, [s("div", ge, [y(_e, {
|
|
132
135
|
"menu-type": t.menuType,
|
|
133
136
|
"show-user-panel": t.showUserPanel
|
|
134
|
-
}, null, 8, ["menu-type", "show-user-panel"])]), s("div", ye, [s("div", be, [s("div", ke, [h(c) ? (e(), n("div", we, [
|
|
137
|
+
}, null, 8, ["menu-type", "show-user-panel"])]), s("div", ye, [s("div", be, [s("div", ke, [h(c) ? (e(), n("div", we, [y(h(D), {
|
|
135
138
|
size: 40
|
|
136
139
|
})])) : (e(), O(m, {
|
|
137
140
|
key: 1
|
|
138
141
|
}))])])])]);
|
|
139
142
|
};
|
|
140
143
|
}
|
|
141
|
-
}),
|
|
144
|
+
}), zt = /* @__PURE__ */ S(Se, [["__scopeId", "data-v-4a48c340"]]), $e = {
|
|
142
145
|
class: "ContentHead"
|
|
143
146
|
}, Ce = {
|
|
144
147
|
class: "title"
|
|
@@ -175,10 +178,10 @@ const de = {
|
|
|
175
178
|
class: "submenu-popup"
|
|
176
179
|
}, Le = {
|
|
177
180
|
class: "submenu-content"
|
|
178
|
-
}, Ue = ["onClick"],
|
|
181
|
+
}, Ue = ["onClick"], qe = {
|
|
179
182
|
key: 0,
|
|
180
183
|
class: "submenu-item-icon"
|
|
181
|
-
},
|
|
184
|
+
}, ze = {
|
|
182
185
|
class: "submenu-item-content"
|
|
183
186
|
}, He = {
|
|
184
187
|
class: "submenu-item-title"
|
|
@@ -209,7 +212,7 @@ const de = {
|
|
|
209
212
|
setup(a, {
|
|
210
213
|
emit: t
|
|
211
214
|
}) {
|
|
212
|
-
const c = a, d = t, u =
|
|
215
|
+
const c = a, d = t, u = q(!1), m = q(!1), b = q({});
|
|
213
216
|
function $() {
|
|
214
217
|
m.value = window.innerWidth <= 1024;
|
|
215
218
|
}
|
|
@@ -219,7 +222,7 @@ const de = {
|
|
|
219
222
|
function I() {
|
|
220
223
|
u.value = !1;
|
|
221
224
|
}
|
|
222
|
-
function
|
|
225
|
+
function f(l) {
|
|
223
226
|
d("change", l);
|
|
224
227
|
}
|
|
225
228
|
function M(l) {
|
|
@@ -228,22 +231,22 @@ const de = {
|
|
|
228
231
|
function T(l) {
|
|
229
232
|
b.value[l] = !b.value[l];
|
|
230
233
|
}
|
|
231
|
-
function
|
|
232
|
-
const
|
|
233
|
-
if (
|
|
234
|
+
function _(l) {
|
|
235
|
+
const g = c.activateKey, o = l.path;
|
|
236
|
+
if (g === o || g.startsWith(o + "/"))
|
|
234
237
|
return !0;
|
|
235
238
|
if (l.children && l.children.length > 0) {
|
|
236
239
|
for (const p of l.children)
|
|
237
|
-
if (
|
|
240
|
+
if (g === p.path || g.startsWith(p.path + "/"))
|
|
238
241
|
return !0;
|
|
239
242
|
}
|
|
240
243
|
return !1;
|
|
241
244
|
}
|
|
242
245
|
function r(l) {
|
|
243
|
-
const
|
|
244
|
-
return !!(
|
|
246
|
+
const g = c.activateKey, o = l.path;
|
|
247
|
+
return !!(g === o || g.startsWith(o + "/"));
|
|
245
248
|
}
|
|
246
|
-
function
|
|
249
|
+
function v(l) {
|
|
247
250
|
d("change", l);
|
|
248
251
|
}
|
|
249
252
|
function P() {
|
|
@@ -253,13 +256,13 @@ const de = {
|
|
|
253
256
|
$(), window.addEventListener("resize", P);
|
|
254
257
|
}), ae(() => {
|
|
255
258
|
window.removeEventListener("resize", P);
|
|
256
|
-
}), (l,
|
|
259
|
+
}), (l, g) => (e(), n("div", Pe, [m.value ? k("", !0) : (e(), n("div", xe, [(e(!0), n(U, null, H(c.menus, (o, p) => (e(), n(U, {
|
|
257
260
|
key: p
|
|
258
261
|
}, [o.children && o.children.length > 0 ? (e(), n("div", Te, [s("div", {
|
|
259
262
|
class: L(["headerLink hasChildren", {
|
|
260
|
-
activate:
|
|
263
|
+
activate: _(o)
|
|
261
264
|
}])
|
|
262
|
-
}, [ie(w(o.name) + " ", 1),
|
|
265
|
+
}, [ie(w(o.name) + " ", 1), y(h(V), {
|
|
263
266
|
icon: "mingcute:down-line",
|
|
264
267
|
class: "dropdown-arrow"
|
|
265
268
|
})], 2), s("div", Ae, [s("div", Le, [(e(!0), n(U, null, H(o.children, (i, A) => (e(), n("div", {
|
|
@@ -267,15 +270,15 @@ const de = {
|
|
|
267
270
|
class: L(["submenu-item", {
|
|
268
271
|
active: r(i)
|
|
269
272
|
}]),
|
|
270
|
-
onClick: (
|
|
271
|
-
}, [i.icon ? (e(), n("div",
|
|
273
|
+
onClick: (z) => f(i)
|
|
274
|
+
}, [i.icon ? (e(), n("div", qe, [y(h(V), {
|
|
272
275
|
icon: i.icon
|
|
273
|
-
}, null, 8, ["icon"])])) : k("", !0), s("div",
|
|
276
|
+
}, null, 8, ["icon"])])) : k("", !0), s("div", ze, [s("div", He, w(i.name), 1), i.description ? (e(), n("div", Ke, w(i.description), 1)) : k("", !0)])], 10, Ue))), 128))])])])) : (e(), n("div", {
|
|
274
277
|
key: 1,
|
|
275
278
|
class: L(["headerLink", {
|
|
276
|
-
activate:
|
|
279
|
+
activate: _(o)
|
|
277
280
|
}]),
|
|
278
|
-
onClick: (i) =>
|
|
281
|
+
onClick: (i) => v(o)
|
|
279
282
|
}, w(o.name), 11, Ve))], 64))), 128))])), m.value ? (e(), n("button", {
|
|
280
283
|
key: 1,
|
|
281
284
|
class: L(["mobile-menu-toggle", {
|
|
@@ -283,7 +286,7 @@ const de = {
|
|
|
283
286
|
}]),
|
|
284
287
|
"aria-label": "切换菜单",
|
|
285
288
|
onClick: C
|
|
286
|
-
}, [...
|
|
289
|
+
}, [...g[0] || (g[0] = [s("span", {
|
|
287
290
|
class: "hamburger-line"
|
|
288
291
|
}, null, -1), s("span", {
|
|
289
292
|
class: "hamburger-line"
|
|
@@ -298,13 +301,13 @@ const de = {
|
|
|
298
301
|
}, [o.children && o.children.length > 0 ? (e(), n("div", {
|
|
299
302
|
key: 0,
|
|
300
303
|
class: L(["mobile-menu-item has-children", {
|
|
301
|
-
activate:
|
|
304
|
+
activate: _(o),
|
|
302
305
|
expanded: b.value[p]
|
|
303
306
|
}])
|
|
304
307
|
}, [s("div", {
|
|
305
308
|
class: "mobile-menu-item-header",
|
|
306
309
|
onClick: (i) => T(p)
|
|
307
|
-
}, [s("span", null, w(o.name), 1),
|
|
310
|
+
}, [s("span", null, w(o.name), 1), y(h(V), {
|
|
308
311
|
icon: b.value[p] ? "mingcute:up-line" : "mingcute:down-line",
|
|
309
312
|
class: "mobile-submenu-arrow"
|
|
310
313
|
}, null, 8, ["icon"])], 8, Be), b.value[p] ? (e(), n("div", Oe, [(e(!0), n(U, null, H(o.children, (i, A) => (e(), n("div", {
|
|
@@ -312,11 +315,11 @@ const de = {
|
|
|
312
315
|
class: L(["mobile-submenu-item", {
|
|
313
316
|
active: r(i)
|
|
314
317
|
}]),
|
|
315
|
-
onClick: (
|
|
318
|
+
onClick: (z) => M(i)
|
|
316
319
|
}, w(i.name), 11, Re))), 128))])) : k("", !0)], 2)) : (e(), n("div", {
|
|
317
320
|
key: 1,
|
|
318
321
|
class: L(["mobile-menu-item", {
|
|
319
|
-
activate:
|
|
322
|
+
activate: _(o)
|
|
320
323
|
}]),
|
|
321
324
|
onClick: (i) => M(o)
|
|
322
325
|
}, w(o.name), 11, De))], 64))), 128))])])) : k("", !0)]));
|
|
@@ -398,33 +401,33 @@ const de = {
|
|
|
398
401
|
} = F(), {
|
|
399
402
|
menus: m,
|
|
400
403
|
hasPermission: b
|
|
401
|
-
} = j(t.menuType), $ =
|
|
402
|
-
function
|
|
404
|
+
} = j(t.menuType), $ = q(""), C = Y(), I = Z();
|
|
405
|
+
function f(r) {
|
|
403
406
|
return r.split("?")[0].split("#")[0];
|
|
404
407
|
}
|
|
405
|
-
function M(r,
|
|
406
|
-
const P =
|
|
408
|
+
function M(r, v) {
|
|
409
|
+
const P = f(v);
|
|
407
410
|
function l(o, p) {
|
|
408
411
|
for (const i of o) {
|
|
409
|
-
if (
|
|
412
|
+
if (f(i.path) === p)
|
|
410
413
|
return i.path;
|
|
411
414
|
if (i.children && i.children.length > 0) {
|
|
412
|
-
const
|
|
413
|
-
if (
|
|
414
|
-
return
|
|
415
|
+
const z = l(i.children, p);
|
|
416
|
+
if (z)
|
|
417
|
+
return z;
|
|
415
418
|
}
|
|
416
419
|
}
|
|
417
420
|
return null;
|
|
418
421
|
}
|
|
419
|
-
const
|
|
420
|
-
if (
|
|
421
|
-
return
|
|
422
|
+
const g = l(r, P);
|
|
423
|
+
if (g)
|
|
424
|
+
return g;
|
|
422
425
|
for (const o of r) {
|
|
423
|
-
const p =
|
|
426
|
+
const p = f(o.path);
|
|
424
427
|
if (P.startsWith(p + "/") || P === p) {
|
|
425
428
|
if (o.children && o.children.length > 0)
|
|
426
429
|
for (const i of o.children) {
|
|
427
|
-
const A =
|
|
430
|
+
const A = f(i.path);
|
|
428
431
|
if (P.startsWith(A + "/") || P === A)
|
|
429
432
|
return o.path;
|
|
430
433
|
}
|
|
@@ -443,14 +446,14 @@ const de = {
|
|
|
443
446
|
});
|
|
444
447
|
});
|
|
445
448
|
}
|
|
446
|
-
function
|
|
447
|
-
const
|
|
448
|
-
if (!b(
|
|
449
|
+
function _(r) {
|
|
450
|
+
const v = r.path;
|
|
451
|
+
if (!b(v)) {
|
|
449
452
|
d.value || (c.value = !0);
|
|
450
453
|
return;
|
|
451
454
|
}
|
|
452
455
|
W(() => {
|
|
453
|
-
C.push(
|
|
456
|
+
C.push(v), $.value = v, window.scrollTo({
|
|
454
457
|
top: 0,
|
|
455
458
|
behavior: "smooth"
|
|
456
459
|
});
|
|
@@ -461,14 +464,14 @@ const de = {
|
|
|
461
464
|
}, {
|
|
462
465
|
immediate: !0,
|
|
463
466
|
deep: !0
|
|
464
|
-
}), (r,
|
|
467
|
+
}), (r, v) => (e(), n("div", Je, [s("div", Qe, [y(te, {
|
|
465
468
|
icon: h(u).applicationLogoUrl,
|
|
466
469
|
name: h(u).name,
|
|
467
470
|
onTo: T
|
|
468
|
-
}, null, 8, ["icon", "name"])]), s("div", Xe, [
|
|
471
|
+
}, null, 8, ["icon", "name"])]), s("div", Xe, [y(Ne, {
|
|
469
472
|
menus: h(m),
|
|
470
473
|
activateKey: $.value,
|
|
471
|
-
onChange:
|
|
474
|
+
onChange: _
|
|
472
475
|
}, null, 8, ["menus", "activateKey"]), t.showUserPanel ? (e(), O(ee, {
|
|
473
476
|
key: 0,
|
|
474
477
|
onToHomePage: T,
|
|
@@ -508,10 +511,10 @@ const de = {
|
|
|
508
511
|
backgroundImage: t.backgroundImage || nt,
|
|
509
512
|
backgroundAttachment: "fixed"
|
|
510
513
|
})
|
|
511
|
-
}, [
|
|
514
|
+
}, [y(Ze, {
|
|
512
515
|
"menu-type": t.menuType,
|
|
513
516
|
"show-user-panel": t.showUserPanel
|
|
514
|
-
}, null, 8, ["menu-type", "show-user-panel"]), s("div", et, [h(d) ? (e(), n("div", tt, [
|
|
517
|
+
}, null, 8, ["menu-type", "show-user-panel"]), s("div", et, [h(d) ? (e(), n("div", tt, [y(h(D), {
|
|
515
518
|
size: 40
|
|
516
519
|
})])) : R(u.$slots, "default", {
|
|
517
520
|
key: 1
|
|
@@ -613,7 +616,7 @@ function lt(a, t) {
|
|
|
613
616
|
}
|
|
614
617
|
const Wt = /* @__PURE__ */ S(ct, [["render", lt], ["__scopeId", "data-v-d06aac1f"]]);
|
|
615
618
|
export {
|
|
616
|
-
|
|
619
|
+
zt as A,
|
|
617
620
|
Ht as C,
|
|
618
621
|
Kt as D,
|
|
619
622
|
Vt as G,
|
|
@@ -87,7 +87,7 @@ async function w() {
|
|
|
87
87
|
n.interceptors.request.use((e) => {
|
|
88
88
|
console.log(e, "configconfig");
|
|
89
89
|
const r = localStorage.getItem("jwtToken");
|
|
90
|
-
return r && e.headers && (e.headers.authorization = `Bearer ${r}`), e.headers && (e.headers["app-id"] = s.appId), e;
|
|
90
|
+
return r && e.headers && (e.headers.authorization = `Bearer ${r}`), e.headers && !("app-id" in e.headers) && (e.headers["app-id"] = s.appId), e;
|
|
91
91
|
}, (e) => Promise.reject(e));
|
|
92
92
|
n.interceptors.response.use(async (e) => {
|
|
93
93
|
const r = (e == null ? void 0 : e.data) || {}, {
|
package/dist/authkit.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-
|
|
2
|
-
import { A as y, a as E } from "./AuthkitAuthorize
|
|
3
|
-
import { u as C } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as V, a as b } from "./useAuthkitUsersProfile-
|
|
5
|
-
import { u as B } from "./auth-
|
|
6
|
-
import { u as j } from "./useAuthkitCreateAndUpdate-
|
|
1
|
+
import { A as a, a as s, c as u, b as A, n as h, E as e, k as r, l as o, _ as k, O as n, f as d, o as p, P as f, j as m, R as P, S, i as g, m as l, d as w, e as U, g as c, h as x } from "./AuthkitAuthModal-D9KYU2Q_.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-Dp2O6V8H.js";
|
|
3
|
+
import { u as C } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
4
|
+
import { u as V, a as b } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
5
|
+
import { u as B } from "./auth-DoFeUkvU.js";
|
|
6
|
+
import { u as j } from "./useAuthkitCreateAndUpdate-sd36XPRm.js";
|
|
7
7
|
export {
|
|
8
8
|
a as AuthkitAppSetting,
|
|
9
9
|
s as AuthkitAuth,
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-DBh2ZOUb.js";
|
|
2
2
|
import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
|
|
3
3
|
import { C as x, E as H } from "./CustomTable-B8i1SbFB.js";
|
|
4
4
|
import { M, a as g } from "./Menu-ejsosUdV.js";
|
package/dist/composables.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as a, a as o } from "./useAuthkitUsersProfile-
|
|
2
|
-
import { g as u, a as r, s as i, b as f, u as n } from "./auth-
|
|
3
|
-
import { u as p } from "./useAuthkitAppsAuthPageInfo-
|
|
4
|
-
import { u as m } from "./useAuthkitCreateAndUpdate-
|
|
5
|
-
import { u as d } from "./useMessageNotifications-
|
|
6
|
-
import { u as x, a as C } from "./useDownloads-
|
|
7
|
-
import { u as k } from "./useTableHandle-
|
|
8
|
-
import { f as w, u as E, a as M, b as O, d as P, c as S, w as U } from "./useSEO-
|
|
9
|
-
import { u as G } from "./useUploadCos-
|
|
1
|
+
import { u as a, a as o } from "./useAuthkitUsersProfile-DZErSTcF.js";
|
|
2
|
+
import { g as u, a as r, s as i, b as f, u as n } from "./auth-DoFeUkvU.js";
|
|
3
|
+
import { u as p } from "./useAuthkitAppsAuthPageInfo-ColL5PT9.js";
|
|
4
|
+
import { u as m } from "./useAuthkitCreateAndUpdate-sd36XPRm.js";
|
|
5
|
+
import { u as d } from "./useMessageNotifications-a37WUHHY.js";
|
|
6
|
+
import { u as x, a as C } from "./useDownloads-ZE9iJwIA.js";
|
|
7
|
+
import { u as k } from "./useTableHandle-CdyzAUWe.js";
|
|
8
|
+
import { f as w, u as E, a as M, b as O, d as P, c as S, w as U } from "./useSEO-cMg2LHqd.js";
|
|
9
|
+
import { u as G } from "./useUploadCos-BEzVZoNh.js";
|
|
10
10
|
export {
|
|
11
11
|
w as findMenuPath,
|
|
12
12
|
u as globalConfig,
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ 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, c as f, b as i, d as p } from "./FeedbackItem-
|
|
1
|
+
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-CieTPhns.js";
|
|
2
|
+
import { C as r } from "./Clipboard-CKth2I5_.js";
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-CRLaflw8.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|