@scalar/components 0.7.4 → 0.7.5

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 (48) hide show
  1. package/dist/Background-DcRhSHgf.js +18 -0
  2. package/dist/Background-QBySRwqH.cjs +1 -0
  3. package/dist/CallToAction-EyQKkvbg.js +21 -0
  4. package/dist/CallToAction-tK0jnM6o.cjs +1 -0
  5. package/dist/Delete-BCZmxrDD.js +21 -0
  6. package/dist/Delete-C5KJApGv.cjs +1 -0
  7. package/dist/Discord-BHYOFBB2.js +16 -0
  8. package/dist/Discord-bYns0mfM.cjs +1 -0
  9. package/dist/Duplicate-BPlzNpcf.js +22 -0
  10. package/dist/Duplicate-BwzvckcF.cjs +1 -0
  11. package/dist/Edit-B2Dib3l9.cjs +1 -0
  12. package/dist/Edit-Br04RNYb.js +19 -0
  13. package/dist/Error-B_RGtWJI.js +18 -0
  14. package/dist/Error-rLMN5IPB.cjs +1 -0
  15. package/dist/Folder-Cdcj4evh.js +18 -0
  16. package/dist/Folder-D8himkl0.cjs +1 -0
  17. package/dist/Key-C9vNtSgp.cjs +1 -0
  18. package/dist/Key-CWXJqX28.js +21 -0
  19. package/dist/Leave-DNKXl2pb.cjs +1 -0
  20. package/dist/Leave-K1J3uwoG.js +21 -0
  21. package/dist/Link-Bzuc__Nc.js +21 -0
  22. package/dist/Link-NVOZGmsH.cjs +1 -0
  23. package/dist/Lock-CEwhrvWA.cjs +1 -0
  24. package/dist/Lock-xhiH1mKz.js +21 -0
  25. package/dist/Magic-D_nChUbo.cjs +1 -0
  26. package/dist/Magic-Dsi9_bEc.js +21 -0
  27. package/dist/Page-B7rVuhpl.js +18 -0
  28. package/dist/Page-BekQLn-H.cjs +1 -0
  29. package/dist/Payment-D0GqQgZi.cjs +1 -0
  30. package/dist/Payment-hzcXP1Xb.js +21 -0
  31. package/dist/Refresh-Be6vHEEi.js +28 -0
  32. package/dist/Refresh-DZWDJwT9.cjs +1 -0
  33. package/dist/ThumbsDown-BMgnsASL.js +21 -0
  34. package/dist/ThumbsDown-CaDWC79Q.cjs +1 -0
  35. package/dist/ThumbsUp-2Uv5cZwr.cjs +1 -0
  36. package/dist/ThumbsUp-C1j6zY2j.js +21 -0
  37. package/dist/Trash-BpA3zWPD.js +21 -0
  38. package/dist/Trash-Cu7tKxXp.cjs +1 -0
  39. package/dist/Unlock-CY8UqJoE.js +18 -0
  40. package/dist/Unlock-DStL1IeV.cjs +1 -0
  41. package/dist/Upload-REIdL7RI.js +18 -0
  42. package/dist/Upload-VVhUOddU.cjs +1 -0
  43. package/dist/User-Df5svMQ3.js +18 -0
  44. package/dist/User-DwiuN2sY.cjs +1 -0
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.d.ts +3 -3
  47. package/dist/index.js +102 -102
  48. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import './main.css';
2
- import { defineComponent as y, useCssVars as ee, openBlock as m, createElementBlock as v, normalizeClass as S, unref as o, createElementVNode as h, createCommentVNode as $, createStaticVNode as te, reactive as W, computed as k, useAttrs as O, mergeProps as A, renderSlot as b, createVNode as N, ref as I, watch as X, nextTick as ae, onServerPrefetch as re, useSSRContext as se, onMounted as q, toDisplayString as D, toValue as P, Fragment as K, createBlock as x, withCtx as _, defineAsyncComponent as ne, resolveDynamicComponent as Y, normalizeStyle as J, createTextVNode as R, normalizeProps as oe, guardReactiveProps as ie, withKeys as le } from "vue";
2
+ import { defineComponent as y, useCssVars as ee, openBlock as m, createElementBlock as v, normalizeClass as S, unref as n, createElementVNode as h, createCommentVNode as $, createStaticVNode as te, reactive as W, computed as k, useAttrs as P, mergeProps as A, renderSlot as b, createVNode as N, ref as I, watch as X, nextTick as ae, onServerPrefetch as re, useSSRContext as se, onMounted as q, toDisplayString as D, toValue as O, Fragment as K, createBlock as x, withCtx as _, defineAsyncComponent as oe, resolveDynamicComponent as Y, normalizeStyle as J, createTextVNode as R, normalizeProps as ne, guardReactiveProps as ie, withKeys as le } from "vue";
3
3
  import { defineConfig as de } from "cva";
