@huyooo/ui 0.9.8 → 0.10.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.
Files changed (42) hide show
  1. package/dist/{AuthkitAuthModal-BpQZ_cSv.js → AuthkitAuthModal-CIqo_ytT.js} +2 -2
  2. package/dist/{AuthkitSignInPhone-DEkq7yIu.js → AuthkitSignInPhone-GEP_InIp.js} +3 -6
  3. package/dist/{Contact-HpDiHdUv.js → Contact-D1RLCHL7.js} +3 -3
  4. package/dist/{CustomTable-Dyjn6dOW.js → CustomTable-CVZ4mFzi.js} +1 -1
  5. package/dist/{FeedbackItem-CUQUsQCd.js → FeedbackItem-BhBJPtoI.js} +1 -1
  6. package/dist/{FeedbackModal-DCxmeHW4.js → FeedbackModal-Ci0sZsOa.js} +4 -4
  7. package/dist/{LandingPageSectionHeader-AfrKhRQg.js → LandingPageSectionHeader-1h01zdKJ.js} +168 -222
  8. package/dist/{LandingPageSectionTabs-BPG1U38v.js → LandingPageSectionTabs-BRTZaLEe.js} +380 -371
  9. package/dist/Logo-D7fyXyB-.js +67 -0
  10. package/dist/{MessageHandle-DJCHYY9T.js → MessageHandle-Dkpc4axC.js} +1 -1
  11. package/dist/{MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-rkng32OA.js → MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-DqXjEfo9.js} +1 -1
  12. package/dist/{PaySubscriptions-CWey-mbh.js → PaySubscriptions-ygmbIpWM.js} +1 -1
  13. package/dist/{ReferrerReferees-Byrr8T8H.js → ReferrerReferees-BlHsWD6F.js} +1 -1
  14. package/dist/{UserAccountMenu-CxYmNgME.js → UserAccountMenu-C6MK8Ulm.js} +6 -6
  15. package/dist/WidthContainer-IvPa1ayt.js +655 -0
  16. package/dist/authkit.js +2 -2
  17. package/dist/common/downloadOptions.d.ts +3 -0
  18. package/dist/common.js +14 -13
  19. package/dist/components/DefaultLayout.vue.d.ts +6 -0
  20. package/dist/components/Header.vue.d.ts +3 -0
  21. package/dist/components/LandingPage/LandingPageBrandInfo.vue.d.ts +2 -0
  22. package/dist/components/LandingPage/PageContent.vue.d.ts +18 -0
  23. package/dist/components/Logo.vue.d.ts +30 -4
  24. package/dist/composables/useDownloads.d.ts +4 -7
  25. package/dist/composables.js +1 -1
  26. package/dist/feedback.js +2 -2
  27. package/dist/head.d.ts +7 -0
  28. package/dist/landingPage.d.ts +2 -1
  29. package/dist/landingPage.js +29 -27
  30. package/dist/main.d.ts +1 -1
  31. package/dist/main.js +308 -295
  32. package/dist/message.js +2 -2
  33. package/dist/pay.js +1 -1
  34. package/dist/privateCom.js +1 -1
  35. package/dist/referrer.js +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/useDownloads-CpbLR--j.js +52 -0
  38. package/dist/user.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/WidthContainer-BsPQN5_v.js +0 -677
  41. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +0 -64
  42. package/dist/useDownloads-CMQtTjNj.js +0 -73
