@huyooo/ui 0.5.15 → 0.5.18

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.
Files changed (32) hide show
  1. package/dist/{AuthkitAuthModal-z2tnXCf6.js → AuthkitAuthModal-CPyOF0SH.js} +17 -16
  2. package/dist/{AuthkitAuthorize-RSe0DQNQ.js → AuthkitAuthorize-DuQ4CKWT.js} +4 -5
  3. package/dist/{FeedbackItem-44CGbXN_.js → FeedbackItem-DGAsK3HZ.js} +1 -1
  4. package/dist/{FeedbackModal-DdTqdVlw.js → FeedbackModal-5C17AhkV.js} +4 -3
  5. package/dist/{Menu-BKBnsDJ8.js → Menu-Cxo8Rpu3.js} +5 -6
  6. package/dist/{MessageHandle-Cagv57D0.js → MessageHandle-thVNUp0p.js} +1 -1
  7. package/dist/UserAccountMenu-Bosjhh3l.js +613 -0
  8. package/dist/WidthContainer-DhHq52TL.js +528 -0
  9. package/dist/authkit.js +3 -3
  10. package/dist/common.d.ts +2 -0
  11. package/dist/common.js +17 -15
  12. package/dist/components/AppLayout.vue.d.ts +9 -0
  13. package/dist/components/AppSidebar.vue.d.ts +9 -0
  14. package/dist/components/HeaderMenus.vue.d.ts +1 -1
  15. package/dist/composables/Authkit/useAuthMenu.d.ts +9 -6
  16. package/dist/composables.js +2 -2
  17. package/dist/feedback.js +2 -2
  18. package/dist/index.js +48 -47
  19. package/dist/message.js +1 -1
  20. package/dist/pay.js +1 -1
  21. package/dist/referrer.js +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/useSEO-BLlxOmk2.js +617 -0
  24. package/dist/user.js +6 -7
  25. package/package.json +1 -1
  26. package/dist/UserAccountMenu-DHozw36C.js +0 -40
  27. package/dist/UserPanel-hGYAeWcj.js +0 -579
  28. package/dist/WidthContainer-6YR2TCen.js +0 -397
  29. package/dist/useSEO-BkqUiuvw.js +0 -589
  30. /package/dist/{PaySubscriptions-Bva3INxJ.js → PaySubscriptions-CnPLduJz.js} +0 -0
  31. /package/dist/{ReferrerReferees-g-CcDpVO.js → ReferrerReferees-B3Ek3gAn.js} +0 -0
  32. /package/dist/{AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js → useAuthkitAuthModal-BpOmabWi.js} +0 -0
