@scalar/components 0.9.0 → 0.10.1

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 (159) hide show
  1. package/dist/{Add-DX-89g93.cjs → Add-BHOyatcf.cjs} +1 -1
  2. package/dist/ArrowLeft-D0Lenmyx.cjs +1 -0
  3. package/dist/ArrowLeft-D7tW1xQo.js +20 -0
  4. package/dist/ArrowRight-CtFXKmN-.cjs +1 -0
  5. package/dist/ArrowRight-DmO-sdb2.js +20 -0
  6. package/dist/Background-CC9MR0o5.cjs +1 -0
  7. package/dist/Background-CU9VIbfN.js +17 -0
  8. package/dist/{Brackets-BVyoTMtP.cjs → Brackets-BH2hJOrC.cjs} +1 -1
  9. package/dist/CallToAction-CH2urf5-.cjs +1 -0
  10. package/dist/{CallToAction-EyQKkvbg.js → CallToAction-XLYRSI1h.js} +7 -8
  11. package/dist/{Checkmark-DtNGpJPK.cjs → Checkmark-zGf1EnxZ.cjs} +1 -1
  12. package/dist/Close-DqX2BfNh.cjs +1 -0
  13. package/dist/{Close-CW3z42qZ.js → Close-xHiYwS8Q.js} +6 -5
  14. package/dist/{DarkMode-CBsV8Q_I.js → DarkMode-BMR457PH.js} +2 -4
  15. package/dist/{DarkMode-t_GIbUfw.cjs → DarkMode-YTngOyuf.cjs} +1 -1
  16. package/dist/DocsPage-BUQM1ZP5.cjs +1 -0
  17. package/dist/{DocsPage-rh2xwxKN.js → DocsPage-Dwx7ZMU9.js} +8 -9
  18. package/dist/Duplicate-BcpwaK9W.cjs +1 -0
  19. package/dist/Duplicate-DRWEv4R_.js +17 -0
  20. package/dist/{Error-rLMN5IPB.cjs → Error-BEEilYrB.cjs} +1 -1
  21. package/dist/Error-C5LiISnw.js +16 -0
  22. package/dist/{FilterList-CsAcE9em.js → FilterList-CS8Il7NE.js} +2 -2
  23. package/dist/FilterList-Ch3lrlmt.cjs +1 -0
  24. package/dist/{Folder-D8himkl0.cjs → Folder-BDWpN5FK.cjs} +1 -1
  25. package/dist/{Folder-Cdcj4evh.js → Folder-CTvnVSEo.js} +2 -4
  26. package/dist/Hide-BgcCtErz.js +27 -0
  27. package/dist/Hide-BpM8svWr.cjs +1 -0
  28. package/dist/LightDarkModeToggle-CK1SiK6S.cjs +1 -0
  29. package/dist/LightDarkModeToggle-De3vO47x.js +16 -0
  30. package/dist/LightMode-BeoMphBY.js +16 -0
  31. package/dist/{LightMode-Lb_EorlU.cjs → LightMode-CbktVjW4.cjs} +1 -1
  32. package/dist/{Logo-C5GTctOK.cjs → Logo-CPK0sTGo.cjs} +1 -1
  33. package/dist/{LogoAPI-O6MKaQjJ.cjs → LogoAPI-auvrtupZ.cjs} +1 -1
  34. package/dist/LogoClient-Bq5O2QL2.js +16 -0
  35. package/dist/{LogoClient-euoCjMaH.cjs → LogoClient-DrkORYwm.cjs} +1 -1
  36. package/dist/Page-DA7CO5gc.js +17 -0
  37. package/dist/Page-vHFXthOd.cjs +1 -0
  38. package/dist/Play-Cd4-o7Ji.js +16 -0
  39. package/dist/Play-D-MVpYlN.cjs +1 -0
  40. package/dist/{Refresh-Be6vHEEi.js → Refresh-BHRzzQ8P.js} +5 -6
  41. package/dist/Refresh-BW_PXJVB.cjs +1 -0
  42. package/dist/Response-DsTlT4S-.js +20 -0
  43. package/dist/Response-kwZlQMN4.cjs +1 -0
  44. package/dist/Show-CGQdMeuP.cjs +1 -0
  45. package/dist/Show-CbiiMLUa.js +27 -0
  46. package/dist/SideBarClosed-DvogXH7H.cjs +1 -0
  47. package/dist/SideBarClosed-K53-CtXh.js +17 -0
  48. package/dist/SideBarOpen-C4lWzbws.cjs +1 -0
  49. package/dist/SideBarOpen-C7UgT82P.js +21 -0
  50. package/dist/Sort-CaVMT7jM.js +16 -0
  51. package/dist/Sort-ownhPFMM.cjs +1 -0
  52. package/dist/Terminal-32pUnEJb.cjs +1 -0
  53. package/dist/{Terminal-CKp--su5.js → Terminal-DJ7x2McL.js} +10 -12
  54. package/dist/{Unlock-DStL1IeV.cjs → Unlock-CNorWYJe.cjs} +1 -1
  55. package/dist/{Unlock-CY8UqJoE.js → Unlock-HVYHMLxl.js} +2 -4
  56. package/dist/{Upload-REIdL7RI.js → Upload-D_pwqBDY.js} +2 -4
  57. package/dist/{Upload-VVhUOddU.cjs → Upload-jkvbAI71.cjs} +1 -1
  58. package/dist/{User-Df5svMQ3.js → User-BLGkPc5I.js} +2 -4
  59. package/dist/{User-DwiuN2sY.cjs → User-CTJkuv9t.cjs} +1 -1
  60. package/dist/index.cjs +1 -1
  61. package/dist/index.d.ts +51 -13
  62. package/dist/index.js +392 -307
  63. package/dist/programming-framework-vuedotjs-CfbQc23o.cjs +1 -0
  64. package/dist/programming-framework-vuedotjs-Cim7D5tw.js +17 -0
  65. package/dist/programming-language-clojure-C5dOsI4K.cjs +1 -0
  66. package/dist/programming-language-clojure-uqYXn7U6.js +16 -0
  67. package/dist/programming-language-csharp-BHivZJkg.cjs +1 -0
  68. package/dist/{programming-language-csharp-lqX1oWgb.js → programming-language-csharp-CGxYkVA6.js} +4 -3
  69. package/dist/programming-language-go-BjshiBx9.cjs +1 -0
  70. package/dist/{programming-language-go-DoJxWwT6.js → programming-language-go-CuKo8iD9.js} +4 -3
  71. package/dist/programming-language-http-Dz4cvjKh.cjs +1 -0
  72. package/dist/programming-language-http-f3NXC-Ae.js +16 -0
  73. package/dist/programming-language-java-BBodetdf.js +18 -0
  74. package/dist/programming-language-java-d4f1Y0fu.cjs +1 -0
  75. package/dist/programming-language-json-D4cFxPs5.cjs +1 -0
  76. package/dist/programming-language-json-Dq_K-q5f.js +17 -0
  77. package/dist/programming-language-kotlin-eKkN_tOl.cjs +1 -0
  78. package/dist/{Sort-oTjBhJFQ.js → programming-language-kotlin-eTASnmL3.js} +5 -8
  79. package/dist/programming-language-node-CFlS5cG5.cjs +1 -0
  80. package/dist/programming-language-node-oucaVOgY.js +17 -0
  81. package/dist/programming-language-objc-B5s5jkUH.cjs +1 -0
  82. package/dist/{programming-language-objc-BQXSOBsX.js → programming-language-objc-CPgQxmNi.js} +4 -3
  83. package/dist/programming-language-ocaml-COhyM4XA.cjs +1 -0
  84. package/dist/{programming-language-ocaml-BEz7gGv7.js → programming-language-ocaml-Q1-Jv5Q5.js} +6 -5
  85. package/dist/programming-language-powershell-CETg5mF_.cjs +1 -0
  86. package/dist/programming-language-powershell-xLOxAYP_.js +20 -0
  87. package/dist/programming-language-r-BA21GfCv.cjs +1 -0
  88. package/dist/{programming-language-r-BGoKwua9.js → programming-language-r-Ch3T1qiC.js} +6 -5
  89. package/dist/programming-language-shell-C5XFKH1k.cjs +1 -0
  90. package/dist/{programming-language-shell-BsTa1xI7.js → programming-language-shell-uj1zoCVW.js} +2 -2
  91. package/dist/{programming-script-code-DQN1veb2.js → programming-script-code-CUHv6qR8.js} +6 -7
  92. package/dist/programming-script-code-DbeLXUtP.cjs +1 -0
  93. package/dist/programming-tool-git-C-BMJCAo.js +16 -0
  94. package/dist/{programming-tool-git-Cs6kKawk.cjs → programming-tool-git-D92HKo9l.cjs} +1 -1
  95. package/dist/style.css +1 -1
  96. package/package.json +7 -5
  97. package/dist/ArrowLeft-aY17W2aS.js +0 -21
  98. package/dist/ArrowLeft-viI9aZKt.cjs +0 -1
  99. package/dist/ArrowRight-DEMtdoE7.js +0 -21
  100. package/dist/ArrowRight-OAz1WjoZ.cjs +0 -1
  101. package/dist/Background-DcRhSHgf.js +0 -18
  102. package/dist/Background-QBySRwqH.cjs +0 -1
  103. package/dist/CallToAction-tK0jnM6o.cjs +0 -1
  104. package/dist/Close-rtHwAJ8P.cjs +0 -1
  105. package/dist/DocsPage-D8AkB_rP.cjs +0 -1
  106. package/dist/Duplicate-BPlzNpcf.js +0 -22
  107. package/dist/Duplicate-BwzvckcF.cjs +0 -1
  108. package/dist/Error-B_RGtWJI.js +0 -18
  109. package/dist/FilterList-DBmJyPv8.cjs +0 -1
  110. package/dist/Hide-CsOkxif1.cjs +0 -1
  111. package/dist/Hide-DBLY4PPo.js +0 -25
  112. package/dist/LightDarkModeToggle-BkvMimDa.js +0 -20
  113. package/dist/LightDarkModeToggle-Cy5svZ9_.cjs +0 -1
  114. package/dist/LightMode-Btz6vyT_.js +0 -18
  115. package/dist/LogoClient-DdC-t_7P.js +0 -18
  116. package/dist/Page-B7rVuhpl.js +0 -18
  117. package/dist/Page-BekQLn-H.cjs +0 -1
  118. package/dist/Play-BrVagRQA.js +0 -19
  119. package/dist/Play-CEtr3_zC.cjs +0 -1
  120. package/dist/Refresh-DZWDJwT9.cjs +0 -1
  121. package/dist/Response-DK6XqSvH.cjs +0 -1
  122. package/dist/Response-Dq9pM-ZU.js +0 -21
  123. package/dist/Show-CMde3tXz.cjs +0 -1
  124. package/dist/Show-CMsTZAgT.js +0 -30
  125. package/dist/SideBarClosed-BBJuRiRt.cjs +0 -1
  126. package/dist/SideBarClosed-CYUNS2XM.js +0 -18
  127. package/dist/SideBarOpen-BOxW49_U.js +0 -18
  128. package/dist/SideBarOpen-CFo0lhhI.cjs +0 -1
  129. package/dist/Sort-DZNcq1Ys.cjs +0 -1
  130. package/dist/Terminal-CwA7-ULE.cjs +0 -1
  131. package/dist/programming-framework-vuedotjs-CqJyDH8h.cjs +0 -1
  132. package/dist/programming-framework-vuedotjs-Cv46W2aB.js +0 -18
  133. package/dist/programming-language-clojure-Cvmzky8x.js +0 -15
  134. package/dist/programming-language-clojure-CyHK-jLJ.cjs +0 -1
  135. package/dist/programming-language-csharp-DoGoDJTM.cjs +0 -1
  136. package/dist/programming-language-go-esKd64tz.cjs +0 -1
  137. package/dist/programming-language-http-Dc1qvDmx.cjs +0 -1
  138. package/dist/programming-language-http-wMYwFS1I.js +0 -20
  139. package/dist/programming-language-java-BCxG2T_w.js +0 -26
  140. package/dist/programming-language-java-CZGMYk6G.cjs +0 -1
  141. package/dist/programming-language-json-42R7ZDyF.cjs +0 -1
  142. package/dist/programming-language-json-vEX_g7Zi.js +0 -22
  143. package/dist/programming-language-kotlin-B_hFLazE.cjs +0 -1
  144. package/dist/programming-language-kotlin-DKV8vP9h.js +0 -15
  145. package/dist/programming-language-node-CNeD_Nz_.cjs +0 -1
  146. package/dist/programming-language-node-Xsgx38lm.js +0 -18
  147. package/dist/programming-language-objc-C1h8n_Ep.cjs +0 -1
  148. package/dist/programming-language-ocaml-D4ghEb5c.cjs +0 -1
  149. package/dist/programming-language-powershell-C9DkSp36.js +0 -19
  150. package/dist/programming-language-powershell-CuA4_aWv.cjs +0 -1
  151. package/dist/programming-language-r-CKcjfC5A.cjs +0 -1
  152. package/dist/programming-language-shell-BoAtoYbq.cjs +0 -1
  153. package/dist/programming-script-code-Beg2Hk5g.cjs +0 -1
  154. package/dist/programming-tool-git-DDnQ1zGD.js +0 -18
  155. package/dist/{Add-ngyZgYXx.js → Add-yNxGpRcH.js} +1 -1
  156. package/dist/{Brackets-4I8OKomf.js → Brackets-CI207-BL.js} +1 -1
  157. package/dist/{Checkmark-De7nq6cG.js → Checkmark-DhbrPM0P.js} +1 -1
  158. package/dist/{Logo-mtzeKD8M.js → Logo-DwEDtgj-.js} +1 -1
  159. package/dist/{LogoAPI-CaU5E6FK.js → LogoAPI-CohCfL3L.js} +1 -1
