@huyooo/ui 0.5.37 → 0.5.38
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/WidthContainer-CaG3ubDu.js +626 -0
- package/dist/common.js +1 -1
- package/dist/components/HeaderMenus.vue.d.ts +2 -0
- package/dist/composables/Authkit/useAuthMenu.d.ts +1 -0
- package/dist/composables.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/{useSEO-CDBhukDZ.js → useSEO-BPLbTGu_.js} +84 -83
- package/package.json +1 -1
- package/dist/WidthContainer-CGy4PLm9.js +0 -516
|
@@ -0,0 +1,626 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { defineComponent as x, ref as z, watch as B, createElementBlock as n, openBlock as e, createElementVNode as s, createVNode as g, 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
|
+
import { Spin as D } from "@arco-design/web-vue";
|
|
5
|
+
import { a as G } from "./useAuthkitUsersProfile-B1y2nleU.js";
|
|
6
|
+
import { u as N, a as re } from "./auth-B864DrVx.js";
|
|
7
|
+
import { u as F } from "./useAuthkitAppsAuthPageInfo-Ct-ElH04.js";
|
|
8
|
+
import { a as j, f as J, w as W, b as Q, d as X, c as ce } from "./useSEO-BPLbTGu_.js";
|
|
9
|
+
import "./useUploadCos-Ca4Mo5FD.js";
|
|
10
|
+
import { useRouter as Y, useRoute as Z } from "vue-router";
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
|
+
import { d as ue, c as ee } from "./UserAccountMenu-CBcYE5WO.js";
|
|
14
|
+
/* empty css */
|
|
15
|
+
/* empty css */
|
|
16
|
+
/* empty css */
|
|
17
|
+
/* empty css */
|
|
18
|
+
import { M as le } from "./Menu-ejsosUdV.js";
|
|
19
|
+
import "./CollapseItem-Cw1vcdLu.js";
|
|
20
|
+
/* empty css */
|
|
21
|
+
import "./CustomTable-B8i1SbFB.js";
|
|
22
|
+
import "./index-Bb-d5pBq.js";
|
|
23
|
+
import { Icon as V } from "@iconify/vue";
|
|
24
|
+
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
25
|
+
const de = {
|
|
26
|
+
class: "SidebarCom"
|
|
27
|
+
}, pe = {
|
|
28
|
+
class: "LogoContent"
|
|
29
|
+
}, he = {
|
|
30
|
+
class: "MenuContent"
|
|
31
|
+
}, me = {
|
|
32
|
+
class: "sidebar-footer"
|
|
33
|
+
}, fe = /* @__PURE__ */ x({
|
|
34
|
+
__name: "AppSidebar",
|
|
35
|
+
props: {
|
|
36
|
+
menuType: {
|
|
37
|
+
default: "system"
|
|
38
|
+
},
|
|
39
|
+
showUserPanel: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: !0
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
setup(a) {
|
|
45
|
+
const t = a, {
|
|
46
|
+
show: c
|
|
47
|
+
} = N(), {
|
|
48
|
+
isLoggedIn: d
|
|
49
|
+
} = G(), {
|
|
50
|
+
appsData: u
|
|
51
|
+
} = F(), {
|
|
52
|
+
menus: m,
|
|
53
|
+
hasPermission: b
|
|
54
|
+
} = j(t.menuType), $ = Y(), C = z(!1);
|
|
55
|
+
function I() {
|
|
56
|
+
$.push({
|
|
57
|
+
path: "/"
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
const y = Z(), M = z([""]);
|
|
61
|
+
function T(f) {
|
|
62
|
+
const r = f.path;
|
|
63
|
+
if (!b(r)) {
|
|
64
|
+
d.value || (c.value = !0);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
W(() => {
|
|
68
|
+
$.push(r), M.value = [r], window.scrollTo({
|
|
69
|
+
top: 0,
|
|
70
|
+
behavior: "smooth"
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
return B(() => y.path, () => {
|
|
75
|
+
const f = J(y.matched, t.menuType, y.path);
|
|
76
|
+
console.log(f, y.matched, t.menuType, y.path, "activateKey"), f && (M.value = [f]);
|
|
77
|
+
}, {
|
|
78
|
+
immediate: !0
|
|
79
|
+
}), (f, r) => (e(), n("div", de, [s("div", pe, [g(h(te), {
|
|
80
|
+
icon: h(u).applicationLogoUrl,
|
|
81
|
+
name: h(u).name,
|
|
82
|
+
onTo: I
|
|
83
|
+
}, null, 8, ["icon", "name"])]), s("div", he, [g(le, {
|
|
84
|
+
"selected-keys": M.value,
|
|
85
|
+
"onUpdate:selectedKeys": r[0] || (r[0] = (_) => M.value = _),
|
|
86
|
+
menus: h(m),
|
|
87
|
+
onChange: T
|
|
88
|
+
}, null, 8, ["selected-keys", "menus"])]), s("div", me, [g(h(ue), {
|
|
89
|
+
onArrowClick: r[2] || (r[2] = (_) => C.value = !C.value)
|
|
90
|
+
}, {
|
|
91
|
+
avatar: ne(() => [g(h(ee), {
|
|
92
|
+
modelValue: C.value,
|
|
93
|
+
"onUpdate:modelValue": r[1] || (r[1] = (_) => C.value = _),
|
|
94
|
+
position: "tr",
|
|
95
|
+
"dropdown-offset-y": "30px",
|
|
96
|
+
"dropdown-offset-x": "230px"
|
|
97
|
+
}, null, 8, ["modelValue"])]),
|
|
98
|
+
_: 1
|
|
99
|
+
})])]));
|
|
100
|
+
}
|
|
101
|
+
}), _e = /* @__PURE__ */ S(fe, [["__scopeId", "data-v-df07e222"]]), ve = {
|
|
102
|
+
class: "layout"
|
|
103
|
+
}, ge = {
|
|
104
|
+
class: "leftContent"
|
|
105
|
+
}, ye = {
|
|
106
|
+
class: "content"
|
|
107
|
+
}, be = {
|
|
108
|
+
class: "contentCenter"
|
|
109
|
+
}, ke = {
|
|
110
|
+
class: "pages"
|
|
111
|
+
}, we = {
|
|
112
|
+
key: 0,
|
|
113
|
+
class: "loading"
|
|
114
|
+
}, Se = /* @__PURE__ */ x({
|
|
115
|
+
__name: "AppLayout",
|
|
116
|
+
props: {
|
|
117
|
+
menuType: {
|
|
118
|
+
default: "system"
|
|
119
|
+
},
|
|
120
|
+
showUserPanel: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: !0
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
setup(a) {
|
|
126
|
+
const t = a, {
|
|
127
|
+
isChecking: c
|
|
128
|
+
} = Q();
|
|
129
|
+
return X(), (d, u) => {
|
|
130
|
+
const m = oe("RouterView");
|
|
131
|
+
return e(), n("div", ve, [s("div", ge, [g(_e, {
|
|
132
|
+
"menu-type": t.menuType,
|
|
133
|
+
"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, [g(h(D), {
|
|
135
|
+
size: 40
|
|
136
|
+
})])) : (e(), O(m, {
|
|
137
|
+
key: 1
|
|
138
|
+
}))])])])]);
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}), qt = /* @__PURE__ */ S(Se, [["__scopeId", "data-v-4a48c340"]]), $e = {
|
|
142
|
+
class: "ContentHead"
|
|
143
|
+
}, Ce = {
|
|
144
|
+
class: "title"
|
|
145
|
+
}, Ie = {
|
|
146
|
+
key: 0,
|
|
147
|
+
class: "description"
|
|
148
|
+
}, Me = /* @__PURE__ */ x({
|
|
149
|
+
__name: "ContentHead",
|
|
150
|
+
props: {
|
|
151
|
+
title: {
|
|
152
|
+
type: String,
|
|
153
|
+
required: !0,
|
|
154
|
+
default: () => ""
|
|
155
|
+
},
|
|
156
|
+
description: {
|
|
157
|
+
type: String,
|
|
158
|
+
required: !0,
|
|
159
|
+
default: () => ""
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
setup(a) {
|
|
163
|
+
const t = a;
|
|
164
|
+
return (c, d) => (e(), n("div", $e, [s("h1", Ce, w(t.title), 1), t.description ? (e(), n("p", Ie, w(t.description), 1)) : k("", !0)]));
|
|
165
|
+
}
|
|
166
|
+
}), Ht = /* @__PURE__ */ S(Me, [["__scopeId", "data-v-209a7bef"]]), Pe = {
|
|
167
|
+
class: "HeaderMenus"
|
|
168
|
+
}, xe = {
|
|
169
|
+
key: 0,
|
|
170
|
+
class: "desktop-menus"
|
|
171
|
+
}, Te = {
|
|
172
|
+
key: 0,
|
|
173
|
+
class: "header-menu-item"
|
|
174
|
+
}, Ae = {
|
|
175
|
+
class: "submenu-popup"
|
|
176
|
+
}, Le = {
|
|
177
|
+
class: "submenu-content"
|
|
178
|
+
}, Ue = ["onClick"], ze = {
|
|
179
|
+
key: 0,
|
|
180
|
+
class: "submenu-item-icon"
|
|
181
|
+
}, qe = {
|
|
182
|
+
class: "submenu-item-content"
|
|
183
|
+
}, He = {
|
|
184
|
+
class: "submenu-item-title"
|
|
185
|
+
}, Ke = {
|
|
186
|
+
key: 0,
|
|
187
|
+
class: "submenu-item-description"
|
|
188
|
+
}, Ve = ["onClick"], Ee = {
|
|
189
|
+
key: 3,
|
|
190
|
+
class: "mobile-menu"
|
|
191
|
+
}, We = {
|
|
192
|
+
class: "mobile-menu-content"
|
|
193
|
+
}, Be = ["onClick"], Oe = {
|
|
194
|
+
key: 0,
|
|
195
|
+
class: "mobile-submenu"
|
|
196
|
+
}, Re = ["onClick"], De = ["onClick"], Ge = /* @__PURE__ */ x({
|
|
197
|
+
__name: "HeaderMenus",
|
|
198
|
+
props: {
|
|
199
|
+
menus: {
|
|
200
|
+
type: Array,
|
|
201
|
+
required: !0
|
|
202
|
+
},
|
|
203
|
+
activateKey: {
|
|
204
|
+
type: String,
|
|
205
|
+
required: !0
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
emits: ["change"],
|
|
209
|
+
setup(a, {
|
|
210
|
+
emit: t
|
|
211
|
+
}) {
|
|
212
|
+
const c = a, d = t, u = z(!1), m = z(!1), b = z({});
|
|
213
|
+
function $() {
|
|
214
|
+
m.value = window.innerWidth <= 1024;
|
|
215
|
+
}
|
|
216
|
+
function C() {
|
|
217
|
+
u.value = !u.value;
|
|
218
|
+
}
|
|
219
|
+
function I() {
|
|
220
|
+
u.value = !1;
|
|
221
|
+
}
|
|
222
|
+
function y(l) {
|
|
223
|
+
d("change", l);
|
|
224
|
+
}
|
|
225
|
+
function M(l) {
|
|
226
|
+
d("change", l), I();
|
|
227
|
+
}
|
|
228
|
+
function T(l) {
|
|
229
|
+
b.value[l] = !b.value[l];
|
|
230
|
+
}
|
|
231
|
+
function f(l) {
|
|
232
|
+
const v = c.activateKey, o = l.path;
|
|
233
|
+
if (v === o || v.startsWith(o + "/"))
|
|
234
|
+
return !0;
|
|
235
|
+
if (l.children && l.children.length > 0) {
|
|
236
|
+
for (const p of l.children)
|
|
237
|
+
if (v === p.path || v.startsWith(p.path + "/"))
|
|
238
|
+
return !0;
|
|
239
|
+
}
|
|
240
|
+
return !1;
|
|
241
|
+
}
|
|
242
|
+
function r(l) {
|
|
243
|
+
const v = c.activateKey, o = l.path;
|
|
244
|
+
return !!(v === o || v.startsWith(o + "/"));
|
|
245
|
+
}
|
|
246
|
+
function _(l) {
|
|
247
|
+
d("change", l);
|
|
248
|
+
}
|
|
249
|
+
function P() {
|
|
250
|
+
$(), m.value || I();
|
|
251
|
+
}
|
|
252
|
+
return se(() => {
|
|
253
|
+
$(), window.addEventListener("resize", P);
|
|
254
|
+
}), ae(() => {
|
|
255
|
+
window.removeEventListener("resize", P);
|
|
256
|
+
}), (l, v) => (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
|
+
key: p
|
|
258
|
+
}, [o.children && o.children.length > 0 ? (e(), n("div", Te, [s("div", {
|
|
259
|
+
class: L(["headerLink hasChildren", {
|
|
260
|
+
activate: f(o)
|
|
261
|
+
}])
|
|
262
|
+
}, [ie(w(o.name) + " ", 1), g(h(V), {
|
|
263
|
+
icon: "mingcute:down-line",
|
|
264
|
+
class: "dropdown-arrow"
|
|
265
|
+
})], 2), s("div", Ae, [s("div", Le, [(e(!0), n(U, null, H(o.children, (i, A) => (e(), n("div", {
|
|
266
|
+
key: A,
|
|
267
|
+
class: L(["submenu-item", {
|
|
268
|
+
active: r(i)
|
|
269
|
+
}]),
|
|
270
|
+
onClick: (q) => y(i)
|
|
271
|
+
}, [i.icon ? (e(), n("div", ze, [g(h(V), {
|
|
272
|
+
icon: i.icon
|
|
273
|
+
}, null, 8, ["icon"])])) : k("", !0), s("div", qe, [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
|
+
key: 1,
|
|
275
|
+
class: L(["headerLink", {
|
|
276
|
+
activate: f(o)
|
|
277
|
+
}]),
|
|
278
|
+
onClick: (i) => _(o)
|
|
279
|
+
}, w(o.name), 11, Ve))], 64))), 128))])), m.value ? (e(), n("button", {
|
|
280
|
+
key: 1,
|
|
281
|
+
class: L(["mobile-menu-toggle", {
|
|
282
|
+
active: u.value
|
|
283
|
+
}]),
|
|
284
|
+
"aria-label": "切换菜单",
|
|
285
|
+
onClick: C
|
|
286
|
+
}, [...v[0] || (v[0] = [s("span", {
|
|
287
|
+
class: "hamburger-line"
|
|
288
|
+
}, null, -1), s("span", {
|
|
289
|
+
class: "hamburger-line"
|
|
290
|
+
}, null, -1), s("span", {
|
|
291
|
+
class: "hamburger-line"
|
|
292
|
+
}, null, -1)])], 2)) : k("", !0), u.value ? (e(), n("div", {
|
|
293
|
+
key: 2,
|
|
294
|
+
class: "mobile-menu-overlay",
|
|
295
|
+
onClick: I
|
|
296
|
+
})) : k("", !0), u.value ? (e(), n("div", Ee, [s("div", We, [(e(!0), n(U, null, H(c.menus, (o, p) => (e(), n(U, {
|
|
297
|
+
key: p
|
|
298
|
+
}, [o.children && o.children.length > 0 ? (e(), n("div", {
|
|
299
|
+
key: 0,
|
|
300
|
+
class: L(["mobile-menu-item has-children", {
|
|
301
|
+
activate: f(o),
|
|
302
|
+
expanded: b.value[p]
|
|
303
|
+
}])
|
|
304
|
+
}, [s("div", {
|
|
305
|
+
class: "mobile-menu-item-header",
|
|
306
|
+
onClick: (i) => T(p)
|
|
307
|
+
}, [s("span", null, w(o.name), 1), g(h(V), {
|
|
308
|
+
icon: b.value[p] ? "mingcute:up-line" : "mingcute:down-line",
|
|
309
|
+
class: "mobile-submenu-arrow"
|
|
310
|
+
}, 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", {
|
|
311
|
+
key: A,
|
|
312
|
+
class: L(["mobile-submenu-item", {
|
|
313
|
+
active: r(i)
|
|
314
|
+
}]),
|
|
315
|
+
onClick: (q) => M(i)
|
|
316
|
+
}, w(i.name), 11, Re))), 128))])) : k("", !0)], 2)) : (e(), n("div", {
|
|
317
|
+
key: 1,
|
|
318
|
+
class: L(["mobile-menu-item", {
|
|
319
|
+
activate: f(o)
|
|
320
|
+
}]),
|
|
321
|
+
onClick: (i) => M(o)
|
|
322
|
+
}, w(o.name), 11, De))], 64))), 128))])])) : k("", !0)]));
|
|
323
|
+
}
|
|
324
|
+
}), Ne = /* @__PURE__ */ S(Ge, [["__scopeId", "data-v-73bcb18b"]]), Fe = ["src"], je = /* @__PURE__ */ x({
|
|
325
|
+
__name: "Logo",
|
|
326
|
+
props: {
|
|
327
|
+
name: {
|
|
328
|
+
type: String,
|
|
329
|
+
required: !1,
|
|
330
|
+
default: () => "#2d2d2d"
|
|
331
|
+
},
|
|
332
|
+
icon: {
|
|
333
|
+
type: String,
|
|
334
|
+
required: !1,
|
|
335
|
+
default: () => ""
|
|
336
|
+
},
|
|
337
|
+
color: {
|
|
338
|
+
type: String,
|
|
339
|
+
required: !1,
|
|
340
|
+
default: () => "#2d2d2d"
|
|
341
|
+
},
|
|
342
|
+
fontSize: {
|
|
343
|
+
type: String,
|
|
344
|
+
required: !1,
|
|
345
|
+
default: () => "16px"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
emits: ["to"],
|
|
349
|
+
setup(a, {
|
|
350
|
+
emit: t
|
|
351
|
+
}) {
|
|
352
|
+
const c = a, d = t;
|
|
353
|
+
function u() {
|
|
354
|
+
d("to");
|
|
355
|
+
}
|
|
356
|
+
return (m, b) => (e(), n("div", {
|
|
357
|
+
class: "Logo",
|
|
358
|
+
onClick: u
|
|
359
|
+
}, [a.icon ? (e(), n("img", {
|
|
360
|
+
key: 0,
|
|
361
|
+
class: "icon",
|
|
362
|
+
src: a.icon,
|
|
363
|
+
alt: "logo",
|
|
364
|
+
loading: "lazy",
|
|
365
|
+
decoding: "async"
|
|
366
|
+
}, null, 8, Fe)) : k("", !0), s("div", {
|
|
367
|
+
class: "text",
|
|
368
|
+
style: K({
|
|
369
|
+
color: c.color,
|
|
370
|
+
fontSize: c.fontSize
|
|
371
|
+
})
|
|
372
|
+
}, w(a.name), 5)]));
|
|
373
|
+
}
|
|
374
|
+
}), te = /* @__PURE__ */ S(je, [["__scopeId", "data-v-694a3ecc"]]), Je = {
|
|
375
|
+
class: "HeaderCom"
|
|
376
|
+
}, Qe = {
|
|
377
|
+
class: "left"
|
|
378
|
+
}, Xe = {
|
|
379
|
+
class: "right"
|
|
380
|
+
}, Ye = /* @__PURE__ */ x({
|
|
381
|
+
__name: "Header",
|
|
382
|
+
props: {
|
|
383
|
+
menuType: {
|
|
384
|
+
default: "header"
|
|
385
|
+
},
|
|
386
|
+
showUserPanel: {
|
|
387
|
+
type: Boolean,
|
|
388
|
+
default: !0
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
setup(a) {
|
|
392
|
+
const t = a, {
|
|
393
|
+
show: c
|
|
394
|
+
} = N(), {
|
|
395
|
+
isLoggedIn: d
|
|
396
|
+
} = G(), {
|
|
397
|
+
appsData: u
|
|
398
|
+
} = F(), {
|
|
399
|
+
menus: m,
|
|
400
|
+
hasPermission: b
|
|
401
|
+
} = j(t.menuType), $ = z(""), C = Y(), I = Z();
|
|
402
|
+
function y(r) {
|
|
403
|
+
return r.split("?")[0].split("#")[0];
|
|
404
|
+
}
|
|
405
|
+
function M(r, _) {
|
|
406
|
+
const P = y(_);
|
|
407
|
+
function l(o, p) {
|
|
408
|
+
for (const i of o) {
|
|
409
|
+
if (y(i.path) === p)
|
|
410
|
+
return i.path;
|
|
411
|
+
if (i.children && i.children.length > 0) {
|
|
412
|
+
const q = l(i.children, p);
|
|
413
|
+
if (q)
|
|
414
|
+
return q;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
return null;
|
|
418
|
+
}
|
|
419
|
+
const v = l(r, P);
|
|
420
|
+
if (v)
|
|
421
|
+
return v;
|
|
422
|
+
for (const o of r) {
|
|
423
|
+
const p = y(o.path);
|
|
424
|
+
if (P.startsWith(p + "/") || P === p) {
|
|
425
|
+
if (o.children && o.children.length > 0)
|
|
426
|
+
for (const i of o.children) {
|
|
427
|
+
const A = y(i.path);
|
|
428
|
+
if (P.startsWith(A + "/") || P === A)
|
|
429
|
+
return o.path;
|
|
430
|
+
}
|
|
431
|
+
return o.path;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
return J(I.matched, t.menuType, P);
|
|
435
|
+
}
|
|
436
|
+
function T() {
|
|
437
|
+
W(() => {
|
|
438
|
+
C.push({
|
|
439
|
+
path: "/"
|
|
440
|
+
}), window.scrollTo({
|
|
441
|
+
top: 0,
|
|
442
|
+
behavior: "smooth"
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
function f(r) {
|
|
447
|
+
const _ = r.path;
|
|
448
|
+
if (!b(_)) {
|
|
449
|
+
d.value || (c.value = !0);
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
W(() => {
|
|
453
|
+
C.push(_), $.value = _, window.scrollTo({
|
|
454
|
+
top: 0,
|
|
455
|
+
behavior: "smooth"
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
return B(() => [I.path, m.value], () => {
|
|
460
|
+
$.value = M(m.value, I.path);
|
|
461
|
+
}, {
|
|
462
|
+
immediate: !0,
|
|
463
|
+
deep: !0
|
|
464
|
+
}), (r, _) => (e(), n("div", Je, [s("div", Qe, [g(te, {
|
|
465
|
+
icon: h(u).applicationLogoUrl,
|
|
466
|
+
name: h(u).name,
|
|
467
|
+
onTo: T
|
|
468
|
+
}, null, 8, ["icon", "name"])]), s("div", Xe, [g(Ne, {
|
|
469
|
+
menus: h(m),
|
|
470
|
+
activateKey: $.value,
|
|
471
|
+
onChange: f
|
|
472
|
+
}, null, 8, ["menus", "activateKey"]), t.showUserPanel ? (e(), O(ee, {
|
|
473
|
+
key: 0,
|
|
474
|
+
onToHomePage: T,
|
|
475
|
+
onSignOut: T
|
|
476
|
+
})) : k("", !0)])]));
|
|
477
|
+
}
|
|
478
|
+
}), Ze = /* @__PURE__ */ S(Ye, [["__scopeId", "data-v-b34685b5"]]), et = {
|
|
479
|
+
class: "body"
|
|
480
|
+
}, tt = {
|
|
481
|
+
key: 0,
|
|
482
|
+
class: "loading"
|
|
483
|
+
}, nt = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", ot = /* @__PURE__ */ x({
|
|
484
|
+
__name: "DefaultLayout",
|
|
485
|
+
props: {
|
|
486
|
+
menuType: {
|
|
487
|
+
default: "header"
|
|
488
|
+
},
|
|
489
|
+
showUserPanel: {
|
|
490
|
+
type: Boolean,
|
|
491
|
+
default: !0
|
|
492
|
+
},
|
|
493
|
+
backgroundImage: {
|
|
494
|
+
default: ""
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
setup(a) {
|
|
498
|
+
const t = a, {
|
|
499
|
+
setGlobalSEO: c
|
|
500
|
+
} = ce();
|
|
501
|
+
c(re);
|
|
502
|
+
const {
|
|
503
|
+
isChecking: d
|
|
504
|
+
} = Q();
|
|
505
|
+
return X(), (u, m) => (e(), n("div", {
|
|
506
|
+
class: "layout",
|
|
507
|
+
style: K({
|
|
508
|
+
backgroundImage: t.backgroundImage || nt,
|
|
509
|
+
backgroundAttachment: "fixed"
|
|
510
|
+
})
|
|
511
|
+
}, [g(Ze, {
|
|
512
|
+
"menu-type": t.menuType,
|
|
513
|
+
"show-user-panel": t.showUserPanel
|
|
514
|
+
}, null, 8, ["menu-type", "show-user-panel"]), s("div", et, [h(d) ? (e(), n("div", tt, [g(h(D), {
|
|
515
|
+
size: 40
|
|
516
|
+
})])) : R(u.$slots, "default", {
|
|
517
|
+
key: 1
|
|
518
|
+
}, void 0, !0)])], 4));
|
|
519
|
+
}
|
|
520
|
+
}), Kt = /* @__PURE__ */ S(ot, [["__scopeId", "data-v-690c2133"]]), st = /* @__PURE__ */ x({
|
|
521
|
+
__name: "Gradientbackground",
|
|
522
|
+
props: {
|
|
523
|
+
width: {
|
|
524
|
+
type: String,
|
|
525
|
+
default: "100%"
|
|
526
|
+
},
|
|
527
|
+
height: {
|
|
528
|
+
type: String,
|
|
529
|
+
default: "100%"
|
|
530
|
+
},
|
|
531
|
+
zIndex: {
|
|
532
|
+
type: String,
|
|
533
|
+
default: "-1"
|
|
534
|
+
},
|
|
535
|
+
top: {
|
|
536
|
+
type: String,
|
|
537
|
+
default: "10%"
|
|
538
|
+
},
|
|
539
|
+
left: {
|
|
540
|
+
type: String,
|
|
541
|
+
default: "0%"
|
|
542
|
+
},
|
|
543
|
+
right: {
|
|
544
|
+
type: String,
|
|
545
|
+
default: "auto"
|
|
546
|
+
},
|
|
547
|
+
blur: {
|
|
548
|
+
type: String,
|
|
549
|
+
default: "0px"
|
|
550
|
+
},
|
|
551
|
+
background: {
|
|
552
|
+
type: String,
|
|
553
|
+
required: !1,
|
|
554
|
+
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%)"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
setup(a) {
|
|
558
|
+
const t = a, c = E(() => ({
|
|
559
|
+
pointerEvents: "none",
|
|
560
|
+
position: "absolute",
|
|
561
|
+
zIndex: t.zIndex,
|
|
562
|
+
width: t.width,
|
|
563
|
+
height: t.height,
|
|
564
|
+
filter: `blur(${t.blur})`
|
|
565
|
+
})), d = E(() => ({
|
|
566
|
+
width: "100%",
|
|
567
|
+
height: "100%",
|
|
568
|
+
background: t.background
|
|
569
|
+
// background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
|
|
570
|
+
// 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%)`,
|
|
571
|
+
// background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
|
|
572
|
+
}));
|
|
573
|
+
return (u, m) => (e(), n("div", {
|
|
574
|
+
class: "ellipsis",
|
|
575
|
+
style: K(c.value)
|
|
576
|
+
}, [s("div", {
|
|
577
|
+
class: "ellipsis-item",
|
|
578
|
+
style: K(d.value)
|
|
579
|
+
}, null, 4)], 4));
|
|
580
|
+
}
|
|
581
|
+
}), Vt = /* @__PURE__ */ S(st, [["__scopeId", "data-v-b6461ac4"]]), at = {
|
|
582
|
+
class: "SvgIcon"
|
|
583
|
+
}, it = ["href", "fill"], rt = /* @__PURE__ */ x({
|
|
584
|
+
__name: "SvgIcon",
|
|
585
|
+
props: {
|
|
586
|
+
prefix: {
|
|
587
|
+
type: String,
|
|
588
|
+
required: !1,
|
|
589
|
+
default: "icon"
|
|
590
|
+
},
|
|
591
|
+
name: {
|
|
592
|
+
type: String,
|
|
593
|
+
required: !0
|
|
594
|
+
},
|
|
595
|
+
color: {
|
|
596
|
+
type: String,
|
|
597
|
+
required: !1,
|
|
598
|
+
default: "#333"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
setup(a) {
|
|
602
|
+
const t = a, c = E(() => `#${t.prefix ?? "icon"}-${t.name}`);
|
|
603
|
+
return (d, u) => (e(), n("svg", at, [s("use", {
|
|
604
|
+
href: c.value,
|
|
605
|
+
fill: t.color
|
|
606
|
+
}, null, 8, it)]));
|
|
607
|
+
}
|
|
608
|
+
}), Et = /* @__PURE__ */ S(rt, [["__scopeId", "data-v-0a9de94e"]]), ct = {}, ut = {
|
|
609
|
+
class: "WidthContainer"
|
|
610
|
+
};
|
|
611
|
+
function lt(a, t) {
|
|
612
|
+
return e(), n("div", ut, [R(a.$slots, "default", {}, void 0, !0)]);
|
|
613
|
+
}
|
|
614
|
+
const Wt = /* @__PURE__ */ S(ct, [["render", lt], ["__scopeId", "data-v-d06aac1f"]]);
|
|
615
|
+
export {
|
|
616
|
+
qt as A,
|
|
617
|
+
Ht as C,
|
|
618
|
+
Kt as D,
|
|
619
|
+
Vt as G,
|
|
620
|
+
Ze as H,
|
|
621
|
+
te as L,
|
|
622
|
+
Et as S,
|
|
623
|
+
Wt as W,
|
|
624
|
+
_e as a,
|
|
625
|
+
Ne as b
|
|
626
|
+
};
|
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-CaG3ubDu.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
|
@@ -5,7 +5,7 @@ import { u as m } from "./useAuthkitCreateAndUpdate-C7pOKxNA.js";
|
|
|
5
5
|
import { u as d } from "./useMessageNotifications-BUJtc-Us.js";
|
|
6
6
|
import { u as x, a as C } from "./useDownloads-B7Leb86s.js";
|
|
7
7
|
import { u as k } from "./useTableHandle-DGz8Wwsj.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-
|
|
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-BPLbTGu_.js";
|
|
9
9
|
import { u as G } from "./useUploadCos-Ca4Mo5FD.js";
|
|
10
10
|
export {
|
|
11
11
|
w as findMenuPath,
|
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import { u as Z3 } from "./useMessageNotifications-BUJtc-Us.js";
|
|
|
6
6
|
import { a as e2 } from "./useDownloads-B7Leb86s.js";
|
|
7
7
|
import { u as E3 } from "./useDownloads-B7Leb86s.js";
|
|
8
8
|
import { u as S3 } from "./useTableHandle-DGz8Wwsj.js";
|
|
9
|
-
import { n as p2, e as I, U as f2, i as t2, V as h2, h as q, H as K, g as u2, v as _2 } from "./useSEO-
|
|
10
|
-
import { f as A3, u as G3, a as D3, b as P3, d as T3, c as O3, w as B3 } from "./useSEO-
|
|
9
|
+
import { n as p2, e as I, U as f2, i as t2, V as h2, h as q, H as K, g as u2, v as _2 } from "./useSEO-BPLbTGu_.js";
|
|
10
|
+
import { f as A3, u as G3, a as D3, b as P3, d as T3, c as O3, w as B3 } from "./useSEO-BPLbTGu_.js";
|
|
11
11
|
import { u as $3 } from "./useUploadCos-Ca4Mo5FD.js";
|
|
12
12
|
import { A as W3, a as R3, c as z3, b as j3, n as q3, E as K3, k as J3, l as Q3, _ as X3, O as Y3, f as e4, o as t4, P as o4, j as s4, R as a4, S as i4, i as n4, m as r4, d as c4, e as l4, g as C4, h as d4 } from "./AuthkitAuthModal-BUicw-gi.js";
|
|
13
13
|
import { A as f4, a as h4 } from "./AuthkitAuthorize--PZTQ6P_.js";
|
|
@@ -18,7 +18,7 @@ import { C as $4 } from "./Clipboard-07wvmu-K.js";
|
|
|
18
18
|
import { F as W4, a as R4, c as z4, b as j4, d as q4 } from "./FeedbackItem-CdNcEvhG.js";
|
|
19
19
|
import { L as J4, a as Q4, b as X4, c as Y4, B as e6, C as t6, d as o6, e as s6, x as a6, y as i6, f as n6, g as r6, z as c6, h as l6, i as C6, j as d6, k as p6, l as f6, m as h6, n as u6, D as _6, o as g6, p as m6, q as L6, r as y6, s as w6, T as F6, t as M6, A as v6, u as k6, v as x6, w as H6 } from "./LandingPageSectionTabs-Vk5dMIEO.js";
|
|
20
20
|
import { L as V6, a as E6, b as U6, c as S6, D as b6, d as A6, e as G6, f as D6, g as P6, h as T6, i as O6, j as B6, k as I6, l as $6, m as N6, n as W6 } from "./LandingPageSectionHeader-BWX7bHHG.js";
|
|
21
|
-
import { A as z6, a as j6, C as q6, D as K6, G as J6, H as Q6, b as X6, L as Y6, S as e7, W as t7 } from "./WidthContainer-
|
|
21
|
+
import { A as z6, a as j6, C as q6, D as K6, G as J6, H as Q6, b as X6, L as Y6, S as e7, W as t7 } from "./WidthContainer-CaG3ubDu.js";
|
|
22
22
|
import { C as s7, a as a7 } from "./CollapseItem-Cw1vcdLu.js";
|
|
23
23
|
import { C as n7, E as r7 } from "./CustomTable-B8i1SbFB.js";
|
|
24
24
|
import { M as l7, a as C7 } from "./Menu-ejsosUdV.js";
|