@@ -1,677 +0,0 @@
1
- /* empty css */
2
- /* empty css */
3
- import { defineComponent as x, ref as P, watch as O, openBlock as t, createElementBlock as n, createElementVNode as o, createVNode as y, unref as v, withCtx as te, renderSlot as V, toDisplayString as $, createCommentVNode as S, onMounted as q, onUnmounted as ne, normalizeClass as T, Fragment as A, renderList as H, createTextVNode as oe, normalizeStyle as B, createBlock as se, computed as z, onBeforeUnmount as ae } from "vue";
4
- import { Spin as R } from "@arco-design/web-vue";
5
- import "./useAuthkitUsersProfile-BqW74gfs.js";
6
- import { d as re, b as ie, a as ce } from "./apiClients-DJchWBAG.js";
7
- import { u as W } from "./useAuthkitAppsAuthPageInfo-C3EHOtlk.js";
8
- import { b as G, f as N, w as D, a as j, c as F, d as J, e as le } from "./useSEO-DeAU9YEc.js";
9
- import "./useUploadCos-BO3W_uqs.js";
10
- import { useRouter as Q, useRoute as X } from "vue-router";
11
- /* empty css */
12
- /* empty css */
13
- import { U as ue, d as Y } from "./UserAccountMenu-CxYmNgME.js";
14
- /* empty css */
15
- /* empty css */
16
- /* empty css */
17
- import "./AuthkitAuthModal-BpQZ_cSv.js";
18
- import { M as de } from "./Menu-v8cCDSzi.js";
19
- import "./CollapseItem-DN-GUAQA.js";
20
- /* empty css */
21
- import "./CustomTable-Dyjn6dOW.js";
22
- import "./index-D56hUMeD.js";
23
- import { Icon as K } from "@iconify/vue";
24
- import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
25
- const me = {
26
- class: "SidebarCom"
27
- }, pe = {
28
- class: "LogoContent"
29
- }, he = {
30
- class: "MenuContent"
31
- }, fe = {
32
- class: "sidebar-footer"
33
- }, ve = /* @__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(c) {
45
- const e = c, {
46
- appsData: l
47
- } = W(), {
48
- menus: r
49
- } = G(e.menuType), u = Q(), d = P(!1);
50
- function m() {
51
- u.push({
52
- path: "/"
53
- });
54
- }
55
- const _ = X(), k = P([""]);
56
- function M(p) {
57
- const a = p.path;
58
- D(() => {
59
- u.push({
60
- path: a,
61
- query: _.query
62
- }), k.value = [a], window.scrollTo({
63
- top: 0,
64
- behavior: "smooth"
65
- });
66
- });
67
- }
68
- return O(() => [_.path, r.value], () => {
69
- const p = N(r.value, _.path, {
70
- // Sidebar 中,子路由应该选中子菜单项
71
- returnParentOnChildMatch: !1,
72
- // 后备查找函数
73
- fallback: (a) => j(_.matched, e.menuType, a)
74
- });
75
- console.log(p, _.matched, e.menuType, _.path, "activateKey"), p && (k.value = [p]);
76
- }, {
77
- immediate: !0,
78
- deep: !0
79
- }), (p, a) => (t(), n("div", me, [o("div", pe, [y(v(Z), {
80
- icon: v(l).applicationLogoUrl,
81
- name: v(l).name,
82
- onTo: m
83
- }, null, 8, ["icon", "name"])]), o("div", he, [y(de, {
84
- "selected-keys": k.value,
85
- "onUpdate:selectedKeys": a[0] || (a[0] = (s) => k.value = s),
86
- menus: v(r),
87
- onChange: M
88
- }, null, 8, ["selected-keys", "menus"])]), o("div", fe, [y(v(ue), {
89
- onArrowClick: a[2] || (a[2] = (s) => d.value = !d.value)
90
- }, {
91
- avatar: te(() => [y(v(Y), {
92
- modelValue: d.value,
93
- "onUpdate:modelValue": a[1] || (a[1] = (s) => d.value = s),
94
- position: "tr",
95
- "dropdown-offset-y": "30px",
96
- "dropdown-offset-x": "230px"
97
- }, null, 8, ["modelValue"])]),
98
- _: 1
99
- })])]));
100
- }
101
- }), _e = /* @__PURE__ */ C(ve, [["__scopeId", "data-v-d6d56676"]]), ge = {
102
- class: "layout"
103
- }, ye = {
104
- class: "leftContent"
105
- }, ke = {
106
- class: "content"
107
- }, be = {
108
- class: "contentCenter"
109
- }, we = {
110
- class: "pages"
111
- }, $e = {
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(c) {
126
- const e = c, {
127
- isChecking: l
128
- } = F();
129
- return J(), (r, u) => (t(), n("div", ge, [o("div", ye, [y(_e, {
130
- "menu-type": e.menuType,
131
- "show-user-panel": e.showUserPanel
132
- }, null, 8, ["menu-type", "show-user-panel"])]), o("div", ke, [o("div", be, [o("div", we, [v(l) ? (t(), n("div", $e, [y(v(R), {
133
- size: 40
134
- })])) : V(r.$slots, "default", {
135
- key: 1
136
- }, void 0, !0)])])])]));
137
- }
138
- }), Ot = /* @__PURE__ */ C(Se, [["__scopeId", "data-v-59271b3a"]]), Ce = {
139
- class: "ContentHead"
140
- }, Me = {
141
- class: "title"
142
- }, Ie = {
143
- key: 0,
144
- class: "description"
145
- }, Te = /* @__PURE__ */ x({
146
- __name: "ContentHead",
147
- props: {
148
- title: {
149
- type: String,
150
- required: !0,
151
- default: () => ""
152
- },
153
- description: {
154
- type: String,
155
- required: !0,
156
- default: () => ""
157
- }
158
- },
159
- setup(c) {
160
- const e = c;
161
- return (l, r) => (t(), n("div", Ce, [o("h1", Me, $(e.title), 1), e.description ? (t(), n("p", Ie, $(e.description), 1)) : S("", !0)]));
162
- }
163
- }), Vt = /* @__PURE__ */ C(Te, [["__scopeId", "data-v-209a7bef"]]), xe = {
164
- key: 0,
165
- class: "desktop-menus"
166
- }, Le = {
167
- key: 0,
168
- class: "header-menu-item"
169
- }, Pe = {
170
- class: "submenu-popup"
171
- }, Ae = {
172
- class: "submenu-content"
173
- }, Ue = ["onClick"], ze = {
174
- key: 0,
175
- class: "submenu-item-icon"
176
- }, He = {
177
- class: "submenu-item-content"
178
- }, Be = {
179
- class: "submenu-item-title"
180
- }, Ee = {
181
- key: 0,
182
- class: "submenu-item-description"
183
- }, Ke = ["onClick"], De = {
184
- key: 3,
185
- class: "mobile-menu"
186
- }, Oe = {
187
- class: "mobile-menu-content"
188
- }, Ve = ["onClick"], We = {
189
- key: 0,
190
- class: "mobile-submenu"
191
- }, qe = ["onClick"], Re = ["onClick"], Ge = /* @__PURE__ */ x({
192
- __name: "HeaderMenus",
193
- props: {
194
- menus: {
195
- type: Array,
196
- required: !0
197
- },
198
- activateKey: {
199
- type: String,
200
- required: !0
201
- },
202
- theme: {
203
- type: String,
204
- default: "light"
205
- }
206
- },
207
- emits: ["change"],
208
- setup(c, {
209
- emit: e
210
- }) {
211
- const l = c, r = e, u = P(!1), d = P(!1), m = P({});
212
- function _() {
213
- d.value = window.innerWidth <= 1024;
214
- }
215
- function k() {
216
- u.value = !u.value;
217
- }
218
- function M() {
219
- u.value = !1;
220
- }
221
- function p(f) {
222
- r("change", f);
223
- }
224
- function a(f) {
225
- r("change", f), M();
226
- }
227
- function s(f) {
228
- m.value[f] = !m.value[f];
229
- }
230
- function h(f) {
231
- const b = l.activateKey, i = f.path;
232
- if (b === i || b.startsWith(i + "/"))
233
- return !0;
234
- if (f.children && f.children.length > 0) {
235
- for (const w of f.children)
236
- if (b === w.path || b.startsWith(w.path + "/"))
237
- return !0;
238
- }
239
- return !1;
240
- }
241
- function I(f) {
242
- const b = l.activateKey, i = f.path;
243
- return !!(b === i || b.startsWith(i + "/"));
244
- }
245
- function L(f) {
246
- r("change", f);
247
- }
248
- function U() {
249
- _(), d.value || M();
250
- }
251
- return q(() => {
252
- _(), window.addEventListener("resize", U);
253
- }), ne(() => {
254
- window.removeEventListener("resize", U);
255
- }), (f, b) => (t(), n("div", {
256
- class: T(["HeaderMenus", {
257
- "HeaderMenus--dark": l.theme === "dark"
258
- }])
259
- }, [d.value ? S("", !0) : (t(), n("div", xe, [(t(!0), n(A, null, H(l.menus, (i, w) => (t(), n(A, {
260
- key: w
261
- }, [i.children && i.children.length > 0 ? (t(), n("div", Le, [o("div", {
262
- class: T(["headerLink hasChildren", {
263
- activate: h(i)
264
- }])
265
- }, [oe($(i.name) + " ", 1), y(v(K), {
266
- icon: "mingcute:down-line",
267
- class: "dropdown-arrow"
268
- })], 2), o("div", Pe, [o("div", Ae, [(t(!0), n(A, null, H(i.children, (g, E) => (t(), n("div", {
269
- key: E,
270
- class: T(["submenu-item", {
271
- active: I(g)
272
- }]),
273
- onClick: (ee) => p(g)
274
- }, [g.icon ? (t(), n("div", ze, [y(v(K), {
275
- icon: g.icon
276
- }, null, 8, ["icon"])])) : S("", !0), o("div", He, [o("div", Be, $(g.name), 1), g.description ? (t(), n("div", Ee, $(g.description), 1)) : S("", !0)])], 10, Ue))), 128))])])])) : (t(), n("div", {
277
- key: 1,
278
- class: T(["headerLink", {
279
- activate: h(i)
280
- }]),
281
- onClick: (g) => L(i)
282
- }, $(i.name), 11, Ke))], 64))), 128))])), d.value ? (t(), n("button", {
283
- key: 1,
284
- class: T(["mobile-menu-toggle", {
285
- active: u.value
286
- }]),
287
- "aria-label": "切换菜单",
288
- onClick: k
289
- }, [...b[0] || (b[0] = [o("span", {
290
- class: "hamburger-line"
291
- }, null, -1), o("span", {
292
- class: "hamburger-line"
293
- }, null, -1), o("span", {
294
- class: "hamburger-line"
295
- }, null, -1)])], 2)) : S("", !0), u.value ? (t(), n("div", {
296
- key: 2,
297
- class: "mobile-menu-overlay",
298
- onClick: M
299
- })) : S("", !0), u.value ? (t(), n("div", De, [o("div", Oe, [(t(!0), n(A, null, H(l.menus, (i, w) => (t(), n(A, {
300
- key: w
301
- }, [i.children && i.children.length > 0 ? (t(), n("div", {
302
- key: 0,
303
- class: T(["mobile-menu-item has-children", {
304
- activate: h(i),
305
- expanded: m.value[w]
306
- }])
307
- }, [o("div", {
308
- class: "mobile-menu-item-header",
309
- onClick: (g) => s(w)
310
- }, [o("span", null, $(i.name), 1), y(v(K), {
311
- icon: m.value[w] ? "mingcute:up-line" : "mingcute:down-line",
312
- class: "mobile-submenu-arrow"
313
- }, null, 8, ["icon"])], 8, Ve), m.value[w] ? (t(), n("div", We, [(t(!0), n(A, null, H(i.children, (g, E) => (t(), n("div", {
314
- key: E,
315
- class: T(["mobile-submenu-item", {
316
- active: I(g)
317
- }]),
318
- onClick: (ee) => a(g)
319
- }, $(g.name), 11, qe))), 128))])) : S("", !0)], 2)) : (t(), n("div", {
320
- key: 1,
321
- class: T(["mobile-menu-item", {
322
- activate: h(i)
323
- }]),
324
- onClick: (g) => a(i)
325
- }, $(i.name), 11, Re))], 64))), 128))])])) : S("", !0)], 2));
326
- }
327
- }), Ne = /* @__PURE__ */ C(Ge, [["__scopeId", "data-v-0e104390"]]), je = ["src"], Fe = /* @__PURE__ */ x({
328
- __name: "Logo",
329
- props: {
330
- name: {
331
- type: String,
332
- required: !1,
333
- default: ""
334
- },
335
- icon: {
336
- type: String,
337
- required: !1,
338
- default: () => ""
339
- },
340
- fontSize: {
341
- type: String,
342
- required: !1,
343
- default: () => "16px"
344
- }
345
- },
346
- emits: ["to"],
347
- setup(c, {
348
- emit: e
349
- }) {
350
- const l = c, r = e;
351
- function u() {
352
- r("to");
353
- }
354
- return (d, m) => (t(), n("div", {
355
- class: "Logo",
356
- onClick: u
357
- }, [c.icon ? (t(), n("img", {
358
- key: 0,
359
- class: "icon",
360
- src: c.icon,
361
- alt: "logo",
362
- loading: "lazy",
363
- decoding: "async"
364
- }, null, 8, je)) : S("", !0), o("div", {
365
- class: "text",
366
- style: B({
367
- fontSize: l.fontSize
368
- })
369
- }, $(c.name), 5)]));
370
- }
371
- }), Z = /* @__PURE__ */ C(Fe, [["__scopeId", "data-v-7fbf0984"]]), Je = {
372
- class: "HeaderCom"
373
- }, Qe = {
374
- class: "HeaderCom-inner"
375
- }, Xe = {
376
- class: "left"
377
- }, Ye = {
378
- class: "right"
379
- }, Ze = ["aria-label"], et = {
380
- key: 0,
381
- class: "theme-icon",
382
- "aria-hidden": "true"
383
- }, tt = {
384
- key: 1,
385
- class: "theme-icon",
386
- "aria-hidden": "true"
387
- }, nt = /* @__PURE__ */ x({
388
- __name: "Header",
389
- props: {
390
- menuType: {
391
- default: "header"
392
- },
393
- showUserPanel: {
394
- type: Boolean,
395
- default: !0
396
- },
397
- theme: {
398
- default: "light"
399
- }
400
- },
401
- setup(c) {
402
- const e = c, {
403
- appsData: l
404
- } = W(), {
405
- menus: r
406
- } = G(e.menuType), u = P(""), d = Q(), m = X();
407
- function _() {
408
- D(() => {
409
- d.push({
410
- path: "/"
411
- }), window.scrollTo({
412
- top: 0,
413
- behavior: "smooth"
414
- });
415
- });
416
- }
417
- function k(p) {
418
- const a = p.path;
419
- D(() => {
420
- d.push(a), u.value = a, window.scrollTo({
421
- top: 0,
422
- behavior: "smooth"
423
- });
424
- });
425
- }
426
- function M() {
427
- re(e.theme === "dark" ? "light" : "dark");
428
- }
429
- return O(() => [m.path, r.value], () => {
430
- u.value = N(r.value, m.path, {
431
- // Header 中,子菜单匹配时返回父菜单路径
432
- returnParentOnChildMatch: !0,
433
- // 后备查找函数
434
- fallback: (p) => j(m.matched, e.menuType, p)
435
- });
436
- }, {
437
- immediate: !0,
438
- deep: !0
439
- }), (p, a) => (t(), n("header", Je, [o("div", Qe, [o("div", Xe, [y(Z, {
440
- icon: v(l).applicationLogoUrl,
441
- name: v(l).name,
442
- onTo: _
443
- }, null, 8, ["icon", "name"])]), o("div", Ye, [y(Ne, {
444
- menus: v(r),
445
- activateKey: u.value,
446
- theme: e.theme,
447
- onChange: k
448
- }, null, 8, ["menus", "activateKey", "theme"]), o("button", {
449
- type: "button",
450
- class: "theme-toggle",
451
- "aria-label": e.theme === "dark" ? "切换为浅色" : "切换为深色",
452
- onClick: M
453
- }, [e.theme === "dark" ? (t(), n("span", et, [...a[0] || (a[0] = [o("svg", {
454
- xmlns: "http://www.w3.org/2000/svg",
455
- width: "20",
456
- height: "20",
457
- viewBox: "0 0 24 24",
458
- fill: "none",
459
- stroke: "currentColor",
460
- "stroke-width": "2",
461
- "stroke-linecap": "round",
462
- "stroke-linejoin": "round"
463
- }, [o("circle", {
464
- cx: "12",
465
- cy: "12",
466
- r: "4"
467
- }), o("path", {
468
- d: "M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"
469
- })], -1)])])) : (t(), n("span", tt, [...a[1] || (a[1] = [o("svg", {
470
- xmlns: "http://www.w3.org/2000/svg",
471
- width: "20",
472
- height: "20",
473
- viewBox: "0 0 24 24",
474
- fill: "none",
475
- stroke: "currentColor",
476
- "stroke-width": "2",
477
- "stroke-linecap": "round",
478
- "stroke-linejoin": "round"
479
- }, [o("path", {
480
- d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"
481
- })], -1)])]))], 8, Ze), e.showUserPanel ? (t(), se(Y, {
482
- key: 0,
483
- onToHomePage: _,
484
- onSignOut: _
485
- })) : S("", !0)])])]));
486
- }
487
- }), ot = /* @__PURE__ */ C(nt, [["__scopeId", "data-v-2b9d3449"]]), st = {
488
- class: "layout-inner"
489
- }, at = {
490
- key: 0,
491
- class: "loading"
492
- }, rt = "linear-gradient(to bottom, #fefdff, #f9f6fe, #f2eefd, #ebe8fd, #e2e1fd, #dfe0fd, #dcdffd, #d9defd, #dde2fd, #e0e5fd, #e4e9fd, #e8ecfd)", it = "linear-gradient(to bottom, #09090b, #0c0c0e, #0f0f12, #121215, #151518, #18181b, #1a1a1e, #1c1c20, #1e1e22, #212124, #242427, #27272a)", ct = /* @__PURE__ */ x({
493
- __name: "DefaultLayout",
494
- props: {
495
- menuType: {
496
- default: "header"
497
- },
498
- showUserPanel: {
499
- type: Boolean,
500
- default: !0
501
- },
502
- backgroundImage: {
503
- default: ""
504
- },
505
- theme: {
506
- default: void 0
507
- }
508
- },
509
- setup(c) {
510
- var p, a;
511
- const e = c, {
512
- appsData: l
513
- } = W(), r = P(typeof window < "u" && ((a = (p = window.matchMedia) == null ? void 0 : p.call(window, "(prefers-color-scheme: dark)")) == null ? void 0 : a.matches));
514
- function u() {
515
- var s, h;
516
- typeof window > "u" || (r.value = ((h = (s = window.matchMedia) == null ? void 0 : s.call(window, "(prefers-color-scheme: dark)")) == null ? void 0 : h.matches) ?? !1);
517
- }
518
- let d;
519
- q(() => {
520
- var h, I;
521
- u();
522
- const s = (h = window.matchMedia) == null ? void 0 : h.call(window, "(prefers-color-scheme: dark)");
523
- (I = s == null ? void 0 : s.addEventListener) == null || I.call(s, "change", u), d = () => {
524
- var L;
525
- return (L = s == null ? void 0 : s.removeEventListener) == null ? void 0 : L.call(s, "change", u);
526
- };
527
- });
528
- const m = z(() => {
529
- var L, U;
530
- const s = e.theme;
531
- if (s && s !== "system") return s;
532
- if (s === "system") return r.value ? "dark" : "light";
533
- const h = ie.value;
534
- if (h === "dark" || h === "light") return h;
535
- if (h === "system") return r.value ? "dark" : "light";
536
- const I = (U = (L = l.value) == null ? void 0 : L.brand) == null ? void 0 : U.theme;
537
- return I === "dark" || I === "light" ? I : "light";
538
- }), _ = z(() => e.backgroundImage ? e.backgroundImage : m.value === "dark" ? it : rt);
539
- O(m, (s) => {
540
- typeof document > "u" || (s === "dark" ? (document.body.setAttribute("arco-theme", "dark"), document.body.classList.add("dark")) : (document.body.removeAttribute("arco-theme"), document.body.classList.remove("dark")));
541
- }, {
542
- immediate: !0
543
- }), ae(() => {
544
- d == null || d();
545
- });
546
- const {
547
- setGlobalSEO: k
548
- } = le();
549
- k(ce);
550
- const {
551
- isChecking: M
552
- } = F();
553
- return J(), (s, h) => (t(), n("div", {
554
- class: T(["layout", {
555
- "layout--dark": m.value === "dark"
556
- }]),
557
- style: B({
558
- backgroundImage: e.backgroundImage || _.value,
559
- backgroundAttachment: "fixed"
560
- })
561
- }, [y(ot, {
562
- "menu-type": e.menuType,
563
- "show-user-panel": e.showUserPanel,
564
- theme: m.value
565
- }, null, 8, ["menu-type", "show-user-panel", "theme"]), o("main", st, [v(M) ? (t(), n("div", at, [y(v(R), {
566
- size: 40
567
- })])) : V(s.$slots, "default", {
568
- key: 1
569
- }, void 0, !0)])], 6));
570
- }
571
- }), Wt = /* @__PURE__ */ C(ct, [["__scopeId", "data-v-cc624db6"]]), lt = /* @__PURE__ */ x({
572
- __name: "Gradientbackground",
573
- props: {
574
- width: {
575
- type: String,
576
- default: "100%"
577
- },
578
- height: {
579
- type: String,
580
- default: "100%"
581
- },
582
- zIndex: {
583
- type: String,
584
- default: "-1"
585
- },
586
- top: {
587
- type: String,
588
- default: "10%"
589
- },
590
- left: {
591
- type: String,
592
- default: "0%"
593
- },
594
- right: {
595
- type: String,
596
- default: "auto"
597
- },
598
- blur: {
599
- type: String,
600
- default: "0px"
601
- },
602
- background: {
603
- type: String,
604
- required: !1,
605
- 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%)"
606
- }
607
- },
608
- setup(c) {
609
- const e = c, l = z(() => ({
610
- pointerEvents: "none",
611
- position: "absolute",
612
- zIndex: e.zIndex,
613
- width: e.width,
614
- height: e.height,
615
- filter: `blur(${e.blur})`
616
- })), r = z(() => ({
617
- width: "100%",
618
- height: "100%",
619
- background: e.background
620
- // background: `linear-gradient(180deg, #D5D1FF 0.31%, #EAEDFF 74.99%, rgba(240, 246, 255, 0) 99.69%)`,
621
- // 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%)`,
622
- // background: `linear-gradient(315deg, rgb(0 225 10 / 63%) 10%, rgb(26 214 255 / 52%) 50%, rgb(220 189 0 / 37%) 100%)`,
623
- }));
624
- return (u, d) => (t(), n("div", {
625
- class: "ellipsis",
626
- style: B(l.value)
627
- }, [o("div", {
628
- class: "ellipsis-item",
629
- style: B(r.value)
630
- }, null, 4)], 4));
631
- }
632
- }), qt = /* @__PURE__ */ C(lt, [["__scopeId", "data-v-b6461ac4"]]), ut = {
633
- class: "SvgIcon"
634
- }, dt = ["href", "fill"], mt = /* @__PURE__ */ x({
635
- __name: "SvgIcon",
636
- props: {
637
- prefix: {
638
- type: String,
639
- required: !1,
640
- default: "icon"
641
- },
642
- name: {
643
- type: String,
644
- required: !0
645
- },
646
- color: {
647
- type: String,
648
- required: !1,
649
- default: "#333"
650
- }
651
- },
652
- setup(c) {
653
- const e = c, l = z(() => `#${e.prefix ?? "icon"}-${e.name}`);
654
- return (r, u) => (t(), n("svg", ut, [o("use", {
655
- href: l.value,
656
- fill: e.color
657
- }, null, 8, dt)]));
658
- }
659
- }), Rt = /* @__PURE__ */ C(mt, [["__scopeId", "data-v-0a9de94e"]]), pt = {}, ht = {
660
- class: "WidthContainer"
661
- };
662
- function ft(c, e) {
663
- return t(), n("div", ht, [V(c.$slots, "default", {}, void 0, !0)]);
664
- }
665
- const Gt = /* @__PURE__ */ C(pt, [["render", ft], ["__scopeId", "data-v-d06aac1f"]]);
666
- export {
667
- Ot as A,
668
- Vt as C,
669
- Wt as D,
670
- qt as G,
671
- ot as H,
672
- Z as L,
673
- Rt as S,
674
- Gt as W,
675
- _e as a,
676
- Ne as b
677
- };