@huyooo/ui 0.5.8 → 0.5.10
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-DOB2R0lE.js → AuthkitAuthModal-DEVS8XfG.js} +4 -4
- package/dist/{AuthkitAuthorize-BLKbcsyH.js → AuthkitAuthorize-cnC-Hl0X.js} +2 -2
- package/dist/Contact-ppttdnNW.js +204 -0
- package/dist/{FeedbackItem-TRyk9rcU.js → FeedbackItem-44CGbXN_.js} +3 -3
- package/dist/{FeedbackModal-BJx5Bzas.js → FeedbackModal-DdTqdVlw.js} +2 -2
- package/dist/{MessageHandle-DP9rvOy4.js → MessageHandle-Cagv57D0.js} +2 -2
- package/dist/{PaySubscriptions-DyHMXC_2.js → PaySubscriptions-Bva3INxJ.js} +1 -1
- package/dist/{ReferrerReferees-CxmerF3X.js → ReferrerReferees-D3qUZ62t.js} +2 -2
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CZ8Z-NG6.js → Upload.vue_vue_type_script_setup_true_lang-9HB-tLZd.js} +2 -2
- package/dist/{UserAccountMenu-BEFQWt3O.js → UserAccountMenu-50CxuyL3.js} +1 -1
- package/dist/{UserPanel-DgSdGhj5.js → UserPanel-DHXkFUTF.js} +7 -7
- package/dist/{WidthContainer-3fyX6xI4.js → WidthContainer-D_dX_G8P.js} +87 -71
- package/dist/authkit.js +4 -4
- package/dist/common/globalConfig.d.ts +12 -0
- package/dist/common.js +1 -1
- package/dist/composables/useSEO.d.ts +46 -0
- package/dist/composables.d.ts +2 -1
- package/dist/composables.js +24 -20
- package/dist/feedback.js +2 -2
- package/dist/globalConfig-C1YOJcxa.js +22 -0
- package/dist/index.js +920 -471
- package/dist/main.d.ts +1 -0
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/privateCom.d.ts +0 -1
- package/dist/privateCom.js +4 -6
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-qWOtNCda.js → useAuthkitAppsAuthPageInfo-Dfj4byB5.js} +1 -1
- package/dist/{useAuthkitUsersProfile-a-kA3R2Y.js → useAuthkitUsersProfile-Bi_zM2qG.js} +1 -1
- package/dist/useDownloads-DnMYa52H.js +73 -0
- package/dist/{useMessageNotifications-B5pXqPNh.js → useMessageNotifications-DSRanuRe.js} +1 -1
- package/dist/useSEO-CREH71xC.js +589 -0
- package/dist/{useUploadCos-yeMY5Xn0.js → useUploadCos-D5k1YLb7.js} +1 -1
- package/dist/user.js +2 -2
- package/package.json +1 -1
- package/dist/Contact-BLWzIAS4.js +0 -418
- package/dist/components/PrivateCom/useSEO.d.ts +0 -71
- package/dist/globalConfig-DKn-cF9c.js +0 -17
- package/dist/useDownloads-CHe228Vf.js +0 -87
- package/dist/useRoutePermission-BKg7oQTj.js +0 -120
|
@@ -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 "./globalConfig-
|
|
12
|
-
import "./FeedbackModal-
|
|
10
|
+
import { u as Z } from "./useUploadCos-D5k1YLb7.js";
|
|
11
|
+
import { g as A } from "./globalConfig-C1YOJcxa.js";
|
|
12
|
+
import "./FeedbackModal-DdTqdVlw.js";
|
|
13
13
|
import { Icon as Y } from "@iconify/vue";
|
|
14
14
|
const H = f({
|
|
15
15
|
name: "IconDown",
|
|
@@ -9,10 +9,10 @@ import { M as De } from "./Menu-BKBnsDJ8.js";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { api as N } from "@huyooo/api";
|
|
12
|
-
import { g as q } from "./globalConfig-
|
|
12
|
+
import { g as q } from "./globalConfig-C1YOJcxa.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-
|
|
15
|
+
import { r as Ne, a as Ae, u as Oe } from "./useUploadCos-D5k1YLb7.js";
|
|
16
16
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
/* empty css */
|
|
18
18
|
import { f as j } from "./index-Bb-d5pBq.js";
|
|
@@ -5,12 +5,12 @@ import { defineComponent as b, ref as r, createBlock as p, openBlock as l, unref
|
|
|
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
7
|
import { api as S } from "@huyooo/api";
|
|
8
|
-
import { g as D } from "./globalConfig-
|
|
8
|
+
import { g as D } from "./globalConfig-C1YOJcxa.js";
|
|
9
9
|
import { TiptapEditor as Q, TiptapTitle as W } from "@huyooo/vue-tiptap";
|
|
10
10
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { useIntersectionObserver as X } from "@vueuse/core";
|
|
13
|
-
import { u as Y } from "./useMessageNotifications-
|
|
13
|
+
import { u as Y } from "./useMessageNotifications-DSRanuRe.js";
|
|
14
14
|
import { Icon as Z } from "@iconify/vue";
|
|
15
15
|
import { u as ee } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
16
16
|
import { M as te } from "./Menu-BKBnsDJ8.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
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
8
|
import { api as _ } from "@huyooo/api";
|
|
9
|
-
import { g as x } from "./globalConfig-
|
|
9
|
+
import { g as x } from "./globalConfig-C1YOJcxa.js";
|
|
10
10
|
import { u as H } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
11
11
|
import { u as j } from "./useTableHandle-DKUIdSSh.js";
|
|
12
12
|
import { f as y } from "./index-Bb-d5pBq.js";
|
|
@@ -4,11 +4,11 @@
|
|
|
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
6
|
import { api as U } from "@huyooo/api";
|
|
7
|
-
import { g as y } from "./globalConfig-
|
|
7
|
+
import { g as y } from "./globalConfig-C1YOJcxa.js";
|
|
8
8
|
import { u as B } from "./useTableHandle-DKUIdSSh.js";
|
|
9
9
|
import { C as D } from "./CustomTable-B8i1SbFB.js";
|
|
10
10
|
import { C as E } from "./Clipboard-Bful1lNJ.js";
|
|
11
|
-
import { a as H } from "./useAuthkitUsersProfile-
|
|
11
|
+
import { a as H } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
12
12
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
function $(f) {
|
|
14
14
|
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 "./globalConfig-
|
|
8
|
+
import { u as _ } from "./useUploadCos-D5k1YLb7.js";
|
|
9
|
+
import { g as l } from "./globalConfig-C1YOJcxa.js";
|
|
10
10
|
const O = /* @__PURE__ */ q({
|
|
11
11
|
__name: "Upload",
|
|
12
12
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as _, createElementBlock as d, openBlock as m, createElementVNode as e, renderSlot as u, toDisplayString as r, unref as o, createVNode as p } from "vue";
|
|
2
2
|
import { Icon as f } from "@iconify/vue";
|
|
3
|
-
import { a as v } from "./useAuthkitUsersProfile-
|
|
3
|
+
import { a as v } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
4
4
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const k = {
|
|
6
6
|
class: "UserAccountMenu"
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent as S, createElementBlock as v, openBlock as u, normalizeStyle as q, normalizeClass as E, createElementVNode as f, computed as M, createBlock as g, createCommentVNode as D, createVNode as i, unref as n, withCtx as a, createTextVNode as m, toDisplayString as C, mergeModels as A, useModel as K, renderSlot as Se, ref as d, Fragment as be } from "vue";
|
|
6
6
|
import { Tag as Ce, Button as T, Avatar as W, Dropdown as Ie, Divider as X, Doption as _ } from "@arco-design/web-vue";
|
|
7
|
-
import { S as we } from "./PaySubscriptions-
|
|
8
|
-
import { R as $e } from "./ReferrerReferees-
|
|
9
|
-
import { a as Y, u as he } from "./useAuthkitUsersProfile-
|
|
7
|
+
import { S as we } from "./PaySubscriptions-Bva3INxJ.js";
|
|
8
|
+
import { R as $e } from "./ReferrerReferees-D3qUZ62t.js";
|
|
9
|
+
import { a as Y, u as he } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
10
10
|
import { u as Ue } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
11
|
-
import { g as F } from "./globalConfig-
|
|
12
|
-
import { c as xe, A as Be } from "./AuthkitAuthModal-
|
|
13
|
-
import { d as Me } from "./FeedbackModal-
|
|
14
|
-
import { M as Ae } from "./MessageHandle-
|
|
11
|
+
import { g as F } from "./globalConfig-C1YOJcxa.js";
|
|
12
|
+
import { c as xe, A as Be } from "./AuthkitAuthModal-DEVS8XfG.js";
|
|
13
|
+
import { d as Me } from "./FeedbackModal-DdTqdVlw.js";
|
|
14
|
+
import { M as Ae } from "./MessageHandle-Cagv57D0.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,22 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as m, createElementBlock as n, openBlock as t, createElementVNode as c, createCommentVNode as p, toDisplayString as k, ref as M, onMounted as A, onUnmounted as E, Fragment as q, renderList as H, normalizeClass as C, normalizeStyle as S, watch as U, createVNode as $, unref as b, createBlock as B, renderSlot as P, computed as x } from "vue";
|
|
2
2
|
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { Spin as
|
|
6
|
-
import { c as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { a as
|
|
10
|
-
import {
|
|
11
|
-
import { useRouter as
|
|
12
|
-
|
|
5
|
+
import { Spin as O } from "@arco-design/web-vue";
|
|
6
|
+
import { c as D } from "./UserPanel-DHXkFUTF.js";
|
|
7
|
+
import { u as K } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
|
|
8
|
+
import { u as R } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
9
|
+
import { a as G } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
10
|
+
import { a as V, f as W, w as L, c as N, b as F, d as j } from "./useSEO-CREH71xC.js";
|
|
11
|
+
import { useRouter as J, useRoute as Q } from "vue-router";
|
|
12
|
+
import { a as X } from "./globalConfig-C1YOJcxa.js";
|
|
13
|
+
import "@huyooo/api";
|
|
14
|
+
import "./useUploadCos-D5k1YLb7.js";
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
import "@iconify/vue";
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
/* empty css */
|
|
24
|
+
const Y = {
|
|
13
25
|
class: "ContentHead"
|
|
14
|
-
},
|
|
26
|
+
}, Z = {
|
|
15
27
|
class: "title"
|
|
16
|
-
},
|
|
28
|
+
}, ee = {
|
|
17
29
|
key: 0,
|
|
18
30
|
class: "description"
|
|
19
|
-
},
|
|
31
|
+
}, te = /* @__PURE__ */ m({
|
|
20
32
|
__name: "ContentHead",
|
|
21
33
|
props: {
|
|
22
34
|
title: {
|
|
@@ -32,19 +44,19 @@ const J = {
|
|
|
32
44
|
},
|
|
33
45
|
setup(o) {
|
|
34
46
|
const e = o;
|
|
35
|
-
return (s, r) => (t(), n("div",
|
|
47
|
+
return (s, r) => (t(), n("div", Y, [c("h1", Z, k(e.title), 1), e.description ? (t(), n("p", ee, k(e.description), 1)) : p("", !0)]));
|
|
36
48
|
}
|
|
37
|
-
}),
|
|
49
|
+
}), Ye = /* @__PURE__ */ l(te, [["__scopeId", "data-v-209a7bef"]]), ne = {
|
|
38
50
|
class: "HeaderMenus"
|
|
39
|
-
},
|
|
51
|
+
}, oe = {
|
|
40
52
|
key: 0,
|
|
41
53
|
class: "desktop-menus"
|
|
42
|
-
},
|
|
54
|
+
}, se = ["onClick"], ae = {
|
|
43
55
|
key: 3,
|
|
44
56
|
class: "mobile-menu"
|
|
45
|
-
},
|
|
57
|
+
}, re = {
|
|
46
58
|
class: "mobile-menu-content"
|
|
47
|
-
},
|
|
59
|
+
}, ie = ["onClick"], ce = /* @__PURE__ */ m({
|
|
48
60
|
__name: "HeaderMenus",
|
|
49
61
|
props: {
|
|
50
62
|
menus: {
|
|
@@ -67,11 +79,11 @@ const J = {
|
|
|
67
79
|
function g() {
|
|
68
80
|
a.value = !a.value;
|
|
69
81
|
}
|
|
70
|
-
function
|
|
82
|
+
function f() {
|
|
71
83
|
a.value = !1;
|
|
72
84
|
}
|
|
73
85
|
function v(i) {
|
|
74
|
-
r("change", i),
|
|
86
|
+
r("change", i), f();
|
|
75
87
|
}
|
|
76
88
|
function _(i) {
|
|
77
89
|
return s.activateKey === i.path;
|
|
@@ -80,19 +92,19 @@ const J = {
|
|
|
80
92
|
r("change", i);
|
|
81
93
|
}
|
|
82
94
|
function y() {
|
|
83
|
-
h(), u.value ||
|
|
95
|
+
h(), u.value || f();
|
|
84
96
|
}
|
|
85
97
|
return A(() => {
|
|
86
98
|
h(), window.addEventListener("resize", y);
|
|
87
|
-
}),
|
|
99
|
+
}), E(() => {
|
|
88
100
|
window.removeEventListener("resize", y);
|
|
89
|
-
}), (i, z) => (t(), n("div",
|
|
101
|
+
}), (i, z) => (t(), n("div", ne, [u.value ? p("", !0) : (t(), n("div", oe, [(t(!0), n(q, null, H(s.menus, (d, I) => (t(), n("div", {
|
|
90
102
|
key: I,
|
|
91
103
|
class: C(["headerLink", {
|
|
92
104
|
activate: _(d)
|
|
93
105
|
}]),
|
|
94
106
|
onClick: (T) => w(d)
|
|
95
|
-
}, k(d.name), 11,
|
|
107
|
+
}, k(d.name), 11, se))), 128))])), u.value ? (t(), n("button", {
|
|
96
108
|
key: 1,
|
|
97
109
|
class: C(["mobile-menu-toggle", {
|
|
98
110
|
active: a.value
|
|
@@ -108,16 +120,16 @@ const J = {
|
|
|
108
120
|
}, null, -1)])], 2)) : p("", !0), a.value ? (t(), n("div", {
|
|
109
121
|
key: 2,
|
|
110
122
|
class: "mobile-menu-overlay",
|
|
111
|
-
onClick:
|
|
112
|
-
})) : p("", !0), a.value ? (t(), n("div",
|
|
123
|
+
onClick: f
|
|
124
|
+
})) : p("", !0), a.value ? (t(), n("div", ae, [c("div", re, [(t(!0), n(q, null, H(s.menus, (d, I) => (t(), n("div", {
|
|
113
125
|
key: I,
|
|
114
126
|
class: C(["mobile-menu-item", {
|
|
115
127
|
activate: _(d)
|
|
116
128
|
}]),
|
|
117
129
|
onClick: (T) => v(d)
|
|
118
|
-
}, k(d.name), 11,
|
|
130
|
+
}, k(d.name), 11, ie))), 128))])])) : p("", !0)]));
|
|
119
131
|
}
|
|
120
|
-
}),
|
|
132
|
+
}), ue = /* @__PURE__ */ l(ce, [["__scopeId", "data-v-67bf8ea1"]]), le = ["src"], de = /* @__PURE__ */ m({
|
|
121
133
|
__name: "Logo",
|
|
122
134
|
props: {
|
|
123
135
|
name: {
|
|
@@ -159,7 +171,7 @@ const J = {
|
|
|
159
171
|
alt: "logo",
|
|
160
172
|
loading: "lazy",
|
|
161
173
|
decoding: "async"
|
|
162
|
-
}, null, 8,
|
|
174
|
+
}, null, 8, le)) : p("", !0), c("div", {
|
|
163
175
|
class: "text",
|
|
164
176
|
style: S({
|
|
165
177
|
color: s.color,
|
|
@@ -167,13 +179,13 @@ const J = {
|
|
|
167
179
|
})
|
|
168
180
|
}, k(o.name), 5)]));
|
|
169
181
|
}
|
|
170
|
-
}),
|
|
182
|
+
}), pe = /* @__PURE__ */ l(de, [["__scopeId", "data-v-694a3ecc"]]), me = {
|
|
171
183
|
class: "HeaderCom"
|
|
172
|
-
},
|
|
184
|
+
}, fe = {
|
|
173
185
|
class: "left"
|
|
174
|
-
},
|
|
186
|
+
}, _e = {
|
|
175
187
|
class: "right"
|
|
176
|
-
},
|
|
188
|
+
}, he = /* @__PURE__ */ m({
|
|
177
189
|
__name: "Header",
|
|
178
190
|
props: {
|
|
179
191
|
menuType: {
|
|
@@ -187,17 +199,17 @@ const J = {
|
|
|
187
199
|
setup(o) {
|
|
188
200
|
const e = o, {
|
|
189
201
|
show: s
|
|
190
|
-
} =
|
|
202
|
+
} = R(), {
|
|
191
203
|
isLoggedIn: r
|
|
192
|
-
} =
|
|
204
|
+
} = G(), {
|
|
193
205
|
appsData: a
|
|
194
|
-
} =
|
|
206
|
+
} = K(), {
|
|
195
207
|
menus: u,
|
|
196
208
|
hasPermission: h
|
|
197
|
-
} =
|
|
209
|
+
} = V(e.menuType), g = M(""), f = J(), v = Q();
|
|
198
210
|
function _() {
|
|
199
211
|
L(() => {
|
|
200
|
-
|
|
212
|
+
f.push({
|
|
201
213
|
path: "/"
|
|
202
214
|
}), window.scrollTo({
|
|
203
215
|
top: 0,
|
|
@@ -212,36 +224,36 @@ const J = {
|
|
|
212
224
|
return;
|
|
213
225
|
}
|
|
214
226
|
L(() => {
|
|
215
|
-
|
|
227
|
+
f.push(i), g.value = i, window.scrollTo({
|
|
216
228
|
top: 0,
|
|
217
229
|
behavior: "smooth"
|
|
218
230
|
});
|
|
219
231
|
});
|
|
220
232
|
}
|
|
221
|
-
return
|
|
222
|
-
g.value =
|
|
233
|
+
return U(() => v.path, () => {
|
|
234
|
+
g.value = W(v.matched, e.menuType, v.path);
|
|
223
235
|
}, {
|
|
224
236
|
immediate: !0
|
|
225
|
-
}), (y, i) => (t(), n("div",
|
|
237
|
+
}), (y, i) => (t(), n("div", me, [c("div", fe, [$(pe, {
|
|
226
238
|
icon: b(a).applicationLogoUrl,
|
|
227
239
|
name: b(a).name,
|
|
228
240
|
onTo: _
|
|
229
|
-
}, null, 8, ["icon", "name"])]), c("div",
|
|
241
|
+
}, null, 8, ["icon", "name"])]), c("div", _e, [$(ue, {
|
|
230
242
|
menus: b(u),
|
|
231
243
|
activateKey: g.value,
|
|
232
244
|
onChange: w
|
|
233
|
-
}, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), D
|
|
245
|
+
}, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), B(D, {
|
|
234
246
|
key: 0,
|
|
235
247
|
onToHomePage: _,
|
|
236
248
|
onSignOut: _
|
|
237
249
|
})) : p("", !0)])]));
|
|
238
250
|
}
|
|
239
|
-
}),
|
|
251
|
+
}), ge = /* @__PURE__ */ l(he, [["__scopeId", "data-v-2225e367"]]), ve = {
|
|
240
252
|
class: "body"
|
|
241
|
-
},
|
|
253
|
+
}, ye = {
|
|
242
254
|
key: 0,
|
|
243
255
|
class: "loading"
|
|
244
|
-
},
|
|
256
|
+
}, be = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", ke = /* @__PURE__ */ m({
|
|
245
257
|
__name: "DefaultLayout",
|
|
246
258
|
props: {
|
|
247
259
|
menuType: {
|
|
@@ -257,24 +269,28 @@ const J = {
|
|
|
257
269
|
},
|
|
258
270
|
setup(o) {
|
|
259
271
|
const e = o, {
|
|
260
|
-
|
|
261
|
-
} =
|
|
262
|
-
|
|
272
|
+
setGlobalSEO: s
|
|
273
|
+
} = N();
|
|
274
|
+
s(X);
|
|
275
|
+
const {
|
|
276
|
+
isChecking: r
|
|
277
|
+
} = F();
|
|
278
|
+
return j(), (a, u) => (t(), n("div", {
|
|
263
279
|
class: "layout",
|
|
264
280
|
style: S({
|
|
265
|
-
backgroundImage: e.backgroundImage ||
|
|
281
|
+
backgroundImage: e.backgroundImage || be,
|
|
266
282
|
backgroundAttachment: "fixed"
|
|
267
283
|
})
|
|
268
|
-
}, [$(
|
|
284
|
+
}, [$(ge, {
|
|
269
285
|
"menu-type": e.menuType,
|
|
270
286
|
"show-user-panel": e.showUserPanel
|
|
271
|
-
}, null, 8, ["menu-type", "show-user-panel"]), c("div",
|
|
287
|
+
}, null, 8, ["menu-type", "show-user-panel"]), c("div", ve, [b(r) ? (t(), n("div", ye, [$(b(O), {
|
|
272
288
|
size: 40
|
|
273
|
-
})])) : P(
|
|
289
|
+
})])) : P(a.$slots, "default", {
|
|
274
290
|
key: 1
|
|
275
291
|
}, void 0, !0)])], 4));
|
|
276
292
|
}
|
|
277
|
-
}),
|
|
293
|
+
}), Ze = /* @__PURE__ */ l(ke, [["__scopeId", "data-v-690c2133"]]), Se = /* @__PURE__ */ m({
|
|
278
294
|
__name: "Gradientbackground",
|
|
279
295
|
props: {
|
|
280
296
|
width: {
|
|
@@ -335,9 +351,9 @@ const J = {
|
|
|
335
351
|
style: S(r.value)
|
|
336
352
|
}, null, 4)], 4));
|
|
337
353
|
}
|
|
338
|
-
}),
|
|
354
|
+
}), et = /* @__PURE__ */ l(Se, [["__scopeId", "data-v-b6461ac4"]]), $e = {
|
|
339
355
|
class: "SvgIcon"
|
|
340
|
-
},
|
|
356
|
+
}, we = ["href", "fill"], Ie = /* @__PURE__ */ m({
|
|
341
357
|
__name: "SvgIcon",
|
|
342
358
|
props: {
|
|
343
359
|
prefix: {
|
|
@@ -357,25 +373,25 @@ const J = {
|
|
|
357
373
|
},
|
|
358
374
|
setup(o) {
|
|
359
375
|
const e = o, s = x(() => `#${e.prefix ?? "icon"}-${e.name}`);
|
|
360
|
-
return (r, a) => (t(), n("svg",
|
|
376
|
+
return (r, a) => (t(), n("svg", $e, [c("use", {
|
|
361
377
|
href: s.value,
|
|
362
378
|
fill: e.color
|
|
363
|
-
}, null, 8,
|
|
379
|
+
}, null, 8, we)]));
|
|
364
380
|
}
|
|
365
|
-
}),
|
|
381
|
+
}), tt = /* @__PURE__ */ l(Ie, [["__scopeId", "data-v-0a9de94e"]]), Ce = {}, Me = {
|
|
366
382
|
class: "WidthContainer"
|
|
367
383
|
};
|
|
368
|
-
function
|
|
369
|
-
return t(), n("div",
|
|
384
|
+
function xe(o, e) {
|
|
385
|
+
return t(), n("div", Me, [P(o.$slots, "default", {}, void 0, !0)]);
|
|
370
386
|
}
|
|
371
|
-
const
|
|
387
|
+
const nt = /* @__PURE__ */ l(Ce, [["render", xe], ["__scopeId", "data-v-d06aac1f"]]);
|
|
372
388
|
export {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
389
|
+
Ye as C,
|
|
390
|
+
Ze as D,
|
|
391
|
+
et as G,
|
|
392
|
+
ge as H,
|
|
393
|
+
pe as L,
|
|
394
|
+
tt as S,
|
|
395
|
+
nt as W,
|
|
396
|
+
ue as a
|
|
381
397
|
};
|
package/dist/authkit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
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-DEVS8XfG.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-cnC-Hl0X.js";
|
|
3
|
+
import { u as C } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
|
|
4
|
+
import { u as V, a as b } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
5
5
|
import { u as B } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
6
6
|
import { u as j } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
7
7
|
export {
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
export interface GlobalSEOConfig {
|
|
2
|
+
/** 网站名称 */
|
|
3
|
+
siteName?: string;
|
|
4
|
+
/** 标题后缀 */
|
|
5
|
+
titleSuffix?: string;
|
|
6
|
+
/** 默认语言 */
|
|
7
|
+
locale?: string;
|
|
8
|
+
}
|
|
1
9
|
export interface HuyoooUIConfig {
|
|
2
10
|
/** 应用ID - 必填 */
|
|
3
11
|
appId: string;
|
|
@@ -15,6 +23,10 @@ export interface HuyoooUIConfig {
|
|
|
15
23
|
web3formsAccessKey: string;
|
|
16
24
|
}
|
|
17
25
|
export declare let globalConfig: HuyoooUIConfig;
|
|
26
|
+
/** 全局 SEO 配置(独立对象) */
|
|
27
|
+
export declare let globalSEOConfig: GlobalSEOConfig;
|
|
28
|
+
/** 设置全局 SEO 配置 */
|
|
29
|
+
export declare function setGlobalSEOConfig(seoConfig: GlobalSEOConfig): void;
|
|
18
30
|
export declare function setGlobalConfig(newConfig: {
|
|
19
31
|
/** 应用ID - 必填 */
|
|
20
32
|
appId: string;
|
package/dist/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as s, a as o } from "./CollapseItem-Cw1vcdLu.js";
|
|
2
|
-
import { C as r, D as n, G as l, H as C, a as m, L as p, S as u, W as d } from "./WidthContainer-
|
|
2
|
+
import { C as r, D as n, G as l, H as C, a as m, L as p, S as u, W as d } from "./WidthContainer-D_dX_G8P.js";
|
|
3
3
|
import { C as i, E as x } from "./CustomTable-B8i1SbFB.js";
|
|
4
4
|
import { M, a as g } from "./Menu-BKBnsDJ8.js";
|
|
5
5
|
export {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 全局 SEO 配置接口
|
|
3
|
+
*/
|
|
4
|
+
export interface GlobalSEOConfig {
|
|
5
|
+
/** 网站名称 */
|
|
6
|
+
siteName?: string;
|
|
7
|
+
/** 标题后缀 */
|
|
8
|
+
titleSuffix?: string;
|
|
9
|
+
/** 默认语言 */
|
|
10
|
+
locale?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 页面级别 SEO 配置接口
|
|
14
|
+
*/
|
|
15
|
+
export interface PageSEOConfig {
|
|
16
|
+
/** 页面标题 */
|
|
17
|
+
title: string;
|
|
18
|
+
/** 页面描述 */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** 关键词 */
|
|
21
|
+
keywords?: string;
|
|
22
|
+
/** 图片 URL */
|
|
23
|
+
image?: string;
|
|
24
|
+
/** 页面 URL */
|
|
25
|
+
url?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Open Graph 类型:
|
|
28
|
+
* - website: 普通页面(首页、关于等)
|
|
29
|
+
* - article: 文章/博客/新闻页面
|
|
30
|
+
* - product: 商品/产品页面
|
|
31
|
+
*/
|
|
32
|
+
type?: 'website' | 'article' | 'product';
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* SEO 管理 composable
|
|
36
|
+
* 提供全局和页面级别的 SEO 设置方法
|
|
37
|
+
*/
|
|
38
|
+
export declare function useSEO(): {
|
|
39
|
+
setGlobalSEO: (config: GlobalSEOConfig) => void;
|
|
40
|
+
setPageSEO: (config: PageSEOConfig) => void;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* 自动从当前路由的 meta 信息设置页面 SEO
|
|
44
|
+
* 必须在 Vue 组件中使用
|
|
45
|
+
*/
|
|
46
|
+
export declare function useRouteSEO(): void;
|
package/dist/composables.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersPro
|
|
|
4
4
|
export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
|
|
5
5
|
export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
|
|
6
6
|
export { useMessageNotifications } from './composables/useMessageNotifications';
|
|
7
|
-
export { globalConfig, setGlobalConfig } from './common/globalConfig';
|
|
7
|
+
export { globalConfig, setGlobalConfig, globalSEOConfig, setGlobalSEOConfig } from './common/globalConfig';
|
|
8
8
|
export { useCreateAndUpdate as useCommonCreateAndUpdate } from './composables/useCreateAndUpdate';
|
|
9
9
|
export { useTableHandle } from './composables/useTableHandle';
|
|
10
10
|
export { useActiveDoc } from './composables/useActiveDoc';
|
|
@@ -13,3 +13,4 @@ export { withViewTransition } from './composables/viewTransitions';
|
|
|
13
13
|
export { useDownloads } from './composables/useDownloads';
|
|
14
14
|
export { useAuthMenu, findMenuPath } from './composables/Authkit/useAuthMenu';
|
|
15
15
|
export { useRoutePermission } from './composables/Authkit/useRoutePermission';
|
|
16
|
+
export { useSEO, useRouteSEO, type GlobalSEOConfig, type PageSEOConfig } from './composables/useSEO';
|
package/dist/composables.js
CHANGED
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
import { u as o, a } from "./useAuthkitUsersProfile-
|
|
1
|
+
import { u as o, a } from "./useAuthkitUsersProfile-Bi_zM2qG.js";
|
|
2
2
|
import { u } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
|
|
3
|
-
import { u as i } from "./useAuthkitAppsAuthPageInfo-
|
|
3
|
+
import { u as i } from "./useAuthkitAppsAuthPageInfo-Dfj4byB5.js";
|
|
4
4
|
import { u as n } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { g as h, s as
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as M } from "./
|
|
10
|
-
import {
|
|
5
|
+
import { u as l } from "./useMessageNotifications-DSRanuRe.js";
|
|
6
|
+
import { g as A, a as h, s as d, b as x } from "./globalConfig-C1YOJcxa.js";
|
|
7
|
+
import { u as C, a as b } from "./useDownloads-DnMYa52H.js";
|
|
8
|
+
import { u as c } from "./useTableHandle-DKUIdSSh.js";
|
|
9
|
+
import { f as E, u as M, a as O, b as P, d as S, c as U, w as D } from "./useSEO-CREH71xC.js";
|
|
10
|
+
import { u as R } from "./useUploadCos-D5k1YLb7.js";
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
d as
|
|
16
|
-
|
|
12
|
+
E as findMenuPath,
|
|
13
|
+
A as globalConfig,
|
|
14
|
+
h as globalSEOConfig,
|
|
15
|
+
d as setGlobalConfig,
|
|
16
|
+
x as setGlobalSEOConfig,
|
|
17
|
+
M as useActiveDoc,
|
|
18
|
+
O as useAuthMenu,
|
|
17
19
|
i as useAuthkitAppsAuthPageInfo,
|
|
18
20
|
o as useAuthkitAuth,
|
|
19
21
|
u as useAuthkitAuthModal,
|
|
20
22
|
n as useAuthkitCreateAndUpdate,
|
|
21
23
|
a as useAuthkitUsersProfile,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
C as useCommonCreateAndUpdate,
|
|
25
|
+
b as useDownloads,
|
|
26
|
+
l as useMessageNotifications,
|
|
27
|
+
P as useRoutePermission,
|
|
28
|
+
S as useRouteSEO,
|
|
29
|
+
U as useSEO,
|
|
30
|
+
c as useTableHandle,
|
|
31
|
+
R as useUploadCos,
|
|
32
|
+
D as withViewTransition
|
|
29
33
|
};
|
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-
|
|
1
|
+
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-DdTqdVlw.js";
|
|
2
2
|
import { C as r } from "./Clipboard-Bful1lNJ.js";
|
|
3
|
-
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-44CGbXN_.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
let a = {
|
|
2
|
+
appId: "",
|
|
3
|
+
prefixUrl: "",
|
|
4
|
+
authPrefixUrl: "",
|
|
5
|
+
avatarBucketId: "68350c206888f565dc7d09e9",
|
|
6
|
+
feedbackBucketId: "6826e4db6888f565dc775dce",
|
|
7
|
+
bucket: "ones-1358549778",
|
|
8
|
+
region: "ap-beijing",
|
|
9
|
+
web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
|
|
10
|
+
}, c = {};
|
|
11
|
+
function d(e) {
|
|
12
|
+
Object.assign(c, e);
|
|
13
|
+
}
|
|
14
|
+
function t(e) {
|
|
15
|
+
a.appId = e.appId, a.prefixUrl = e.prefixUrl, a.authPrefixUrl = e.authPrefixUrl, e.avatarBucketId !== void 0 && (a.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (a.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (a.bucket = e.bucket), e.region !== void 0 && (a.region = e.region), e.web3formsAccessKey !== void 0 && (a.web3formsAccessKey = e.web3formsAccessKey);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
c as a,
|
|
19
|
+
d as b,
|
|
20
|
+
a as g,
|
|
21
|
+
t as s
|
|
22
|
+
};
|