@scalar/components 0.7.6 → 0.7.7

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.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import './main.css';
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 C, 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";
2
+ import { defineComponent as w, 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 y, useAttrs as T, 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 oe, resolveDynamicComponent as Y, normalizeStyle as J, createTextVNode as z, 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";
6
- import L from "prismjs";
6
+ import R from "prismjs";
7
7
  import { Menu as me, MenuItems as ge, MenuButton as fe, MenuItem as he, Dialog as ve, DialogPanel as be, DialogTitle as Se, DialogDescription as _e, Popover as ye, PopoverPanel as we, PopoverButton as ke } from "@headlessui/vue";
8
8
  import { getSideAxis as F } from "@floating-ui/utils";
9
9
  import { useFloating as Ee, autoUpdate as $e, offset as Ie, flip as Ne, shift as xe } from "@floating-ui/vue";
@@ -17,7 +17,7 @@ const M = "scalar-component", Te = ce({
17
17
  [M]: [M]
18
18
  }
19
19
  }
20
- }), { cva: T, cx: E, compose: Dt } = de({
20
+ }), { cva: L, cx: E, compose: zt } = de({
21
21
  hooks: {
22
22
  onComplete: (a) => `${Te(a, M)}`
23
23
  }
@@ -25,7 +25,7 @@ const M = "scalar-component", Te = ce({
25
25
  key: 0,
26
26
  class: "circular-loader"
27
27
  };
28
- function Pt() {
28
+ function Dt() {
29
29
  return W({
30
30
  isValid: !1,
31
31
  isInvalid: !1,
@@ -59,7 +59,7 @@ function Pt() {
59
59
  }
60
60
  });
61
61
  }
62
- const De = /* @__PURE__ */ y({
62
+ const ze = /* @__PURE__ */ w({
63
63
  __name: "ScalarLoading",
64
64
  props: {
65
65
  loadingState: {},
@@ -99,10 +99,10 @@ const De = /* @__PURE__ */ y({
99
99
  }
100
100
  }), B = (a, t) => {
101
101
  const e = a.__vccOpts || a;
102
- for (const [r, c] of t)
103
- e[r] = c;
102
+ for (const [r, d] of t)
103
+ e[r] = d;
104
104
  return e;
105
- }, H = /* @__PURE__ */ B(De, [["__scopeId", "data-v-47faceda"]]), Z = {
105
+ }, H = /* @__PURE__ */ B(ze, [["__scopeId", "data-v-47faceda"]]), Z = {
106
106
  solid: [
107
107
  "scalar-button-solid",
108
108
  "bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
@@ -119,14 +119,14 @@ const De = /* @__PURE__ */ y({
119
119
  "scalar-button-danger",
120
120
  "bg-error text-white active:brightness-90 hocus:brightness-90"
121
121
  ]
122
- }, Pe = T({
122
+ }, De = L({
123
123
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
124
124
  variants: {
125
125
  disabled: {
126
126
  true: "bg-background-2 text-color-3 cursor-not-allowed shadow-none"
127
127
  },
128
128
  fullWidth: { true: "w-full" },
129
- size: { md: "h-10 px-6 text-sm" },
129
+ size: { sm: "px-2 py-1 text-xs", md: "h-10 px-6 text-sm" },
130
130
  variant: Z
131
131
  },
132
132
  compoundVariants: [
@@ -136,13 +136,13 @@ const De = /* @__PURE__ */ y({
136
136
  class: "bg-transparent text-ghost"
137
137
  }
138
138
  ]
139
- }), Oe = ["ariaDisabled"], ze = {
139
+ }), Pe = ["ariaDisabled"], Oe = {
140
140
  key: 0,
141
141
  class: "mr-2 h-4 w-4"
142
142
  }, Be = {
143
143
  key: 1,
144
144
  class: "ml-2"
145
- }, Me = /* @__PURE__ */ y({
145
+ }, Me = /* @__PURE__ */ w({
146
146
  inheritAttrs: !1,
147
147
  __name: "ScalarButton",
148
148
  props: {
@@ -153,20 +153,20 @@ const De = /* @__PURE__ */ y({
153
153
  variant: { default: "solid" }
154
154
  },
155
155
  setup(a) {
156
- const t = k(() => {
157
- const { class: e, ...r } = P();
158
- return { className: e || "", rest: r };
156
+ const t = y(() => {
157
+ const { class: e, ...r } = T();
158
+ return { class: e || "", rest: r };
159
159
  });
160
- return (e, r) => (m(), v("button", C(t.value.rest, {
160
+ return (e, r) => (m(), v("button", A(t.value.rest, {
161
161
  ariaDisabled: e.disabled || void 0,
162
162
  class: n(E)(
163
- n(Pe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
163
+ n(De)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
164
164
  { "pl-9 pr-3": e.loading },
165
- `${t.value.className}`
165
+ `${t.value.class}`
166
166
  ),
167
167
  type: "button"
168
168
  }), [
169
- e.$slots.icon ? (m(), v("div", ze, [
169
+ e.$slots.icon ? (m(), v("div", Oe, [
170
170
  b(e.$slots, "icon")
171
171
  ])) : $("", !0),
172
172
  b(e.$slots, "default"),
@@ -176,7 +176,7 @@ const De = /* @__PURE__ */ y({
176
176
  size: "20px"
177
177
  }, null, 8, ["loadingState"])
178
178
  ])) : $("", !0)
179
- ], 16, Oe));
179
+ ], 16, Pe));
180
180
  }
181
181
  });
182
182
  (function(a) {
@@ -378,7 +378,7 @@ const De = /* @__PURE__ */ y({
378
378
  lookbehind: !0
379
379
  }
380
380
  }, e.inside = a.languages.bash;
381
- for (var c = [
381
+ for (var d = [
382
382
  "comment",
383
383
  "function-name",
384
384
  "for-or-select",
@@ -394,8 +394,8 @@ const De = /* @__PURE__ */ y({
394
394
  "operator",
395
395
  "punctuation",
396
396
  "number"
397
- ], d = r.variable[1].inside, s = 0; s < c.length; s++)
398
- d[c[s]] = a.languages.bash[c[s]];
397
+ ], c = r.variable[1].inside, s = 0; s < d.length; s++)
398
+ c[d[s]] = a.languages.bash[d[s]];
399
399
  a.languages.sh = a.languages.bash, a.languages.shell = a.languages.bash;
400
400
  })(Prism);
401
401
  Prism.languages.json = {
@@ -470,7 +470,7 @@ Prism.languages.webmanifest = Prism.languages.json;
470
470
  };
471
471
  function r(s) {
472
472
  if (s = s.filter(function(i) {
473
- var g = c(i), p = g["white-space"];
473
+ var g = d(i), p = g["white-space"];
474
474
  return p === "pre-wrap" || p === "pre-line";
475
475
  }), s.length != 0) {
476
476
  var u = s.map(function(i) {
@@ -490,12 +490,12 @@ Prism.languages.webmanifest = Prism.languages.json;
490
490
  }).filter(Boolean);
491
491
  u.forEach(function(i) {
492
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) {
493
+ o[p.length - 1] = void 0, p.forEach(function(l, k) {
494
494
  if (l && l.length > 1) {
495
- var A = g.appendChild(document.createElement("span"));
496
- A.style.display = "block", A.textContent = l;
495
+ var C = g.appendChild(document.createElement("span"));
496
+ C.style.display = "block", C.textContent = l;
497
497
  } else
498
- o[w] = f;
498
+ o[k] = f;
499
499
  });
500
500
  }), u.forEach(function(i) {
501
501
  for (var g = i.sizer, p = i.lineHeights, o = 0, f = 0; f < p.length; f++)
@@ -508,12 +508,12 @@ Prism.languages.webmanifest = Prism.languages.json;
508
508
  });
509
509
  }
510
510
  }
511
- function c(s) {
511
+ function d(s) {
512
512
  return s ? window.getComputedStyle ? getComputedStyle(s) : s.currentStyle || null : null;
513
513
  }
514
- var d = void 0;
514
+ var c = void 0;
515
515
  window.addEventListener("resize", function() {
516
- e.assumeViewportIndependence && d === window.innerWidth || (d = window.innerWidth, r(Array.prototype.slice.call(document.querySelectorAll("pre." + a))));
516
+ e.assumeViewportIndependence && c === window.innerWidth || (c = window.innerWidth, r(Array.prototype.slice.call(document.querySelectorAll("pre." + a))));
517
517
  }), Prism.hooks.add("complete", function(s) {
518
518
  if (s.code) {
519
519
  var u = (
@@ -548,7 +548,7 @@ function He(a) {
548
548
  2
549
549
  );
550
550
  }
551
- function z(a) {
551
+ function O(a) {
552
552
  if (typeof a == "string")
553
553
  return a;
554
554
  if (typeof a == "object")
@@ -559,7 +559,7 @@ function z(a) {
559
559
  }
560
560
  return a;
561
561
  }
562
- const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
562
+ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ w({
563
563
  __name: "ScalarCodeBlock",
564
564
  props: {
565
565
  content: {},
@@ -568,8 +568,8 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
568
568
  hideCredentials: {}
569
569
  },
570
570
  setup(a) {
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(o) {
571
+ const t = a, e = ue(O(t.content)), r = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = R;
572
+ t.hideCredentials && R.hooks.add("wrap", function(o) {
573
573
  if (!t.hideCredentials)
574
574
  return;
575
575
  let f = !1;
@@ -586,24 +586,24 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
586
586
  (l) => `<span class="credentials">${l}</span>`
587
587
  ));
588
588
  });
589
- const s = I(null), u = I(pe[r] ?? ""), i = k(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
589
+ const s = I(null), u = I(pe[r] ?? ""), i = y(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
590
590
  X(
591
591
  [() => t.lang, () => t.content, s],
592
592
  () => {
593
- s.value && t.content && (!u.value || t.lang !== g) && (u.value = "", ae(() => d(s.value)));
593
+ s.value && t.content && (!u.value || t.lang !== g) && (u.value = "", ae(() => c(s.value)));
594
594
  },
595
595
  { immediate: !0 }
596
596
  );
597
597
  const p = /\n(?!$)/g;
598
598
  return re(async () => {
599
599
  let o = "";
600
- t.lineNumbers && L.hooks.add("after-tokenize", (l) => {
601
- const w = l.code.match(p), A = w ? w.length + 1 : 1;
602
- o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(A + 1).join("<span></span>")}</span>`;
600
+ t.lineNumbers && R.hooks.add("after-tokenize", (l) => {
601
+ const k = l.code.match(p), C = k ? k.length + 1 : 1;
602
+ o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
603
603
  });
604
- const f = L.highlight(
605
- z(t.content),
606
- L.languages[i.value],
604
+ const f = R.highlight(
605
+ O(t.content),
606
+ R.languages[i.value],
607
607
  i.value
608
608
  );
609
609
  if (u.value = f + o, e !== 0) {
@@ -611,7 +611,7 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
611
611
  l.payload.data[r] = f + o;
612
612
  }
613
613
  }), q(async () => {
614
- await import("./prism-autoloader-Dlh8Vzlw.js"), c.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
614
+ await import("./prism-autoloader-Dlh8Vzlw.js"), d.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
615
615
  }), (o, f) => (m(), v("pre", {
616
616
  class: S([
617
617
  `scalar-component scalar-codeblock-pre language-${i.value}`,
@@ -623,37 +623,37 @@ const Ge = ["innerHTML"], Ot = /* @__PURE__ */ y({
623
623
  u.value ? (m(), v("code", {
624
624
  key: 0,
625
625
  class: S(`scalar-codeblock-code language-${i.value}`),
626
- innerHTML: n(z)(u.value)
626
+ innerHTML: n(O)(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(n(z)(o.content)), 3))
632
+ }, D(n(O)(o.content)), 3))
633
633
  ], 2));
634
634
  }
635
635
  });
636
636
  function Ve(a, t = { enabled: I(!0) }) {
637
- const e = I(0), r = I(0), c = I();
638
- return typeof ResizeObserver < "u" && (c.value = new ResizeObserver(([d]) => {
637
+ const e = I(0), r = I(0), d = I();
638
+ return typeof ResizeObserver < "u" && (d.value = new ResizeObserver(([c]) => {
639
639
  var s, u;
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);
640
+ c && (e.value = ((s = c.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, r.value = ((u = c.borderBoxSize[0]) == null ? void 0 : u.blockSize) ?? 0);
641
641
  })), X(
642
- [() => O(t.enabled), () => O(a)],
643
- ([d, s]) => {
644
- !s || !c.value || (d ? c.value.observe(s) : c.value.disconnect());
642
+ [() => P(t.enabled), () => P(a)],
643
+ ([c, s]) => {
644
+ !s || !d.value || (c ? d.value.observe(s) : d.value.disconnect());
645
645
  },
646
646
  { immediate: !0 }
647
647
  ), {
648
- width: k(
649
- () => O(t.enabled) ? `${e.value}px` : void 0
648
+ width: y(
649
+ () => P(t.enabled) ? `${e.value}px` : void 0
650
650
  ),
651
- height: k(
652
- () => O(t.enabled) ? `${r.value}px` : void 0
651
+ height: y(
652
+ () => P(t.enabled) ? `${r.value}px` : void 0
653
653
  )
654
654
  };
655
655
  }
656
- const G = /* @__PURE__ */ y({
656
+ const G = /* @__PURE__ */ w({
657
657
  inheritAttrs: !1,
658
658
  __name: "ScalarFloating",
659
659
  props: {
@@ -662,21 +662,21 @@ const G = /* @__PURE__ */ y({
662
662
  middleware: {}
663
663
  },
664
664
  setup(a) {
665
- const t = a, e = I(null), r = I(null), c = k(
665
+ const t = a, e = I(null), r = I(null), d = y(
666
666
  () => {
667
667
  var p, o;
668
668
  return (((o = (p = r.value) == null ? void 0 : p.children) == null ? void 0 : o[0]) || r.value) ?? void 0;
669
669
  }
670
- ), d = Ve(c, {
671
- enabled: k(() => t.resize)
672
- }), s = k(
673
- () => F(t.placement || "bottom") === "y" ? d.width.value : void 0
674
- ), u = k(
675
- () => F(t.placement || "bottom") === "x" ? d.height.value : void 0
676
- ), { floatingStyles: i, middlewareData: g } = Ee(c, e, {
677
- placement: k(() => t.placement),
670
+ ), c = Ve(d, {
671
+ enabled: y(() => t.resize)
672
+ }), s = y(
673
+ () => F(t.placement || "bottom") === "y" ? c.width.value : void 0
674
+ ), u = y(
675
+ () => F(t.placement || "bottom") === "x" ? c.height.value : void 0
676
+ ), { floatingStyles: i, middlewareData: g } = Ee(d, e, {
677
+ placement: y(() => t.placement),
678
678
  whileElementsMounted: $e,
679
- middleware: k(() => [
679
+ middleware: y(() => [
680
680
  Ie(5),
681
681
  Ne(),
682
682
  xe(),
@@ -691,7 +691,7 @@ const G = /* @__PURE__ */ y({
691
691
  }, [
692
692
  b(p.$slots, "default")
693
693
  ], 2),
694
- h("div", C({
694
+ h("div", A({
695
695
  ref_key: "floatingRef",
696
696
  ref: e,
697
697
  class: "relative z-context",
@@ -705,7 +705,7 @@ const G = /* @__PURE__ */ y({
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), Ue = /* @__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__ */ w({
709
709
  inheritAttrs: !1,
710
710
  __name: "ScalarDropdown",
711
711
  props: {
@@ -720,7 +720,7 @@ const G = /* @__PURE__ */ y({
720
720
  resize: t.resize
721
721
  }, {
722
722
  floating: _(({ width: r }) => [
723
- N(n(ge), C({
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), {
@@ -749,14 +749,14 @@ const G = /* @__PURE__ */ y({
749
749
  function Xe(a, t) {
750
750
  return m(), v("div", We);
751
751
  }
752
- const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
752
+ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
753
753
  __name: "ScalarDropdownItem",
754
754
  props: {
755
755
  disabled: { type: Boolean }
756
756
  },
757
757
  emits: ["click"],
758
758
  setup(a) {
759
- const t = T({
759
+ const t = L({
760
760
  base: [
761
761
  // Layout
762
762
  "min-w-0 items-center gap-3 rounded px-2.5 py-1.5 text-left",
@@ -772,11 +772,11 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
772
772
  }
773
773
  });
774
774
  return (e, r) => (m(), x(n(he), { disabled: e.disabled }, {
775
- default: _(({ active: c }) => [
775
+ default: _(({ active: d }) => [
776
776
  h("button", {
777
- class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: c, disabled: e.disabled }))]),
777
+ class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: d, disabled: e.disabled }))]),
778
778
  type: "button",
779
- onClick: r[0] || (r[0] = (d) => e.$emit("click", d))
779
+ onClick: r[0] || (r[0] = (c) => e.$emit("click", c))
780
780
  }, [
781
781
  b(e.$slots, "default")
782
782
  ], 2)
@@ -787,39 +787,39 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
787
787
  }), U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7.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"), "./FilterList.svg": () => import("./FilterList-CsAcE9em.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH.js"), "./History.svg": () => import("./History-D9nmhNIn.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"), "./Play.svg": () => import("./Play-BrVagRQA.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU.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"), "./Sort.svg": () => import("./Sort-oTjBhJFQ.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
789
  return U[t] ? oe(U[t]) : (console.warn(`Could not find icon: ${a}`), null);
790
- }, Ye = ["src"], V = /* @__PURE__ */ y({
790
+ }, Ye = ["src"], V = /* @__PURE__ */ w({
791
791
  __name: "ScalarIcon",
792
792
  props: {
793
793
  icon: {},
794
794
  size: {}
795
795
  },
796
796
  setup(a) {
797
- const t = a, e = T({
797
+ const t = a, e = L({
798
798
  variants: {
799
799
  size: {
800
- xs: "h-3 w-3 stroke-[1.4]",
801
- sm: "h-3.5 w-3.5 stroke-[1.2]",
802
- md: "h-4 w-4 stroke-[1.1]",
803
- lg: "h-5 w-5",
804
- xl: "h-6 w-6 stroke-[0.96]",
805
- "2xl": "h-8 w-8 stroke-[0.92]",
806
- "3xl": "h-10 w-10 stroke-[0.9]",
807
- full: "h-full w-full"
800
+ xs: "size-3 stroke-[1.4]",
801
+ sm: "size-3.5 stroke-[1.2]",
802
+ md: "size-4 stroke-[1.1]",
803
+ lg: "size-5",
804
+ xl: "size-6 stroke-[0.96]",
805
+ "2xl": "size-8 stroke-[0.92]",
806
+ "3xl": "size-10 stroke-[0.9]",
807
+ full: "size-full"
808
808
  }
809
809
  },
810
810
  defaultVariants: {
811
811
  size: "full"
812
812
  }
813
813
  }), r = j(t.icon);
814
- return (c, d) => n(r) ? (m(), x(Y(n(j)(c.icon)), {
814
+ return (d, c) => n(r) ? (m(), x(Y(n(j)(d.icon)), {
815
815
  key: 0,
816
- class: S(n(E)("scalar-icon", n(e)({ size: c.size })))
816
+ class: S(n(E)("scalar-icon", n(e)({ size: d.size })))
817
817
  }, null, 8, ["class"])) : (m(), v("img", {
818
818
  key: 1,
819
- src: c.icon
819
+ src: d.icon
820
820
  }, null, 8, Ye));
821
821
  }
822
- }), Je = ["ariaDisabled"], Ze = { class: "sr-only" }, Q = /* @__PURE__ */ y({
822
+ }), Je = ["ariaDisabled"], Ze = { class: "sr-only" }, Q = /* @__PURE__ */ w({
823
823
  __name: "ScalarIconButton",
824
824
  props: {
825
825
  label: {},
@@ -829,13 +829,13 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
829
829
  size: { default: "md" }
830
830
  },
831
831
  setup(a) {
832
- const t = T({
832
+ const t = L({
833
833
  base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
834
834
  variants: {
835
835
  size: {
836
- xs: "h-3.5 w-3.5 p-0.5",
837
- sm: "h-5 w-5 p-1",
838
- md: "h-10 w-10 p-3",
836
+ xs: "size-3.5 p-0.5",
837
+ sm: "size-6 p-1",
838
+ md: "size-10 p-3",
839
839
  full: "h-full w-full"
840
840
  },
841
841
  disabled: {
@@ -843,17 +843,20 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
843
843
  },
844
844
  variant: Z
845
845
  }
846
+ }), e = y(() => {
847
+ const { class: r, ...d } = T();
848
+ return { class: r || "", rest: d };
846
849
  });
847
- return (e, r) => (m(), v("button", {
848
- ariaDisabled: e.disabled || void 0,
849
- class: S(n(E)(n(t)({ size: e.size, variant: e.variant, disabled: e.disabled }))),
850
+ return (r, d) => (m(), v("button", A(e.value.rest, {
851
+ ariaDisabled: r.disabled || void 0,
852
+ class: n(E)(n(t)({ size: r.size, variant: r.variant, disabled: r.disabled }), e.value.class),
850
853
  type: "button"
851
- }, [
852
- N(n(V), { icon: e.icon }, null, 8, ["icon"]),
853
- h("span", Ze, D(e.label), 1)
854
- ], 10, Je));
854
+ }), [
855
+ N(n(V), { icon: r.icon }, null, 8, ["icon"]),
856
+ h("span", Ze, D(r.label), 1)
857
+ ], 16, Je));
855
858
  }
856
- }), zt = () => W({
859
+ }), Ot = () => W({
857
860
  open: !1,
858
861
  show() {
859
862
  this.open = !0;
@@ -861,7 +864,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
861
864
  hide() {
862
865
  this.open = !1;
863
866
  }
864
- }), Qe = /* @__PURE__ */ y({
867
+ }), Qe = /* @__PURE__ */ w({
865
868
  __name: "ScalarModal",
866
869
  props: {
867
870
  state: {},
@@ -872,7 +875,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
872
875
  variant: {}
873
876
  },
874
877
  setup(a) {
875
- const t = T({
878
+ const t = L({
876
879
  base: [
877
880
  "scalar-modal",
878
881
  "col leading-snug relative mx-auto mb-0 mt-20 w-full rounded-lg bg-back-2 text-left text-fore-1 opacity-0"
@@ -892,7 +895,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
892
895
  });
893
896
  return (e, r) => (m(), x(n(ve), {
894
897
  open: e.state.open,
895
- onClose: r[0] || (r[0] = (c) => e.state.hide())
898
+ onClose: r[0] || (r[0] = (d) => e.state.hide())
896
899
  }, {
897
900
  default: _(() => [
898
901
  h("div", {
@@ -914,7 +917,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
914
917
  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
918
  }, {
916
919
  default: _(() => [
917
- R(D(e.title), 1)
920
+ z(D(e.title), 1)
918
921
  ]),
919
922
  _: 1
920
923
  }, 8, ["class"])) : $("", !0),
@@ -941,7 +944,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
941
944
  _: 3
942
945
  }, 8, ["open"]));
943
946
  }
944
- }), et = /* @__PURE__ */ B(Qe, [["__scopeId", "data-v-ff85ced0"]]), tt = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), at = /* @__PURE__ */ y({
947
+ }), et = /* @__PURE__ */ B(Qe, [["__scopeId", "data-v-ff85ced0"]]), tt = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), at = /* @__PURE__ */ w({
945
948
  inheritAttrs: !1,
946
949
  __name: "ScalarPopover",
947
950
  props: {
@@ -952,10 +955,10 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
952
955
  return (t, e) => (m(), x(n(ye), null, {
953
956
  default: _(() => [
954
957
  N(n(G), ne(ie(t.$props)), {
955
- floating: _(({ width: r, height: c }) => [
956
- N(n(we), C({
958
+ floating: _(({ width: r, height: d }) => [
959
+ N(n(we), A({
957
960
  class: "relative flex flex-col p-0.75",
958
- style: { width: r, height: c }
961
+ style: { width: r, height: d }
959
962
  }, t.$attrs), {
960
963
  default: _(() => [
961
964
  b(t.$slots, "popover"),
@@ -978,7 +981,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
978
981
  _: 3
979
982
  }));
980
983
  }
981
- }), rt = { class: "sr-only" }, st = ["value"], ot = /* @__PURE__ */ y({
984
+ }), rt = { class: "sr-only" }, st = ["value"], ot = /* @__PURE__ */ w({
982
985
  inheritAttrs: !1,
983
986
  __name: "ScalarSearchInput",
984
987
  props: {
@@ -988,22 +991,22 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
988
991
  emits: ["update:modelValue"],
989
992
  setup(a, { emit: t }) {
990
993
  const e = t;
991
- function r(d) {
992
- e("update:modelValue", d.target.value);
994
+ function r(c) {
995
+ e("update:modelValue", c.target.value);
993
996
  }
994
- const c = k(() => {
995
- const { class: d, ...s } = P();
996
- return { className: d || "", rest: s };
997
+ const d = y(() => {
998
+ const { class: c, ...s } = T();
999
+ return { className: c || "", rest: s };
997
1000
  });
998
- return (d, s) => (m(), v("label", C(c.value.rest, {
1001
+ return (c, s) => (m(), v("label", A(d.value.rest, {
999
1002
  class: n(E)(
1000
1003
  "flex rounded border bg-back-1 text-sm font-medium focus-within:border-fore-1",
1001
- c.value.className
1004
+ d.value.className
1002
1005
  )
1003
1006
  }), [
1004
1007
  h("span", rt, [
1005
- b(d.$slots, "label", {}, () => [
1006
- R("Enter search")
1008
+ b(c.$slots, "label", {}, () => [
1009
+ z("Enter search")
1007
1010
  ])
1008
1011
  ]),
1009
1012
  h("input", {
@@ -1014,15 +1017,15 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1014
1017
  placeholder: "Search...",
1015
1018
  spellcheck: "false",
1016
1019
  type: "text",
1017
- value: d.modelValue,
1020
+ value: c.modelValue,
1018
1021
  onInput: r
1019
1022
  }, null, 40, st),
1020
- d.loading && d.loading.isLoading ? (m(), x(n(H), {
1023
+ c.loading && c.loading.isLoading ? (m(), x(n(H), {
1021
1024
  key: 0,
1022
1025
  class: "mr-3 self-center",
1023
- loadingState: d.loading,
1026
+ loadingState: c.loading,
1024
1027
  size: "20px"
1025
- }, null, 8, ["loadingState"])) : d.modelValue ? (m(), x(n(Q), {
1028
+ }, null, 8, ["loadingState"])) : c.modelValue ? (m(), x(n(Q), {
1026
1029
  key: 1,
1027
1030
  class: "self-center",
1028
1031
  icon: "Close",
@@ -1032,29 +1035,29 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1032
1035
  })) : $("", !0)
1033
1036
  ], 16));
1034
1037
  }
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({
1038
+ }), 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__ */ w({
1036
1039
  inheritAttrs: !1,
1037
1040
  __name: "ScalarSearchResultList",
1038
1041
  props: {
1039
1042
  noResults: { type: Boolean }
1040
1043
  },
1041
1044
  setup(a) {
1042
- const t = k(() => {
1043
- const { class: e, ...r } = P();
1045
+ const t = y(() => {
1046
+ const { class: e, ...r } = T();
1044
1047
  return { className: e || "", rest: r };
1045
1048
  });
1046
- return (e, r) => (m(), v("ul", C(t.value.rest, {
1049
+ return (e, r) => (m(), v("ul", A(t.value.rest, {
1047
1050
  class: n(E)("flex flex-col", t.value.className)
1048
1051
  }), [
1049
1052
  e.noResults ? b(e.$slots, "noResults", { key: 0 }, () => [
1050
1053
  h("div", nt, [
1051
1054
  it,
1052
1055
  h("div", lt, [
1053
- R(" No results found "),
1056
+ z(" No results found "),
1054
1057
  e.$slots.query ? (m(), v(K, { key: 0 }, [
1055
- R('for "'),
1058
+ z('for "'),
1056
1059
  b(e.$slots, "query"),
1057
- R('"')
1060
+ z('"')
1058
1061
  ], 64)) : $("", !0)
1059
1062
  ])
1060
1063
  ])
@@ -1065,7 +1068,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1065
1068
  }), ct = { class: "contents" }, ut = { class: "text-fore-3 group-hover:text-fore-1" }, pt = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, mt = { class: "flex items-center gap-1" }, gt = { class: "flex-1 truncate text-sm font-medium" }, ft = {
1066
1069
  key: 0,
1067
1070
  class: "text-xs text-fore-2"
1068
- }, ht = { class: "truncate text-xs text-fore-2" }, vt = /* @__PURE__ */ y({
1071
+ }, ht = { class: "truncate text-xs text-fore-2" }, vt = /* @__PURE__ */ w({
1069
1072
  inheritAttrs: !1,
1070
1073
  __name: "ScalarSearchResultItem",
1071
1074
  props: {
@@ -1073,12 +1076,12 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1073
1076
  active: { type: Boolean }
1074
1077
  },
1075
1078
  setup(a) {
1076
- const t = k(() => {
1077
- const { class: e, ...r } = P();
1079
+ const t = y(() => {
1080
+ const { class: e, ...r } = T();
1078
1081
  return { className: e || "", rest: r };
1079
1082
  });
1080
1083
  return (e, r) => (m(), v("li", ct, [
1081
- h("a", C(t.value.rest, {
1084
+ h("a", A(t.value.rest, {
1082
1085
  class: n(E)(
1083
1086
  "group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",
1084
1087
  {
@@ -1112,7 +1115,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1112
1115
  ], 16)
1113
1116
  ]));
1114
1117
  }
1115
- }), bt = { class: "scalar-input-container relative" }, St = ["for"], _t = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, yt = /* @__PURE__ */ y({
1118
+ }), bt = { class: "scalar-input-container relative" }, St = ["for"], _t = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, yt = /* @__PURE__ */ w({
1116
1119
  __name: "ScalarTextField",
1117
1120
  props: {
1118
1121
  modelValue: {},
@@ -1129,7 +1132,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1129
1132
  },
1130
1133
  emits: ["submit", "update:modelValue"],
1131
1134
  setup(a, { emit: t }) {
1132
- const e = a, r = t, c = T({
1135
+ const e = a, r = t, d = L({
1133
1136
  base: "scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
1134
1137
  variants: {
1135
1138
  focus: {
@@ -1137,7 +1140,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1137
1140
  },
1138
1141
  error: { true: "scalar-input-wrapper-error border-error" }
1139
1142
  }
1140
- }), d = P(), s = d.id || `id-${Ce()}`, u = I(), i = I(!1);
1143
+ }), c = T(), s = c.id || `id-${Ce()}`, u = I(), i = I(!1);
1141
1144
  let g;
1142
1145
  if (e.isMultiline) {
1143
1146
  const { triggerResize: l } = Ae({
@@ -1147,24 +1150,24 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1147
1150
  g = l;
1148
1151
  }
1149
1152
  function p(l) {
1150
- const w = l.target.value;
1151
- e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(w) : r("update:modelValue", w);
1153
+ const k = l.target.value;
1154
+ e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : r("update:modelValue", k);
1152
1155
  }
1153
1156
  function o(l) {
1154
- const w = l.target, A = e.disableTrim || e.isMultiline ? w.value : w.value.trim();
1155
- e.handleFieldSubmit ? e.handleFieldSubmit(A) : r("submit", A);
1157
+ const k = l.target, C = e.disableTrim || e.isMultiline ? k.value : k.value.trim();
1158
+ e.handleFieldSubmit ? e.handleFieldSubmit(C) : r("submit", C);
1156
1159
  }
1157
1160
  function f(l) {
1158
1161
  i.value = !1, e.emitOnBlur && e.modelValue && o(l);
1159
1162
  }
1160
1163
  return q(() => {
1161
1164
  var l;
1162
- Object.prototype.hasOwnProperty.call(d, "autofocus") && ((l = u.value) == null || l.focus());
1163
- }), (l, w) => (m(), v("div", bt, [
1165
+ Object.prototype.hasOwnProperty.call(c, "autofocus") && ((l = u.value) == null || l.focus());
1166
+ }), (l, k) => (m(), v("div", bt, [
1164
1167
  h("div", {
1165
- class: S(n(c)({ error: l.error, focus: i.value }))
1168
+ class: S(n(d)({ error: l.error, focus: i.value }))
1166
1169
  }, [
1167
- (m(), x(Y(l.isMultiline ? "textarea" : "input"), C({ id: n(s) }, l.$attrs, {
1170
+ (m(), x(Y(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1168
1171
  ref_key: "input",
1169
1172
  ref: u,
1170
1173
  class: [
@@ -1178,7 +1181,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1178
1181
  placeholder: l.placeholder,
1179
1182
  value: l.modelValue,
1180
1183
  onBlur: f,
1181
- onFocus: w[0] || (w[0] = (A) => i.value = !0),
1184
+ onFocus: k[0] || (k[0] = (C) => i.value = !0),
1182
1185
  onInput: p,
1183
1186
  onKeyup: le(o, ["enter"])
1184
1187
  }), null, 16, ["id", "class", "placeholder", "value"])),
@@ -1218,7 +1221,7 @@ const qe = /* @__PURE__ */ B(je, [["render", Xe]]), Ke = /* @__PURE__ */ y({
1218
1221
  };
1219
1222
  export {
1220
1223
  Me as ScalarButton,
1221
- Ot as ScalarCodeBlock,
1224
+ Pt as ScalarCodeBlock,
1222
1225
  Ue as ScalarDropdown,
1223
1226
  qe as ScalarDropdownDivider,
1224
1227
  Ke as ScalarDropdownItem,
@@ -1233,6 +1236,6 @@ export {
1233
1236
  dt as ScalarSearchResultList,
1234
1237
  wt as ScalarTextField,
1235
1238
  Bt as default,
1236
- Pt as useLoadingState,
1237
- zt as useModal
1239
+ Dt as useLoadingState,
1240
+ Ot as useModal
1238
1241
  };