package/dist/index.js CHANGED
@@ -1,29 +1,29 @@
1
- import { defineComponent as w, useCssVars as J, openBlock as m, createElementBlock as v, normalizeClass as S, unref as n, createElementVNode as h, createCommentVNode as $, createStaticVNode as Z, reactive as G, computed as _, useAttrs as T, mergeProps as A, renderSlot as b, createVNode as x, ref as N, watch as V, nextTick as Q, onServerPrefetch as ee, useSSRContext as te, onMounted as F, toDisplayString as R, toValue as D, Fragment as ae, createBlock as I, withCtx as y, defineAsyncComponent as re, resolveDynamicComponent as U, normalizeStyle as j, createTextVNode as W, normalizeProps as se, guardReactiveProps as oe, withKeys as ne } from "vue";
2
- import { defineConfig as ie } from "cva";
3
- import { extendTailwindMerge as le } from "tailwind-merge";
4
- import { createHash as de, ssrState as ce } from "@scalar/oas-utils";
5
- import z from "prismjs";
6
- import { Menu as pe, MenuItems as ue, MenuButton as me, MenuItem as ge, Dialog as fe, DialogPanel as he, DialogTitle as ve, DialogDescription as be, Popover as Se, PopoverPanel as ye, PopoverButton as _e } from "@headlessui/vue";
7
- import { getSideAxis as B } from "@floating-ui/utils";
8
- import { useFloating as we, autoUpdate as ke, offset as Ee, flip as Ne, shift as xe } from "@floating-ui/vue";
9
- import { useTextareaAutosize as $e } from "@vueuse/core";
10
- import { nanoid as Ie } from "nanoid";
11
- const Ae = le({
1
+ import { defineComponent as _, useCssVars as Z, openBlock as u, createElementBlock as b, normalizeClass as y, unref as o, createElementVNode as f, createCommentVNode as N, createStaticVNode as Q, reactive as F, computed as k, useAttrs as z, mergeProps as C, renderSlot as S, createVNode as x, ref as A, watch as U, nextTick as ee, onServerPrefetch as te, useSSRContext as ae, onMounted as j, toDisplayString as T, toValue as D, Fragment as W, createBlock as $, withCtx as v, defineAsyncComponent as re, resolveDynamicComponent as X, renderList as se, normalizeStyle as q, createTextVNode as K, normalizeProps as oe, guardReactiveProps as ne, withKeys as ie } from "vue";
2
+ import { defineConfig as le } from "cva";
3
+ import { extendTailwindMerge as de } from "tailwind-merge";
4
+ import { createHash as ce, ssrState as pe } from "@scalar/oas-utils";
5
+ import R from "prismjs";
6
+ import { Menu as ue, MenuItems as me, MenuButton as ge, MenuItem as fe, Listbox as he, ListboxOptions as ve, ListboxOption as be, ListboxButton as Se, Dialog as ye, DialogPanel as _e, DialogTitle as ke, DialogDescription as we, Popover as Ee, PopoverPanel as xe, PopoverButton as $e } from "@headlessui/vue";
7
+ import { getSideAxis as M } from "@floating-ui/utils";
8
+ import { useFloating as Ne, autoUpdate as Ae, offset as Ce, flip as Ie, shift as Le } from "@floating-ui/vue";
9
+ import { useTextareaAutosize as Te } from "@vueuse/core";
10
+ import { nanoid as ze } from "nanoid";
11
+ const Re = de({
12
12
  extend: {
13
13
  classGroups: {
14
14
  "font-size": ["text-xxs"]
15
15
  }
16
16
  }
17
- }), { cva: L, cx: E, compose: _t } = ie({
17
+ }), { cva: L, cx: w, compose: At } = le({
18
18
  hooks: {
19
- onComplete: (r) => Ae(r)
19
+ onComplete: (r) => Re(r)
20
20
  }
21
- }), Ce = /* @__PURE__ */ Z('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), Te = {
21
+ }), De = /* @__PURE__ */ Q('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), Oe = {
22
22
  key: 0,
23
23
  class: "circular-loader"
24
24
  };
25
- function wt() {
26
- return G({
25
+ function Ct() {
26
+ return F({
27
27
  isValid: !1,
28
28
  isInvalid: !1,
29
29
  isLoading: !1,
@@ -56,21 +56,21 @@ function wt() {
56
56
  }
57
57
  });
58
58
  }
59
- const Le = /* @__PURE__ */ w({
59
+ const Pe = /* @__PURE__ */ _({
60
60
  __name: "ScalarLoading",
61
61
  props: {
62
62
  loadingState: {},
63
63
  size: { default: "24px" }
64
64
  },
65
65
  setup(r) {
66
- return J((t) => ({
66
+ return Z((t) => ({
67
67
  d6cae758: t.size
68
- })), (t, e) => t.loadingState ? (m(), v("div", {
68
+ })), (t, e) => t.loadingState ? (u(), b("div", {
69
69
  key: 0,
70
- class: S(n(E)("loader-wrapper"))
70
+ class: y(o(w)("loader-wrapper"))
71
71
  }, [
72
- (m(), v("svg", {
73
- class: S(["svg-loader", {
72
+ (u(), b("svg", {
73
+ class: y(["svg-loader", {
74
74
  "icon-is-valid": t.loadingState.isValid,
75
75
  "icon-is-invalid": t.loadingState.isInvalid
76
76
  }]),
@@ -78,10 +78,10 @@ const Le = /* @__PURE__ */ w({
78
78
  xmlns: "http://www.w3.org/2000/svg",
79
79
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
80
80
  }, [
81
- Ce,
82
- t.loadingState.isLoading ? (m(), v("g", Te, [
83
- h("circle", {
84
- class: S(["loader-path", {
81
+ De,
82
+ t.loadingState.isLoading ? (u(), b("g", Oe, [
83
+ f("circle", {
84
+ class: y(["loader-path", {
85
85
  "loader-path-off": t.loadingState.isValid || t.loadingState.isInvalid
86
86
  }]),
87
87
  cx: "50",
@@ -90,16 +90,16 @@ const Le = /* @__PURE__ */ w({
90
90
  r: "20",
91
91
  "stroke-width": "2"
92
92
  }, null, 2)
93
- ])) : $("", !0)
93
+ ])) : N("", !0)
94
94
  ], 2))
95
- ], 2)) : $("", !0);
95
+ ], 2)) : N("", !0);
96
96
  }
97
97
  }), P = (r, t) => {
98
98
  const e = r.__vccOpts || r;
99
99
  for (const [a, d] of t)
100
100
  e[a] = d;
101
101
  return e;
102
- }, X = /* @__PURE__ */ P(Le, [["__scopeId", "data-v-47faceda"]]), q = {
102
+ }, Y = /* @__PURE__ */ P(Pe, [["__scopeId", "data-v-47faceda"]]), J = {
103
103
  solid: [
104
104
  "scalar-button-solid",
105
105
  "bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
@@ -116,7 +116,7 @@ const Le = /* @__PURE__ */ w({
116
116
  "scalar-button-danger",
117
117
  "bg-error text-white active:brightness-90 hocus:brightness-90"
118
118
  ]
119
- }, ze = L({
119
+ }, Be = L({
120
120
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
121
121
  variants: {
122
122
  disabled: {
@@ -124,7 +124,7 @@ const Le = /* @__PURE__ */ w({
124
124
  },
125
125
  fullWidth: { true: "w-full" },
126
126
  size: { sm: "px-2 py-1 text-xs", md: "h-10 px-6 text-sm" },
127
- variant: q
127
+ variant: J
128
128
  },
129
129
  compoundVariants: [
130
130
  {
@@ -133,13 +133,13 @@ const Le = /* @__PURE__ */ w({
133
133
  class: "bg-transparent text-ghost"
134
134
  }
135
135
  ]
136
- }), Re = ["ariaDisabled", "type"], De = {
136
+ }), He = ["ariaDisabled", "type"], Me = {
137
137
  key: 0,
138
138
  class: "mr-2 h-4 w-4"
139
- }, Oe = {
139
+ }, Ve = {
140
140
  key: 1,
141
141
  class: "ml-2"
142
- }, kt = /* @__PURE__ */ w({
142
+ }, It = /* @__PURE__ */ _({
143
143
  inheritAttrs: !1,
144
144
  __name: "ScalarButton",
145
145
  props: {
@@ -151,30 +151,30 @@ const Le = /* @__PURE__ */ w({
151
151
  type: { default: "button" }
152
152
  },
153
153
  setup(r) {
154
- const t = _(() => {
155
- const { class: e, ...a } = T();
154
+ const t = k(() => {
155
+ const { class: e, ...a } = z();
156
156
  return { class: e || "", rest: a };
157
157
  });
158
- return (e, a) => (m(), v("button", A(t.value.rest, {
158
+ return (e, a) => (u(), b("button", C(t.value.rest, {
159
159
  ariaDisabled: e.disabled || void 0,
160
- class: n(E)(
161
- n(ze)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
160
+ class: o(w)(
161
+ o(Be)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
162
162
  { "pl-9 pr-3": e.loading },
163
163
  `${t.value.class}`
164
164
  ),
165
165
  type: e.type
166
166
  }), [
167
- e.$slots.icon ? (m(), v("div", De, [
168
- b(e.$slots, "icon")
169
- ])) : $("", !0),
170
- b(e.$slots, "default"),
171
- e.loading ? (m(), v("div", Oe, [
172
- x(n(X), {
167
+ e.$slots.icon ? (u(), b("div", Me, [
168
+ S(e.$slots, "icon")
169
+ ])) : N("", !0),
170
+ S(e.$slots, "default"),
171
+ e.loading ? (u(), b("div", Ve, [
172
+ x(o(Y), {
173
173
  loadingState: e.loading,
174
174
  size: "20px"
175
175
  }, null, 8, ["loadingState"])
176
- ])) : $("", !0)
177
- ], 16, Re));
176
+ ])) : N("", !0)
177
+ ], 16, He));
178
178
  }
179
179
  });
180
180
  (function(r) {
@@ -436,10 +436,10 @@ Prism.languages.webmanifest = Prism.languages.json;
436
436
  if (!(s.tagName !== "PRE" || !s.classList.contains(r))) {
437
437
  var i = s.querySelector(".line-numbers-rows");
438
438
  if (i) {
439
- var g = parseInt(s.getAttribute("data-start"), 10) || 1, u = g + (i.children.length - 1);
440
- p < g && (p = g), p > u && (p = u);
441
- var o = p - g;
442
- return i.children[o];
439
+ var g = parseInt(s.getAttribute("data-start"), 10) || 1, m = g + (i.children.length - 1);
440
+ p < g && (p = g), p > m && (p = m);
441
+ var n = p - g;
442
+ return i.children[n];
443
443
  }
444
444
  }
445
445
  },
@@ -468,40 +468,40 @@ Prism.languages.webmanifest = Prism.languages.json;
468
468
  };
469
469
  function a(s) {
470
470
  if (s = s.filter(function(i) {
471
- var g = d(i), u = g["white-space"];
472
- return u === "pre-wrap" || u === "pre-line";
471
+ var g = d(i), m = g["white-space"];
472
+ return m === "pre-wrap" || m === "pre-line";
473
473
  }), s.length != 0) {
474
474
  var p = s.map(function(i) {
475
- var g = i.querySelector("code"), u = i.querySelector(".line-numbers-rows");
476
- if (!(!g || !u)) {
477
- var o = i.querySelector(".line-numbers-sizer"), f = g.textContent.split(t);
478
- o || (o = document.createElement("span"), o.className = "line-numbers-sizer", g.appendChild(o)), o.innerHTML = "0", o.style.display = "block";
479
- var l = o.getBoundingClientRect().height;
480
- return o.innerHTML = "", {
475
+ var g = i.querySelector("code"), m = i.querySelector(".line-numbers-rows");
476
+ if (!(!g || !m)) {
477
+ var n = i.querySelector(".line-numbers-sizer"), h = g.textContent.split(t);
478
+ n || (n = document.createElement("span"), n.className = "line-numbers-sizer", g.appendChild(n)), n.innerHTML = "0", n.style.display = "block";
479
+ var l = n.getBoundingClientRect().height;
480
+ return n.innerHTML = "", {
481
481
  element: i,
482
- lines: f,
482
+ lines: h,
483
483
  lineHeights: [],
484
484
  oneLinerHeight: l,
485
- sizer: o
485
+ sizer: n
486
486
  };
487
487
  }
488
488
  }).filter(Boolean);
489
489
  p.forEach(function(i) {
490
- var g = i.sizer, u = i.lines, o = i.lineHeights, f = i.oneLinerHeight;
491
- o[u.length - 1] = void 0, u.forEach(function(l, k) {
490
+ var g = i.sizer, m = i.lines, n = i.lineHeights, h = i.oneLinerHeight;
491
+ n[m.length - 1] = void 0, m.forEach(function(l, E) {
492
492
  if (l && l.length > 1) {
493
- var C = g.appendChild(document.createElement("span"));
494
- C.style.display = "block", C.textContent = l;
493
+ var I = g.appendChild(document.createElement("span"));
494
+ I.style.display = "block", I.textContent = l;
495
495
  } else
496
- o[k] = f;
496
+ n[E] = h;
497
497
  });
498
498
  }), p.forEach(function(i) {
499
- for (var g = i.sizer, u = i.lineHeights, o = 0, f = 0; f < u.length; f++)
500
- u[f] === void 0 && (u[f] = g.children[o++].getBoundingClientRect().height);
499
+ for (var g = i.sizer, m = i.lineHeights, n = 0, h = 0; h < m.length; h++)
500
+ m[h] === void 0 && (m[h] = g.children[n++].getBoundingClientRect().height);
501
501
  }), p.forEach(function(i) {
502
- var g = i.sizer, u = i.element.querySelector(".line-numbers-rows");
503
- g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(o, f) {
504
- u.children[f].style.height = o + "px";
502
+ var g = i.sizer, m = i.element.querySelector(".line-numbers-rows");
503
+ g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(n, h) {
504
+ m.children[h].style.height = n + "px";
505
505
  });
506
506
  });
507
507
  }
@@ -523,15 +523,15 @@ Prism.languages.webmanifest = Prism.languages.json;
523
523
  );
524
524
  if (!(!i || !/pre/i.test(i.nodeName)) && !p.querySelector(".line-numbers-rows") && Prism.util.isActive(p, r)) {
525
525
  p.classList.remove(r), i.classList.add(r);
526
- var g = s.code.match(t), u = g ? g.length + 1 : 1, o, f = new Array(u + 1).join("<span></span>");
527
- 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), a([i]), Prism.hooks.run("line-numbers", s);
526
+ var g = s.code.match(t), m = g ? g.length + 1 : 1, n, h = new Array(m + 1).join("<span></span>");
527
+ n = document.createElement("span"), n.setAttribute("aria-hidden", "true"), n.className = "line-numbers-rows", n.innerHTML = h, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(n), a([i]), Prism.hooks.run("line-numbers", s);
528
528
  }
529
529
  }
530
530
  }), Prism.hooks.add("line-numbers", function(s) {
531
531
  s.plugins = s.plugins || {}, s.plugins.lineNumbers = !0;
532
532
  });
533
533
  })();
534
- function Pe(r) {
534
+ function Ge(r) {
535
535
  const t = /* @__PURE__ */ new Set();
536
536
  return JSON.stringify(
537
537
  r,
@@ -553,11 +553,11 @@ function O(r) {
553
553
  try {
554
554
  return JSON.stringify(r, null, 2);
555
555
  } catch {
556
- return Pe(r);
556
+ return Ge(r);
557
557
  }
558
558
  return r;
559
559
  }
560
- const Be = ["innerHTML"], Et = /* @__PURE__ */ w({
560
+ const Fe = ["innerHTML"], Lt = /* @__PURE__ */ _({
561
561
  __name: "ScalarCodeBlock",
562
562
  props: {
563
563
  content: {},
@@ -566,17 +566,17 @@ const Be = ["innerHTML"], Et = /* @__PURE__ */ w({
566
566
  hideCredentials: {}
567
567
  },
568
568
  setup(r) {
569
- const t = r, e = de(O(t.content)), a = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = z;
570
- t.hideCredentials && z.hooks.add("wrap", function(o) {
569
+ const t = r, e = ce(O(t.content)), a = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = R;
570
+ t.hideCredentials && R.hooks.add("wrap", function(n) {
571
571
  if (!t.hideCredentials)
572
572
  return;
573
- let f = !1;
574
- typeof t.hideCredentials == "string" ? o.content.includes(t.hideCredentials) && (f = !0) : Array.isArray(t.hideCredentials) && (f = t.hideCredentials.some(
575
- (l) => o.content.includes(l)
576
- )), f && (o.content = o.content.replace(
573
+ let h = !1;
574
+ typeof t.hideCredentials == "string" ? n.content.includes(t.hideCredentials) && (h = !0) : Array.isArray(t.hideCredentials) && (h = t.hideCredentials.some(
575
+ (l) => n.content.includes(l)
576
+ )), h && (n.content = n.content.replace(
577
577
  /<span class="credentials">.*?<\/span>/g,
578
578
  (l) => l.replace(/<span class="credentials">|<\/span>/g, "")
579
- ), o.content = o.content.replace(
579
+ ), n.content = n.content.replace(
580
580
  new RegExp(
581
581
  typeof t.hideCredentials == "string" ? t.hideCredentials : t.hideCredentials.join("|"),
582
582
  "g"
@@ -584,74 +584,74 @@ const Be = ["innerHTML"], Et = /* @__PURE__ */ w({
584
584
  (l) => `<span class="credentials">${l}</span>`
585
585
  ));
586
586
  });
587
- const s = N(null), p = N(ce[a] ?? ""), i = _(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
588
- V(
587
+ const s = A(null), p = A(pe[a] ?? ""), i = k(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
588
+ U(
589
589
  [() => t.lang, () => t.content, s],
590
590
  () => {
591
- s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", Q(() => c(s.value)));
591
+ s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", ee(() => c(s.value)));
592
592
  },
593
593
  { immediate: !0 }
594
594
  );
595
- const u = /\n(?!$)/g;
596
- return ee(async () => {
597
- let o = "";
598
- t.lineNumbers && z.hooks.add("after-tokenize", (l) => {
599
- const k = l.code.match(u), C = k ? k.length + 1 : 1;
600
- o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
595
+ const m = /\n(?!$)/g;
596
+ return te(async () => {
597
+ let n = "";
598
+ t.lineNumbers && R.hooks.add("after-tokenize", (l) => {
599
+ const E = l.code.match(m), I = E ? E.length + 1 : 1;
600
+ n = `<span aria-hidden="true" class="line-numbers-rows">${new Array(I + 1).join("<span></span>")}</span>`;
601
601
  });
602
- const f = z.highlight(
602
+ const h = R.highlight(
603
603
  O(t.content),
604
- z.languages[i.value],
604
+ R.languages[i.value],
605
605
  i.value
606
606
  );
607
- if (p.value = f + o, e !== 0) {
608
- const l = te();
609
- l.payload.data[a] = f + o;
607
+ if (p.value = h + n, e !== 0) {
608
+ const l = ae();
609
+ l.payload.data[a] = h + n;
610
610
  }
611
- }), F(async () => {
611
+ }), j(async () => {
612
612
  await import("./prism-autoloader-Dlh8Vzlw.js"), d.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
613
- }), (o, f) => (m(), v("pre", {
614
- class: S([
613
+ }), (n, h) => (u(), b("pre", {
614
+ class: y([
615
615
  `scalar-component scalar-codeblock-pre language-${i.value}`,
616
616
  {
617
- "line-numbers": o.lineNumbers
617
+ "line-numbers": n.lineNumbers
618
618
  }
619
619
  ])
620
620
  }, [
621
- p.value ? (m(), v("code", {
621
+ p.value ? (u(), b("code", {
622
622
  key: 0,
623
- class: S(`scalar-codeblock-code language-${i.value}`),
624
- innerHTML: n(O)(p.value)
625
- }, null, 10, Be)) : (m(), v("code", {
623
+ class: y(`scalar-codeblock-code language-${i.value}`),
624
+ innerHTML: o(O)(p.value)
625
+ }, null, 10, Fe)) : (u(), b("code", {
626
626
  key: 1,
627
627
  ref_key: "el",
628
628
  ref: s,
629
- class: S(`scalar-codeblock-code language-${i.value}`)
630
- }, R(n(O)(o.content)), 3))
629
+ class: y(`scalar-codeblock-code language-${i.value}`)
630
+ }, T(o(O)(n.content)), 3))
631
631
  ], 2));
632
632
  }
633
633
  });
634
- function He(r, t = { enabled: N(!0) }) {
635
- const e = N(0), a = N(0), d = N();
634
+ function Ue(r, t = { enabled: A(!0) }) {
635
+ const e = A(0), a = A(0), d = A();
636
636
  return typeof ResizeObserver < "u" && (d.value = new ResizeObserver(([c]) => {
637
637
  var s, p;
638
638
  c && (e.value = ((s = c.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, a.value = ((p = c.borderBoxSize[0]) == null ? void 0 : p.blockSize) ?? 0);
639
- })), V(
639
+ })), U(
640
640
  [() => D(t.enabled), () => D(r)],
641
641
  ([c, s]) => {
642
642
  !s || !d.value || (c ? d.value.observe(s) : d.value.disconnect());
643
643
  },
644
644
  { immediate: !0 }
645
645
  ), {
646
- width: _(
646
+ width: k(
647
647
  () => D(t.enabled) ? `${e.value}px` : void 0
648
648
  ),
649
- height: _(
649
+ height: k(
650
650
  () => D(t.enabled) ? `${a.value}px` : void 0
651
651
  )
652
652
  };
653
653
  }
654
- const K = /* @__PURE__ */ w({
654
+ const B = /* @__PURE__ */ _({
655
655
  inheritAttrs: !1,
656
656
  __name: "ScalarFloating",
657
657
  props: {
@@ -660,50 +660,50 @@ const K = /* @__PURE__ */ w({
660
660
  middleware: {}
661
661
  },
662
662
  setup(r) {
663
- const t = r, e = N(null), a = N(null), d = _(
663
+ const t = r, e = A(null), a = A(null), d = k(
664
664
  () => {
665
- var u, o;
666
- return (((o = (u = a.value) == null ? void 0 : u.children) == null ? void 0 : o[0]) || a.value) ?? void 0;
665
+ var m, n;
666
+ return (((n = (m = a.value) == null ? void 0 : m.children) == null ? void 0 : n[0]) || a.value) ?? void 0;
667
667
  }
668
- ), c = He(d, {
669
- enabled: _(() => t.resize)
670
- }), s = _(
671
- () => B(t.placement || "bottom") === "y" ? c.width.value : void 0
672
- ), p = _(
673
- () => B(t.placement || "bottom") === "x" ? c.height.value : void 0
674
- ), { floatingStyles: i, middlewareData: g } = we(d, e, {
675
- placement: _(() => t.placement),
676
- whileElementsMounted: ke,
677
- middleware: _(() => [
678
- Ee(5),
679
- Ne(),
680
- xe(),
668
+ ), c = Ue(d, {
669
+ enabled: k(() => t.resize)
670
+ }), s = k(
671
+ () => M(t.placement || "bottom") === "y" ? c.width.value : void 0
672
+ ), p = k(
673
+ () => M(t.placement || "bottom") === "x" ? c.height.value : void 0
674
+ ), { floatingStyles: i, middlewareData: g } = Ne(d, e, {
675
+ placement: k(() => t.placement),
676
+ whileElementsMounted: Ae,
677
+ middleware: k(() => [
678
+ Ce(5),
679
+ Ie(),
680
+ Le(),
681
681
  ...t.middleware ?? []
682
682
  ])
683
683
  });
684
- return (u, o) => (m(), v(ae, null, [
685
- h("div", {
684
+ return (m, n) => (u(), b(W, null, [
685
+ f("div", {
686
686
  ref_key: "wrapperRef",
687
687
  ref: a,
688
- class: S({ contents: !!u.$slots.default })
688
+ class: y({ contents: !!m.$slots.default })
689
689
  }, [
690
- b(u.$slots, "default")
690
+ S(m.$slots, "default")
691
691
  ], 2),
692
- h("div", A({
692
+ f("div", C({
693
693
  ref_key: "floatingRef",
694
694
  ref: e,
695
695
  class: "relative z-context",
696
- style: n(i)
697
- }, u.$attrs), [
698
- b(u.$slots, "floating", {
699
- data: n(g),
696
+ style: o(i)
697
+ }, m.$attrs), [
698
+ S(m.$slots, "floating", {
699
+ data: o(g),
700
700
  height: p.value,
701
701
  width: s.value
702
702
  })
703
703
  ], 16)
704
704
  ], 64));
705
705
  }
706
- }), Me = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Nt = /* @__PURE__ */ w({
706
+ }), je = /* @__PURE__ */ f("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Tt = /* @__PURE__ */ _({
707
707
  inheritAttrs: !1,
708
708
  __name: "ScalarDropdown",
709
709
  props: {
@@ -711,28 +711,28 @@ const K = /* @__PURE__ */ w({
711
711
  resize: { type: Boolean }
712
712
  },
713
713
  setup(r) {
714
- return (t, e) => (m(), I(n(pe), null, {
715
- default: y(() => [
716
- x(n(K), {
714
+ return (t, e) => (u(), $(o(ue), null, {
715
+ default: v(() => [
716
+ x(o(B), {
717
717
  placement: t.placement ?? "bottom-start",
718
718
  resize: t.resize
719
719
  }, {
720
- floating: y(({ width: a }) => [
721
- x(n(ue), A({
720
+ floating: v(({ width: a }) => [
721
+ x(o(me), C({
722
722
  class: "relative flex w-56 flex-col p-0.75",
723
723
  style: { width: a }
724
724
  }, t.$attrs), {
725
- default: y(() => [
726
- b(t.$slots, "items"),
727
- Me
725
+ default: v(() => [
726
+ S(t.$slots, "items"),
727
+ je
728
728
  ]),
729
729
  _: 2
730
730
  }, 1040, ["style"])
731
731
  ]),
732
- default: y(() => [
733
- x(n(me), { as: "template" }, {
734
- default: y(() => [
735
- b(t.$slots, "default")
732
+ default: v(() => [
733
+ x(o(ge), { as: "template" }, {
734
+ default: v(() => [
735
+ S(t.$slots, "default")
736
736
  ]),
737
737
  _: 3
738
738
  })
@@ -743,11 +743,11 @@ const K = /* @__PURE__ */ w({
743
743
  _: 3
744
744
  }));
745
745
  }
746
- }), Ge = {}, Ve = { class: "-mx-0.75 my-0.75 h-px bg-border" };
747
- function Fe(r, t) {
748
- return m(), v("div", Ve);
746
+ }), We = {}, Xe = { class: "-mx-0.75 my-0.75 h-px bg-border" };
747
+ function qe(r, t) {
748
+ return u(), b("div", Xe);
749
749
  }
750
- const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
750
+ const zt = /* @__PURE__ */ P(We, [["render", qe]]), Rt = /* @__PURE__ */ _({
751
751
  __name: "ScalarDropdownItem",
752
752
  props: {
753
753
  disabled: { type: Boolean }
@@ -769,23 +769,23 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
769
769
  active: { true: "bg-back-2 text-fore-1" }
770
770
  }
771
771
  });
772
- return (e, a) => (m(), I(n(ge), { disabled: e.disabled }, {
773
- default: y(({ active: d }) => [
774
- h("button", {
775
- class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: d, disabled: e.disabled }))]),
772
+ return (e, a) => (u(), $(o(fe), { disabled: e.disabled }, {
773
+ default: v(({ active: d }) => [
774
+ f("button", {
775
+ class: y(["item", o(w)("scalar-dropdown-item", o(t)({ active: d, disabled: e.disabled }))]),
776
776
  type: "button",
777
777
  onClick: a[0] || (a[0] = (c) => e.$emit("click", c))
778
778
  }, [
779
- b(e.$slots, "default")
779
+ S(e.$slots, "default")
780
780
  ], 2)
781
781
  ]),
782
782
  _: 3
783
783
  }, 8, ["disabled"]));
784
784
  }
785
- }), H = /* @__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-DBLY4PPo.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-CMsTZAgT.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") }), M = (r) => {
785
+ }), V = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-yNxGpRcH.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-D7tW1xQo.js"), "./ArrowRight.svg": () => import("./ArrowRight-DmO-sdb2.js"), "./Background.svg": () => import("./Background-CU9VIbfN.js"), "./Brackets.svg": () => import("./Brackets-CI207-BL.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG.js"), "./CallToAction.svg": () => import("./CallToAction-XLYRSI1h.js"), "./Checkmark.svg": () => import("./Checkmark-DhbrPM0P.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-xHiYwS8Q.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB.js"), "./DarkMode.svg": () => import("./DarkMode-BMR457PH.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2.js"), "./DocsPage.svg": () => import("./DocsPage-Dwx7ZMU9.js"), "./Duplicate.svg": () => import("./Duplicate-DRWEv4R_.js"), "./Edit.svg": () => import("./Edit-Br04RNYb.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx.js"), "./Error.svg": () => import("./Error-C5LiISnw.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7.js"), "./FilterList.svg": () => import("./FilterList-CS8Il7NE.js"), "./Folder.svg": () => import("./Folder-CTvnVSEo.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k.js"), "./Hide.svg": () => import("./Hide-BgcCtErz.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-De3vO47x.js"), "./LightMode.svg": () => import("./LightMode-BeoMphBY.js"), "./Link.svg": () => import("./Link-Bzuc__Nc.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz.js"), "./Logo.svg": () => import("./Logo-DwEDtgj-.js"), "./LogoAPI.svg": () => import("./LogoAPI-CohCfL3L.js"), "./LogoClient.svg": () => import("./LogoClient-Bq5O2QL2.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-DA7CO5gc.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb.js"), "./Play.svg": () => import("./Play-Cd4-o7Ji.js"), "./Refresh.svg": () => import("./Refresh-BHRzzQ8P.js"), "./Response.svg": () => import("./Response-DsTlT4S-.js"), "./Search.svg": () => import("./Search-DqtlswRG.js"), "./Show.svg": () => import("./Show-CbiiMLUa.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-K53-CtXh.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-C7UgT82P.js"), "./Sort.svg": () => import("./Sort-CaVMT7jM.js"), "./Terminal.svg": () => import("./Terminal-DJ7x2McL.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD.js"), "./Unlock.svg": () => import("./Unlock-HVYHMLxl.js"), "./Upload.svg": () => import("./Upload-D_pwqBDY.js"), "./User.svg": () => import("./User-BLGkPc5I.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-Cim7D5tw.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-uqYXn7U6.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-CGxYkVA6.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b.js"), "./programming-language-go.svg": () => import("./programming-language-go-CuKo8iD9.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL.js"), "./programming-language-http.svg": () => import("./programming-language-http-f3NXC-Ae.js"), "./programming-language-java.svg": () => import("./programming-language-java-BBodetdf.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG.js"), "./programming-language-json.svg": () => import("./programming-language-json-Dq_K-q5f.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-eTASnmL3.js"), "./programming-language-node.svg": () => import("./programming-language-node-oucaVOgY.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-CPgQxmNi.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-Q1-Jv5Q5.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-xLOxAYP_.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo.js"), "./programming-language-r.svg": () => import("./programming-language-r-Ch3T1qiC.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-uj1zoCVW.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-CUHv6qR8.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-C-BMJCAo.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g.js") }), G = (r) => {
786
786
  const t = `./${r}.svg`;
787
- return H[t] ? re(H[t]) : (console.warn(`Could not find icon: ${r}`), null);
788
- }, Ue = ["src"], Y = /* @__PURE__ */ w({
787
+ return V[t] ? re(V[t]) : (console.warn(`Could not find icon: ${r}`), null);
788
+ }, Ke = ["src"], H = /* @__PURE__ */ _({
789
789
  __name: "ScalarIcon",
790
790
  props: {
791
791
  icon: {},
@@ -808,16 +808,16 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
808
808
  defaultVariants: {
809
809
  size: "full"
810
810
  }
811
- }), a = M(t.icon);
812
- return (d, c) => n(a) ? (m(), I(U(n(M)(d.icon)), {
811
+ }), a = G(t.icon);
812
+ return (d, c) => o(a) ? (u(), $(X(o(G)(d.icon)), {
813
813
  key: 0,
814
- class: S(n(E)("scalar-icon", n(e)({ size: d.size })))
815
- }, null, 8, ["class"])) : (m(), v("img", {
814
+ class: y(o(w)("scalar-icon", o(e)({ size: d.size })))
815
+ }, null, 8, ["class"])) : (u(), b("img", {
816
816
  key: 1,
817
817
  src: d.icon
818
- }, null, 8, Ue));
818
+ }, null, 8, Ke));
819
819
  }
820
- }), je = ["ariaDisabled"], We = { class: "sr-only" }, Xe = /* @__PURE__ */ w({
820
+ }), Ye = ["ariaDisabled"], Je = { class: "sr-only" }, Ze = /* @__PURE__ */ _({
821
821
  __name: "ScalarIconButton",
822
822
  props: {
823
823
  label: {},
@@ -840,22 +840,106 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
840
840
  disabled: {
841
841
  true: "cursor-not-allowed shadow-none"
842
842
  },
843
- variant: q
843
+ variant: J
844
844
  }
845
- }), e = _(() => {
846
- const { class: a, ...d } = T();
845
+ }), e = k(() => {
846
+ const { class: a, ...d } = z();
847
847
  return { class: a || "", rest: d };
848
848
  });
849
- return (a, d) => (m(), v("button", A(e.value.rest, {
849
+ return (a, d) => (u(), b("button", C(e.value.rest, {
850
850
  ariaDisabled: a.disabled || void 0,
851
- class: n(E)(n(t)({ size: a.size, variant: a.variant, disabled: a.disabled }), e.value.class),
851
+ class: o(w)(o(t)({ size: a.size, variant: a.variant, disabled: a.disabled }), e.value.class),
852
852
  type: "button"
853
853
  }), [
854
- x(n(Y), { icon: a.icon }, null, 8, ["icon"]),
855
- h("span", We, R(a.label), 1)
856
- ], 16, je));
854
+ x(o(H), { icon: a.icon }, null, 8, ["icon"]),
855
+ f("span", Je, T(a.label), 1)
856
+ ], 16, Ye));
857
857
  }
858
- }), It = () => G({
858
+ }), Qe = { class: "inline-block min-w-0 flex-1 truncate" }, et = /* @__PURE__ */ f("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Dt = /* @__PURE__ */ _({
859
+ inheritAttrs: !1,
860
+ __name: "ScalarListbox",
861
+ props: {
862
+ options: {},
863
+ modelValue: {},
864
+ placement: {},
865
+ resize: { type: Boolean }
866
+ },
867
+ emits: ["update:modelValue"],
868
+ setup(r) {
869
+ const t = L({
870
+ base: [
871
+ // Layout
872
+ "flex min-w-0 items-center gap-2 rounded px-2.5 py-1.5 text-left",
873
+ "first-of-type:mt-0.75 last-of-type:mb-0.75",
874
+ // Text / background style
875
+ "truncate bg-transparent text-xs font-medium text-fore-2",
876
+ // Interaction
877
+ "cursor-pointer hover:bg-back-2 hover:text-fore-1"
878
+ ],
879
+ variants: {
880
+ selected: { true: "text-fore-1" },
881
+ active: { true: "bg-back-2 text-fore-1" },
882
+ disabled: { true: "pointer-events-none opacity-50" }
883
+ }
884
+ });
885
+ return (e, a) => (u(), $(o(he), {
886
+ as: "div",
887
+ modelValue: e.modelValue,
888
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => e.$emit("update:modelValue", d))
889
+ }, {
890
+ default: v(() => [
891
+ x(o(B), {
892
+ placement: e.placement ?? "bottom-start",
893
+ resize: e.resize
894
+ }, {
895
+ floating: v(({ width: d }) => [
896
+ x(o(ve), C({
897
+ class: "scalar-component relative flex w-40 flex-col p-0.75",
898
+ style: { width: d }
899
+ }, e.$attrs), {
900
+ default: v(() => [
901
+ (u(!0), b(W, null, se(e.options, (c) => (u(), $(o(be), {
902
+ key: c.id,
903
+ as: "template",
904
+ disabled: c.disabled,
905
+ value: c
906
+ }, {
907
+ default: v(({ active: s, selected: p }) => [
908
+ f("li", {
909
+ class: y(
910
+ o(w)(o(t)({ active: s, selected: p, disabled: c.disabled }))
911
+ )
912
+ }, [
913
+ f("span", Qe, T(c.label), 1),
914
+ p ? (u(), $(o(H), {
915
+ key: 0,
916
+ icon: "Checkmark",
917
+ size: "sm"
918
+ })) : N("", !0)
919
+ ], 2)
920
+ ]),
921
+ _: 2
922
+ }, 1032, ["disabled", "value"]))), 128)),
923
+ et
924
+ ]),
925
+ _: 2
926
+ }, 1040, ["style"])
927
+ ]),
928
+ default: v(() => [
929
+ x(o(Se), { as: "template" }, {
930
+ default: v(() => [
931
+ S(e.$slots, "default")
932
+ ]),
933
+ _: 3
934
+ })
935
+ ]),
936
+ _: 3
937
+ }, 8, ["placement", "resize"])
938
+ ]),
939
+ _: 3
940
+ }, 8, ["modelValue"]));
941
+ }
942
+ }), Ot = () => F({
859
943
  open: !1,
860
944
  show() {
861
945
  this.open = !0;
@@ -863,7 +947,7 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
863
947
  hide() {
864
948
  this.open = !1;
865
949
  }
866
- }), qe = /* @__PURE__ */ w({
950
+ }), tt = /* @__PURE__ */ _({
867
951
  __name: "ScalarModal",
868
952
  props: {
869
953
  state: {},
@@ -892,46 +976,46 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
892
976
  }
893
977
  }
894
978
  });
895
- return (e, a) => (m(), I(n(fe), {
979
+ return (e, a) => (u(), $(o(ye), {
896
980
  open: e.state.open,
897
981
  onClose: a[0] || (a[0] = (d) => e.state.hide())
898
982
  }, {
899
- default: y(() => [
900
- h("div", {
901
- class: S(
902
- n(E)(
983
+ default: v(() => [
984
+ f("div", {
985
+ class: y(
986
+ o(w)(
903
987
  "scalar-modal-layout fixed left-0 top-0",
904
988
  "z-[1001] h-[100dvh] w-[100dvw]",
905
989
  "bg-backdrop p-5 opacity-0"
906
990
  )
907
991
  )
908
992
  }, [
909
- x(n(he), {
910
- class: S(n(t)({ size: e.size, variant: e.variant })),
911
- style: j({ maxWidth: e.maxWidth })
993
+ x(o(_e), {
994
+ class: y(o(t)({ size: e.size, variant: e.variant })),
995
+ style: q({ maxWidth: e.maxWidth })
912
996
  }, {
913
- default: y(() => [
914
- e.title ? (m(), I(n(ve), {
997
+ default: v(() => [
998
+ e.title ? (u(), $(o(ke), {
915
999
  key: 0,
916
- 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" }])
1000
+ class: y(["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" }])
917
1001
  }, {
918
- default: y(() => [
919
- W(R(e.title), 1)
1002
+ default: v(() => [
1003
+ K(T(e.title), 1)
920
1004
  ]),
921
1005
  _: 1
922
- }, 8, ["class"])) : $("", !0),
923
- x(n(be), {
924
- class: S([
1006
+ }, 8, ["class"])) : N("", !0),
1007
+ x(o(we), {
1008
+ class: y([
925
1009
  "scalar-modal-body relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-back-1 px-6 pb-4 pt-6",
926
- n(E)(
1010
+ o(w)(
927
1011
  e.bodyClass,
928
1012
  e.variant === "history" && "pt-3",
929
1013
  e.variant === "search" && "col max-h-[440px] overflow-hidden p-0"
930
1014
  )
931
1015
  ])
932
1016
  }, {
933
- default: y(() => [
934
- b(e.$slots, "default", {}, void 0, !0)
1017
+ default: v(() => [
1018
+ S(e.$slots, "default", {}, void 0, !0)
935
1019
  ]),
936
1020
  _: 3
937
1021
  }, 8, ["class"])
@@ -943,7 +1027,7 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
943
1027
  _: 3
944
1028
  }, 8, ["open"]));
945
1029
  }
946
- }), At = /* @__PURE__ */ P(qe, [["__scopeId", "data-v-ff85ced0"]]), Ke = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Ct = /* @__PURE__ */ w({
1030
+ }), Pt = /* @__PURE__ */ P(tt, [["__scopeId", "data-v-ff85ced0"]]), at = /* @__PURE__ */ f("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Bt = /* @__PURE__ */ _({
947
1031
  inheritAttrs: !1,
948
1032
  __name: "ScalarPopover",
949
1033
  props: {
@@ -951,25 +1035,25 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
951
1035
  resize: { type: Boolean }
952
1036
  },
953
1037
  setup(r) {
954
- return (t, e) => (m(), I(n(Se), null, {
955
- default: y(() => [
956
- x(n(K), se(oe(t.$props)), {
957
- floating: y(({ width: a, height: d }) => [
958
- x(n(ye), A({
1038
+ return (t, e) => (u(), $(o(Ee), null, {
1039
+ default: v(() => [
1040
+ x(o(B), oe(ne(t.$props)), {
1041
+ floating: v(({ width: a, height: d }) => [
1042
+ x(o(xe), C({
959
1043
  class: "relative flex flex-col p-0.75",
960
1044
  style: { width: a, height: d }
961
1045
  }, t.$attrs), {
962
- default: y(() => [
963
- b(t.$slots, "popover"),
964
- Ke
1046
+ default: v(() => [
1047
+ S(t.$slots, "popover"),
1048
+ at
965
1049
  ]),
966
1050
  _: 2
967
1051
  }, 1040, ["style"])
968
1052
  ]),
969
- default: y(() => [
970
- x(n(_e), { as: "template" }, {
971
- default: y(() => [
972
- b(t.$slots, "default")
1053
+ default: v(() => [
1054
+ x(o($e), { as: "template" }, {
1055
+ default: v(() => [
1056
+ S(t.$slots, "default")
973
1057
  ]),
974
1058
  _: 3
975
1059
  })
@@ -980,7 +1064,7 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
980
1064
  _: 3
981
1065
  }));
982
1066
  }
983
- }), Ye = { class: "sr-only" }, Je = ["value"], Tt = /* @__PURE__ */ w({
1067
+ }), rt = { class: "sr-only" }, st = ["value"], Ht = /* @__PURE__ */ _({
984
1068
  inheritAttrs: !1,
985
1069
  __name: "ScalarSearchInput",
986
1070
  props: {
@@ -993,22 +1077,22 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
993
1077
  function a(c) {
994
1078
  e("update:modelValue", c.target.value);
995
1079
  }
996
- const d = _(() => {
997
- const { class: c, ...s } = T();
1080
+ const d = k(() => {
1081
+ const { class: c, ...s } = z();
998
1082
  return { className: c || "", rest: s };
999
1083
  });
1000
- return (c, s) => (m(), v("label", A(d.value.rest, {
1001
- class: n(E)(
1084
+ return (c, s) => (u(), b("label", C(d.value.rest, {
1085
+ class: o(w)(
1002
1086
  "flex rounded border bg-back-1 text-sm font-medium focus-within:border-fore-1",
1003
1087
  d.value.className
1004
1088
  )
1005
1089
  }), [
1006
- h("span", Ye, [
1007
- b(c.$slots, "label", {}, () => [
1008
- W("Enter search")
1090
+ f("span", rt, [
1091
+ S(c.$slots, "label", {}, () => [
1092
+ K("Enter search")
1009
1093
  ])
1010
1094
  ]),
1011
- h("input", {
1095
+ f("input", {
1012
1096
  autocapitalize: "off",
1013
1097
  autocomplete: "off",
1014
1098
  autocorrect: "off",
@@ -1018,49 +1102,49 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
1018
1102
  type: "text",
1019
1103
  value: c.modelValue,
1020
1104
  onInput: a
1021
- }, null, 40, Je),
1022
- c.loading && c.loading.isLoading ? (m(), I(n(X), {
1105
+ }, null, 40, st),
1106
+ c.loading && c.loading.isLoading ? (u(), $(o(Y), {
1023
1107
  key: 0,
1024
1108
  class: "mr-3 self-center",
1025
1109
  loadingState: c.loading,
1026
1110
  size: "20px"
1027
- }, null, 8, ["loadingState"])) : c.modelValue ? (m(), I(n(Xe), {
1111
+ }, null, 8, ["loadingState"])) : c.modelValue ? (u(), $(o(Ze), {
1028
1112
  key: 1,
1029
1113
  class: "self-center",
1030
1114
  icon: "Close",
1031
1115
  label: "Clear Search",
1032
1116
  size: "md",
1033
1117
  onClick: s[0] || (s[0] = (p) => e("update:modelValue", ""))
1034
- })) : $("", !0)
1118
+ })) : N("", !0)
1035
1119
  ], 16));
1036
1120
  }
1037
- }), Ze = /* @__PURE__ */ h("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1038
- /* @__PURE__ */ h("div", { class: "rotate-90 text-lg font-bold" }, ":("),
1039
- /* @__PURE__ */ h("div", { class: "text-sm font-medium text-fore-2" }, "No results found")
1040
- ], -1), Lt = /* @__PURE__ */ w({
1121
+ }), ot = /* @__PURE__ */ f("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1122
+ /* @__PURE__ */ f("div", { class: "rotate-90 text-lg font-bold" }, ":("),
1123
+ /* @__PURE__ */ f("div", { class: "text-sm font-medium text-fore-2" }, "No results found")
1124
+ ], -1), Mt = /* @__PURE__ */ _({
1041
1125
  inheritAttrs: !1,
1042
1126
  __name: "ScalarSearchResultList",
1043
1127
  props: {
1044
1128
  noResults: { type: Boolean }
1045
1129
  },
1046
1130
  setup(r) {
1047
- const t = _(() => {
1048
- const { class: e, ...a } = T();
1131
+ const t = k(() => {
1132
+ const { class: e, ...a } = z();
1049
1133
  return { className: e || "", rest: a };
1050
1134
  });
1051
- return (e, a) => (m(), v("ul", A(t.value.rest, {
1052
- class: n(E)("flex flex-col", t.value.className)
1135
+ return (e, a) => (u(), b("ul", C(t.value.rest, {
1136
+ class: o(w)("flex flex-col", t.value.className)
1053
1137
  }), [
1054
- e.noResults ? b(e.$slots, "noResults", { key: 0 }, () => [
1055
- Ze
1056
- ]) : $("", !0),
1057
- b(e.$slots, "default")
1138
+ e.noResults ? S(e.$slots, "noResults", { key: 0 }, () => [
1139
+ ot
1140
+ ]) : N("", !0),
1141
+ S(e.$slots, "default")
1058
1142
  ], 16));
1059
1143
  }
1060
- }), Qe = { class: "contents" }, et = { class: "text-fore-3 group-hover:text-fore-1" }, tt = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, at = { class: "flex items-center gap-1" }, rt = { class: "flex-1 truncate text-sm font-medium" }, st = {
1144
+ }), nt = { class: "contents" }, it = { class: "text-fore-3 group-hover:text-fore-1" }, lt = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, dt = { class: "flex items-center gap-1" }, ct = { class: "flex-1 truncate text-sm font-medium" }, pt = {
1061
1145
  key: 0,
1062
1146
  class: "text-xs text-fore-2"
1063
- }, ot = { class: "truncate text-xs text-fore-2" }, zt = /* @__PURE__ */ w({
1147
+ }, ut = { class: "truncate text-xs text-fore-2" }, Vt = /* @__PURE__ */ _({
1064
1148
  inheritAttrs: !1,
1065
1149
  __name: "ScalarSearchResultItem",
1066
1150
  props: {
@@ -1068,13 +1152,13 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
1068
1152
  active: { type: Boolean }
1069
1153
  },
1070
1154
  setup(r) {
1071
- const t = _(() => {
1072
- const { class: e, ...a } = T();
1155
+ const t = k(() => {
1156
+ const { class: e, ...a } = z();
1073
1157
  return { className: e || "", rest: a };
1074
1158
  });
1075
- return (e, a) => (m(), v("li", Qe, [
1076
- h("a", A(t.value.rest, {
1077
- class: n(E)(
1159
+ return (e, a) => (u(), b("li", nt, [
1160
+ f("a", C(t.value.rest, {
1161
+ class: o(w)(
1078
1162
  "group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",
1079
1163
  {
1080
1164
  "bg-back-2": e.active
@@ -1082,32 +1166,32 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
1082
1166
  t.value.className
1083
1167
  )
1084
1168
  }), [
1085
- h("div", et, [
1086
- b(e.$slots, "icon", {}, () => [
1087
- e.icon ? (m(), I(n(Y), {
1169
+ f("div", it, [
1170
+ S(e.$slots, "icon", {}, () => [
1171
+ e.icon ? (u(), $(o(H), {
1088
1172
  key: 0,
1089
1173
  icon: e.icon,
1090
1174
  size: "sm"
1091
- }, null, 8, ["icon"])) : $("", !0)
1175
+ }, null, 8, ["icon"])) : N("", !0)
1092
1176
  ])
1093
1177
  ]),
1094
- h("div", tt, [
1095
- h("div", at, [
1096
- h("div", rt, [
1097
- b(e.$slots, "default")
1178
+ f("div", lt, [
1179
+ f("div", dt, [
1180
+ f("div", ct, [
1181
+ S(e.$slots, "default")
1098
1182
  ]),
1099
- e.$slots.addon ? (m(), v("div", st, [
1100
- b(e.$slots, "addon")
1101
- ])) : $("", !0)
1183
+ e.$slots.addon ? (u(), b("div", pt, [
1184
+ S(e.$slots, "addon")
1185
+ ])) : N("", !0)
1102
1186
  ]),
1103
- h("div", ot, [
1104
- b(e.$slots, "description")
1187
+ f("div", ut, [
1188
+ S(e.$slots, "description")
1105
1189
  ])
1106
1190
  ])
1107
1191
  ], 16)
1108
1192
  ]));
1109
1193
  }
1110
- }), nt = { class: "scalar-input-container relative" }, it = ["for"], lt = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, dt = /* @__PURE__ */ w({
1194
+ }), mt = { class: "scalar-input-container relative" }, gt = ["for"], ft = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, ht = /* @__PURE__ */ _({
1111
1195
  __name: "ScalarTextField",
1112
1196
  props: {
1113
1197
  modelValue: {},
@@ -1132,39 +1216,39 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
1132
1216
  },
1133
1217
  error: { true: "scalar-input-wrapper-error border-error" }
1134
1218
  }
1135
- }), c = T(), s = c.id || `id-${Ie()}`, p = N(), i = N(!1);
1219
+ }), c = z(), s = c.id || `id-${ze()}`, p = A(), i = A(!1);
1136
1220
  let g;
1137
1221
  if (e.isMultiline) {
1138
- const { triggerResize: l } = $e({
1222
+ const { triggerResize: l } = Te({
1139
1223
  element: p,
1140
1224
  input: e.modelValue
1141
1225
  });
1142
1226
  g = l;
1143
1227
  }
1144
- function u(l) {
1145
- const k = l.target.value;
1146
- e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : a("update:modelValue", k);
1228
+ function m(l) {
1229
+ const E = l.target.value;
1230
+ e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(E) : a("update:modelValue", E);
1147
1231
  }
1148
- function o(l) {
1149
- const k = l.target, C = e.disableTrim || e.isMultiline ? k.value : k.value.trim();
1150
- e.handleFieldSubmit ? e.handleFieldSubmit(C) : a("submit", C);
1232
+ function n(l) {
1233
+ const E = l.target, I = e.disableTrim || e.isMultiline ? E.value : E.value.trim();
1234
+ e.handleFieldSubmit ? e.handleFieldSubmit(I) : a("submit", I);
1151
1235
  }
1152
- function f(l) {
1153
- i.value = !1, e.emitOnBlur && e.modelValue && o(l);
1236
+ function h(l) {
1237
+ i.value = !1, e.emitOnBlur && e.modelValue && n(l);
1154
1238
  }
1155
- return F(() => {
1239
+ return j(() => {
1156
1240
  var l;
1157
1241
  Object.prototype.hasOwnProperty.call(c, "autofocus") && ((l = p.value) == null || l.focus());
1158
- }), (l, k) => (m(), v("div", nt, [
1159
- h("div", {
1160
- class: S(n(d)({ error: l.error, focus: i.value }))
1242
+ }), (l, E) => (u(), b("div", mt, [
1243
+ f("div", {
1244
+ class: y(o(d)({ error: l.error, focus: i.value }))
1161
1245
  }, [
1162
- (m(), I(U(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1246
+ (u(), $(X(l.isMultiline ? "textarea" : "input"), C({ id: o(s) }, l.$attrs, {
1163
1247
  ref_key: "input",
1164
1248
  ref: p,
1165
1249
  class: [
1166
1250
  "scalar-input",
1167
- n(E)(
1251
+ o(w)(
1168
1252
  { "min-h-[77px]": l.isMultiline },
1169
1253
  "z-10 w-full resize-none appearance-none border-0 bg-transparent p-3 text-sm text-fore-1",
1170
1254
  "outline-none transition-opacity"
@@ -1172,57 +1256,58 @@ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
1172
1256
  ],
1173
1257
  placeholder: l.placeholder,
1174
1258
  value: l.modelValue,
1175
- onBlur: f,
1176
- onFocus: k[0] || (k[0] = (C) => i.value = !0),
1177
- onInput: u,
1178
- onKeyup: ne(o, ["enter"])
1259
+ onBlur: h,
1260
+ onFocus: E[0] || (E[0] = (I) => i.value = !0),
1261
+ onInput: m,
1262
+ onKeyup: ie(n, ["enter"])
1179
1263
  }), null, 16, ["id", "class", "placeholder", "value"])),
1180
- l.label ? (m(), v("label", {
1264
+ l.label ? (u(), b("label", {
1181
1265
  key: 0,
1182
- class: S(
1183
- n(E)(
1266
+ class: y(
1267
+ o(w)(
1184
1268
  "scalar-input-label pointer-events-none absolute left-0 top-0 mx-2 my-3 px-1 text-xs",
1185
1269
  "shadow-current z-10 origin-top-left rounded text-fore-3 transition-transform"
1186
1270
  )
1187
1271
  ),
1188
- for: n(s),
1189
- style: j({
1272
+ for: o(s),
1273
+ style: q({
1190
1274
  "box-shadow": `0 0 4px 4px ${l.labelShadowColor}`,
1191
1275
  "background-color": l.labelShadowColor
1192
1276
  })
1193
- }, R(l.label), 15, it)) : $("", !0),
1194
- h("div", lt, [
1195
- b(l.$slots, "default", {}, void 0, !0)
1277
+ }, T(l.label), 15, gt)) : N("", !0),
1278
+ f("div", ft, [
1279
+ S(l.$slots, "default", {}, void 0, !0)
1196
1280
  ])
1197
1281
  ], 2),
1198
- h("span", {
1199
- class: S(
1200
- n(E)(
1282
+ f("span", {
1283
+ class: y(
1284
+ o(w)(
1201
1285
  "helper-text before:rounded-full mt-1.5 flex items-center text-xs text-error before:font-black",
1202
1286
  "before:mr-1.5 before:block before:h-4 before:w-4 before:text-center before:text-xxs before:leading-4",
1203
1287
  "before:bg-error before:text-white before:content-['!'] empty:hidden"
1204
1288
  )
1205
1289
  )
1206
- }, R(l.helperText), 3)
1290
+ }, T(l.helperText), 3)
1207
1291
  ]));
1208
1292
  }
1209
- }), Rt = /* @__PURE__ */ P(dt, [["__scopeId", "data-v-4fc2339e"]]);
1293
+ }), Gt = /* @__PURE__ */ P(ht, [["__scopeId", "data-v-4fc2339e"]]);
1210
1294
  export {
1211
- kt as ScalarButton,
1212
- Et as ScalarCodeBlock,
1213
- Nt as ScalarDropdown,
1214
- xt as ScalarDropdownDivider,
1215
- $t as ScalarDropdownItem,
1216
- K as ScalarFloating,
1217
- Y as ScalarIcon,
1218
- Xe as ScalarIconButton,
1219
- X as ScalarLoading,
1220
- At as ScalarModal,
1221
- Ct as ScalarPopover,
1222
- Tt as ScalarSearchInput,
1223
- zt as ScalarSearchResultItem,
1224
- Lt as ScalarSearchResultList,
1225
- Rt as ScalarTextField,
1226
- wt as useLoadingState,
1227
- It as useModal
1295
+ It as ScalarButton,
1296
+ Lt as ScalarCodeBlock,
1297
+ Tt as ScalarDropdown,
1298
+ zt as ScalarDropdownDivider,
1299
+ Rt as ScalarDropdownItem,
1300
+ B as ScalarFloating,
1301
+ H as ScalarIcon,
1302
+ Ze as ScalarIconButton,
1303
+ Dt as ScalarListbox,
1304
+ Y as ScalarLoading,
1305
+ Pt as ScalarModal,
1306
+ Bt as ScalarPopover,
1307
+ Ht as ScalarSearchInput,
1308
+ Vt as ScalarSearchResultItem,
1309
+ Mt as ScalarSearchResultList,
1310
+ Gt as ScalarTextField,
1311
+ Ct as useLoadingState,
1312
+ Ot as useModal
1228
1313
  };