@@ -0,0 +1,528 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ import { defineComponent as g, ref as C, watch as H, createElementBlock as o, openBlock as t, createElementVNode as r, createVNode as _, unref as m, withCtx as Q, resolveComponent as X, createBlock as E, createCommentVNode as $, toDisplayString as I, onMounted as Y, onUnmounted as Z, Fragment as z, renderList as q, normalizeClass as L, normalizeStyle as x, renderSlot as K, computed as P } from "vue";
4
+ import { Spin as V } from "@arco-design/web-vue";
5
+ import { a as B } from "./useAuthkitUsersProfile-zbKT0W_h.js";
6
+ import { u as O } from "./useAuthkitAuthModal-BpOmabWi.js";
7
+ import { u as R } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
8
+ /* empty css */
9
+ import "@huyooo/api";
10
+ import { a as D, w as A, b as G, d as W, f as ee, c as te } from "./useSEO-BLlxOmk2.js";
11
+ import "./useUploadCos-D5k1YLb7.js";
12
+ import { useRouter as N, useRoute as F } from "vue-router";
13
+ /* empty css */
14
+ /* empty css */
15
+ import { d as ne, c as j } from "./UserAccountMenu-Bosjhh3l.js";
16
+ /* empty css */
17
+ /* empty css */
18
+ /* empty css */
19
+ /* empty css */
20
+ import { M as oe } from "./Menu-Cxo8Rpu3.js";
21
+ import "./CollapseItem-Cw1vcdLu.js";
22
+ /* empty css */
23
+ import "./CustomTable-B8i1SbFB.js";
24
+ import "./index-Bb-d5pBq.js";
25
+ import "@iconify/vue";
26
+ import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
27
+ import { a as se } from "./globalConfig-C1YOJcxa.js";
28
+ const ae = {
29
+ class: "SidebarCom"
30
+ }, ie = {
31
+ class: "LogoContent"
32
+ }, re = {
33
+ class: "MenuContent"
34
+ }, ue = {
35
+ class: "sidebar-footer"
36
+ }, ce = /* @__PURE__ */ g({
37
+ __name: "AppSidebar",
38
+ props: {
39
+ menuType: {
40
+ default: "system"
41
+ },
42
+ showUserPanel: {
43
+ type: Boolean,
44
+ default: !0
45
+ }
46
+ },
47
+ setup(n) {
48
+ const e = n, {
49
+ show: a
50
+ } = O(), {
51
+ isLoggedIn: u
52
+ } = B(), {
53
+ appsData: i
54
+ } = R(), {
55
+ menus: c,
56
+ hasPermission: k
57
+ } = D(e.menuType), y = N(), f = C(!1);
58
+ function S() {
59
+ y.push({
60
+ path: "/"
61
+ });
62
+ }
63
+ const d = F(), b = C([""]);
64
+ function w(p) {
65
+ const s = p.path;
66
+ if (!k(s)) {
67
+ u.value || (a.value = !0);
68
+ return;
69
+ }
70
+ A(() => {
71
+ y.push(s), b.value = [s], window.scrollTo({
72
+ top: 0,
73
+ behavior: "smooth"
74
+ });
75
+ });
76
+ }
77
+ function l(p, s, v) {
78
+ var M;
79
+ for (let T = p.length - 1; T >= 0; T--) {
80
+ const U = p[T];
81
+ if (((M = U.meta) == null ? void 0 : M.menuType) === s)
82
+ return U.path;
83
+ }
84
+ return "";
85
+ }
86
+ return H(() => d.path, () => {
87
+ const p = l(d.matched, e.menuType, d.path);
88
+ console.log(p, d.matched, e.menuType, d.path, "activateKey"), p && (b.value = [p]);
89
+ }, {
90
+ immediate: !0
91
+ }), (p, s) => (t(), o("div", ae, [r("div", ie, [_(m(J), {
92
+ icon: m(i).applicationLogoUrl,
93
+ name: "Captions One",
94
+ onTo: S
95
+ }, null, 8, ["icon"])]), r("div", re, [_(oe, {
96
+ "selected-keys": b.value,
97
+ "onUpdate:selectedKeys": s[0] || (s[0] = (v) => b.value = v),
98
+ menus: m(c),
99
+ onChange: w
100
+ }, null, 8, ["selected-keys", "menus"])]), r("div", ue, [_(m(ne), {
101
+ onArrowClick: s[2] || (s[2] = (v) => f.value = !f.value)
102
+ }, {
103
+ avatar: Q(() => [_(m(j), {
104
+ modelValue: f.value,
105
+ "onUpdate:modelValue": s[1] || (s[1] = (v) => f.value = v),
106
+ position: "tr",
107
+ "dropdown-offset-y": "30px",
108
+ "dropdown-offset-x": "230px"
109
+ }, null, 8, ["modelValue"])]),
110
+ _: 1
111
+ })])]));
112
+ }
113
+ }), le = /* @__PURE__ */ h(ce, [["__scopeId", "data-v-d65df5e3"]]), de = {
114
+ class: "layout"
115
+ }, pe = {
116
+ class: "leftContent"
117
+ }, me = {
118
+ class: "content"
119
+ }, fe = {
120
+ class: "contentCenter"
121
+ }, _e = {
122
+ class: "pages"
123
+ }, he = {
124
+ key: 0,
125
+ class: "loading"
126
+ }, ve = /* @__PURE__ */ g({
127
+ __name: "AppLayout",
128
+ props: {
129
+ menuType: {
130
+ default: "system"
131
+ },
132
+ showUserPanel: {
133
+ type: Boolean,
134
+ default: !0
135
+ }
136
+ },
137
+ setup(n) {
138
+ const e = n, {
139
+ isChecking: a
140
+ } = G();
141
+ return W(), (u, i) => {
142
+ const c = X("RouterView");
143
+ return t(), o("div", de, [r("div", pe, [_(le, {
144
+ "menu-type": e.menuType,
145
+ "show-user-panel": e.showUserPanel
146
+ }, null, 8, ["menu-type", "show-user-panel"])]), r("div", me, [r("div", fe, [r("div", _e, [m(a) ? (t(), o("div", he, [_(m(V), {
147
+ size: 40
148
+ })])) : (t(), E(c, {
149
+ key: 1
150
+ }))])])])]);
151
+ };
152
+ }
153
+ }), kt = /* @__PURE__ */ h(ve, [["__scopeId", "data-v-1778eb2d"]]), ge = {
154
+ class: "ContentHead"
155
+ }, ye = {
156
+ class: "title"
157
+ }, be = {
158
+ key: 0,
159
+ class: "description"
160
+ }, ke = /* @__PURE__ */ g({
161
+ __name: "ContentHead",
162
+ props: {
163
+ title: {
164
+ type: String,
165
+ required: !0,
166
+ default: () => ""
167
+ },
168
+ description: {
169
+ type: String,
170
+ required: !0,
171
+ default: () => ""
172
+ }
173
+ },
174
+ setup(n) {
175
+ const e = n;
176
+ return (a, u) => (t(), o("div", ge, [r("h1", ye, I(e.title), 1), e.description ? (t(), o("p", be, I(e.description), 1)) : $("", !0)]));
177
+ }
178
+ }), St = /* @__PURE__ */ h(ke, [["__scopeId", "data-v-209a7bef"]]), Se = {
179
+ class: "HeaderMenus"
180
+ }, we = {
181
+ key: 0,
182
+ class: "desktop-menus"
183
+ }, $e = ["onClick"], Ce = {
184
+ key: 3,
185
+ class: "mobile-menu"
186
+ }, Ie = {
187
+ class: "mobile-menu-content"
188
+ }, Me = ["onClick"], xe = /* @__PURE__ */ g({
189
+ __name: "HeaderMenus",
190
+ props: {
191
+ menus: {
192
+ type: Array,
193
+ required: !0
194
+ },
195
+ activateKey: {
196
+ type: String,
197
+ required: !0
198
+ }
199
+ },
200
+ emits: ["change"],
201
+ setup(n, {
202
+ emit: e
203
+ }) {
204
+ const a = n, u = e, i = C(!1), c = C(!1);
205
+ function k() {
206
+ c.value = window.innerWidth <= 1024;
207
+ }
208
+ function y() {
209
+ i.value = !i.value;
210
+ }
211
+ function f() {
212
+ i.value = !1;
213
+ }
214
+ function S(l) {
215
+ u("change", l), f();
216
+ }
217
+ function d(l) {
218
+ return a.activateKey === l.path;
219
+ }
220
+ function b(l) {
221
+ u("change", l);
222
+ }
223
+ function w() {
224
+ k(), c.value || f();
225
+ }
226
+ return Y(() => {
227
+ k(), window.addEventListener("resize", w);
228
+ }), Z(() => {
229
+ window.removeEventListener("resize", w);
230
+ }), (l, p) => (t(), o("div", Se, [c.value ? $("", !0) : (t(), o("div", we, [(t(!0), o(z, null, q(a.menus, (s, v) => (t(), o("div", {
231
+ key: v,
232
+ class: L(["headerLink", {
233
+ activate: d(s)
234
+ }]),
235
+ onClick: (M) => b(s)
236
+ }, I(s.name), 11, $e))), 128))])), c.value ? (t(), o("button", {
237
+ key: 1,
238
+ class: L(["mobile-menu-toggle", {
239
+ active: i.value
240
+ }]),
241
+ "aria-label": "切换菜单",
242
+ onClick: y
243
+ }, [...p[0] || (p[0] = [r("span", {
244
+ class: "hamburger-line"
245
+ }, null, -1), r("span", {
246
+ class: "hamburger-line"
247
+ }, null, -1), r("span", {
248
+ class: "hamburger-line"
249
+ }, null, -1)])], 2)) : $("", !0), i.value ? (t(), o("div", {
250
+ key: 2,
251
+ class: "mobile-menu-overlay",
252
+ onClick: f
253
+ })) : $("", !0), i.value ? (t(), o("div", Ce, [r("div", Ie, [(t(!0), o(z, null, q(a.menus, (s, v) => (t(), o("div", {
254
+ key: v,
255
+ class: L(["mobile-menu-item", {
256
+ activate: d(s)
257
+ }]),
258
+ onClick: (M) => S(s)
259
+ }, I(s.name), 11, Me))), 128))])])) : $("", !0)]));
260
+ }
261
+ }), Te = /* @__PURE__ */ h(xe, [["__scopeId", "data-v-beef3157"]]), Le = ["src"], Pe = /* @__PURE__ */ g({
262
+ __name: "Logo",
263
+ props: {
264
+ name: {
265
+ type: String,
266
+ required: !1,
267
+ default: () => "#2d2d2d"
268
+ },
269
+ icon: {
270
+ type: String,
271
+ required: !1,
272
+ default: () => ""
273
+ },
274
+ color: {
275
+ type: String,
276
+ required: !1,
277
+ default: () => "#2d2d2d"
278
+ },
279
+ fontSize: {
280
+ type: String,
281
+ required: !1,
282
+ default: () => "16px"
283
+ }
284
+ },
285
+ emits: ["to"],
286
+ setup(n, {
287
+ emit: e
288
+ }) {
289
+ const a = n, u = e;
290
+ function i() {
291
+ u("to");
292
+ }
293
+ return (c, k) => (t(), o("div", {
294
+ class: "Logo",
295
+ onClick: i
296
+ }, [n.icon ? (t(), o("img", {
297
+ key: 0,
298
+ class: "icon",
299
+ src: n.icon,
300
+ alt: "logo",
301
+ loading: "lazy",
302
+ decoding: "async"
303
+ }, null, 8, Le)) : $("", !0), r("div", {
304
+ class: "text",
305
+ style: x({
306
+ color: a.color,
307
+ fontSize: a.fontSize
308
+ })
309
+ }, I(n.name), 5)]));
310
+ }
311
+ }), J = /* @__PURE__ */ h(Pe, [["__scopeId", "data-v-694a3ecc"]]), Ae = {
312
+ class: "HeaderCom"
313
+ }, Ue = {
314
+ class: "left"
315
+ }, ze = {
316
+ class: "right"
317
+ }, qe = /* @__PURE__ */ g({
318
+ __name: "Header",
319
+ props: {
320
+ menuType: {
321
+ default: "header"
322
+ },
323
+ showUserPanel: {
324
+ type: Boolean,
325
+ default: !0
326
+ }
327
+ },
328
+ setup(n) {
329
+ const e = n, {
330
+ show: a
331
+ } = O(), {
332
+ isLoggedIn: u
333
+ } = B(), {
334
+ appsData: i
335
+ } = R(), {
336
+ menus: c,
337
+ hasPermission: k
338
+ } = D(e.menuType), y = C(""), f = N(), S = F();
339
+ function d() {
340
+ A(() => {
341
+ f.push({
342
+ path: "/"
343
+ }), window.scrollTo({
344
+ top: 0,
345
+ behavior: "smooth"
346
+ });
347
+ });
348
+ }
349
+ function b(w) {
350
+ const l = w.path;
351
+ if (!k(l)) {
352
+ u.value || (a.value = !0);
353
+ return;
354
+ }
355
+ A(() => {
356
+ f.push(l), y.value = l, window.scrollTo({
357
+ top: 0,
358
+ behavior: "smooth"
359
+ });
360
+ });
361
+ }
362
+ return H(() => S.path, () => {
363
+ y.value = ee(S.matched, e.menuType, S.path);
364
+ }, {
365
+ immediate: !0
366
+ }), (w, l) => (t(), o("div", Ae, [r("div", Ue, [_(J, {
367
+ icon: m(i).applicationLogoUrl,
368
+ name: m(i).name,
369
+ onTo: d
370
+ }, null, 8, ["icon", "name"])]), r("div", ze, [_(Te, {
371
+ menus: m(c),
372
+ activateKey: y.value,
373
+ onChange: b
374
+ }, null, 8, ["menus", "activateKey"]), e.showUserPanel ? (t(), E(j, {
375
+ key: 0,
376
+ onToHomePage: d,
377
+ onSignOut: d
378
+ })) : $("", !0)])]));
379
+ }
380
+ }), He = /* @__PURE__ */ h(qe, [["__scopeId", "data-v-48ee6be5"]]), Ee = {
381
+ class: "body"
382
+ }, Ke = {
383
+ key: 0,
384
+ class: "loading"
385
+ }, Ve = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", Be = /* @__PURE__ */ g({
386
+ __name: "DefaultLayout",
387
+ props: {
388
+ menuType: {
389
+ default: "header"
390
+ },
391
+ showUserPanel: {
392
+ type: Boolean,
393
+ default: !0
394
+ },
395
+ backgroundImage: {
396
+ default: ""
397
+ }
398
+ },
399
+ setup(n) {
400
+ const e = n, {
401
+ setGlobalSEO: a
402
+ } = te();
403
+ a(se);
404
+ const {
405
+ isChecking: u
406
+ } = G();
407
+ return W(), (i, c) => (t(), o("div", {
408
+ class: "layout",
409
+ style: x({
410
+ backgroundImage: e.backgroundImage || Ve,
411
+ backgroundAttachment: "fixed"
412
+ })
413
+ }, [_(He, {
414
+ "menu-type": e.menuType,
415
+ "show-user-panel": e.showUserPanel
416
+ }, null, 8, ["menu-type", "show-user-panel"]), r("div", Ee, [m(u) ? (t(), o("div", Ke, [_(m(V), {
417
+ size: 40
418
+ })])) : K(i.$slots, "default", {
419
+ key: 1
420
+ }, void 0, !0)])], 4));
421
+ }
422
+ }), wt = /* @__PURE__ */ h(Be, [["__scopeId", "data-v-690c2133"]]), Oe = /* @__PURE__ */ g({
423
+ __name: "Gradientbackground",
424
+ props: {
425
+ width: {
426
+ type: String,
427
+ default: "100%"
428
+ },
429
+ height: {
430
+ type: String,
431
+ default: "100%"
432
+ },
433
+ zIndex: {
434
+ type: String,
435
+ default: "-1"
436
+ },
437
+ top: {
438
+ type: String,
439
+ default: "10%"
440
+ },
441
+ left: {
442
+ type: String,
443
+ default: "0%"
444
+ },
445
+ right: {
446
+ type: String,
447
+ default: "auto"
448
+ },
449
+ blur: {
450
+ type: String,
451
+ default: "0px"
452
+ },
453
+ background: {
454
+ type: String,
455
+ required: !1,
456
+ 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%)"
457
+ }
458
+ },
459
+ setup(n) {
460
+ const e = n, a = P(() => ({
461
+ pointerEvents: "none",
462
+ position: "absolute",
463
+ zIndex: e.zIndex,
464
+ width: e.width,
465
+ height: e.height,
466
+ filter: `blur(${e.blur})`
467
+ })), u = P(() => ({
468
+ width: "100%",
469
+ height: "100%",
470
+ background: e.background
471
+ // background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
472
+ // 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%)`,
473
+ // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
474
+ }));
475
+ return (i, c) => (t(), o("div", {
476
+ class: "ellipsis",
477
+ style: x(a.value)
478
+ }, [r("div", {
479
+ class: "ellipsis-item",
480
+ style: x(u.value)
481
+ }, null, 4)], 4));
482
+ }
483
+ }), $t = /* @__PURE__ */ h(Oe, [["__scopeId", "data-v-b6461ac4"]]), Re = {
484
+ class: "SvgIcon"
485
+ }, De = ["href", "fill"], Ge = /* @__PURE__ */ g({
486
+ __name: "SvgIcon",
487
+ props: {
488
+ prefix: {
489
+ type: String,
490
+ required: !1,
491
+ default: "icon"
492
+ },
493
+ name: {
494
+ type: String,
495
+ required: !0
496
+ },
497
+ color: {
498
+ type: String,
499
+ required: !1,
500
+ default: "#333"
501
+ }
502
+ },
503
+ setup(n) {
504
+ const e = n, a = P(() => `#${e.prefix ?? "icon"}-${e.name}`);
505
+ return (u, i) => (t(), o("svg", Re, [r("use", {
506
+ href: a.value,
507
+ fill: e.color
508
+ }, null, 8, De)]));
509
+ }
510
+ }), Ct = /* @__PURE__ */ h(Ge, [["__scopeId", "data-v-0a9de94e"]]), We = {}, Ne = {
511
+ class: "WidthContainer"
512
+ };
513
+ function Fe(n, e) {
514
+ return t(), o("div", Ne, [K(n.$slots, "default", {}, void 0, !0)]);
515
+ }
516
+ const It = /* @__PURE__ */ h(We, [["render", Fe], ["__scopeId", "data-v-d06aac1f"]]);
517
+ export {
518
+ kt as A,
519
+ St as C,
520
+ wt as D,
521
+ $t as G,
522
+ He as H,
523
+ J as L,
524
+ Ct as S,
525
+ It as W,
526
+ le as a,
527
+ Te as b
528
+ };
package/dist/authkit.js CHANGED
@@ -1,8 +1,8 @@
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-z2tnXCf6.js";
2
- import { A as y, a as E } from "./AuthkitAuthorize-RSe0DQNQ.js";
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-CPyOF0SH.js";
2
+ import { A as y, a as E } from "./AuthkitAuthorize-DuQ4CKWT.js";
3
3
  import { u as C } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
