@oneb/ui-vue 0.1.65 → 0.1.67

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, ref as j, provide as X, computed as F, openBlock as t, createElementBlock as o, renderSlot as q, normalizeProps as N, guardReactiveProps as W, createCommentVNode as h, createVNode as _, Transition as Y, withCtx as I, normalizeClass as O, toDisplayString as a, inject as Z, withModifiers as ee, createBlock as L, resolveDynamicComponent as P, createElementVNode as e, Fragment as $, renderList as A, mergeProps as te, unref as b } from "vue";
1
+ import { defineComponent as z, ref as L, provide as X, computed as F, openBlock as t, createElementBlock as o, renderSlot as q, normalizeProps as N, guardReactiveProps as W, createCommentVNode as h, createVNode as w, Transition as Y, withCtx as I, normalizeClass as O, toDisplayString as a, inject as Z, withModifiers as ee, createBlock as j, resolveDynamicComponent as P, createElementVNode as e, Fragment as $, renderList as A, mergeProps as te, unref as b } from "vue";
2
2
  import { OneAvatar as B } from "./common/index.js";
3
3
  import { r as G } from "./XMarkIcon-51ef0691.js";
4
4
  import { _ as oe } from "./index-f8afb6b6.js";
@@ -30,24 +30,24 @@ const ne = {
30
30
  props: ne,
31
31
  emits: ["open", "close"],
32
32
  setup(f, { emit: u }) {
33
- const v = j(!1), d = j(null), c = u, r = f, p = () => {
33
+ const v = L(!1), d = L(null), c = u, i = f, p = () => {
34
34
  v.value = !v.value, v.value ? c("open") : c("close");
35
35
  };
36
36
  X("OneDropdown", {
37
37
  onToggle: p
38
38
  });
39
- const s = F(() => {
39
+ const r = F(() => {
40
40
  const n = d.value != null && d.value.getBoundingClientRect.x < 270;
41
41
  return d.value != null && d.value.getBoundingClientRect().top + 270 > window.innerHeight ? "up" + (n ? "-right" : "-left") : "down" + (n ? "-right" : "-left");
42
- }), m = F(() => {
42
+ }), g = F(() => {
43
43
  const n = [
44
44
  "absolute z-10 w-fit rounded-md bg-white",
45
45
  "py-1 shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",
46
46
  "overflow-auto max-h-[540px] min-w-[150px] max-w-[540px]"
47
47
  ];
48
- return s.value.startsWith("up") ? n.push("bottom-1 mb-10") : s.value.startsWith("down") && n.push("top-1 mt-10"), r.stick === "right" ? n.push("right-0") : r.stick === "left" && n.push("left-0"), n;
48
+ return r.value.startsWith("up") ? n.push("bottom-1 mb-10") : r.value.startsWith("down") && n.push("top-1 mt-10"), i.stick === "right" ? n.push("right-0") : i.stick === "left" && n.push("left-0"), n;
49
49
  });
50
- return (n, g) => (t(), o("div", {
50
+ return (n, _) => (t(), o("div", {
51
51
  class: "relative inline-block",
52
52
  ref_key: "menuRef",
53
53
  ref: d,
@@ -59,7 +59,7 @@ const ne = {
59
59
  class: "fixed top-0 left-0 w-screen h-screen z-10",
60
60
  onClick: p
61
61
  })) : h("", !0),
62
- _(Y, {
62
+ w(Y, {
63
63
  "enter-active-class": "transition ease-out duration-100",
64
64
  "enter-from-class": "transform opacity-0 scale-95",
65
65
  "enter-to-class": "transform opacity-100 scale-100",
@@ -70,7 +70,7 @@ const ne = {
70
70
  default: I(() => [
71
71
  v.value ? (t(), o("div", {
72
72
  key: 0,
73
- class: O(["menu", m.value]),
73
+ class: O(["menu", g.value]),
74
74
  role: "menu",
75
75
  "aria-orientation": "vertical",
76
76
  tabindex: "-1"
@@ -88,21 +88,21 @@ const ne = {
88
88
  props: se,
89
89
  emits: ["click"],
90
90
  setup(f, { emit: u }) {
91
- const v = u, d = f, c = Z("OneDropdown"), r = () => {
91
+ const v = u, d = f, c = Z("OneDropdown"), i = () => {
92
92
  c !== void 0 && c.onToggle(), v("click");
93
93
  }, p = F(() => {
94
- const s = [];
95
- return d.variant === "secondary" ? s.push("text-secondary-content hover:bg-secondary-body-hover") : d.variant === "danger" ? s.push("text-danger-content hover:bg-danger-10") : d.variant === "warning" ? s.push("text-warning-content hover:bg-warning-10") : d.variant === "info" ? s.push("text-info-content hover:bg-info-10") : s.push("hover:bg-secondary-body-hover"), s;
94
+ const r = [];
95
+ return d.variant === "secondary" ? r.push("text-secondary-content hover:bg-secondary-body-hover") : d.variant === "danger" ? r.push("text-danger-content hover:bg-danger-10") : d.variant === "warning" ? r.push("text-warning-content hover:bg-warning-10") : d.variant === "info" ? r.push("text-info-content hover:bg-info-10") : r.push("hover:bg-secondary-body-hover"), r;
96
96
  });
97
- return (s, m) => (t(), o("button", {
97
+ return (r, g) => (t(), o("button", {
98
98
  class: O(["px-3 py-1.5 flex items-center space-x-3 w-full whitespace-nowrap", p.value]),
99
- onClick: ee(r, ["prevent"])
99
+ onClick: ee(i, ["prevent"])
100
100
  }, [
101
- s.icon ? (t(), L(P(s.icon), {
101
+ r.icon ? (t(), j(P(r.icon), {
102
102
  key: 0,
103
103
  class: "w-4 h-4"
104
104
  })) : h("", !0),
105
- e("span", null, a(s.label), 1)
105
+ e("span", null, a(r.label), 1)
106
106
  ], 2));
107
107
  }
108
108
  });
@@ -191,21 +191,21 @@ const ae = {
191
191
  type: Object,
192
192
  required: !0
193
193
  }
194
- }, pe = ["onClick"], he = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, fe = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, ve = { class: "self-center text-base font-medium tracking-wide text-black" }, xe = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, me = { class: "text-left w-full mt-5 px-3" }, ge = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, jt = /* @__PURE__ */ z({
194
+ }, pe = ["onClick"], he = { class: "flex flex-col items-center pt-5 pb-2 h-full" }, fe = { class: "flex flex-col px-10 py-1 mt-2 text-center" }, ve = { class: "self-center text-base font-medium tracking-wide text-black" }, xe = { class: "mt-1 text-xs leading-5 text-blue-500 font-light" }, me = { class: "text-left w-full mt-5 px-3" }, ge = { class: "-mb-2 flex-shrink-0 mt-auto pt-6 text-[8px] leading-3 text-gray-400" }, Lt = /* @__PURE__ */ z({
195
195
  __name: "OneUserMenu",
196
196
  props: ae,
197
197
  setup(f) {
198
198
  const u = f, v = F(() => {
199
- var r;
200
- return (r = u.menu) == null ? void 0 : r.map((p) => {
201
- let s = { label: p.label };
202
- p.icon != null && (s = { ...s, icon: p.icon });
203
- const m = typeof p.click == "function" ? p.click : () => {
199
+ var i;
200
+ return (i = u.menu) == null ? void 0 : i.map((p) => {
201
+ let r = { label: p.label };
202
+ p.icon != null && (r = { ...r, icon: p.icon });
203
+ const g = typeof p.click == "function" ? p.click : () => {
204
204
  };
205
205
  return {
206
206
  key: p.label,
207
- args: s,
208
- click: m
207
+ args: r,
208
+ click: g
209
209
  };
210
210
  });
211
211
  }), d = () => {
@@ -213,54 +213,54 @@ const ae = {
213
213
  }, c = () => {
214
214
  typeof u.onLogout == "function" && u.onLogout();
215
215
  };
216
- return (r, p) => (t(), L(ie, { stick: "right" }, {
217
- button: I(({ onToggle: s, isExpanded: m }) => {
218
- var n, g;
216
+ return (i, p) => (t(), j(ie, { stick: "right" }, {
217
+ button: I(({ onToggle: r, isExpanded: g }) => {
218
+ var n, _;
219
219
  return [
220
220
  e("button", {
221
- onClick: s,
222
- class: O(["p-1 rounded-full hover:bg-secondary-10", [m ? "bg-secondary-25" : ""]])
221
+ onClick: r,
222
+ class: O(["p-1 rounded-full hover:bg-secondary-10", [g ? "bg-secondary-25" : ""]])
223
223
  }, [
224
- _(B, {
225
- text: ((n = r.user) == null ? void 0 : n.name) || "",
226
- size: r.iconSize,
227
- src: (g = r.user) == null ? void 0 : g.photo_url,
224
+ w(B, {
225
+ text: ((n = i.user) == null ? void 0 : n.name) || "",
226
+ size: i.iconSize,
227
+ src: (_ = i.user) == null ? void 0 : _.photo_url,
228
228
  rounded: !0
229
229
  }, null, 8, ["text", "size", "src"])
230
230
  ], 10, pe)
231
231
  ];
232
232
  }),
233
233
  menu: I(() => {
234
- var s, m, n, g, y;
234
+ var r, g, n, _, y;
235
235
  return [
236
236
  e("div", he, [
237
- _(B, {
238
- text: ((s = r.user) == null ? void 0 : s.name) || "",
237
+ w(B, {
238
+ text: ((r = i.user) == null ? void 0 : r.name) || "",
239
239
  size: 80,
240
- src: (m = r.user) == null ? void 0 : m.photo_url,
240
+ src: (g = i.user) == null ? void 0 : g.photo_url,
241
241
  rounded: !0,
242
242
  class: "mx-auto"
243
243
  }, null, 8, ["text", "src"]),
244
244
  e("div", fe, [
245
- e("div", ve, a((n = r.user) == null ? void 0 : n.name), 1),
246
- e("div", xe, a((g = r.user) == null ? void 0 : g.email), 1)
245
+ e("div", ve, a((n = i.user) == null ? void 0 : n.name), 1),
246
+ e("div", xe, a((_ = i.user) == null ? void 0 : _.email), 1)
247
247
  ]),
248
248
  typeof u.onAccount == "function" ? (t(), o("a", {
249
249
  key: 0,
250
250
  onClick: d,
251
251
  class: "cursor-pointer justify-center px-8 py-2 mt-3 text-xs font-semibold tracking-wide leading-5 text-gray-600 border border-solid bg-neutral-100 border-slate-200 rounded-[50px] hover:bg-neutral-200"
252
- }, a(r.accountLabel), 1)) : h("", !0),
252
+ }, a(i.accountLabel), 1)) : h("", !0),
253
253
  e("div", me, [
254
- (t(!0), o($, null, A(v.value, (C) => (t(), L(U, te({
254
+ (t(!0), o($, null, A(v.value, (C) => (t(), j(U, te({
255
255
  key: C.key,
256
256
  ref_for: !0
257
257
  }, C.args, {
258
258
  onClick: C.click
259
259
  }), null, 16, ["onClick"]))), 128)),
260
- typeof r.onLogout == "function" ? (t(), L(U, {
260
+ typeof i.onLogout == "function" ? (t(), j(U, {
261
261
  key: 0,
262
262
  icon: b(ce),
263
- label: r.logoutLabel,
263
+ label: i.logoutLabel,
264
264
  class: "rounded py-3",
265
265
  onClick: c
266
266
  }, null, 8, ["icon", "label"])) : h("", !0)
@@ -269,7 +269,7 @@ const ae = {
269
269
  class: "space-y-2 text-center",
270
270
  style: { width: "240px" }
271
271
  }, null, -1)),
272
- e("div", ge, a((y = r.app) == null ? void 0 : y.version), 1)
272
+ e("div", ge, a((y = i.app) == null ? void 0 : y.version), 1)
273
273
  ])
274
274
  ];
275
275
  }),
@@ -423,7 +423,7 @@ const ke = ["data-opened"], ye = {
423
423
  }, be = { class: "flex justify-between items-center pt-3 mb-3" }, Ce = { class: "font-semibold text-xl px-3" }, $e = { class: "grid" }, Ae = { class: "rounded-lg m-3 border" }, Fe = {
424
424
  class: "space-x-2 flex items-center px-3 py-2",
425
425
  style: { width: "300px" }
426
- }, je = { class: "flex justify-between relative" }, Le = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Me = { key: 0 }, Be = { class: "text-xs font-semibold" }, ze = { class: "px-3 py-2" }, Oe = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Se = { class: "overflow-auto max-h-full" }, Ee = {
426
+ }, Le = { class: "flex justify-between relative" }, je = { class: "flex items-center justify-between w-full text-left text-sm font-semibold" }, Me = { key: 0 }, Be = { class: "text-xs font-semibold" }, ze = { class: "px-3 py-2" }, Oe = { class: "text-secondary-content text-left pb-1 text-xs uppercase" }, Se = { class: "overflow-auto max-h-full" }, Ee = {
427
427
  key: 0,
428
428
  class: "space-y-2"
429
429
  }, Ie = ["onClick"], Pe = { class: "flex" }, He = { class: "border border-secondary-stroke rounded-2xl w-14 h-14 md:w-14 md:h-14 flex items-center justify-center" }, Te = { class: "pl-2" }, Ve = { class: "text-sm mt-1 font-semibold" }, De = { class: "text9 mt-1" }, Re = {
@@ -434,42 +434,42 @@ const ke = ["data-opened"], ye = {
434
434
  props: ue,
435
435
  emits: ["open", "close"],
436
436
  setup(f, { emit: u }) {
437
- const v = u, d = f, c = j(!1), r = () => {
437
+ const v = u, d = f, c = L(!1), i = () => {
438
438
  c.value = !c.value, c.value ? v("open") : v("close");
439
- }, p = j(!1);
439
+ }, p = L(!1);
440
440
  F(() => p.value ? Q : K);
441
- const s = () => {
441
+ const r = () => {
442
442
  typeof d.onChange == "function" && d.onChange();
443
- }, m = (n) => {
443
+ }, g = (n) => {
444
444
  typeof d.onApp == "function" && d.onApp(n);
445
445
  };
446
- return (n, g) => {
447
- var y, C, l, w, k, M;
446
+ return (n, _) => {
447
+ var y, C, l, x, k, M;
448
448
  return t(), o("div", { "data-opened": c.value }, [
449
449
  e("button", {
450
- onClick: r,
450
+ onClick: i,
451
451
  class: O(["p-1 w-[44px] h-[44px] rounded-md hover:bg-secondary-10", { "bg-secondary-10": c.value }])
452
452
  }, [
453
- _(b(_e), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
453
+ w(b(_e), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
454
454
  ], 2),
455
455
  c.value ? (t(), o("div", {
456
456
  key: 0,
457
457
  class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10",
458
- onClick: r
458
+ onClick: i
459
459
  })) : h("", !0),
460
460
  c.value ? (t(), o("div", ye, [
461
461
  e("div", be, [
462
462
  e("div", Ce, a((y = n.workspace) == null ? void 0 : y.title), 1),
463
- _(b(G), {
463
+ w(b(G), {
464
464
  class: "w-6 cursor-pointer",
465
- onClick: r
465
+ onClick: i
466
466
  })
467
467
  ]),
468
468
  e("div", $e, [
469
469
  e("div", Ae, [
470
470
  e("div", Fe, [
471
- e("div", je, [
472
- _(B, {
471
+ e("div", Le, [
472
+ w(B, {
473
473
  text: ((C = n.workspace) == null ? void 0 : C.name) || "",
474
474
  src: (l = n.workspace) == null ? void 0 : l.photo_url,
475
475
  size: 44,
@@ -477,25 +477,25 @@ const ke = ["data-opened"], ye = {
477
477
  class: "mx-auto"
478
478
  }, null, 8, ["text", "src"])
479
479
  ]),
480
- e("div", Le, a((w = n.workspace) == null ? void 0 : w.name), 1)
480
+ e("div", je, a((x = n.workspace) == null ? void 0 : x.name), 1)
481
481
  ]),
482
482
  p.value ? (t(), o("div", Me, [
483
- (t(!0), o($, null, A(n.workspaces, (x) => (t(), o("div", {
484
- key: x.name,
483
+ (t(!0), o($, null, A(n.workspaces, (m) => (t(), o("div", {
484
+ key: m.name,
485
485
  class: "flex items-center space-x-3 border-t px-5 py-2 hover:bg-secondary-10"
486
486
  }, [
487
- _(B, {
488
- text: x.name,
489
- src: x.photo_url,
487
+ w(B, {
488
+ text: m.name,
489
+ src: m.photo_url,
490
490
  size: 30,
491
491
  rounded: !1
492
492
  }, null, 8, ["text", "src"]),
493
- e("span", Be, a(x.name), 1)
493
+ e("span", Be, a(m.name), 1)
494
494
  ]))), 128))
495
495
  ])) : h("", !0),
496
- g[0] || (g[0] = e("hr", null, null, -1)),
496
+ _[0] || (_[0] = e("hr", null, null, -1)),
497
497
  e("div", {
498
- onClick: s,
498
+ onClick: r,
499
499
  class: "text-center py-2 cursor-pointer",
500
500
  style: { "font-size": "10px" }
501
501
  }, a((k = n.workspace) == null ? void 0 : k.changeLabel), 1)
@@ -505,30 +505,30 @@ const ke = ["data-opened"], ye = {
505
505
  e("div", Oe, a((M = n.workspace) == null ? void 0 : M.appsLabel), 1),
506
506
  e("div", Se, [
507
507
  n.apps && n.apps.length ? (t(), o("div", Ee, [
508
- (t(!0), o($, null, A(n.apps, (x) => (t(), o("div", {
509
- key: x.id,
510
- onClick: (S) => m(x),
508
+ (t(!0), o($, null, A(n.apps, (m) => (t(), o("div", {
509
+ key: m.id,
510
+ onClick: (S) => g(m),
511
511
  class: "flex justify-between items-center rounded-lg hover:bg-secondary-10 p-2 bg-[#FAFAFA] cursor-pointer"
512
512
  }, [
513
513
  e("div", Pe, [
514
514
  e("div", He, [
515
- _(B, {
516
- text: x.name,
517
- src: x.photo_url,
515
+ w(B, {
516
+ text: m.name,
517
+ src: m.photo_url,
518
518
  size: 44,
519
519
  rounded: !1
520
520
  }, null, 8, ["text", "src"])
521
521
  ]),
522
522
  e("div", Te, [
523
- e("p", Ve, a(x.name), 1),
524
- e("p", De, a(x == null ? void 0 : x.short), 1)
523
+ e("p", Ve, a(m.name), 1),
524
+ e("p", De, a(m == null ? void 0 : m.short), 1)
525
525
  ])
526
526
  ]),
527
527
  e("div", null, [
528
- _(oe, {
528
+ w(oe, {
529
529
  variant: "touch",
530
530
  icon: b(we),
531
- onClick: (S) => m(x)
531
+ onClick: (S) => g(m)
532
532
  }, null, 8, ["icon", "onClick"])
533
533
  ])
534
534
  ], 8, Ie))), 128))
@@ -541,7 +541,7 @@ const ke = ["data-opened"], ye = {
541
541
  };
542
542
  }
543
543
  });
544
- const Lt = /* @__PURE__ */ J(qe, [["__scopeId", "data-v-4936d4e4"]]);
544
+ const jt = /* @__PURE__ */ J(qe, [["__scopeId", "data-v-4936d4e4"]]);
545
545
  function Ne(f, u) {
546
546
  return t(), o("svg", {
547
547
  xmlns: "http://www.w3.org/2000/svg",
@@ -615,72 +615,72 @@ const Ge = ["data-opened"], Je = {
615
615
  props: de,
616
616
  emits: ["open", "close"],
617
617
  setup(f, { emit: u }) {
618
- const v = u, d = f, c = j(!1), r = () => {
618
+ const v = u, d = f, c = L(!1), i = () => {
619
619
  c.value = !c.value, c.value ? v("open") : v("close");
620
- }, p = F(() => y.value ? Q : K), s = j(3), m = F(() => {
621
- var w, k;
622
- const l = ((k = (w = d.help) == null ? void 0 : w.helpList) == null ? void 0 : k.length) || 0;
623
- return s.value === l;
620
+ }, p = F(() => y.value ? Q : K), r = L(3), g = F(() => {
621
+ var x, k;
622
+ const l = ((k = (x = d.help) == null ? void 0 : x.helpList) == null ? void 0 : k.length) || 0;
623
+ return r.value === l;
624
624
  });
625
625
  F(() => {
626
- var w;
627
- return (((w = d.help) == null ? void 0 : w.helpList) || []).slice(0, s.value);
626
+ var x;
627
+ return (((x = d.help) == null ? void 0 : x.helpList) || []).slice(0, r.value);
628
628
  });
629
629
  const n = () => {
630
- var w, k;
631
- const l = ((k = (w = d.help) == null ? void 0 : w.helpList) == null ? void 0 : k.length) || 0;
632
- s.value = m.value ? 3 : l;
633
- }, g = (l) => {
634
- l && window.open(l, "_blank");
635
- }, y = j(!1), C = () => {
630
+ var x, k;
631
+ const l = ((k = (x = d.help) == null ? void 0 : x.helpList) == null ? void 0 : k.length) || 0;
632
+ r.value = g.value ? 3 : l;
633
+ }, _ = (l, x) => {
634
+ l && x && typeof x.openLink == "function" ? x.openLink(x) : l && window.open(l, "_blank");
635
+ }, y = L(!1), C = () => {
636
636
  y.value = !y.value;
637
637
  };
638
- return (l, w) => {
639
- var k, M, x, S, H, T, V, D, R;
638
+ return (l, x) => {
639
+ var k, M, m, S, H, T, V, D, R;
640
640
  return t(), o("div", { "data-opened": c.value }, [
641
641
  e("button", {
642
- onClick: r,
642
+ onClick: i,
643
643
  class: O(["p-1 w-[44px] h-[44px] rounded-md hover:bg-secondary-10", { "bg-secondary-10": c.value }])
644
644
  }, [
645
- _(b(Ne), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
645
+ w(b(Ne), { class: "text-secondary-base w-full p-1 hover:text-blue-600 m-auto" })
646
646
  ], 2),
647
647
  c.value ? (t(), o("div", {
648
648
  key: 0,
649
649
  class: "fixed top-0 left-0 w-screen h-screen z-10 bg-black/10 flex flex-col",
650
- onClick: r
650
+ onClick: i
651
651
  })) : h("", !0),
652
652
  c.value ? (t(), o("div", Je, [
653
653
  e("div", Ke, [
654
654
  e("div", Qe, a((k = l.help) == null ? void 0 : k.label), 1),
655
- _(b(G), {
655
+ w(b(G), {
656
656
  class: "w-6 cursor-pointer",
657
- onClick: r
657
+ onClick: i
658
658
  })
659
659
  ]),
660
660
  (M = l.help) != null && M.helpButton ? (t(), o("div", Xe, [
661
- (t(!0), o($, null, A((x = l.help) == null ? void 0 : x.helpButton, (i) => (t(), o("button", {
662
- key: i.name,
663
- onClick: (E) => g(i.link),
661
+ (t(!0), o($, null, A((m = l.help) == null ? void 0 : m.helpButton, (s) => (t(), o("button", {
662
+ key: s.name,
663
+ onClick: (E) => _(s.link, s),
664
664
  class: "grid justify-center space-y-2 hover:bg-slate-100 p-3 rounded-xl hover:text-blue-500"
665
665
  }, [
666
666
  e("div", null, [
667
- (t(), L(P(i == null ? void 0 : i.icon), { class: "w-[16px] h-[16px] mx-auto" }))
667
+ (t(), j(P(s == null ? void 0 : s.icon), { class: "w-[16px] h-[16px] mx-auto" }))
668
668
  ]),
669
- e("span", Ze, a(i.name), 1)
669
+ e("span", Ze, a(s.name), 1)
670
670
  ], 8, Ye))), 128))
671
671
  ])) : h("", !0),
672
672
  e("div", et, [
673
673
  e("div", tt, [
674
674
  (S = l.help) != null && S.helpList && l.help.helpList.length ? (t(), o("div", ot, [
675
- (t(!0), o($, null, A(l.help.helpList, (i) => (t(), o("div", {
676
- key: i.id,
677
- onClick: (E) => g(i.link),
675
+ (t(!0), o($, null, A(l.help.helpList, (s) => (t(), o("div", {
676
+ key: s.id,
677
+ onClick: (E) => _(s.link, s),
678
678
  class: "flex justify-between items-center rounded-lg hover:bg-slate-100 p-2 cursor-pointer hover:text-[#4089E0]"
679
679
  }, [
680
680
  e("div", st, [
681
681
  e("div", rt, [
682
- e("p", lt, a(i.name), 1),
683
- e("p", it, a(i.category), 1)
682
+ e("p", lt, a(s.name), 1),
683
+ e("p", it, a(s.category), 1)
684
684
  ])
685
685
  ])
686
686
  ], 8, nt))), 128))
@@ -691,16 +691,16 @@ const Ge = ["data-opened"], Je = {
691
691
  key: 1,
692
692
  onClick: n,
693
693
  class: "h-11 w-full bg-[#FAFAFA] hover:bg-slate-100 p-3 text-[#525B66] rounded-b-xl text-xs hover:text-[#4089E0] font-medium"
694
- }, a(m.value ? l.help.buttNoMore : l.help.buttMore), 1)) : h("", !0),
694
+ }, a(g.value ? l.help.buttNoMore : l.help.buttMore), 1)) : h("", !0),
695
695
  e("div", ct, [
696
696
  (T = l.help) != null && T.video ? (t(), o("div", at, [
697
- (t(!0), o($, null, A(l.help.video, (i) => (t(), o("button", {
698
- key: i.id,
699
- onClick: (E) => g(i.link),
697
+ (t(!0), o($, null, A(l.help.video, (s) => (t(), o("button", {
698
+ key: s.id,
699
+ onClick: (E) => _(s.link, s),
700
700
  class: "flex items-center space-x-3 mt-2 w-full bg-[#FAFAFA] hover:bg-slate-100 p-4 text-[#525B66] rounded-lg text-sm hover:text-[#4089E0] font-medium"
701
701
  }, [
702
- _(b(We), { class: "w-6 h-6" }),
703
- e("span", null, a(i.name), 1)
702
+ w(b(We), { class: "w-6 h-6" }),
703
+ e("span", null, a(s.name), 1)
704
704
  ], 8, ut))), 128))
705
705
  ])) : h("", !0),
706
706
  (V = l.help) != null && V.socialList ? (t(), o("button", {
@@ -709,37 +709,37 @@ const Ge = ["data-opened"], Je = {
709
709
  class: "flex items-center justify-between mt-2 w-full bg-[#FAFAFA] hover:bg-slate-100 p-4 text-[#525B66] rounded-lg text-sm hover:text-[#4089E0] font-medium"
710
710
  }, [
711
711
  e("div", dt, [
712
- _(b(Ue), { class: "w-6 h-6" }),
712
+ w(b(Ue), { class: "w-6 h-6" }),
713
713
  e("span", null, a(l.help.socialButt), 1)
714
714
  ]),
715
- _(b(p), { class: "w-4 h-4" })
715
+ w(b(p), { class: "w-4 h-4" })
716
716
  ])) : h("", !0),
717
717
  e("div", pt, [
718
718
  y.value ? (t(), o("div", ht, [
719
719
  e("div", ft, [
720
- (t(!0), o($, null, A((D = l.help) == null ? void 0 : D.socialList, (i) => (t(), o("button", {
721
- key: i.id,
722
- onClick: (E) => g(i.link),
720
+ (t(!0), o($, null, A((D = l.help) == null ? void 0 : D.socialList, (s) => (t(), o("button", {
721
+ key: s.id,
722
+ onClick: (E) => _(s.link, s),
723
723
  class: "flex items-center space-x-2 p-2 rounded-lg hover:bg-slate-100 hover:text-blue-500 tooltip"
724
724
  }, [
725
725
  e("div", null, [
726
- i.name ? (t(), o("div", xt, a(i.name), 1)) : h("", !0),
727
- (t(), L(P(i == null ? void 0 : i.icon), { class: "w-[24px] h-[24px] mx-auto" }))
726
+ s.name ? (t(), o("div", xt, a(s.name), 1)) : h("", !0),
727
+ (t(), j(P(s == null ? void 0 : s.icon), { class: "w-[24px] h-[24px] mx-auto" }))
728
728
  ])
729
729
  ], 8, vt))), 128))
730
730
  ])
731
731
  ])) : h("", !0)
732
732
  ]),
733
733
  e("div", mt, [
734
- (t(!0), o($, null, A((R = l.help) == null ? void 0 : R.termsOffer, (i) => (t(), o("a", {
735
- key: i.name,
734
+ (t(!0), o($, null, A((R = l.help) == null ? void 0 : R.termsOffer, (s) => (t(), o("a", {
735
+ key: s.name,
736
736
  target: "_blank",
737
- href: i.link,
737
+ href: s.link,
738
738
  class: "ml-2 flex items-center rounded-lg text-xs hover:underline font-extralight cursor-pointer"
739
739
  }, [
740
740
  e("div", _t, [
741
741
  e("div", wt, [
742
- e("span", kt, a(i.name), 1)
742
+ e("span", kt, a(s.name), 1)
743
743
  ])
744
744
  ])
745
745
  ], 8, gt))), 128))
@@ -750,14 +750,14 @@ const Ge = ["data-opened"], Je = {
750
750
  };
751
751
  }
752
752
  });
753
- const Mt = /* @__PURE__ */ J(yt, [["__scopeId", "data-v-83ffa612"]]);
753
+ const Mt = /* @__PURE__ */ J(yt, [["__scopeId", "data-v-4f47b75d"]]);
754
754
  export {
755
755
  Mt as O,
756
- jt as _,
756
+ Lt as _,
757
757
  K as a,
758
758
  we as b,
759
759
  Ue as c,
760
- Lt as d,
760
+ jt as d,
761
761
  ie as e,
762
762
  U as f,
763
763
  ne as g,