@shjjs/visual-ui 3.0.28 → 3.0.30

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,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8d66b1f5"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c89af8cf"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -199,7 +199,7 @@ const g = { class: "flex width-100 height-100 transition-all" }, k = ["ztitle"],
199
199
  });
200
200
  const u = m(() => t.value.style.textStyle.textOverflow && t.value.style.textStyle.textOverflow.enable ? t.value.style.textStyle.textOverflow.ellipsis.displayLines === 1 ? "text-overflow-ellipsis" : "text-overflow-ellipsis-2" : "");
201
201
  return (p, B) => (y(), x("button", {
202
- class: "height-100 transition-all",
202
+ class: "height-100 transition-all btn-interaction",
203
203
  style: e(d(O).json2cssObject(t.value.style, "--", !0))
204
204
  }, [
205
205
  l("p", g, [
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-81270cd7"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4a1f6630"]]);
5
5
  export {
6
- c as default
6
+ a as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as ue, ref as y, computed as D, onMounted as Ke, nextTick as oe, onUnmounted as je, watch as F, createElementBlock as M, openBlock as T, normalizeStyle as O, createElementVNode as X, Fragment as xe, renderList as Oe, createCommentVNode as J, normalizeClass as Ae, createVNode as ne, unref as re } from "vue";
1
+ import { defineComponent as ue, ref as y, computed as D, onMounted as Ke, nextTick as oe, onUnmounted as je, watch as F, createElementBlock as M, openBlock as T, normalizeStyle as O, createElementVNode as X, Fragment as xe, renderList as Oe, createCommentVNode as J, normalizeClass as Ae, createVNode as ne, unref as ie } from "vue";
2
2
  import { nanoid as P } from "nanoid";
3
- import { isEqual as ie, cloneDeep as Ne } from "lodash";
3
+ import { isEqual as re, cloneDeep as Ne } from "lodash";
4
4
  import $e from "../../../../commons/components/Text.vue.mjs";
5
5
  import De from "./MenuBarSubMenu.vue.mjs";
6
6
  /* empty css */
@@ -182,9 +182,9 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
182
182
  "update-active-item"
183
183
  ],
184
184
  setup(se, { expose: pe, emit: ce }) {
185
- const s = se, L = ce, A = y(null), d = y([]), R = y(P()), N = y(!1), h = y(null), r = y([]), f = y([]), k = y([]), m = y([]), i = y(null), p = y(!1), E = y(null);
185
+ const s = se, L = ce, A = y(null), m = y([]), R = y(P()), N = y(!1), h = y(null), i = y([]), v = y([]), k = y([]), d = y([]), r = y(null), p = y(!1), E = y(null);
186
186
  let w = null, C = null, b = null;
187
- const v = D(() => s.option.menuBar?.navigationEcho ?? !0), g = D(() => s.option.menuBar?.unfold ?? !0), I = D(() => s.option.menuBar?.trigger || "click"), c = (e, l) => `${l}-${e.id}`, B = (e, l, t = []) => {
187
+ const f = D(() => s.option.menuBar?.navigationEcho ?? !0), g = D(() => s.option.menuBar?.unfold ?? !0), I = D(() => s.option.menuBar?.trigger || "click"), c = (e, l) => `${l}-${e.id}`, B = (e, l, t = []) => {
188
188
  for (const o of e) {
189
189
  if (o.id == l) return [...t, o];
190
190
  if (o.children?.length) {
@@ -249,60 +249,60 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
249
249
  id: t.id ?? P()
250
250
  };
251
251
  return o.children && o.children.length && (o.children = Z(o.children, l + 1)), o;
252
- }), fe = (e) => e ? (B(d.value, e.id) || []).map((t) => t.id) : [], q = () => {
253
- if (!v.value || !m.value.length) return;
254
- r.value = [...m.value];
255
- const e = m.value[m.value.length - 1], l = V(d.value, e);
256
- l && (h.value = l), r.value.length > 0 && (i.value = r.value[0]);
252
+ }), fe = (e) => e ? (B(m.value, e.id) || []).map((t) => t.id) : [], q = () => {
253
+ if (!f.value || !d.value.length) return;
254
+ i.value = [...d.value];
255
+ const e = d.value[d.value.length - 1], l = V(m.value, e);
256
+ l && (h.value = l), i.value.length > 0 && (r.value = i.value[0]);
257
257
  }, G = (e, l = !1) => {
258
258
  if (!e) return;
259
259
  h.value = e;
260
- const t = B(d.value, e.id) || [];
261
- if (r.value = t.map((o) => o.id), v.value && r.value.length > 0 && (i.value = r.value[0]), l)
260
+ const t = B(m.value, e.id) || [];
261
+ if (i.value = t.map((o) => o.id), f.value && i.value.length > 0 && (r.value = i.value[0]), l)
262
262
  if (g.value) {
263
- const o = r.value.map(
263
+ const o = i.value.map(
264
264
  (n, u) => c({ id: n }, u + 1)
265
265
  );
266
266
  a(o.slice(1)), p.value = !0;
267
267
  } else {
268
268
  const o = e.level || 1, n = [];
269
269
  for (let u = 1; u < o; u++) {
270
- const S = r.value[u - 1];
270
+ const S = i.value[u - 1];
271
271
  n.push(c({ id: S }, u));
272
272
  }
273
273
  e.children?.length && n.push(c(e, o)), a(n), p.value = !0;
274
274
  }
275
275
  L("update-active-item", {
276
276
  item: e,
277
- pathIds: r.value
277
+ pathIds: i.value
278
278
  });
279
279
  }, a = (e) => {
280
- f.value = e, L("update-open-keys", e);
280
+ v.value = e, L("update-open-keys", e);
281
281
  }, he = (e) => {
282
282
  if (b && clearTimeout(b), b = null, E.value = e.id, I.value === "hover") {
283
283
  if (!e.children?.length) {
284
- i.value = null, a([]), k.value = [], p.value = !1;
284
+ r.value = null, a([]), k.value = [], p.value = !1;
285
285
  return;
286
286
  }
287
- v.value && m.value.length || (g.value ? (i.value = e.id, a([])) : (i.value = null, a([c(e, 1)])), k.value = [], p.value = !1);
287
+ g.value ? (r.value = e.id, a([])) : (r.value = null, a([c(e, 1)])), k.value = [], p.value = !1;
288
288
  }
289
289
  }, K = () => {
290
- if (!v.value) {
291
- h.value = null, r.value = [], m.value = [], a([]), i.value = null;
290
+ if (!f.value) {
291
+ h.value = null, i.value = [], d.value = [], a([]), r.value = null;
292
292
  return;
293
293
  }
294
- !d.value.length || !N.value || s.sources.length >= 1 && ae.parse({
294
+ !m.value.length || !N.value || s.sources.length >= 1 && ae.parse({
295
295
  sources: [s.sources[0]],
296
296
  callback: (e) => {
297
297
  const l = e?.data?.[0]?.data?.[0]?.value ?? e?.data?.[0]?.data?.[0]?.id ?? e?.data?.[0]?.value ?? e?.data?.[0]?.id ?? null;
298
298
  if (!l) {
299
- h.value = null, r.value = [], a([]), i.value = null;
299
+ h.value = null, i.value = [], a([]), r.value = null;
300
300
  return;
301
301
  }
302
- const t = V(d.value, l);
302
+ const t = V(m.value, l);
303
303
  if (t) {
304
- if (m.value = fe(t), h.value = t, r.value = [...m.value], r.value.length > 0 && (i.value = r.value[0]), g.value) {
305
- const o = r.value.map(
304
+ if (d.value = fe(t), h.value = t, i.value = [...d.value], i.value.length > 0 && (r.value = i.value[0]), g.value) {
305
+ const o = i.value.map(
306
306
  (n, u) => c({ id: n }, u + 1)
307
307
  );
308
308
  a(o.slice(1)), p.value = !0;
@@ -310,34 +310,34 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
310
310
  a([]), p.value = !1;
311
311
  L("update-active-item", {
312
312
  item: t,
313
- pathIds: r.value
313
+ pathIds: i.value
314
314
  });
315
315
  } else
316
- h.value = null, r.value = [], m.value = [], a([]), i.value = null;
316
+ h.value = null, i.value = [], d.value = [], a([]), r.value = null;
317
317
  }
318
318
  });
319
319
  }, ge = (e) => {
320
- const l = e.level || 1, t = c(e, l), o = g.value && l === 1 ? i.value === e.id : f.value.includes(t);
320
+ const l = e.level || 1, t = c(e, l), o = g.value && l === 1 ? r.value === e.id : v.value.includes(t);
321
321
  let n = [];
322
- o ? n = f.value.filter((u) => {
322
+ o ? n = v.value.filter((u) => {
323
323
  const S = String(u), [x] = S.split("-");
324
324
  return parseInt(x) < l;
325
- }) : n = [...f.value.filter((S) => {
325
+ }) : n = [...v.value.filter((S) => {
326
326
  const x = String(S), [$] = x.split("-");
327
327
  return parseInt($) < l;
328
- }), t], a(n), g.value && l === 1 && (o ? i.value = null : i.value = e.id);
328
+ }), t], a(n), g.value && l === 1 && (o ? r.value = null : r.value = e.id);
329
329
  }, ye = (e = !1) => {
330
- Q(), a([]), k.value = [], p.value = !1, e && !v.value && (h.value = null, r.value = [], i.value = null);
330
+ Q(), a([]), k.value = [], p.value = !1, e && !f.value && (h.value = null, i.value = [], r.value = null);
331
331
  }, Q = () => {
332
332
  w && clearTimeout(w), C && clearTimeout(C), w = null, C = null;
333
333
  }, ee = (e) => {
334
- const l = e.children && e.children.length > 0, t = B(d.value, e.id) || [], o = {
334
+ const l = e.children && e.children.length > 0, t = B(m.value, e.id) || [], o = {
335
335
  data: { ...e },
336
336
  parent: W(t)
337
337
  };
338
- if (L("on-click", o), _.parseEvents(s.useEvents, "on-click", o), v.value && m.value.length && q(), l) {
339
- if (I.value !== "click" && v.value && g.value && m.value.length) {
340
- const n = r.value.map(
338
+ if (L("on-click", o), _.parseEvents(s.useEvents, "on-click", o), f.value && d.value.length && q(), l) {
339
+ if (I.value !== "click" && f.value && g.value && d.value.length) {
340
+ const n = i.value.map(
341
341
  (u, S) => c({ id: u }, S + 1)
342
342
  );
343
343
  a(n.slice(1)), p.value = !0;
@@ -345,30 +345,30 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
345
345
  }
346
346
  ge(e);
347
347
  } else
348
- i.value = null, a([]), k.value = [], E.value = null, p.value = !1, v.value ? m.value.length && I.value !== "click" && q() : (h.value = null, r.value = [], m.value = [], L("update-active-item", {
348
+ r.value = null, a([]), k.value = [], E.value = null, p.value = !1, f.value ? d.value.length && I.value !== "click" && q() : (h.value = null, i.value = [], d.value = [], L("update-active-item", {
349
349
  item: null,
350
350
  pathIds: []
351
351
  }));
352
352
  }, Ie = (e) => {
353
353
  ee(e);
354
354
  }, Se = (e, l) => {
355
- const t = c(e, l), o = f.value.includes(t);
355
+ const t = c(e, l), o = v.value.includes(t);
356
356
  let n = [];
357
- o ? n = f.value.filter((x) => {
357
+ o ? n = v.value.filter((x) => {
358
358
  const $ = String(x), [z] = $.split("-");
359
359
  return parseInt(z) < l;
360
- }) : n = [...f.value.filter(($) => {
360
+ }) : n = [...v.value.filter(($) => {
361
361
  const z = String($), [Be] = z.split("-");
362
362
  return parseInt(Be) < l;
363
363
  }), t], a(n);
364
- const u = B(d.value, e.id) || [], S = {
364
+ const u = B(m.value, e.id) || [], S = {
365
365
  data: { ...e },
366
366
  parent: W(u)
367
367
  };
368
368
  L("on-click", S), _.parseEvents(s.useEvents, "on-click", S);
369
369
  }, ke = (e) => {
370
- if (I.value !== "hover" || (w && clearTimeout(w), p.value) || v.value && m.value.length) return;
371
- const t = (B(d.value, e.id) || []).map((n) => n.id), o = e.children?.length ? g.value ? t.slice(1).map((n, u) => c({ id: n }, u + 2)) : t.map((n, u) => c({ id: n }, u + 1)) : g.value ? t.slice(1, -1).map((n, u) => c({ id: n }, u + 2)) : t.slice(0, -1).map((n, u) => c({ id: n }, u + 1));
370
+ if (I.value !== "hover" || (w && clearTimeout(w), p.value)) return;
371
+ const t = (B(m.value, e.id) || []).map((n) => n.id), o = e.children?.length ? g.value ? t.slice(1).map((n, u) => c({ id: n }, u + 2)) : t.map((n, u) => c({ id: n }, u + 1)) : g.value ? t.slice(1, -1).map((n, u) => c({ id: n }, u + 2)) : t.slice(0, -1).map((n, u) => c({ id: n }, u + 1));
372
372
  a(o), k.value = t, L("update-hover-path", t);
373
373
  }, Ee = (e) => {
374
374
  I.value === "hover" && (p.value || e.relatedTarget && A.value && A.value.contains(e.relatedTarget) || (w = setTimeout(() => {
@@ -379,11 +379,11 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
379
379
  }, le = (e) => {
380
380
  if (A.value && !A.value.contains(e.target)) {
381
381
  if (E.value = null, k.value = [], I.value === "click") return;
382
- v.value ? (a([]), E.value = null, p.value = !1) : (h.value = null, r.value = [], a([]), i.value = null, E.value = null, p.value = !1);
382
+ f.value ? (a([]), E.value = null, p.value = !1) : (h.value = null, i.value = [], a([]), r.value = null, E.value = null, p.value = !1);
383
383
  }
384
384
  }, be = () => {
385
385
  C = setTimeout(() => {
386
- k.value = [], E.value = null, I.value === "hover" && (p.value || p.value || (g.value || a([]), v.value && m.value.length || (i.value = null)));
386
+ k.value = [], E.value = null, I.value === "hover" && (p.value || p.value || (g.value || a([]), f.value && d.value.length || (r.value = null)));
387
387
  }, 200);
388
388
  }, Le = () => {
389
389
  if (b && clearTimeout(b), I.value !== "hover") {
@@ -395,8 +395,8 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
395
395
  }, 200);
396
396
  }, we = () => {
397
397
  C && clearTimeout(C), b && clearTimeout(b), b = null;
398
- }, Me = (e) => Array.isArray(r.value) ? r.value.some((l) => String(l) === String(e.id)) : !1, Te = (e) => String(E.value) === String(e.id), Y = (e) => {
399
- const l = I.value === "click" && !!e.children?.length && (g.value ? i.value === e.id : f.value.includes(c(e, 1)));
398
+ }, Me = (e) => Array.isArray(i.value) ? i.value.some((l) => String(l) === String(e.id)) : !1, Te = (e) => String(E.value) === String(e.id), Y = (e) => {
399
+ const l = I.value === "click" && !!e.children?.length && (g.value ? r.value === e.id : v.value.includes(c(e, 1)));
400
400
  return Me(e) || Te(e) || l;
401
401
  }, Ce = D(() => {
402
402
  const e = s.option.menuPanel ?? {}, l = e.gap ?? 0, { gap: t, boxShadow: o, ...n } = e;
@@ -411,7 +411,7 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
411
411
  };
412
412
  }), j = () => {
413
413
  if (!s.sources?.length) {
414
- d.value = [], N.value = !1, R.value = P(), _.parseEvents(s.useEvents, "dataListener", []), v.value && K();
414
+ m.value = [], N.value = !1, R.value = P(), _.parseEvents(s.useEvents, "dataListener", []), f.value && K();
415
415
  return;
416
416
  }
417
417
  N.value = !1;
@@ -421,18 +421,18 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
421
421
  callback: (l) => {
422
422
  try {
423
423
  const t = l?.data?.[0]?.data || [];
424
- d.value = Z(Ne(t), 1), N.value = !0, R.value = P(), _.parseEvents(
424
+ m.value = Z(Ne(t), 1), N.value = !0, R.value = P(), _.parseEvents(
425
425
  s.useEvents,
426
426
  "dataListener",
427
- d.value
427
+ m.value
428
428
  ), oe(() => {
429
429
  K();
430
430
  });
431
431
  } catch {
432
- _.parseEvents(s.useEvents, "dataListener", null), d.value = [], N.value = !1, R.value = P();
432
+ _.parseEvents(s.useEvents, "dataListener", null), m.value = [], N.value = !1, R.value = P();
433
433
  }
434
434
  }
435
- }), v.value && K();
435
+ }), f.value && K();
436
436
  };
437
437
  return Ke(() => {
438
438
  oe(j), document.addEventListener("click", le);
@@ -442,40 +442,40 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
442
442
  () => ({
443
443
  opt: s.option,
444
444
  src: s.sources,
445
- navigationEcho: v.value,
445
+ navigationEcho: f.value,
446
446
  unfold: g.value
447
447
  }),
448
448
  (e, l) => {
449
- ie(e, l) || (!ie(e.src, l.src) ? j() : (e.navigationEcho !== l.navigationEcho && K(), e.unfold !== l.unfold && h.value && G(h.value, !1), I.value !== "click" && j()));
449
+ re(e, l) || (!re(e.src, l.src) ? j() : (e.navigationEcho !== l.navigationEcho && K(), e.unfold !== l.unfold && h.value && G(h.value, !1), I.value !== "click" && j()));
450
450
  },
451
451
  { deep: !0 }
452
- ), F(v, (e) => {
453
- e ? K() : (h.value = null, r.value = [], m.value = [], a([]), i.value = null);
452
+ ), F(f, (e) => {
453
+ e ? K() : (h.value = null, i.value = [], d.value = [], a([]), r.value = null);
454
454
  }), F(g, (e) => {
455
455
  if (I.value === "click") {
456
456
  if (e) {
457
- const l = f.value.find((t) => String(t).startsWith("1-"));
457
+ const l = v.value.find((t) => String(t).startsWith("1-"));
458
458
  if (l != null) {
459
459
  const t = String(l).slice(
460
460
  String(l).indexOf("-") + 1
461
- ), o = d.value.find((n) => String(n.id) === t);
462
- i.value = o ? o.id : null;
463
- } else r.value?.length ? i.value = r.value[0] ?? null : i.value = null;
461
+ ), o = m.value.find((n) => String(n.id) === t);
462
+ r.value = o ? o.id : null;
463
+ } else i.value?.length ? r.value = i.value[0] ?? null : r.value = null;
464
464
  } else {
465
- const l = i.value ?? (r.value?.length ? r.value[0] : null);
465
+ const l = r.value ?? (i.value?.length ? i.value[0] : null);
466
466
  if (l != null) {
467
467
  const t = c({ id: l }, 1);
468
- f.value.includes(t) || a(
469
- f.value.length ? [t, ...f.value] : [t]
468
+ v.value.includes(t) || a(
469
+ v.value.length ? [t, ...v.value] : [t]
470
470
  );
471
471
  }
472
- i.value = null;
472
+ r.value = null;
473
473
  }
474
474
  return;
475
475
  }
476
- if (h.value && v.value)
476
+ if (h.value && f.value)
477
477
  if (e) {
478
- const l = r.value.map(
478
+ const l = i.value.map(
479
479
  (t, o) => c({ id: t }, o + 1)
480
480
  );
481
481
  a(l.slice(1)), p.value = !0;
@@ -488,7 +488,7 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
488
488
  clearAllState: () => ye(!0),
489
489
  updateActivePath: K,
490
490
  setEchoItem: (e) => {
491
- const l = V(d.value, e);
491
+ const l = V(m.value, e);
492
492
  l && G(l, !1);
493
493
  }
494
494
  }), (e, l) => (T(), M("div", {
@@ -507,14 +507,14 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
507
507
  class: "menu-items-container",
508
508
  style: O({ gap: `${e.option.menuBar.gap ?? 4}px` })
509
509
  }, [
510
- (T(!0), M(xe, null, Oe(d.value, (t) => (T(), M("div", {
510
+ (T(!0), M(xe, null, Oe(m.value, (t) => (T(), M("div", {
511
511
  key: c(t, 1),
512
512
  class: "first-level-item-wrapper"
513
513
  }, [
514
514
  X("div", {
515
515
  class: Ae(["menu-item", {
516
516
  "is-active": Y(t),
517
- "is-open": i.value === t.id,
517
+ "is-open": r.value === t.id,
518
518
  "has-children": t.children?.length
519
519
  }]),
520
520
  style: O(ve(t)),
@@ -527,7 +527,7 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
527
527
  key: 0,
528
528
  class: "menu-icon",
529
529
  style: O(
530
- re(H).json2cssObject({
530
+ ie(H).json2cssObject({
531
531
  width: e.option.menuItem.icon.width,
532
532
  height: e.option.menuItem.icon.height,
533
533
  marginRight: e.option.menuItem.icon.gap,
@@ -546,7 +546,7 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
546
546
  key: 0,
547
547
  class: "menu-arrow",
548
548
  style: O(
549
- re(H).json2cssObject({
549
+ ie(H).json2cssObject({
550
550
  width: e.option.menuItem.arrow.width,
551
551
  height: e.option.menuItem.arrow.height,
552
552
  marginLeft: e.option.menuItem.arrow.gap,
@@ -557,7 +557,7 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
557
557
  alt: ""
558
558
  }, null, 12, Re)) : J("", !0)
559
559
  ], 46, Pe),
560
- t.children?.length && (g.value ? i.value === t.id : f.value.includes(c(t, 1))) ? (T(), M("div", {
560
+ t.children?.length && (g.value ? r.value === t.id : v.value.includes(c(t, 1))) ? (T(), M("div", {
561
561
  key: 0,
562
562
  class: "sub-menu-panel",
563
563
  style: O(Ce.value),
@@ -568,8 +568,8 @@ const Pe = ["onMouseenter", "onClick"], _e = { class: "menu-item-content flex it
568
568
  items: t.children,
569
569
  level: 2,
570
570
  option: e.option,
571
- "active-path-ids": r.value,
572
- "opened-sub-menu-ids": f.value,
571
+ "active-path-ids": i.value,
572
+ "opened-sub-menu-ids": v.value,
573
573
  "hover-path-ids": k.value,
574
574
  "use-events": e.useEvents,
575
575
  onSelect: Ie,
@@ -226,7 +226,7 @@ const I = ["onClick"], P = g({ name: "ShjTabs" }), ti = /* @__PURE__ */ g({
226
226
  }, null, 4)) : x("", !0),
227
227
  (s(!0), l(V, null, B(e.value, (p, O) => (s(), l("div", {
228
228
  key: O,
229
- class: N(["flex flex-none cursor-pointer transition-color-background-color background-size-cover", { selected: p.value === r.value }]),
229
+ class: N(["flex flex-none cursor-pointer transition-color-background-color background-size-cover btn-interaction", { selected: p.value === r.value }]),
230
230
  style: c(
231
231
  u(v).json2cssObject(
232
232
  p.value === r.value ? t.value.style.item.selected : t.value.style.item
@@ -227,7 +227,7 @@ const F = ["onClick"], P = ["src"], U = x({ name: "ShjTabsIcon" }), re = /* @__P
227
227
  }, null, 4)) : k("", !0),
228
228
  (s(!0), l(V, null, w(m.value, (e, O) => (s(), l("div", {
229
229
  key: O,
230
- class: B(["flex flex-none position-relative cursor-pointer transition-color-background-color background-size-cover", { selected: e.value === o.value }]),
230
+ class: B(["flex flex-none position-relative cursor-pointer transition-color-background-color background-size-cover btn-interaction", { selected: e.value === o.value }]),
231
231
  style: a(
232
232
  n(c).json2cssObject(
233
233
  e.value === o.value ? t.value.style.item.selected : t.value.style.item