@xwadex/fesd 0.0.14-re.75 → 0.0.14-re.76

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.
@@ -123,7 +123,7 @@ const Y = {
123
123
  <div class="select-display"></div>
124
124
  <i class="dropdown-icon"></i>
125
125
  <div class="dropdown">
126
- ${(n ? e : t) ?? ""}
126
+ ${n ? t || e : ""}
127
127
  <div class="dropdown-scroller">
128
128
  <ul class="dropdown-list"></ul>
129
129
  </div>
@@ -2374,7 +2374,7 @@ function Os(n) {
2374
2374
  }
2375
2375
  n.s.animation = null, n.s.animateEl = a, n.textContent = "", o.append(a), n.append(o), a.clientWidth * 2 + e >= n.clientWidth ? i === "normal" && t && o.append(r()) : n.s.options.continual = !1;
2376
2376
  }
2377
- function _(n) {
2377
+ function D(n) {
2378
2378
  const { behavior: i, direction: t, continual: e } = n.s.options;
2379
2379
  let s = {};
2380
2380
  switch (i) {
@@ -2498,10 +2498,10 @@ Nt = new WeakSet(), $i = function() {
2498
2498
  function d() {
2499
2499
  switch (s) {
2500
2500
  case "normal":
2501
- t.s.animateEl.style.transform = `${_(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(_(t).animate1, {
2501
+ t.s.animateEl.style.transform = `${D(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(D(t).animate1, {
2502
2502
  duration: t.s.nowDuration,
2503
2503
  iterations: 1 / 0
2504
- }), l && (t.s.cloneAnimateEl.style.transform = `${_(t).animate2[0].transform}`, t.s.cloneAnimation = t.s.cloneAnimateEl.animate(_(t).animate2, {
2504
+ }), l && (t.s.cloneAnimateEl.style.transform = `${D(t).animate2[0].transform}`, t.s.cloneAnimation = t.s.cloneAnimateEl.animate(D(t).animate2, {
2505
2505
  duration: t.s.nowDuration,
2506
2506
  delay: -t.s.nowDuration / 2,
2507
2507
  iterations: 1 / 0
@@ -2530,7 +2530,7 @@ Nt = new WeakSet(), $i = function() {
2530
2530
  duration: m,
2531
2531
  fill: "forwards"
2532
2532
  }).finished.then(() => {
2533
- t.s.animation = t.s.animateEl.animate(_(t).animate1, {
2533
+ t.s.animation = t.s.animateEl.animate(D(t).animate1, {
2534
2534
  duration: t.s.nowDuration,
2535
2535
  iterations: 1 / 0
2536
2536
  });
@@ -2539,7 +2539,7 @@ Nt = new WeakSet(), $i = function() {
2539
2539
  });
2540
2540
  break;
2541
2541
  case "endStop":
2542
- t.s.animateEl.style.transform = `${_(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(_(t).animate1, {
2542
+ t.s.animateEl.style.transform = `${D(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(D(t).animate1, {
2543
2543
  duration: t.s.nowDuration,
2544
2544
  fill: "forwards"
2545
2545
  });
@@ -2561,10 +2561,10 @@ Nt = new WeakSet(), $i = function() {
2561
2561
  const t = this;
2562
2562
  function e() {
2563
2563
  const s = t.s.animation.startTime, o = t.s.cloneAnimation ? t.s.cloneAnimation.startTime : null;
2564
- t.s.nowDuration = ze(t), t.s.animation.cancel(), t.s.cloneAnimation && t.s.cloneAnimation.cancel(), t.s.animation = t.s.animateEl.animate(_(t).animate1, {
2564
+ t.s.nowDuration = ze(t), t.s.animation.cancel(), t.s.cloneAnimation && t.s.cloneAnimation.cancel(), t.s.animation = t.s.animateEl.animate(D(t).animate1, {
2565
2565
  duration: t.s.nowDuration,
2566
2566
  iterations: 1 / 0
2567
- }), t.s.animation.startTime = s, t.s.cloneAnimation && (t.s.cloneAnimation = t.s.cloneAnimateEl.animate(_(t).animate2, {
2567
+ }), t.s.animation.startTime = s, t.s.cloneAnimation && (t.s.cloneAnimation = t.s.cloneAnimateEl.animate(D(t).animate2, {
2568
2568
  duration: t.s.nowDuration,
2569
2569
  delay: -t.s.nowDuration / 2,
2570
2570
  iterations: 1 / 0
@@ -2578,7 +2578,7 @@ const ht = function(n) {
2578
2578
  return function(t) {
2579
2579
  i && clearTimeout(i), i = setTimeout(n, 200, t);
2580
2580
  };
2581
- }, D = (n, i) => {
2581
+ }, _ = (n, i) => {
2582
2582
  if (rt(n)) {
2583
2583
  n.forEach((t) => {
2584
2584
  t.classList.add(i);
@@ -2691,25 +2691,25 @@ Wt = new WeakSet(), Mi = function() {
2691
2691
  });
2692
2692
  }, tt = new WeakSet(), Se = function() {
2693
2693
  const { $container: i, $wrapper: t } = this, e = t.scrollWidth - t.clientWidth, s = t.scrollLeft;
2694
- e <= 0 || (D(i, "scrollable"), s == 0 ? (S(i, "scrollable"), D(t, "start"), S(t, "end")) : s >= e ? (S(i, "scrollable"), S(t, "start"), D(t, "end")) : (D(t, "center"), S(t, "start"), S(t, "end")));
2694
+ e <= 0 || (_(i, "scrollable"), s == 0 ? (S(i, "scrollable"), _(t, "start"), S(t, "end")) : s >= e ? (S(i, "scrollable"), S(t, "start"), _(t, "end")) : (_(t, "center"), S(t, "start"), S(t, "end")));
2695
2695
  }, W = new WeakSet(), dt = function() {
2696
2696
  const { $wrapper: i, $button: t, $element: e } = this;
2697
2697
  if (!t)
2698
2698
  return;
2699
2699
  const s = i.scrollWidth - i.clientWidth, o = i.scrollLeft;
2700
2700
  if (s <= 0) {
2701
- D(t, "hide"), S(t, "active"), D(e, "noScrollable");
2701
+ _(t, "hide"), S(t, "active"), _(e, "noScrollable");
2702
2702
  return;
2703
2703
  }
2704
- s > 0 && (D(t, "active"), D(e, "scrollable"), S(e, "noScrollable")), o == 0 ? t.forEach((a) => {
2704
+ s > 0 && (_(t, "active"), S(e, "noScrollable")), o == 0 ? t.forEach((a) => {
2705
2705
  if (a.classList.contains("next")) {
2706
2706
  S(a, "hide");
2707
2707
  return;
2708
2708
  }
2709
- D(a, "hide");
2709
+ _(a, "hide");
2710
2710
  }) : o >= s ? t.forEach((a) => {
2711
2711
  if (a.classList.contains("next")) {
2712
- D(a, "hide");
2712
+ _(a, "hide");
2713
2713
  return;
2714
2714
  }
2715
2715
  S(a, "hide");