4
4
  import { extendTailwindMerge as ce } from "tailwind-merge";
5
5
  import { createHash as ue, ssrState as pe } from "@scalar/oas-utils";
@@ -25,7 +25,7 @@ const M = "scalar-component", Te = ce({
25
25
  key: 0,
26
26
  class: "circular-loader"
27
27
  };
28
- function Ot() {
28
+ function Pt() {
29
29
  return W({
30
30
  isValid: !1,
31
31
  isInvalid: !1,
@@ -70,7 +70,7 @@ const De = /* @__PURE__ */ y({
70
70
  d6cae758: t.size
71
71
  })), (t, e) => t.loadingState ? (m(), v("div", {
72
72
  key: 0,
73
- class: S(o(E)("loader-wrapper"))
73
+ class: S(n(E)("loader-wrapper"))
74
74
  }, [
75
75
  (m(), v("svg", {
76
76
  class: S(["svg-loader", {
@@ -119,7 +119,7 @@ const De = /* @__PURE__ */ y({
119
119
  "scalar-button-danger",
120
120
  "bg-error text-white active:brightness-90 hocus:brightness-90"
121
121
  ]
122
- }, Oe = T({
122
+ }, Pe = T({
123
123
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
124
124
  variants: {
125
125
  disabled: {
@@ -136,7 +136,7 @@ const De = /* @__PURE__ */ y({
136
136
  class: "bg-transparent text-ghost"
137
137
  }
138
138
  ]
139
- }), Pe = ["ariaDisabled"], ze = {
139
+ }), Oe = ["ariaDisabled"], ze = {
140
140
  key: 0,
141
141
  class: "mr-2 h-4 w-4"
142
142
  }, Be = {
@@ -154,13 +154,13 @@ const De = /* @__PURE__ */ y({
154
154
  },
155
155
  setup(a) {
156
156
  const t = k(() => {
157
- const { class: e, ...r } = O();
157
+ const { class: e, ...r } = P();
158
158
  return { className: e || "", rest: r };
159
159
  });
160
160
  return (e, r) => (m(), v("button", A(t.value.rest, {
161
161
  ariaDisabled: e.disabled || void 0,
162
- class: o(E)(
163
- o(Oe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
162
+ class: n(E)(
163
+ n(Pe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
164
164
  { "pl-9 pr-3": e.loading },
165
165
  `${t.value.className}`
166
166
  ),
@@ -171,12 +171,12 @@ const De = /* @__PURE__ */ y({
171
171
  ])) : $("", !0),
172
172
  b(e.$slots, "default"),
173
173
  e.loading ? (m(), v("div", Be, [
174
- N(o(H), {
174
+ N(n(H), {
175
175
  loadingState: e.loading,
176
176
  size: "20px"
177
177
  }, null, 8, ["loadingState"])
178
178
  ])) : $("", !0)
179
- ], 16, Pe));
179
+ ], 16, Oe));
180
180
  }
181
181
  });
182
182
  (function(a) {
@@ -440,8 +440,8 @@ Prism.languages.webmanifest = Prism.languages.json;
440
440
  if (i) {
441
441
  var g = parseInt(s.getAttribute("data-start"), 10) || 1, p = g + (i.children.length - 1);
442
442
  u < g && (u = g), u > p && (u = p);
443
- var n = u - g;
444
- return i.children[n];
443
+ var o = u - g;
444
+ return i.children[o];
445
445
  }
446
446
  }
447
447
  },
@@ -476,34 +476,34 @@ Prism.languages.webmanifest = Prism.languages.json;
476
476
  var u = s.map(function(i) {
477
477
  var g = i.querySelector("code"), p = i.querySelector(".line-numbers-rows");
478
478
  if (!(!g || !p)) {
479
- var n = i.querySelector(".line-numbers-sizer"), f = g.textContent.split(t);
480
- n || (n = document.createElement("span"), n.className = "line-numbers-sizer", g.appendChild(n)), n.innerHTML = "0", n.style.display = "block";
481
- var l = n.getBoundingClientRect().height;
482
- return n.innerHTML = "", {
479
+ var o = i.querySelector(".line-numbers-sizer"), f = g.textContent.split(t);
480
+ o || (o = document.createElement("span"), o.className = "line-numbers-sizer", g.appendChild(o)), o.innerHTML = "0", o.style.display = "block";
481
+ var l = o.getBoundingClientRect().height;
482
+ return o.innerHTML = "", {
483
483
  element: i,
484
484
  lines: f,
485
485
  lineHeights: [],
486
486
  oneLinerHeight: l,
487
- sizer: n
487
+ sizer: o
488
488
  };
489
489
  }
490
490
  }).filter(Boolean);
491
491
  u.forEach(function(i) {
492
- var g = i.sizer, p = i.lines, n = i.lineHeights, f = i.oneLinerHeight;
493
- n[p.length - 1] = void 0, p.forEach(function(l, w) {
492
+ var g = i.sizer, p = i.lines, o = i.lineHeights, f = i.oneLinerHeight;
493
+ o[p.length - 1] = void 0, p.forEach(function(l, w) {
494
494
  if (l && l.length > 1) {
495
495
  var C = g.appendChild(document.createElement("span"));
496
496
  C.style.display = "block", C.textContent = l;
497
497
  } else
498
- n[w] = f;
498
+ o[w] = f;
499
499
  });
500
500
  }), u.forEach(function(i) {
501
- for (var g = i.sizer, p = i.lineHeights, n = 0, f = 0; f < p.length; f++)
502
- p[f] === void 0 && (p[f] = g.children[n++].getBoundingClientRect().height);
501
+ for (var g = i.sizer, p = i.lineHeights, o = 0, f = 0; f < p.length; f++)
502
+ p[f] === void 0 && (p[f] = g.children[o++].getBoundingClientRect().height);
503
503
  }), u.forEach(function(i) {
504
504
  var g = i.sizer, p = i.element.querySelector(".line-numbers-rows");
505
- g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(n, f) {
506
- p.children[f].style.height = n + "px";
505
+ g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(o, f) {
506
+ p.children[f].style.height = o + "px";
507
507
  });
508
508
  });
509
509
  }
@@ -525,8 +525,8 @@ Prism.languages.webmanifest = Prism.languages.json;
525
525
  );
526
526
  if (!(!i || !/pre/i.test(i.nodeName)) && !u.querySelector(".line-numbers-rows") && Prism.util.isActive(u, a)) {
527
527
  u.classList.remove(a), i.classList.add(a);
528
- var g = s.code.match(t), p = g ? g.length + 1 : 1, n, f = new Array(p + 1).join("<span></span>");
529
- n = document.createElement("span"), n.setAttribute("aria-hidden", "true"), n.className = "line-numbers-rows", n.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(n), r([i]), Prism.hooks.run("line-numbers", s);
528
+ var g = s.code.match(t), p = g ? g.length + 1 : 1, o, f = new Array(p + 1).join("<span></span>");
529
+ o = document.createElement("span"), o.setAttribute("aria-hidden", "true"), o.className = "line-numbers-rows", o.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(o), r([i]), Prism.hooks.run("line-numbers", s);
530
530
  }
531
531
  }
532
532
  }), Prism.hooks.add("line-numbers", function(s) {
@@ -559,7 +559,7 @@ function z(a) {
559
559
  }
560
560
  return a;
561
561
  }
562
- const Ge = ["innerHTML"], Pt = /* @__PURE__ */ y({
562
+ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
563
563
  __name: "ScalarCodeBlock",
564
564
  props: {
565
565
  content: {},
@@ -569,16 +569,16 @@ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ y({
569
569
  },
570
570
  setup(a) {
571
571
  const t = a, e = ue(z(t.content)), r = `components-scalar-code-block${e}`, { plugins: c, highlightElement: d } = L;
572
- t.hideCredentials && L.hooks.add("wrap", function(n) {
572
+ t.hideCredentials && L.hooks.add("wrap", function(o) {
573
573
  if (!t.hideCredentials)
574
574
  return;
575
575
  let f = !1;
576
- typeof t.hideCredentials == "string" ? n.content.includes(t.hideCredentials) && (f = !0) : Array.isArray(t.hideCredentials) && (f = t.hideCredentials.some(
577
- (l) => n.content.includes(l)
578
- )), f && (n.content = n.content.replace(
576
+ typeof t.hideCredentials == "string" ? o.content.includes(t.hideCredentials) && (f = !0) : Array.isArray(t.hideCredentials) && (f = t.hideCredentials.some(
577
+ (l) => o.content.includes(l)
578
+ )), f && (o.content = o.content.replace(
579
579
  /<span class="credentials">.*?<\/span>/g,
580
580
  (l) => l.replace(/<span class="credentials">|<\/span>/g, "")
581
- ), n.content = n.content.replace(
581
+ ), o.content = o.content.replace(
582
582
  new RegExp(
583
583
  typeof t.hideCredentials == "string" ? t.hideCredentials : t.hideCredentials.join("|"),
584
584
  "g"
@@ -596,40 +596,40 @@ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ y({
596
596
  );
597
597
  const p = /\n(?!$)/g;
598
598
  return re(async () => {
599
- let n = "";
599
+ let o = "";
600
600
  t.lineNumbers && L.hooks.add("after-tokenize", (l) => {
601
601
  const w = l.code.match(p), C = w ? w.length + 1 : 1;
602
- n = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
602
+ o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
603
603
  });
604
604
  const f = L.highlight(
605
605
  z(t.content),
606
606
  L.languages[i.value],
607
607
  i.value
608
608
  );
609
- if (u.value = f + n, e !== 0) {
609
+ if (u.value = f + o, e !== 0) {
610
610
  const l = se();
611
- l.payload.data[r] = f + n;
611
+ l.payload.data[r] = f + o;
612
612
  }
613
613
  }), q(async () => {
614
614
  await import("./prism-autoloader-Dlh8Vzlw.js"), c.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
615
- }), (n, f) => (m(), v("pre", {
615
+ }), (o, f) => (m(), v("pre", {
616
616
  class: S([
617
617
  `scalar-component scalar-codeblock-pre language-${i.value}`,
618
618
  {
619
- "line-numbers": n.lineNumbers
619
+ "line-numbers": o.lineNumbers
620
620
  }
621
621
  ])
622
622
  }, [
623
623
  u.value ? (m(), v("code", {
624
624
  key: 0,
625
625
  class: S(`scalar-codeblock-code language-${i.value}`),
626
- innerHTML: o(z)(u.value)
626
+ innerHTML: n(z)(u.value)
627
627
  }, null, 10, Ge)) : (m(), v("code", {
628
628
  key: 1,
629
629
  ref_key: "el",
630
630
  ref: s,
631
631
  class: S(`scalar-codeblock-code language-${i.value}`)
632
- }, D(o(z)(n.content)), 3))
632
+ }, D(n(z)(o.content)), 3))
633
633
  ], 2));
634
634
  }
635
635
  });
@@ -639,17 +639,17 @@ function Ve(a, t = { enabled: I(!0) }) {
639
639
  var s, u;
640
640
  d && (e.value = ((s = d.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, r.value = ((u = d.borderBoxSize[0]) == null ? void 0 : u.blockSize) ?? 0);
641
641
  })), X(
642
- [() => P(t.enabled), () => P(a)],
642
+ [() => O(t.enabled), () => O(a)],
643
643
  ([d, s]) => {
644
644
  !s || !c.value || (d ? c.value.observe(s) : c.value.disconnect());
645
645
  },
646
646
  { immediate: !0 }
647
647
  ), {
648
648
  width: k(
649
- () => P(t.enabled) ? `${e.value}px` : void 0
649
+ () => O(t.enabled) ? `${e.value}px` : void 0
650
650
  ),
651
651
  height: k(
652
- () => P(t.enabled) ? `${r.value}px` : void 0
652
+ () => O(t.enabled) ? `${r.value}px` : void 0
653
653
  )
654
654
  };
655
655
  }
@@ -664,8 +664,8 @@ const G = /* @__PURE__ */ y({
664
664
  setup(a) {
665
665
  const t = a, e = I(null), r = I(null), c = k(
666
666
  () => {
667
- var p, n;
668
- return (((n = (p = r.value) == null ? void 0 : p.children) == null ? void 0 : n[0]) || r.value) ?? void 0;
667
+ var p, o;
668
+ return (((o = (p = r.value) == null ? void 0 : p.children) == null ? void 0 : o[0]) || r.value) ?? void 0;
669
669
  }
670
670
  ), d = Ve(c, {
671
671
  enabled: k(() => t.resize)
@@ -683,7 +683,7 @@ const G = /* @__PURE__ */ y({
683
683
  ...t.middleware ?? []
684
684
  ])
685
685
  });
686
- return (p, n) => (m(), v(K, null, [
686
+ return (p, o) => (m(), v(K, null, [
687
687
  h("div", {
688
688
  ref_key: "wrapperRef",
689
689
  ref: r,
@@ -695,17 +695,17 @@ const G = /* @__PURE__ */ y({
695
695
  ref_key: "floatingRef",
696
696
  ref: e,
697
697
  class: "relative z-context",
698
- style: o(i)
698
+ style: n(i)
699
699
  }, p.$attrs), [
700
700
  b(p.$slots, "floating", {
701
- data: o(g),
701
+ data: n(g),
702
702
  height: u.value,
703
703
  width: s.value
704
704
  })
705
705
  ], 16)
706
706
  ], 64));
707
707
  }
708
- }), Fe = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), je = /* @__PURE__ */ y({
708
+ }), Fe = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Ue = /* @__PURE__ */ y({
709
709
  inheritAttrs: !1,
710
710
  __name: "ScalarDropdown",
711
711
  props: {
@@ -713,14 +713,14 @@ const G = /* @__PURE__ */ y({
713
713
  resize: { type: Boolean }
714
714
  },
715
715
  setup(a) {
716
- return (t, e) => (m(), x(o(me), null, {
716
+ return (t, e) => (m(), x(n(me), null, {
717
717
  default: _(() => [
718
- N(o(G), {
718
+ N(n(G), {
719
719
  placement: t.placement ?? "bottom-start",
720
720
  resize: t.resize
721
721
  }, {
722
722
  floating: _(({ width: r }) => [
723
- N(o(ge), A({
723
+ N(n(ge), A({
724
724
  class: "relative flex w-56 flex-col p-0.75",
725
725
  style: { width: r }
726
726
  }, t.$attrs), {
@@ -732,7 +732,7 @@ const G = /* @__PURE__ */ y({
732
732
  }, 1040, ["style"])
733
733
  ]),
734
734
  default: _(() => [
735
- N(o(fe), { as: "template" }, {
735
+ N(n(fe), { as: "template" }, {
736
736
  default: _(() => [
737
737
  b(t.$slots, "default")
738
738
  ]),
@@ -745,11 +745,11 @@ const G = /* @__PURE__ */ y({
745
745
  _: 3
746
746
  }));
747
747
  }
748
- }), Ue = {}, We = { class: "-mx-0.75 my-0.75 h-px bg-border" };
748
+ }), je = {}, We = { class: "-mx-0.75 my-0.75 h-px bg-border" };
749
749
  function Xe(a, t) {
750
750
  return m(), v("div", We);
751
751
  }
752
- const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
752
+ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
753
753
  __name: "ScalarDropdownItem",
754
754
  props: {
755
755
  disabled: { type: Boolean }
@@ -771,10 +771,10 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
771
771
  active: { true: "bg-back-2 text-fore-1" }
772
772
  }
773
773
  });
774
- return (e, r) => (m(), x(o(he), { disabled: e.disabled }, {
774
+ return (e, r) => (m(), x(n(he), { disabled: e.disabled }, {
775
775
  default: _(({ active: c }) => [
776
776
  h("button", {
777
- class: S(["item", o(E)("scalar-dropdown-item", o(t)({ active: c, disabled: e.disabled }))]),
777
+ class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: c, disabled: e.disabled }))]),
778
778
  type: "button",
779
779
  onClick: r[0] || (r[0] = (d) => e.$emit("click", d))
780
780
  }, [
@@ -784,9 +784,9 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
784
784
  _: 3
785
785
  }, 8, ["disabled"]));
786
786
  }
787
- }), j = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv.js"), "./Close.svg": () => import("./Close-CW3z42qZ.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB.js"), "./Search.svg": () => import("./Search-DqtlswRG.js"), "./Show.svg": () => import("./Show-D86hKz5y.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g.js") }), U = (a) => {
787
+ }), U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx.js"), "./Background.svg": () => import("./Background-DcRhSHgf.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv.js"), "./Close.svg": () => import("./Close-CW3z42qZ.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf.js"), "./Edit.svg": () => import("./Edit-Br04RNYb.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx.js"), "./Error.svg": () => import("./Error-B_RGtWJI.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M.js"), "./Key.svg": () => import("./Key-CWXJqX28.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_.js"), "./Link.svg": () => import("./Link-Bzuc__Nc.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm.js"), "./Page.svg": () => import("./Page-B7rVuhpl.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi.js"), "./Search.svg": () => import("./Search-DqtlswRG.js"), "./Show.svg": () => import("./Show-D86hKz5y.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE.js"), "./Upload.svg": () => import("./Upload-REIdL7RI.js"), "./User.svg": () => import("./User-Df5svMQ3.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g.js") }), j = (a) => {
788
788
  const t = `./${a}.svg`;
789
- return j[t] ? ne(j[t]) : (console.warn(`Could not find icon: ${a}`), null);
789
+ return U[t] ? oe(U[t]) : (console.warn(`Could not find icon: ${a}`), null);
790
790
  }, Ye = ["src"], V = /* @__PURE__ */ y({
791
791
  __name: "ScalarIcon",
792
792
  props: {
@@ -810,10 +810,10 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
810
810
  defaultVariants: {
811
811
  size: "full"
812
812
  }
813
- }), r = U(t.icon);
814
- return (c, d) => o(r) ? (m(), x(Y(o(U)(c.icon)), {
813
+ }), r = j(t.icon);
814
+ return (c, d) => n(r) ? (m(), x(Y(n(j)(c.icon)), {
815
815
  key: 0,
816
- class: S(o(E)("scalar-icon", o(e)({ size: c.size })))
816
+ class: S(n(E)("scalar-icon", n(e)({ size: c.size })))
817
817
  }, null, 8, ["class"])) : (m(), v("img", {
818
818
  key: 1,
819
819
  src: c.icon
@@ -846,10 +846,10 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
846
846
  });
847
847
  return (e, r) => (m(), v("button", {
848
848
  ariaDisabled: e.disabled || void 0,
849
- class: S(o(E)(o(t)({ size: e.size, variant: e.variant, disabled: e.disabled }))),
849
+ class: S(n(E)(n(t)({ size: e.size, variant: e.variant, disabled: e.disabled }))),
850
850
  type: "button"
851
851
  }, [
852
- N(o(V), { icon: e.icon }, null, 8, ["icon"]),
852
+ N(n(V), { icon: e.icon }, null, 8, ["icon"]),
853
853
  h("span", Ze, D(e.label), 1)
854
854
  ], 10, Je));
855
855
  }
@@ -890,26 +890,26 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
890
890
  }
891
891
  }
892
892
  });
893
- return (e, r) => (m(), x(o(ve), {
893
+ return (e, r) => (m(), x(n(ve), {
894
894
  open: e.state.open,
895
895
  onClose: r[0] || (r[0] = (c) => e.state.hide())
896
896
  }, {
897
897
  default: _(() => [
898
898
  h("div", {
899
899
  class: S(
900
- o(E)(
900
+ n(E)(
901
901
  "scalar-modal-layout fixed left-0 top-0",
902
902
  "z-[1001] h-[100dvh] w-[100dvw]",
903
903
  "bg-backdrop p-5 opacity-0"
904
904
  )
905
905
  )
906
906
  }, [
907
- N(o(be), {
908
- class: S(o(t)({ size: e.size, variant: e.variant })),
907
+ N(n(be), {
908
+ class: S(n(t)({ size: e.size, variant: e.variant })),
909
909
  style: J({ maxWidth: e.maxWidth })
910
910
  }, {
911
911
  default: _(() => [
912
- e.title ? (m(), x(o(Se), {
912
+ e.title ? (m(), x(n(Se), {
913
913
  key: 0,
914
914
  class: S(["scalar-modal-header font-semiBold m-0 rounded-lg px-6 py-3 text-left text-xs text-fore-1", { "pb-0 pt-6": e.variant === "history" }])
915
915
  }, {
@@ -918,10 +918,10 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
918
918
  ]),
919
919
  _: 1
920
920
  }, 8, ["class"])) : $("", !0),
921
- N(o(_e), {
921
+ N(n(_e), {
922
922
  class: S([
923
923
  "scalar-modal-body relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-back-1 px-6 pb-4 pt-6",
924
- o(E)(
924
+ n(E)(
925
925
  e.bodyClass,
926
926
  e.variant === "history" && "pt-3",
927
927
  e.variant === "search" && "col max-h-[440px] overflow-hidden p-0"
@@ -949,11 +949,11 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
949
949
  resize: { type: Boolean }
950
950
  },
951
951
  setup(a) {
952
- return (t, e) => (m(), x(o(ye), null, {
952
+ return (t, e) => (m(), x(n(ye), null, {
953
953
  default: _(() => [
954
- N(o(G), oe(ie(t.$props)), {
954
+ N(n(G), ne(ie(t.$props)), {
955
955
  floating: _(({ width: r, height: c }) => [
956
- N(o(we), A({
956
+ N(n(we), A({
957
957
  class: "relative flex flex-col p-0.75",
958
958
  style: { width: r, height: c }
959
959
  }, t.$attrs), {
@@ -965,7 +965,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
965
965
  }, 1040, ["style"])
966
966
  ]),
967
967
  default: _(() => [
968
- N(o(ke), { as: "template" }, {
968
+ N(n(ke), { as: "template" }, {
969
969
  default: _(() => [
970
970
  b(t.$slots, "default")
971
971
  ]),
@@ -978,7 +978,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
978
978
  _: 3
979
979
  }));
980
980
  }
981
- }), rt = { class: "sr-only" }, st = ["value"], nt = /* @__PURE__ */ y({
981
+ }), rt = { class: "sr-only" }, st = ["value"], ot = /* @__PURE__ */ y({
982
982
  inheritAttrs: !1,
983
983
  __name: "ScalarSearchInput",
984
984
  props: {
@@ -992,11 +992,11 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
992
992
  e("update:modelValue", d.target.value);
993
993
  }
994
994
  const c = k(() => {
995
- const { class: d, ...s } = O();
995
+ const { class: d, ...s } = P();
996
996
  return { className: d || "", rest: s };
997
997
  });
998
998
  return (d, s) => (m(), v("label", A(c.value.rest, {
999
- class: o(E)(
999
+ class: n(E)(
1000
1000
  "flex rounded border bg-back-1 text-sm font-medium focus-within:border-fore-1",
1001
1001
  c.value.className
1002
1002
  )
@@ -1017,12 +1017,12 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1017
1017
  value: d.modelValue,
1018
1018
  onInput: r
1019
1019
  }, null, 40, st),
1020
- d.loading && d.loading.isLoading ? (m(), x(o(H), {
1020
+ d.loading && d.loading.isLoading ? (m(), x(n(H), {
1021
1021
  key: 0,
1022
1022
  class: "mr-3 self-center",
1023
1023
  loadingState: d.loading,
1024
1024
  size: "20px"
1025
- }, null, 8, ["loadingState"])) : d.modelValue ? (m(), x(o(Q), {
1025
+ }, null, 8, ["loadingState"])) : d.modelValue ? (m(), x(n(Q), {
1026
1026
  key: 1,
1027
1027
  class: "self-center",
1028
1028
  icon: "Close",
@@ -1032,7 +1032,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1032
1032
  })) : $("", !0)
1033
1033
  ], 16));
1034
1034
  }
1035
- }), ot = { class: "flex flex-col items-center gap-2 px-3 py-4" }, it = /* @__PURE__ */ h("div", { class: "rotate-90 text-lg font-bold" }, ":(", -1), lt = { class: "text-sm font-medium text-fore-2" }, dt = /* @__PURE__ */ y({
1035
+ }), nt = { class: "flex flex-col items-center gap-2 px-3 py-4" }, it = /* @__PURE__ */ h("div", { class: "rotate-90 text-lg font-bold" }, ":(", -1), lt = { class: "text-sm font-medium text-fore-2" }, dt = /* @__PURE__ */ y({
1036
1036
  inheritAttrs: !1,
1037
1037
  __name: "ScalarSearchResultList",
1038
1038
  props: {
@@ -1040,14 +1040,14 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1040
1040
  },
1041
1041
  setup(a) {
1042
1042
  const t = k(() => {
1043
- const { class: e, ...r } = O();
1043
+ const { class: e, ...r } = P();
1044
1044
  return { className: e || "", rest: r };
1045
1045
  });
1046
1046
  return (e, r) => (m(), v("ul", A(t.value.rest, {
1047
- class: o(E)("flex flex-col", t.value.className)
1047
+ class: n(E)("flex flex-col", t.value.className)
1048
1048
  }), [
1049
1049
  e.noResults ? b(e.$slots, "noResults", { key: 0 }, () => [
1050
- h("div", ot, [
1050
+ h("div", nt, [
1051
1051
  it,
1052
1052
  h("div", lt, [
1053
1053
  R(" No results found "),
@@ -1074,12 +1074,12 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1074
1074
  },
1075
1075
  setup(a) {
1076
1076
  const t = k(() => {
1077
- const { class: e, ...r } = O();
1077
+ const { class: e, ...r } = P();
1078
1078
  return { className: e || "", rest: r };
1079
1079
  });
1080
1080
  return (e, r) => (m(), v("li", ct, [
1081
1081
  h("a", A(t.value.rest, {
1082
- class: o(E)(
1082
+ class: n(E)(
1083
1083
  "group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",
1084
1084
  {
1085
1085
  "bg-back-2": e.active
@@ -1089,7 +1089,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1089
1089
  }), [
1090
1090
  h("div", ut, [
1091
1091
  b(e.$slots, "icon", {}, () => [
1092
- e.icon ? (m(), x(o(V), {
1092
+ e.icon ? (m(), x(n(V), {
1093
1093
  key: 0,
1094
1094
  icon: e.icon,
1095
1095
  size: "sm"
@@ -1137,7 +1137,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1137
1137
  },
1138
1138
  error: { true: "scalar-input-wrapper-error border-error" }
1139
1139
  }
1140
- }), d = O(), s = d.id || `id-${Ae()}`, u = I(), i = I(!1);
1140
+ }), d = P(), s = d.id || `id-${Ae()}`, u = I(), i = I(!1);
1141
1141
  let g;
1142
1142
  if (e.isMultiline) {
1143
1143
  const { triggerResize: l } = Ce({
@@ -1150,26 +1150,26 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1150
1150
  const w = l.target.value;
1151
1151
  e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(w) : r("update:modelValue", w);
1152
1152
  }
1153
- function n(l) {
1153
+ function o(l) {
1154
1154
  const w = l.target, C = e.disableTrim || e.isMultiline ? w.value : w.value.trim();
1155
1155
  e.handleFieldSubmit ? e.handleFieldSubmit(C) : r("submit", C);
1156
1156
  }
1157
1157
  function f(l) {
1158
- i.value = !1, e.emitOnBlur && e.modelValue && n(l);
1158
+ i.value = !1, e.emitOnBlur && e.modelValue && o(l);
1159
1159
  }
1160
1160
  return q(() => {
1161
1161
  var l;
1162
1162
  Object.prototype.hasOwnProperty.call(d, "autofocus") && ((l = u.value) == null || l.focus());
1163
1163
  }), (l, w) => (m(), v("div", bt, [
1164
1164
  h("div", {
1165
- class: S(o(c)({ error: l.error, focus: i.value }))
1165
+ class: S(n(c)({ error: l.error, focus: i.value }))
1166
1166
  }, [
1167
- (m(), x(Y(l.isMultiline ? "textarea" : "input"), A({ id: o(s) }, l.$attrs, {
1167
+ (m(), x(Y(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1168
1168
  ref_key: "input",
1169
1169
  ref: u,
1170
1170
  class: [
1171
1171
  "scalar-input",
1172
- o(E)(
1172
+ n(E)(
1173
1173
  { "min-h-[77px]": l.isMultiline },
1174
1174
  "z-10 w-full resize-none appearance-none border-0 bg-transparent p-3 text-sm text-fore-1",
1175
1175
  "outline-none transition-opacity"
@@ -1180,17 +1180,17 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1180
1180
  onBlur: f,
1181
1181
  onFocus: w[0] || (w[0] = (C) => i.value = !0),
1182
1182
  onInput: p,
1183
- onKeyup: le(n, ["enter"])
1183
+ onKeyup: le(o, ["enter"])
1184
1184
  }), null, 16, ["id", "class", "placeholder", "value"])),
1185
1185
  l.label ? (m(), v("label", {
1186
1186
  key: 0,
1187
1187
  class: S(
1188
- o(E)(
1188
+ n(E)(
1189
1189
  "scalar-input-label pointer-events-none absolute left-0 top-0 mx-2 my-3 px-1 text-xs",
1190
1190
  "shadow-current z-10 origin-top-left rounded text-fore-3 transition-transform"
1191
1191
  )
1192
1192
  ),
1193
- for: o(s),
1193
+ for: n(s),
1194
1194
  style: J({
1195
1195
  "box-shadow": `0 0 4px 4px ${l.labelShadowColor}`,
1196
1196
  "background-color": l.labelShadowColor
@@ -1202,7 +1202,7 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1202
1202
  ], 2),
1203
1203
  h("span", {
1204
1204
  class: S(
1205
- o(E)(
1205
+ n(E)(
1206
1206
  "helper-text before:rounded-full mt-1.5 flex items-center text-xs text-error before:font-black",
1207
1207
  "before:mr-1.5 before:block before:h-4 before:w-4 before:text-center before:text-xxs before:leading-4",
1208
1208
  "before:bg-error before:text-white before:content-['!'] empty:hidden"
@@ -1213,13 +1213,13 @@ const qe = /* @__PURE__ */ B(Ue, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1213
1213
  }
1214
1214
  }), wt = /* @__PURE__ */ B(yt, [["__scopeId", "data-v-4fc2339e"]]), Bt = {
1215
1215
  install: (a) => {
1216
- a.component("ScalarButton", Me), a.component("ScalarDropdown", je), a.component("ScalarDropdownDivider", qe), a.component("ScalarDropdownItem", Ke), a.component("ScalarFloating", G), a.component("ScalarIcon", V), a.component("ScalarIconButton", Q), a.component("ScalarLoading", H), a.component("ScalarModal", et), a.component("ScalarPopover", at), a.component("ScalarSearchInput", nt), a.component("ScalarSearchResultItem", vt), a.component("ScalarSearchResultList", dt), a.component("ScalarTextField", wt);
1216
+ a.component("ScalarButton", Me), a.component("ScalarDropdown", Ue), a.component("ScalarDropdownDivider", qe), a.component("ScalarDropdownItem", Ke), a.component("ScalarFloating", G), a.component("ScalarIcon", V), a.component("ScalarIconButton", Q), a.component("ScalarLoading", H), a.component("ScalarModal", et), a.component("ScalarPopover", at), a.component("ScalarSearchInput", ot), a.component("ScalarSearchResultItem", vt), a.component("ScalarSearchResultList", dt), a.component("ScalarTextField", wt);
1217
1217
  }
1218
1218
  };
1219
1219
  export {
1220
1220
  Me as ScalarButton,
1221
- Pt as ScalarCodeBlock,
1222
- je as ScalarDropdown,
1221
+ Ot as ScalarCodeBlock,
1222
+ Ue as ScalarDropdown,
1223
1223
  qe as ScalarDropdownDivider,
1224
1224
  Ke as ScalarDropdownItem,
1225
1225
  G as ScalarFloating,
@@ -1228,11 +1228,11 @@ export {
1228
1228
  H as ScalarLoading,
1229
1229
  et as ScalarModal,
1230
1230
  at as ScalarPopover,
1231
- nt as ScalarSearchInput,
1231
+ ot as ScalarSearchInput,
1232
1232
  vt as ScalarSearchResultItem,
1233
1233
  dt as ScalarSearchResultList,
1234
1234
  wt as ScalarTextField,
1235
1235
  Bt as default,
1236
- Ot as useLoadingState,
1236
+ Pt as useLoadingState,
1237
1237
  zt as useModal
1238
1238
  };