4
4
  import { u as V, a as b } from "./useAuthkitUsersProfile-zbKT0W_h.js";
5
- import { u as B } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
5
+ import { u as B } from "./useAuthkitAuthModal-BpOmabWi.js";
6
6
  import { u as j } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
7
7
  export {
8
8
  a as AuthkitAppSetting,
package/dist/common.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ export { default as AppLayout } from './components/AppLayout.vue';
2
+ export { default as AppSidebar } from './components/AppSidebar.vue';
1
3
  export { default as Collapse } from './components/Collapse.vue';
2
4
  export { default as CollapseItem } from './components/CollapseItem.vue';
3
5
  export { default as ContentHead } from './components/ContentHead.vue';
package/dist/common.js CHANGED
@@ -1,20 +1,22 @@
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-6YR2TCen.js";
3
- import { C as i, E as x } from "./CustomTable-B8i1SbFB.js";
4
- import { M, a as g } from "./Menu-BKBnsDJ8.js";
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-DhHq52TL.js";
2
+ import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
3
+ import { C as x, E as H } from "./CustomTable-B8i1SbFB.js";
4
+ import { M, a as g } from "./Menu-Cxo8Rpu3.js";
5
5
  export {
6
- s as Collapse,
7
- o as CollapseItem,
8
- r as ContentHead,
9
- i as CustomTable,
10
- n as DefaultLayout,
11
- x as Ellipsis,
12
- l as Gradientbackground,
13
- C as Header,
14
- m as HeaderMenus,
15
- p as Logo,
6
+ s as AppLayout,
7
+ o as AppSidebar,
8
+ i as Collapse,
9
+ f as CollapseItem,
10
+ t as ContentHead,
11
+ x as CustomTable,
12
+ r as DefaultLayout,
13
+ H as Ellipsis,
14
+ p as Gradientbackground,
15
+ n as Header,
16
+ l as HeaderMenus,
17
+ u as Logo,
16
18
  M as Menu,
17
19
  g as MenuItem,
18
- u as SvgIcon,
20
+ C as SvgIcon,
19
21
  d as WidthContainer
20
22
  };
@@ -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;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  interface MenuType {
3
3
  name: string;
4
4
  path: string;
5
- icon: string;
5
+ icon?: string;
6
6
  }
7
7
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
8
  menus: {
@@ -1,13 +1,16 @@
1
1
  import { RouteLocationMatched } from 'vue-router';
2
2
  export declare function findMenuPath(matched: RouteLocationMatched[], menuType: string, currentPath: string): string;
3
+ interface MenuItem {
4
+ name: string;
5
+ path: string;
6
+ icon?: string;
7
+ hidden?: boolean;
8
+ children?: MenuItem[];
9
+ }
3
10
  export declare function useAuthMenu(menuType?: string): {
4
- menus: import('vue').ComputedRef<{
5
- name: any;
6
- path: string;
7
- key: string;
8
- icon: any;
9
- }[]>;
11
+ menus: import('vue').ComputedRef<MenuItem[]>;
10
12
  isRoutePublic: (path: string) => boolean;
11
13
  hasPermission: (path: string) => boolean;
12
14
  isLoggedIn: import('vue').ComputedRef<boolean>;
13
15
  };
16
+ export {};
@@ -1,12 +1,12 @@
1
1
  import { u as o, a } from "./useAuthkitUsersProfile-zbKT0W_h.js";
2
- import { u } from "./AuthkitAuthModal.vue_vue_type_style_index_1_lang-BpOmabWi.js";
2
+ import { u } from "./useAuthkitAuthModal-BpOmabWi.js";
3
3
  import { u as i } from "./useAuthkitAppsAuthPageInfo-BifS1KOG.js";
4
4
  import { u as n } from "./useAuthkitCreateAndUpdate-BpPW409v.js";
5
5
  import { u as l } from "./useMessageNotifications-DSRanuRe.js";
6
6
  import { g as A, a as h, s as d, b as x } from "./globalConfig-C1YOJcxa.js";
7
7
  import { u as C, a as b } from "./useDownloads-DnMYa52H.js";
8
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-BkqUiuvw.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-BLlxOmk2.js";
10
10
  import { u as R } from "./useUploadCos-D5k1YLb7.js";
11
11
  export {
12
12
  E as findMenuPath,
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-DdTqdVlw.js";
1
+ import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-5C17AhkV.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-44CGbXN_.js";
3
+ import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-DGAsK3HZ.js";
4
4
  export {
5
5
  r as Clipboard,
6
6
  b as FeedbackBubbleEnd,