@huyooo/ui 0.4.90 → 0.5.0
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-4u1nye5k.js → AuthkitAuthModal-cEi5Hm14.js} +13 -15
- package/dist/{useAuthkitAppsAuthPageInfo-Dy0Snk6O.js → AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js} +1 -1
- package/dist/{AuthkitAuthorize-ScwqrsOC.js → AuthkitAuthorize-DksJZktr.js} +9 -8
- package/dist/{Clipboard-Bful1lNJ.js → Clipboard-CGm0G1dN.js} +1 -1
- package/dist/{CustomTable-JflAYS8i.js → CustomTable-kfI18phy.js} +16 -17
- package/dist/{FeedbackItem-B_EUApFA.js → FeedbackItem-Day3rfSw.js} +14 -15
- package/dist/{FeedbackModal-D1htK7xY.js → FeedbackModal-CsRXm-MY.js} +8 -11
- package/dist/{Menu-Cxo8Rpu3.js → Menu-BKBnsDJ8.js} +6 -5
- package/dist/{MessageHandle-DkNum5-u.js → MessageHandle-DqH_478k.js} +18 -20
- package/dist/{PaySubscriptions-l6VlqvBy.js → PaySubscriptions-Dp8y1fdJ.js} +10 -11
- package/dist/{ReferrerReferees-BclAtmgX.js → ReferrerReferees-xIXZglpy.js} +19 -20
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js → Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js} +10 -11
- package/dist/UserAccountMenu-DD3zoOBd.js +40 -0
- package/dist/UserPanel-C1NGdsFk.js +580 -0
- package/dist/WidthContainer-D9JWjdkk.js +376 -0
- package/dist/authkit.js +4 -4
- package/dist/common.d.ts +2 -0
- package/dist/common.js +14 -12
- package/dist/components/DefaultLayout.vue.d.ts +9 -0
- package/dist/components/Header.vue.d.ts +9 -0
- package/dist/composables/Authkit/useAuthMenu.d.ts +13 -0
- package/dist/composables/Authkit/useRoutePermission.d.ts +5 -0
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +19 -15
- package/dist/feedback.js +3 -3
- package/dist/index.js +180 -173
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/styles.d.ts +0 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitUsersProfile-DNOB_Kuk.js → useAuthkitUsersProfile-D2UZf7n0.js} +1 -1
- package/dist/useDownloads-CHe228Vf.js +87 -0
- package/dist/{useMessageNotifications-DOH1MS61.js → useMessageNotifications-BahKMcby.js} +1 -1
- package/dist/useRoutePermission-Uxu5S3m1.js +119 -0
- package/dist/{useUploadCos-B5P_PDcy.js → useUploadCos-DNKp_9xt.js} +2 -2
- package/dist/user.js +7 -6
- package/package.json +3 -2
- package/dist/UserAccountMenu-DDyh3Rjo.js +0 -615
- package/dist/WidthContainer-CfR77puD.js +0 -263
- package/dist/useDownloads-BkDo_wOR.js +0 -103
- /package/dist/{globalConfig-DZIhLe1R.js → index-DZIhLe1R.js} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → index-DaMA6jEr.js} +0 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { defineComponent as m, createElementBlock as n, openBlock as t, createElementVNode as c, createCommentVNode as p, toDisplayString as k, ref as I, onMounted as A, onUnmounted as U, Fragment as q, renderList as H, normalizeClass as C, normalizeStyle as M, watch as R, createVNode as S, unref as b, createBlock as P, resolveComponent as V, computed as x, renderSlot as B } from "vue";
|
|
2
|
+
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { Spin as D } from "@arco-design/web-vue";
|
|
6
|
+
import { c as E } from "./UserPanel-C1NGdsFk.js";
|
|
7
|
+
import { a as K, u as W } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js";
|
|
8
|
+
import { a as G } from "./useAuthkitUsersProfile-D2UZf7n0.js";
|
|
9
|
+
import { u as N, f as O, w as L, a as F } from "./useRoutePermission-Uxu5S3m1.js";
|
|
10
|
+
import { useRouter as j, useRoute as J } from "vue-router";
|
|
11
|
+
const Q = {
|
|
12
|
+
class: "ContentHead"
|
|
13
|
+
}, X = {
|
|
14
|
+
class: "title"
|
|
15
|
+
}, Y = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "description"
|
|
18
|
+
}, Z = /* @__PURE__ */ m({
|
|
19
|
+
__name: "ContentHead",
|
|
20
|
+
props: {
|
|
21
|
+
title: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: !0,
|
|
24
|
+
default: () => ""
|
|
25
|
+
},
|
|
26
|
+
description: {
|
|
27
|
+
type: String,
|
|
28
|
+
required: !0,
|
|
29
|
+
default: () => ""
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
setup(o) {
|
|
33
|
+
const e = o;
|
|
34
|
+
return (s, i) => (t(), n("div", Q, [c("h1", X, k(e.title), 1), e.description ? (t(), n("p", Y, k(e.description), 1)) : p("", !0)]));
|
|
35
|
+
}
|
|
36
|
+
}), Re = /* @__PURE__ */ l(Z, [["__scopeId", "data-v-209a7bef"]]), ee = {
|
|
37
|
+
class: "HeaderMenus"
|
|
38
|
+
}, te = {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: "desktop-menus"
|
|
41
|
+
}, ne = ["onClick"], oe = {
|
|
42
|
+
key: 3,
|
|
43
|
+
class: "mobile-menu"
|
|
44
|
+
}, se = {
|
|
45
|
+
class: "mobile-menu-content"
|
|
46
|
+
}, ae = ["onClick"], ie = /* @__PURE__ */ m({
|
|
47
|
+
__name: "HeaderMenus",
|
|
48
|
+
props: {
|
|
49
|
+
menus: {
|
|
50
|
+
type: Array,
|
|
51
|
+
required: !0
|
|
52
|
+
},
|
|
53
|
+
activateKey: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: !0
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
emits: ["change"],
|
|
59
|
+
setup(o, {
|
|
60
|
+
emit: e
|
|
61
|
+
}) {
|
|
62
|
+
const s = o, i = e, a = I(!1), u = I(!1);
|
|
63
|
+
function f() {
|
|
64
|
+
u.value = window.innerWidth <= 1024;
|
|
65
|
+
}
|
|
66
|
+
function g() {
|
|
67
|
+
a.value = !a.value;
|
|
68
|
+
}
|
|
69
|
+
function _() {
|
|
70
|
+
a.value = !1;
|
|
71
|
+
}
|
|
72
|
+
function v(r) {
|
|
73
|
+
i("change", r), _();
|
|
74
|
+
}
|
|
75
|
+
function h(r) {
|
|
76
|
+
return s.activateKey === r.path;
|
|
77
|
+
}
|
|
78
|
+
function w(r) {
|
|
79
|
+
i("change", r);
|
|
80
|
+
}
|
|
81
|
+
function y() {
|
|
82
|
+
f(), u.value || _();
|
|
83
|
+
}
|
|
84
|
+
return A(() => {
|
|
85
|
+
f(), window.addEventListener("resize", y);
|
|
86
|
+
}), U(() => {
|
|
87
|
+
window.removeEventListener("resize", y);
|
|
88
|
+
}), (r, z) => (t(), n("div", ee, [u.value ? p("", !0) : (t(), n("div", te, [(t(!0), n(q, null, H(s.menus, (d, $) => (t(), n("div", {
|
|
89
|
+
key: $,
|
|
90
|
+
class: C(["headerLink", {
|
|
91
|
+
activate: h(d)
|
|
92
|
+
}]),
|
|
93
|
+
onClick: (T) => w(d)
|
|
94
|
+
}, k(d.name), 11, ne))), 128))])), u.value ? (t(), n("button", {
|
|
95
|
+
key: 1,
|
|
96
|
+
class: C(["mobile-menu-toggle", {
|
|
97
|
+
active: a.value
|
|
98
|
+
}]),
|
|
99
|
+
"aria-label": "切换菜单",
|
|
100
|
+
onClick: g
|
|
101
|
+
}, z[0] || (z[0] = [c("span", {
|
|
102
|
+
class: "hamburger-line"
|
|
103
|
+
}, null, -1), c("span", {
|
|
104
|
+
class: "hamburger-line"
|
|
105
|
+
}, null, -1), c("span", {
|
|
106
|
+
class: "hamburger-line"
|
|
107
|
+
}, null, -1)]), 2)) : p("", !0), a.value ? (t(), n("div", {
|
|
108
|
+
key: 2,
|
|
109
|
+
class: "mobile-menu-overlay",
|
|
110
|
+
onClick: _
|
|
111
|
+
})) : p("", !0), a.value ? (t(), n("div", oe, [c("div", se, [(t(!0), n(q, null, H(s.menus, (d, $) => (t(), n("div", {
|
|
112
|
+
key: $,
|
|
113
|
+
class: C(["mobile-menu-item", {
|
|
114
|
+
activate: h(d)
|
|
115
|
+
}]),
|
|
116
|
+
onClick: (T) => v(d)
|
|
117
|
+
}, k(d.name), 11, ae))), 128))])])) : p("", !0)]));
|
|
118
|
+
}
|
|
119
|
+
}), re = /* @__PURE__ */ l(ie, [["__scopeId", "data-v-67bf8ea1"]]), ce = ["src"], ue = /* @__PURE__ */ m({
|
|
120
|
+
__name: "Logo",
|
|
121
|
+
props: {
|
|
122
|
+
name: {
|
|
123
|
+
type: String,
|
|
124
|
+
required: !1,
|
|
125
|
+
default: () => "#2d2d2d"
|
|
126
|
+
},
|
|
127
|
+
icon: {
|
|
128
|
+
type: String,
|
|
129
|
+
required: !1,
|
|
130
|
+
default: () => ""
|
|
131
|
+
},
|
|
132
|
+
color: {
|
|
133
|
+
type: String,
|
|
134
|
+
required: !1,
|
|
135
|
+
default: () => "#2d2d2d"
|
|
136
|
+
},
|
|
137
|
+
fontSize: {
|
|
138
|
+
type: String,
|
|
139
|
+
required: !1,
|
|
140
|
+
default: () => "16px"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
emits: ["to"],
|
|
144
|
+
setup(o, {
|
|
145
|
+
emit: e
|
|
146
|
+
}) {
|
|
147
|
+
const s = o, i = e;
|
|
148
|
+
function a() {
|
|
149
|
+
i("to");
|
|
150
|
+
}
|
|
151
|
+
return (u, f) => (t(), n("div", {
|
|
152
|
+
class: "Logo",
|
|
153
|
+
onClick: a
|
|
154
|
+
}, [o.icon ? (t(), n("img", {
|
|
155
|
+
key: 0,
|
|
156
|
+
class: "icon",
|
|
157
|
+
src: o.icon,
|
|
158
|
+
alt: "logo",
|
|
159
|
+
loading: "lazy",
|
|
160
|
+
decoding: "async"
|
|
161
|
+
}, null, 8, ce)) : p("", !0), c("div", {
|
|
162
|
+
class: "text",
|
|
163
|
+
style: M({
|
|
164
|
+
color: s.color,
|
|
165
|
+
fontSize: s.fontSize
|
|
166
|
+
})
|
|
167
|
+
}, k(o.name), 5)]));
|
|
168
|
+
}
|
|
169
|
+
}), le = /* @__PURE__ */ l(ue, [["__scopeId", "data-v-694a3ecc"]]), de = {
|
|
170
|
+
class: "HeaderCom"
|
|
171
|
+
}, pe = {
|
|
172
|
+
class: "left"
|
|
173
|
+
}, me = {
|
|
174
|
+
class: "right"
|
|
175
|
+
}, _e = /* @__PURE__ */ m({
|
|
176
|
+
__name: "Header",
|
|
177
|
+
props: {
|
|
178
|
+
menuType: {
|
|
179
|
+
default: "header"
|
|
180
|
+
},
|
|
181
|
+
showUserPanel: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
default: !0
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
setup(o) {
|
|
187
|
+
const e = o, {
|
|
188
|
+
show: s
|
|
189
|
+
} = K(), {
|
|
190
|
+
isLoggedIn: i
|
|
191
|
+
} = G(), {
|
|
192
|
+
appsData: a
|
|
193
|
+
} = W(), {
|
|
194
|
+
menus: u,
|
|
195
|
+
hasPermission: f
|
|
196
|
+
} = N(e.menuType), g = I(""), _ = j(), v = J();
|
|
197
|
+
function h() {
|
|
198
|
+
L(() => {
|
|
199
|
+
_.push({
|
|
200
|
+
path: "/"
|
|
201
|
+
}), window.scrollTo({
|
|
202
|
+
top: 0,
|
|
203
|
+
behavior: "smooth"
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
function w(y) {
|
|
208
|
+
const r = y.path;
|
|
209
|
+
if (!f(r)) {
|
|
210
|
+
i.value || (s.value = !0);
|
|
211
|
+
return;
|
|
212
|
+
}
|
|
213
|
+
L(() => {
|
|
214
|
+
_.push(r), g.value = r, window.scrollTo({
|
|
215
|
+
top: 0,
|
|
216
|
+
behavior: "smooth"
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
return R(() => v.path, () => {
|
|
221
|
+
g.value = O(v.matched, e.menuType, v.path);
|
|
222
|
+
}, {
|
|
223
|
+
immediate: !0
|
|
224
|
+
}), (y, r) => (t(), n("div", de, [c("div", pe, [S(le, {
|
|
225
|
+
icon: b(a).applicationLogoUrl,
|
|
226
|
+
name: b(a).name,
|
|
227
|
+
onTo: h
|
|
228
|
+
}, null, 8, ["icon", "name"])]), c("div", me, [S(re, {
|
|
229
|
+
menus: b(u),
|
|
230
|
+
activateKey: g.value,
|
|
231
|
+
onChange: w
|
|
232
|
+
}, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), P(E, {
|
|
233
|
+
key: 0,
|
|
234
|
+
onToHomePage: h,
|
|
235
|
+
onSignOut: h
|
|
236
|
+
})) : p("", !0)])]));
|
|
237
|
+
}
|
|
238
|
+
}), he = /* @__PURE__ */ l(_e, [["__scopeId", "data-v-2225e367"]]), fe = {
|
|
239
|
+
class: "layout"
|
|
240
|
+
}, ge = {
|
|
241
|
+
class: "body"
|
|
242
|
+
}, ve = {
|
|
243
|
+
key: 0,
|
|
244
|
+
class: "loading"
|
|
245
|
+
}, ye = /* @__PURE__ */ m({
|
|
246
|
+
__name: "DefaultLayout",
|
|
247
|
+
props: {
|
|
248
|
+
menuType: {
|
|
249
|
+
default: "header"
|
|
250
|
+
},
|
|
251
|
+
showUserPanel: {
|
|
252
|
+
type: Boolean,
|
|
253
|
+
default: !0
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
setup(o) {
|
|
257
|
+
const {
|
|
258
|
+
isChecking: e
|
|
259
|
+
} = F();
|
|
260
|
+
return (s, i) => {
|
|
261
|
+
const a = V("RouterView");
|
|
262
|
+
return t(), n("div", fe, [S(he, {
|
|
263
|
+
"menu-type": s.menuType,
|
|
264
|
+
"show-user-panel": s.showUserPanel
|
|
265
|
+
}, null, 8, ["menu-type", "show-user-panel"]), c("div", ge, [b(e) ? (t(), n("div", ve, [S(b(D), {
|
|
266
|
+
size: 40
|
|
267
|
+
})])) : (t(), P(a, {
|
|
268
|
+
key: 1
|
|
269
|
+
}))])]);
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
}), Ve = /* @__PURE__ */ l(ye, [["__scopeId", "data-v-405e9c75"]]), be = /* @__PURE__ */ m({
|
|
273
|
+
__name: "Gradientbackground",
|
|
274
|
+
props: {
|
|
275
|
+
width: {
|
|
276
|
+
type: String,
|
|
277
|
+
default: "100%"
|
|
278
|
+
},
|
|
279
|
+
height: {
|
|
280
|
+
type: String,
|
|
281
|
+
default: "100%"
|
|
282
|
+
},
|
|
283
|
+
zIndex: {
|
|
284
|
+
type: String,
|
|
285
|
+
default: "-1"
|
|
286
|
+
},
|
|
287
|
+
top: {
|
|
288
|
+
type: String,
|
|
289
|
+
default: "10%"
|
|
290
|
+
},
|
|
291
|
+
left: {
|
|
292
|
+
type: String,
|
|
293
|
+
default: "0%"
|
|
294
|
+
},
|
|
295
|
+
right: {
|
|
296
|
+
type: String,
|
|
297
|
+
default: "auto"
|
|
298
|
+
},
|
|
299
|
+
blur: {
|
|
300
|
+
type: String,
|
|
301
|
+
default: "0px"
|
|
302
|
+
},
|
|
303
|
+
background: {
|
|
304
|
+
type: String,
|
|
305
|
+
required: !1,
|
|
306
|
+
default: () => "linear-gradient(180deg, rgb(0 225 10 / 10%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
setup(o) {
|
|
310
|
+
const e = o, s = x(() => ({
|
|
311
|
+
pointerEvents: "none",
|
|
312
|
+
position: "absolute",
|
|
313
|
+
zIndex: e.zIndex,
|
|
314
|
+
width: e.width,
|
|
315
|
+
height: e.height,
|
|
316
|
+
filter: `blur(${e.blur})`
|
|
317
|
+
})), i = x(() => ({
|
|
318
|
+
width: "100%",
|
|
319
|
+
height: "100%",
|
|
320
|
+
background: e.background
|
|
321
|
+
// background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
|
|
322
|
+
// background: `linear-gradient(180deg, rgb(0 225 10 / 63%) 0.31%, rgb(26 214 255 / 52%) 74.99%, rgb(220 189 0 / 0%) 99.69%)`,
|
|
323
|
+
// background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
|
|
324
|
+
}));
|
|
325
|
+
return (a, u) => (t(), n("div", {
|
|
326
|
+
class: "ellipsis",
|
|
327
|
+
style: M(s.value)
|
|
328
|
+
}, [c("div", {
|
|
329
|
+
class: "ellipsis-item",
|
|
330
|
+
style: M(i.value)
|
|
331
|
+
}, null, 4)], 4));
|
|
332
|
+
}
|
|
333
|
+
}), Be = /* @__PURE__ */ l(be, [["__scopeId", "data-v-b6461ac4"]]), ke = {
|
|
334
|
+
class: "SvgIcon"
|
|
335
|
+
}, Se = ["href", "fill"], we = /* @__PURE__ */ m({
|
|
336
|
+
__name: "SvgIcon",
|
|
337
|
+
props: {
|
|
338
|
+
prefix: {
|
|
339
|
+
type: String,
|
|
340
|
+
required: !1,
|
|
341
|
+
default: "icon"
|
|
342
|
+
},
|
|
343
|
+
name: {
|
|
344
|
+
type: String,
|
|
345
|
+
required: !0
|
|
346
|
+
},
|
|
347
|
+
color: {
|
|
348
|
+
type: String,
|
|
349
|
+
required: !1,
|
|
350
|
+
default: "#333"
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
setup(o) {
|
|
354
|
+
const e = o, s = x(() => `#${e.prefix ?? "icon"}-${e.name}`);
|
|
355
|
+
return (i, a) => (t(), n("svg", ke, [c("use", {
|
|
356
|
+
href: s.value,
|
|
357
|
+
fill: e.color
|
|
358
|
+
}, null, 8, Se)]));
|
|
359
|
+
}
|
|
360
|
+
}), De = /* @__PURE__ */ l(we, [["__scopeId", "data-v-0a9de94e"]]), $e = {}, Ce = {
|
|
361
|
+
class: "WidthContainer"
|
|
362
|
+
};
|
|
363
|
+
function Ie(o, e) {
|
|
364
|
+
return t(), n("div", Ce, [B(o.$slots, "default", {}, void 0, !0)]);
|
|
365
|
+
}
|
|
366
|
+
const Ee = /* @__PURE__ */ l($e, [["render", Ie], ["__scopeId", "data-v-d06aac1f"]]);
|
|
367
|
+
export {
|
|
368
|
+
Re as C,
|
|
369
|
+
Ve as D,
|
|
370
|
+
Be as G,
|
|
371
|
+
he as H,
|
|
372
|
+
le as L,
|
|
373
|
+
De as S,
|
|
374
|
+
Ee as W,
|
|
375
|
+
re as a
|
|
376
|
+
};
|
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 k, _ as o, 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, a as R } from "./
|
|
4
|
-
import { u as b, a as v } 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 k, _ as o, 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-cEi5Hm14.js";
|
|
2
|
+
import { A as y, a as E } from "./AuthkitAuthorize-DksJZktr.js";
|
|
3
|
+
import { u as C, a as R } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js";
|
|
4
|
+
import { u as b, a as v } from "./useAuthkitUsersProfile-D2UZf7n0.js";
|
|
5
5
|
import { u as M } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
6
6
|
export {
|
|
7
7
|
a as AuthkitAppSetting,
|
package/dist/common.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ export { default as Collapse } from './components/Collapse.vue';
|
|
|
2
2
|
export { default as CollapseItem } from './components/CollapseItem.vue';
|
|
3
3
|
export { default as ContentHead } from './components/ContentHead.vue';
|
|
4
4
|
export { default as CustomTable } from './components/CustomTable.vue';
|
|
5
|
+
export { default as DefaultLayout } from './components/DefaultLayout.vue';
|
|
5
6
|
export { default as Ellipsis } from './components/Ellipsis.vue';
|
|
6
7
|
export { default as Gradientbackground } from './components/Gradientbackground.vue';
|
|
8
|
+
export { default as Header } from './components/Header.vue';
|
|
7
9
|
export { default as HeaderMenus } from './components/HeaderMenus.vue';
|
|
8
10
|
export { default as Logo } from './components/Logo.vue';
|
|
9
11
|
export { default as Menu } from './components/Menu.vue';
|
package/dist/common.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { C as s, a as o } from "./CollapseItem-Cw1vcdLu.js";
|
|
2
|
-
import { C as
|
|
3
|
-
import { C as i, E as
|
|
4
|
-
import { M
|
|
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-D9JWjdkk.js";
|
|
3
|
+
import { C as i, E as x } from "./CustomTable-kfI18phy.js";
|
|
4
|
+
import { M, a as g } from "./Menu-BKBnsDJ8.js";
|
|
5
5
|
export {
|
|
6
6
|
s as Collapse,
|
|
7
7
|
o as CollapseItem,
|
|
8
|
-
|
|
8
|
+
r as ContentHead,
|
|
9
9
|
i as CustomTable,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
n as DefaultLayout,
|
|
11
|
+
x as Ellipsis,
|
|
12
|
+
l as Gradientbackground,
|
|
13
|
+
C as Header,
|
|
14
|
+
m as HeaderMenus,
|
|
15
|
+
p as Logo,
|
|
16
|
+
M as Menu,
|
|
17
|
+
g as MenuItem,
|
|
18
|
+
u as SvgIcon,
|
|
19
|
+
d as WidthContainer
|
|
18
20
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
menuType?: string;
|
|
3
|
+
showUserPanel?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
menuType: string;
|
|
7
|
+
showUserPanel: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
menuType?: string;
|
|
3
|
+
showUserPanel?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
menuType: string;
|
|
7
|
+
showUserPanel: boolean;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RouteLocationMatched } from 'vue-router';
|
|
2
|
+
export declare function findMenuPath(matched: RouteLocationMatched[], menuType: string, currentPath: string): string;
|
|
3
|
+
export declare function useAuthMenu(menuType?: string): {
|
|
4
|
+
menus: import('vue').ComputedRef<{
|
|
5
|
+
name: any;
|
|
6
|
+
path: string;
|
|
7
|
+
key: string;
|
|
8
|
+
icon: any;
|
|
9
|
+
}[]>;
|
|
10
|
+
isRoutePublic: (path: string) => boolean;
|
|
11
|
+
hasPermission: (path: string) => boolean;
|
|
12
|
+
isLoggedIn: import('vue').ComputedRef<boolean>;
|
|
13
|
+
};
|
package/dist/composables.d.ts
CHANGED
|
@@ -11,3 +11,5 @@ export { useActiveDoc } from './composables/useActiveDoc';
|
|
|
11
11
|
export { useUploadCos } from './composables/Upload/useUploadCos';
|
|
12
12
|
export { withViewTransition } from './composables/viewTransitions';
|
|
13
13
|
export { useDownloads } from './composables/useDownloads';
|
|
14
|
+
export { useAuthMenu, findMenuPath } from './composables/Authkit/useAuthMenu';
|
|
15
|
+
export { useRoutePermission } from './composables/Authkit/useRoutePermission';
|
package/dist/composables.js
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { u, a as r } from "./
|
|
1
|
+
import { u as a, a as o } from "./useAuthkitUsersProfile-D2UZf7n0.js";
|
|
2
|
+
import { u, a as r } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js";
|
|
3
3
|
import { u as f } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
|
|
4
|
-
import { u as
|
|
5
|
-
import { g as
|
|
6
|
-
import { a as d, u as x, b as g
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
4
|
+
import { u as p } from "./useMessageNotifications-BahKMcby.js";
|
|
5
|
+
import { g as m, s as h } from "./index-DZIhLe1R.js";
|
|
6
|
+
import { a as d, u as x, b as g } from "./useDownloads-CHe228Vf.js";
|
|
7
|
+
import { u as k } from "./useTableHandle-DKUIdSSh.js";
|
|
8
|
+
import { u as w } from "./useUploadCos-DNKp_9xt.js";
|
|
9
|
+
import { f as P, u as U, a as c, w as D } from "./useRoutePermission-Uxu5S3m1.js";
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
-
m as
|
|
11
|
+
P as findMenuPath,
|
|
12
|
+
m as globalConfig,
|
|
13
|
+
h as setGlobalConfig,
|
|
12
14
|
d as useActiveDoc,
|
|
15
|
+
U as useAuthMenu,
|
|
13
16
|
u as useAuthkitAppsAuthPageInfo,
|
|
14
|
-
|
|
17
|
+
a as useAuthkitAuth,
|
|
15
18
|
r as useAuthkitAuthModal,
|
|
16
19
|
f as useAuthkitCreateAndUpdate,
|
|
17
|
-
|
|
20
|
+
o as useAuthkitUsersProfile,
|
|
18
21
|
x as useCommonCreateAndUpdate,
|
|
19
22
|
g as useDownloads,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
p as useMessageNotifications,
|
|
24
|
+
c as useRoutePermission,
|
|
25
|
+
k as useTableHandle,
|
|
26
|
+
w as useUploadCos,
|
|
27
|
+
D as withViewTransition
|
|
24
28
|
};
|
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-CsRXm-MY.js";
|
|
2
|
+
import { C as r } from "./Clipboard-CGm0G1dN.js";
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-Day3rfSw.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|