@scalar/components 0.7.15 → 0.9.0

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,32 +1,29 @@
1
- import './main.css';
2
- import { defineComponent as w, useCssVars as Q, openBlock as m, createElementBlock as v, normalizeClass as S, unref as n, createElementVNode as h, createCommentVNode as N, createStaticVNode as ee, reactive as j, computed as _, useAttrs as T, mergeProps as A, renderSlot as b, createVNode as I, ref as x, watch as W, nextTick as te, onServerPrefetch as ae, useSSRContext as re, onMounted as X, toDisplayString as z, toValue as D, Fragment as se, createBlock as $, withCtx as y, defineAsyncComponent as oe, resolveDynamicComponent as q, normalizeStyle as K, createTextVNode as Y, normalizeProps as ne, guardReactiveProps as ie, withKeys as le } from "vue";
3
- import { defineConfig as de } from "cva";
4
- import { extendTailwindMerge as ce } from "tailwind-merge";
5
- import { createHash as pe, ssrState as ue } from "@scalar/oas-utils";
6
- import R from "prismjs";
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 ye, Popover as _e, PopoverPanel as we, PopoverButton as ke } from "@headlessui/vue";
8
- import { getSideAxis as V } from "@floating-ui/utils";
9
- import { useFloating as Ee, autoUpdate as xe, offset as Ie, flip as Ne, shift as $e } from "@floating-ui/vue";
10
- import { useTextareaAutosize as Ae } from "@vueuse/core";
11
- import { nanoid as Ce } from "nanoid";
12
- const B = "scalar-component", Te = ce({
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({
13
12
  extend: {
14
13
  classGroups: {
15
- "font-size": ["text-xxs"],
16
- // Add the scalar class prefix as a custom class to be deduped by tailwind-merge
17
- [B]: [B]
14
+ "font-size": ["text-xxs"]
18
15
  }
19
16
  }
20
- }), { cva: L, cx: E, compose: Lt } = de({
17
+ }), { cva: L, cx: E, compose: _t } = ie({
21
18
  hooks: {
22
- onComplete: (a) => `${Te(a, B)}`
19
+ onComplete: (r) => Ae(r)
23
20
  }
24
- }), Le = /* @__PURE__ */ ee('<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), Re = {
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 = {
25
22
  key: 0,
26
23
  class: "circular-loader"
27
24
  };
28
- function Rt() {
29
- return j({
25
+ function wt() {
26
+ return G({
30
27
  isValid: !1,
31
28
  isInvalid: !1,
32
29
  isLoading: !1,
@@ -36,37 +33,37 @@ function Rt() {
36
33
  stopLoading() {
37
34
  this.isLoading = !1;
38
35
  },
39
- validate(a = 800) {
36
+ validate(r = 800) {
40
37
  this.isValid = !0;
41
- const t = a - 300;
38
+ const t = r - 300;
42
39
  return new Promise(
43
40
  (e) => setTimeout(() => this.clear().then(() => e(!0)), t)
44
41
  );
45
42
  },
46
- invalidate(a = 1100) {
43
+ invalidate(r = 1100) {
47
44
  this.isInvalid = !0;
48
- const t = a - 300;
45
+ const t = r - 300;
49
46
  return new Promise(
50
47
  (e) => setTimeout(() => this.clear().then(() => e(!0)), t)
51
48
  );
52
49
  },
53
- clear(a = 300) {
50
+ clear(r = 300) {
54
51
  return this.isValid = !1, this.isInvalid = !1, this.isLoading = !1, new Promise((t) => {
55
52
  setTimeout(() => {
56
53
  t(!0);
57
- }, a);
54
+ }, r);
58
55
  });
59
56
  }
60
57
  });
61
58
  }
62
- const ze = /* @__PURE__ */ w({
59
+ const Le = /* @__PURE__ */ w({
63
60
  __name: "ScalarLoading",
64
61
  props: {
65
62
  loadingState: {},
66
63
  size: { default: "24px" }
67
64
  },
68
- setup(a) {
69
- return Q((t) => ({
65
+ setup(r) {
66
+ return J((t) => ({
70
67
  d6cae758: t.size
71
68
  })), (t, e) => t.loadingState ? (m(), v("div", {
72
69
  key: 0,
@@ -81,8 +78,8 @@ const ze = /* @__PURE__ */ w({
81
78
  xmlns: "http://www.w3.org/2000/svg",
82
79
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
83
80
  }, [
84
- Le,
85
- t.loadingState.isLoading ? (m(), v("g", Re, [
81
+ Ce,
82
+ t.loadingState.isLoading ? (m(), v("g", Te, [
86
83
  h("circle", {
87
84
  class: S(["loader-path", {
88
85
  "loader-path-off": t.loadingState.isValid || t.loadingState.isInvalid
@@ -93,16 +90,16 @@ const ze = /* @__PURE__ */ w({
93
90
  r: "20",
94
91
  "stroke-width": "2"
95
92
  }, null, 2)
96
- ])) : N("", !0)
93
+ ])) : $("", !0)
97
94
  ], 2))
98
- ], 2)) : N("", !0);
95
+ ], 2)) : $("", !0);
99
96
  }
100
- }), O = (a, t) => {
101
- const e = a.__vccOpts || a;
102
- for (const [r, d] of t)
103
- e[r] = d;
97
+ }), P = (r, t) => {
98
+ const e = r.__vccOpts || r;
99
+ for (const [a, d] of t)
100
+ e[a] = d;
104
101
  return e;
105
- }, M = /* @__PURE__ */ O(ze, [["__scopeId", "data-v-47faceda"]]), J = {
102
+ }, X = /* @__PURE__ */ P(Le, [["__scopeId", "data-v-47faceda"]]), q = {
106
103
  solid: [
107
104
  "scalar-button-solid",
108
105
  "bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
@@ -119,7 +116,7 @@ const ze = /* @__PURE__ */ w({
119
116
  "scalar-button-danger",
120
117
  "bg-error text-white active:brightness-90 hocus:brightness-90"
121
118
  ]
122
- }, De = L({
119
+ }, ze = L({
123
120
  base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
124
121
  variants: {
125
122
  disabled: {
@@ -127,7 +124,7 @@ const ze = /* @__PURE__ */ w({
127
124
  },
128
125
  fullWidth: { true: "w-full" },
129
126
  size: { sm: "px-2 py-1 text-xs", md: "h-10 px-6 text-sm" },
130
- variant: J
127
+ variant: q
131
128
  },
132
129
  compoundVariants: [
133
130
  {
@@ -136,13 +133,13 @@ const ze = /* @__PURE__ */ w({
136
133
  class: "bg-transparent text-ghost"
137
134
  }
138
135
  ]
139
- }), Pe = ["ariaDisabled", "type"], Oe = {
136
+ }), Re = ["ariaDisabled", "type"], De = {
140
137
  key: 0,
141
138
  class: "mr-2 h-4 w-4"
142
- }, Be = {
139
+ }, Oe = {
143
140
  key: 1,
144
141
  class: "ml-2"
145
- }, Me = /* @__PURE__ */ w({
142
+ }, kt = /* @__PURE__ */ w({
146
143
  inheritAttrs: !1,
147
144
  __name: "ScalarButton",
148
145
  props: {
@@ -153,34 +150,34 @@ const ze = /* @__PURE__ */ w({
153
150
  variant: { default: "solid" },
154
151
  type: { default: "button" }
155
152
  },
156
- setup(a) {
153
+ setup(r) {
157
154
  const t = _(() => {
158
- const { class: e, ...r } = T();
159
- return { class: e || "", rest: r };
155
+ const { class: e, ...a } = T();
156
+ return { class: e || "", rest: a };
160
157
  });
161
- return (e, r) => (m(), v("button", A(t.value.rest, {
158
+ return (e, a) => (m(), v("button", A(t.value.rest, {
162
159
  ariaDisabled: e.disabled || void 0,
163
160
  class: n(E)(
164
- n(De)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
161
+ n(ze)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
165
162
  { "pl-9 pr-3": e.loading },
166
163
  `${t.value.class}`
167
164
  ),
168
165
  type: e.type
169
166
  }), [
170
- e.$slots.icon ? (m(), v("div", Oe, [
167
+ e.$slots.icon ? (m(), v("div", De, [
171
168
  b(e.$slots, "icon")
172
- ])) : N("", !0),
169
+ ])) : $("", !0),
173
170
  b(e.$slots, "default"),
174
- e.loading ? (m(), v("div", Be, [
175
- I(n(M), {
171
+ e.loading ? (m(), v("div", Oe, [
172
+ x(n(X), {
176
173
  loadingState: e.loading,
177
174
  size: "20px"
178
175
  }, null, 8, ["loadingState"])
179
- ])) : N("", !0)
180
- ], 16, Pe));
176
+ ])) : $("", !0)
177
+ ], 16, Re));
181
178
  }
182
179
  });
183
- (function(a) {
180
+ (function(r) {
184
181
  var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", e = {
185
182
  pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
186
183
  lookbehind: !0,
@@ -188,7 +185,7 @@ const ze = /* @__PURE__ */ w({
188
185
  // this looks reasonably well in all themes
189
186
  inside: null
190
187
  // see below
191
- }, r = {
188
+ }, a = {
192
189
  bash: e,
193
190
  environment: {
194
191
  pattern: RegExp("\\$" + t),
@@ -242,7 +239,7 @@ const ze = /* @__PURE__ */ w({
242
239
  // Escape sequences from echo and printf's manuals, and escaped quotes.
243
240
  entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
244
241
  };
245
- a.languages.bash = {
242
+ r.languages.bash = {
246
243
  shebang: {
247
244
  pattern: /^#!\s*\/.*/,
248
245
  alias: "important"
@@ -300,7 +297,7 @@ const ze = /* @__PURE__ */ w({
300
297
  pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
301
298
  lookbehind: !0,
302
299
  greedy: !0,
303
- inside: r
300
+ inside: a
304
301
  },
305
302
  // Here-document with quotes around the tag
306
303
  // → No expansion (so no “inside”).
@@ -318,7 +315,7 @@ const ze = /* @__PURE__ */ w({
318
315
  pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
319
316
  lookbehind: !0,
320
317
  greedy: !0,
321
- inside: r
318
+ inside: a
322
319
  },
323
320
  {
324
321
  // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
@@ -331,7 +328,7 @@ const ze = /* @__PURE__ */ w({
331
328
  pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
332
329
  greedy: !0,
333
330
  inside: {
334
- entity: r.entity
331
+ entity: a.entity
335
332
  }
336
333
  }
337
334
  ],
@@ -339,7 +336,7 @@ const ze = /* @__PURE__ */ w({
339
336
  pattern: RegExp("\\$?" + t),
340
337
  alias: "constant"
341
338
  },
342
- variable: r.variable,
339
+ variable: a.variable,
343
340
  function: {
344
341
  pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
345
342
  lookbehind: !0
@@ -378,7 +375,7 @@ const ze = /* @__PURE__ */ w({
378
375
  pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
379
376
  lookbehind: !0
380
377
  }
381
- }, e.inside = a.languages.bash;
378
+ }, e.inside = r.languages.bash;
382
379
  for (var d = [
383
380
  "comment",
384
381
  "function-name",
@@ -395,9 +392,9 @@ const ze = /* @__PURE__ */ w({
395
392
  "operator",
396
393
  "punctuation",
397
394
  "number"
398
- ], c = r.variable[1].inside, s = 0; s < d.length; s++)
399
- c[d[s]] = a.languages.bash[d[s]];
400
- a.languages.sh = a.languages.bash, a.languages.shell = a.languages.bash;
395
+ ], c = a.variable[1].inside, s = 0; s < d.length; s++)
396
+ c[d[s]] = r.languages.bash[d[s]];
397
+ r.languages.sh = r.languages.bash, r.languages.shell = r.languages.bash;
401
398
  })(Prism);
402
399
  Prism.languages.json = {
403
400
  property: {
@@ -427,7 +424,7 @@ Prism.languages.webmanifest = Prism.languages.json;
427
424
  (function() {
428
425
  if (typeof Prism > "u" || typeof document > "u")
429
426
  return;
430
- var a = "line-numbers", t = /\n(?!$)/g, e = Prism.plugins.lineNumbers = {
427
+ var r = "line-numbers", t = /\n(?!$)/g, e = Prism.plugins.lineNumbers = {
431
428
  /**
432
429
  * Get node for provided line number
433
430
  *
@@ -436,7 +433,7 @@ Prism.languages.webmanifest = Prism.languages.json;
436
433
  * @returns {Element|undefined}
437
434
  */
438
435
  getLine: function(s, p) {
439
- if (!(s.tagName !== "PRE" || !s.classList.contains(a))) {
436
+ if (!(s.tagName !== "PRE" || !s.classList.contains(r))) {
440
437
  var i = s.querySelector(".line-numbers-rows");
441
438
  if (i) {
442
439
  var g = parseInt(s.getAttribute("data-start"), 10) || 1, u = g + (i.children.length - 1);
@@ -455,7 +452,7 @@ Prism.languages.webmanifest = Prism.languages.json;
455
452
  * @returns {void}
456
453
  */
457
454
  resize: function(s) {
458
- r([s]);
455
+ a([s]);
459
456
  },
460
457
  /**
461
458
  * Whether the plugin can assume that the units font sizes and margins are not depended on the size of
@@ -469,7 +466,7 @@ Prism.languages.webmanifest = Prism.languages.json;
469
466
  */
470
467
  assumeViewportIndependence: !0
471
468
  };
472
- function r(s) {
469
+ function a(s) {
473
470
  if (s = s.filter(function(i) {
474
471
  var g = d(i), u = g["white-space"];
475
472
  return u === "pre-wrap" || u === "pre-line";
@@ -514,7 +511,7 @@ Prism.languages.webmanifest = Prism.languages.json;
514
511
  }
515
512
  var c = void 0;
516
513
  window.addEventListener("resize", function() {
517
- e.assumeViewportIndependence && c === window.innerWidth || (c = window.innerWidth, r(Array.prototype.slice.call(document.querySelectorAll("pre." + a))));
514
+ e.assumeViewportIndependence && c === window.innerWidth || (c = window.innerWidth, a(Array.prototype.slice.call(document.querySelectorAll("pre." + r))));
518
515
  }), Prism.hooks.add("complete", function(s) {
519
516
  if (s.code) {
520
517
  var p = (
@@ -524,43 +521,43 @@ Prism.languages.webmanifest = Prism.languages.json;
524
521
  /** @type {HTMLElement} */
525
522
  p.parentNode
526
523
  );
527
- if (!(!i || !/pre/i.test(i.nodeName)) && !p.querySelector(".line-numbers-rows") && Prism.util.isActive(p, a)) {
528
- p.classList.remove(a), i.classList.add(a);
524
+ if (!(!i || !/pre/i.test(i.nodeName)) && !p.querySelector(".line-numbers-rows") && Prism.util.isActive(p, r)) {
525
+ p.classList.remove(r), i.classList.add(r);
529
526
  var g = s.code.match(t), u = g ? g.length + 1 : 1, o, f = new Array(u + 1).join("<span></span>");
530
- o = document.createElement("span"), o.setAttribute("aria-hidden", "true"), o.className = "line-numbers-rows", o.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(o), r([i]), Prism.hooks.run("line-numbers", s);
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);
531
528
  }
532
529
  }
533
530
  }), Prism.hooks.add("line-numbers", function(s) {
534
531
  s.plugins = s.plugins || {}, s.plugins.lineNumbers = !0;
535
532
  });
536
533
  })();
537
- function He(a) {
534
+ function Pe(r) {
538
535
  const t = /* @__PURE__ */ new Set();
539
536
  return JSON.stringify(
540
- a,
541
- (e, r) => {
542
- if (typeof r == "object" && r !== null) {
543
- if (t.has(r))
537
+ r,
538
+ (e, a) => {
539
+ if (typeof a == "object" && a !== null) {
540
+ if (t.has(a))
544
541
  return "[Circular]";
545
- t.add(r);
542
+ t.add(a);
546
543
  }
547
- return r;
544
+ return a;
548
545
  },
549
546
  2
550
547
  );
551
548
  }
552
- function P(a) {
553
- if (typeof a == "string")
554
- return a;
555
- if (typeof a == "object")
549
+ function O(r) {
550
+ if (typeof r == "string")
551
+ return r;
552
+ if (typeof r == "object")
556
553
  try {
557
- return JSON.stringify(a, null, 2);
554
+ return JSON.stringify(r, null, 2);
558
555
  } catch {
559
- return He(a);
556
+ return Pe(r);
560
557
  }
561
- return a;
558
+ return r;
562
559
  }
563
- const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
560
+ const Be = ["innerHTML"], Et = /* @__PURE__ */ w({
564
561
  __name: "ScalarCodeBlock",
565
562
  props: {
566
563
  content: {},
@@ -568,9 +565,9 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
568
565
  lineNumbers: { type: Boolean, default: !1 },
569
566
  hideCredentials: {}
570
567
  },
571
- setup(a) {
572
- const t = a, e = pe(P(t.content)), r = `components-scalar-code-block${e}`, { plugins: d, highlightElement: c } = R;
573
- t.hideCredentials && R.hooks.add("wrap", function(o) {
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) {
574
571
  if (!t.hideCredentials)
575
572
  return;
576
573
  let f = !1;
@@ -587,31 +584,31 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
587
584
  (l) => `<span class="credentials">${l}</span>`
588
585
  ));
589
586
  });
590
- const s = x(null), p = x(ue[r] ?? ""), i = _(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
591
- W(
587
+ const s = N(null), p = N(ce[a] ?? ""), i = _(() => t.lang === "node" ? "js" : t.lang), g = t.lang;
588
+ V(
592
589
  [() => t.lang, () => t.content, s],
593
590
  () => {
594
- s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", te(() => c(s.value)));
591
+ s.value && t.content && (!p.value || t.lang !== g) && (p.value = "", Q(() => c(s.value)));
595
592
  },
596
593
  { immediate: !0 }
597
594
  );
598
595
  const u = /\n(?!$)/g;
599
- return ae(async () => {
596
+ return ee(async () => {
600
597
  let o = "";
601
- t.lineNumbers && R.hooks.add("after-tokenize", (l) => {
598
+ t.lineNumbers && z.hooks.add("after-tokenize", (l) => {
602
599
  const k = l.code.match(u), C = k ? k.length + 1 : 1;
603
600
  o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C + 1).join("<span></span>")}</span>`;
604
601
  });
605
- const f = R.highlight(
606
- P(t.content),
607
- R.languages[i.value],
602
+ const f = z.highlight(
603
+ O(t.content),
604
+ z.languages[i.value],
608
605
  i.value
609
606
  );
610
607
  if (p.value = f + o, e !== 0) {
611
- const l = re();
612
- l.payload.data[r] = f + o;
608
+ const l = te();
609
+ l.payload.data[a] = f + o;
613
610
  }
614
- }), X(async () => {
611
+ }), F(async () => {
615
612
  await import("./prism-autoloader-Dlh8Vzlw.js"), d.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
616
613
  }), (o, f) => (m(), v("pre", {
617
614
  class: S([
@@ -624,23 +621,23 @@ const Ge = ["innerHTML"], zt = /* @__PURE__ */ w({
624
621
  p.value ? (m(), v("code", {
625
622
  key: 0,
626
623
  class: S(`scalar-codeblock-code language-${i.value}`),
627
- innerHTML: n(P)(p.value)
628
- }, null, 10, Ge)) : (m(), v("code", {
624
+ innerHTML: n(O)(p.value)
625
+ }, null, 10, Be)) : (m(), v("code", {
629
626
  key: 1,
630
627
  ref_key: "el",
631
628
  ref: s,
632
629
  class: S(`scalar-codeblock-code language-${i.value}`)
633
- }, z(n(P)(o.content)), 3))
630
+ }, R(n(O)(o.content)), 3))
634
631
  ], 2));
635
632
  }
636
633
  });
637
- function Ve(a, t = { enabled: x(!0) }) {
638
- const e = x(0), r = x(0), d = x();
634
+ function He(r, t = { enabled: N(!0) }) {
635
+ const e = N(0), a = N(0), d = N();
639
636
  return typeof ResizeObserver < "u" && (d.value = new ResizeObserver(([c]) => {
640
637
  var s, p;
641
- c && (e.value = ((s = c.borderBoxSize[0]) == null ? void 0 : s.inlineSize) ?? 0, r.value = ((p = c.borderBoxSize[0]) == null ? void 0 : p.blockSize) ?? 0);
642
- })), W(
643
- [() => D(t.enabled), () => D(a)],
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(
640
+ [() => D(t.enabled), () => D(r)],
644
641
  ([c, s]) => {
645
642
  !s || !d.value || (c ? d.value.observe(s) : d.value.disconnect());
646
643
  },
@@ -650,11 +647,11 @@ function Ve(a, t = { enabled: x(!0) }) {
650
647
  () => D(t.enabled) ? `${e.value}px` : void 0
651
648
  ),
652
649
  height: _(
653
- () => D(t.enabled) ? `${r.value}px` : void 0
650
+ () => D(t.enabled) ? `${a.value}px` : void 0
654
651
  )
655
652
  };
656
653
  }
657
- const H = /* @__PURE__ */ w({
654
+ const K = /* @__PURE__ */ w({
658
655
  inheritAttrs: !1,
659
656
  __name: "ScalarFloating",
660
657
  props: {
@@ -662,40 +659,40 @@ const H = /* @__PURE__ */ w({
662
659
  resize: { type: Boolean },
663
660
  middleware: {}
664
661
  },
665
- setup(a) {
666
- const t = a, e = x(null), r = x(null), d = _(
662
+ setup(r) {
663
+ const t = r, e = N(null), a = N(null), d = _(
667
664
  () => {
668
665
  var u, o;
669
- return (((o = (u = r.value) == null ? void 0 : u.children) == null ? void 0 : o[0]) || r.value) ?? void 0;
666
+ return (((o = (u = a.value) == null ? void 0 : u.children) == null ? void 0 : o[0]) || a.value) ?? void 0;
670
667
  }
671
- ), c = Ve(d, {
668
+ ), c = He(d, {
672
669
  enabled: _(() => t.resize)
673
670
  }), s = _(
674
- () => V(t.placement || "bottom") === "y" ? c.width.value : void 0
671
+ () => B(t.placement || "bottom") === "y" ? c.width.value : void 0
675
672
  ), p = _(
676
- () => V(t.placement || "bottom") === "x" ? c.height.value : void 0
677
- ), { floatingStyles: i, middlewareData: g } = Ee(d, e, {
673
+ () => B(t.placement || "bottom") === "x" ? c.height.value : void 0
674
+ ), { floatingStyles: i, middlewareData: g } = we(d, e, {
678
675
  placement: _(() => t.placement),
679
- whileElementsMounted: xe,
676
+ whileElementsMounted: ke,
680
677
  middleware: _(() => [
681
- Ie(5),
678
+ Ee(5),
682
679
  Ne(),
683
- $e(),
680
+ xe(),
684
681
  ...t.middleware ?? []
685
682
  ])
686
683
  });
687
- return (u, o) => (m(), v(se, null, [
684
+ return (u, o) => (m(), v(ae, null, [
688
685
  h("div", {
689
686
  ref_key: "wrapperRef",
690
- ref: r,
691
- class: S(["scalar-component", { contents: !!u.$slots.default }])
687
+ ref: a,
688
+ class: S({ contents: !!u.$slots.default })
692
689
  }, [
693
690
  b(u.$slots, "default")
694
691
  ], 2),
695
692
  h("div", A({
696
693
  ref_key: "floatingRef",
697
694
  ref: e,
698
- class: "scalar-component relative z-context",
695
+ class: "relative z-context",
699
696
  style: n(i)
700
697
  }, u.$attrs), [
701
698
  b(u.$slots, "floating", {
@@ -706,34 +703,34 @@ const H = /* @__PURE__ */ w({
706
703
  ], 16)
707
704
  ], 64));
708
705
  }
709
- }), Fe = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Ue = /* @__PURE__ */ w({
706
+ }), Me = /* @__PURE__ */ h("div", { class: "absolute inset-0 -z-1 rounded bg-back-1 shadow-md brightness-lifted" }, null, -1), Nt = /* @__PURE__ */ w({
710
707
  inheritAttrs: !1,
711
708
  __name: "ScalarDropdown",
712
709
  props: {
713
710
  placement: {},
714
711
  resize: { type: Boolean }
715
712
  },
716
- setup(a) {
717
- return (t, e) => (m(), $(n(me), null, {
713
+ setup(r) {
714
+ return (t, e) => (m(), I(n(pe), null, {
718
715
  default: y(() => [
719
- I(n(H), {
716
+ x(n(K), {
720
717
  placement: t.placement ?? "bottom-start",
721
718
  resize: t.resize
722
719
  }, {
723
- floating: y(({ width: r }) => [
724
- I(n(ge), A({
725
- class: "scalar-component relative flex w-56 flex-col p-0.75",
726
- style: { width: r }
720
+ floating: y(({ width: a }) => [
721
+ x(n(ue), A({
722
+ class: "relative flex w-56 flex-col p-0.75",
723
+ style: { width: a }
727
724
  }, t.$attrs), {
728
725
  default: y(() => [
729
726
  b(t.$slots, "items"),
730
- Fe
727
+ Me
731
728
  ]),
732
729
  _: 2
733
730
  }, 1040, ["style"])
734
731
  ]),
735
732
  default: y(() => [
736
- I(n(fe), { as: "template" }, {
733
+ x(n(me), { as: "template" }, {
737
734
  default: y(() => [
738
735
  b(t.$slots, "default")
739
736
  ]),
@@ -746,17 +743,17 @@ const H = /* @__PURE__ */ w({
746
743
  _: 3
747
744
  }));
748
745
  }
749
- }), je = {}, We = { class: "-mx-0.75 my-0.75 h-px bg-border" };
750
- function Xe(a, t) {
751
- return m(), v("div", We);
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);
752
749
  }
753
- const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
750
+ const xt = /* @__PURE__ */ P(Ge, [["render", Fe]]), $t = /* @__PURE__ */ w({
754
751
  __name: "ScalarDropdownItem",
755
752
  props: {
756
753
  disabled: { type: Boolean }
757
754
  },
758
755
  emits: ["click"],
759
- setup(a) {
756
+ setup(r) {
760
757
  const t = L({
761
758
  base: [
762
759
  // Layout
@@ -772,12 +769,12 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
772
769
  active: { true: "bg-back-2 text-fore-1" }
773
770
  }
774
771
  });
775
- return (e, r) => (m(), $(n(he), { disabled: e.disabled }, {
772
+ return (e, a) => (m(), I(n(ge), { disabled: e.disabled }, {
776
773
  default: y(({ active: d }) => [
777
774
  h("button", {
778
775
  class: S(["item", n(E)("scalar-dropdown-item", n(t)({ active: d, disabled: e.disabled }))]),
779
776
  type: "button",
780
- onClick: r[0] || (r[0] = (c) => e.$emit("click", c))
777
+ onClick: a[0] || (a[0] = (c) => e.$emit("click", c))
781
778
  }, [
782
779
  b(e.$slots, "default")
783
780
  ], 2)
@@ -785,17 +782,17 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
785
782
  _: 3
786
783
  }, 8, ["disabled"]));
787
784
  }
788
- }), F = /* @__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") }), U = (a) => {
789
- const t = `./${a}.svg`;
790
- return F[t] ? oe(F[t]) : (console.warn(`Could not find icon: ${a}`), null);
791
- }, Ye = ["src"], G = /* @__PURE__ */ w({
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) => {
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({
792
789
  __name: "ScalarIcon",
793
790
  props: {
794
791
  icon: {},
795
792
  size: {}
796
793
  },
797
- setup(a) {
798
- const t = a, e = L({
794
+ setup(r) {
795
+ const t = r, e = L({
799
796
  variants: {
800
797
  size: {
801
798
  xs: "size-3 stroke-[1.4]",
@@ -811,16 +808,16 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
811
808
  defaultVariants: {
812
809
  size: "full"
813
810
  }
814
- }), r = U(t.icon);
815
- return (d, c) => n(r) ? (m(), $(q(n(U)(d.icon)), {
811
+ }), a = M(t.icon);
812
+ return (d, c) => n(a) ? (m(), I(U(n(M)(d.icon)), {
816
813
  key: 0,
817
814
  class: S(n(E)("scalar-icon", n(e)({ size: d.size })))
818
815
  }, null, 8, ["class"])) : (m(), v("img", {
819
816
  key: 1,
820
817
  src: d.icon
821
- }, null, 8, Ye));
818
+ }, null, 8, Ue));
822
819
  }
823
- }), Je = ["ariaDisabled"], Ze = { class: "sr-only" }, Z = /* @__PURE__ */ w({
820
+ }), je = ["ariaDisabled"], We = { class: "sr-only" }, Xe = /* @__PURE__ */ w({
824
821
  __name: "ScalarIconButton",
825
822
  props: {
826
823
  label: {},
@@ -829,7 +826,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
829
826
  variant: { default: "ghost" },
830
827
  size: { default: "md" }
831
828
  },
832
- setup(a) {
829
+ setup(r) {
833
830
  const t = L({
834
831
  base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
835
832
  variants: {
@@ -843,22 +840,22 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
843
840
  disabled: {
844
841
  true: "cursor-not-allowed shadow-none"
845
842
  },
846
- variant: J
843
+ variant: q
847
844
  }
848
845
  }), e = _(() => {
849
- const { class: r, ...d } = T();
850
- return { class: r || "", rest: d };
846
+ const { class: a, ...d } = T();
847
+ return { class: a || "", rest: d };
851
848
  });
852
- return (r, d) => (m(), v("button", A(e.value.rest, {
853
- ariaDisabled: r.disabled || void 0,
854
- class: n(E)(n(t)({ size: r.size, variant: r.variant, disabled: r.disabled }), e.value.class),
849
+ return (a, d) => (m(), v("button", A(e.value.rest, {
850
+ ariaDisabled: a.disabled || void 0,
851
+ class: n(E)(n(t)({ size: a.size, variant: a.variant, disabled: a.disabled }), e.value.class),
855
852
  type: "button"
856
853
  }), [
857
- I(n(G), { icon: r.icon }, null, 8, ["icon"]),
858
- h("span", Ze, z(r.label), 1)
859
- ], 16, Je));
854
+ x(n(Y), { icon: a.icon }, null, 8, ["icon"]),
855
+ h("span", We, R(a.label), 1)
856
+ ], 16, je));
860
857
  }
861
- }), Dt = () => j({
858
+ }), It = () => G({
862
859
  open: !1,
863
860
  show() {
864
861
  this.open = !0;
@@ -866,7 +863,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
866
863
  hide() {
867
864
  this.open = !1;
868
865
  }
869
- }), Qe = /* @__PURE__ */ w({
866
+ }), qe = /* @__PURE__ */ w({
870
867
  __name: "ScalarModal",
871
868
  props: {
872
869
  state: {},
@@ -876,7 +873,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
876
873
  size: { default: "md" },
877
874
  variant: {}
878
875
  },
879
- setup(a) {
876
+ setup(r) {
880
877
  const t = L({
881
878
  base: [
882
879
  "scalar-modal",
@@ -895,9 +892,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
895
892
  }
896
893
  }
897
894
  });
898
- return (e, r) => (m(), $(n(ve), {
895
+ return (e, a) => (m(), I(n(fe), {
899
896
  open: e.state.open,
900
- onClose: r[0] || (r[0] = (d) => e.state.hide())
897
+ onClose: a[0] || (a[0] = (d) => e.state.hide())
901
898
  }, {
902
899
  default: y(() => [
903
900
  h("div", {
@@ -909,21 +906,21 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
909
906
  )
910
907
  )
911
908
  }, [
912
- I(n(be), {
909
+ x(n(he), {
913
910
  class: S(n(t)({ size: e.size, variant: e.variant })),
914
- style: K({ maxWidth: e.maxWidth })
911
+ style: j({ maxWidth: e.maxWidth })
915
912
  }, {
916
913
  default: y(() => [
917
- e.title ? (m(), $(n(Se), {
914
+ e.title ? (m(), I(n(ve), {
918
915
  key: 0,
919
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" }])
920
917
  }, {
921
918
  default: y(() => [
922
- Y(z(e.title), 1)
919
+ W(R(e.title), 1)
923
920
  ]),
924
921
  _: 1
925
- }, 8, ["class"])) : N("", !0),
926
- I(n(ye), {
922
+ }, 8, ["class"])) : $("", !0),
923
+ x(n(be), {
927
924
  class: S([
928
925
  "scalar-modal-body relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-back-1 px-6 pb-4 pt-6",
929
926
  n(E)(
@@ -946,31 +943,31 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
946
943
  _: 3
947
944
  }, 8, ["open"]));
948
945
  }
949
- }), et = /* @__PURE__ */ O(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({
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({
950
947
  inheritAttrs: !1,
951
948
  __name: "ScalarPopover",
952
949
  props: {
953
950
  placement: {},
954
951
  resize: { type: Boolean }
955
952
  },
956
- setup(a) {
957
- return (t, e) => (m(), $(n(_e), null, {
953
+ setup(r) {
954
+ return (t, e) => (m(), I(n(Se), null, {
958
955
  default: y(() => [
959
- I(n(H), ne(ie(t.$props)), {
960
- floating: y(({ width: r, height: d }) => [
961
- I(n(we), A({
962
- class: "scalar-component relative flex flex-col p-0.75",
963
- style: { width: r, height: d }
956
+ x(n(K), se(oe(t.$props)), {
957
+ floating: y(({ width: a, height: d }) => [
958
+ x(n(ye), A({
959
+ class: "relative flex flex-col p-0.75",
960
+ style: { width: a, height: d }
964
961
  }, t.$attrs), {
965
962
  default: y(() => [
966
963
  b(t.$slots, "popover"),
967
- tt
964
+ Ke
968
965
  ]),
969
966
  _: 2
970
967
  }, 1040, ["style"])
971
968
  ]),
972
969
  default: y(() => [
973
- I(n(ke), { as: "template" }, {
970
+ x(n(_e), { as: "template" }, {
974
971
  default: y(() => [
975
972
  b(t.$slots, "default")
976
973
  ]),
@@ -983,7 +980,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
983
980
  _: 3
984
981
  }));
985
982
  }
986
- }), rt = { class: "sr-only" }, st = ["value"], ot = /* @__PURE__ */ w({
983
+ }), Ye = { class: "sr-only" }, Je = ["value"], Tt = /* @__PURE__ */ w({
987
984
  inheritAttrs: !1,
988
985
  __name: "ScalarSearchInput",
989
986
  props: {
@@ -991,9 +988,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
991
988
  modelValue: {}
992
989
  },
993
990
  emits: ["update:modelValue"],
994
- setup(a, { emit: t }) {
991
+ setup(r, { emit: t }) {
995
992
  const e = t;
996
- function r(c) {
993
+ function a(c) {
997
994
  e("update:modelValue", c.target.value);
998
995
  }
999
996
  const d = _(() => {
@@ -1006,9 +1003,9 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1006
1003
  d.value.className
1007
1004
  )
1008
1005
  }), [
1009
- h("span", rt, [
1006
+ h("span", Ye, [
1010
1007
  b(c.$slots, "label", {}, () => [
1011
- Y("Enter search")
1008
+ W("Enter search")
1012
1009
  ])
1013
1010
  ]),
1014
1011
  h("input", {
@@ -1020,62 +1017,62 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1020
1017
  spellcheck: "false",
1021
1018
  type: "text",
1022
1019
  value: c.modelValue,
1023
- onInput: r
1024
- }, null, 40, st),
1025
- c.loading && c.loading.isLoading ? (m(), $(n(M), {
1020
+ onInput: a
1021
+ }, null, 40, Je),
1022
+ c.loading && c.loading.isLoading ? (m(), I(n(X), {
1026
1023
  key: 0,
1027
1024
  class: "mr-3 self-center",
1028
1025
  loadingState: c.loading,
1029
1026
  size: "20px"
1030
- }, null, 8, ["loadingState"])) : c.modelValue ? (m(), $(n(Z), {
1027
+ }, null, 8, ["loadingState"])) : c.modelValue ? (m(), I(n(Xe), {
1031
1028
  key: 1,
1032
1029
  class: "self-center",
1033
1030
  icon: "Close",
1034
1031
  label: "Clear Search",
1035
1032
  size: "md",
1036
1033
  onClick: s[0] || (s[0] = (p) => e("update:modelValue", ""))
1037
- })) : N("", !0)
1034
+ })) : $("", !0)
1038
1035
  ], 16));
1039
1036
  }
1040
- }), nt = /* @__PURE__ */ h("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1037
+ }), Ze = /* @__PURE__ */ h("div", { class: "flex flex-col items-center gap-2 px-3 py-4" }, [
1041
1038
  /* @__PURE__ */ h("div", { class: "rotate-90 text-lg font-bold" }, ":("),
1042
1039
  /* @__PURE__ */ h("div", { class: "text-sm font-medium text-fore-2" }, "No results found")
1043
- ], -1), it = /* @__PURE__ */ w({
1040
+ ], -1), Lt = /* @__PURE__ */ w({
1044
1041
  inheritAttrs: !1,
1045
1042
  __name: "ScalarSearchResultList",
1046
1043
  props: {
1047
1044
  noResults: { type: Boolean }
1048
1045
  },
1049
- setup(a) {
1046
+ setup(r) {
1050
1047
  const t = _(() => {
1051
- const { class: e, ...r } = T();
1052
- return { className: e || "", rest: r };
1048
+ const { class: e, ...a } = T();
1049
+ return { className: e || "", rest: a };
1053
1050
  });
1054
- return (e, r) => (m(), v("ul", A(t.value.rest, {
1051
+ return (e, a) => (m(), v("ul", A(t.value.rest, {
1055
1052
  class: n(E)("flex flex-col", t.value.className)
1056
1053
  }), [
1057
1054
  e.noResults ? b(e.$slots, "noResults", { key: 0 }, () => [
1058
- nt
1059
- ]) : N("", !0),
1055
+ Ze
1056
+ ]) : $("", !0),
1060
1057
  b(e.$slots, "default")
1061
1058
  ], 16));
1062
1059
  }
1063
- }), lt = { class: "contents" }, dt = { class: "text-fore-3 group-hover:text-fore-1" }, ct = { class: "flex min-w-0 flex-1 flex-col gap-0.75" }, pt = { class: "flex items-center gap-1" }, ut = { class: "flex-1 truncate text-sm font-medium" }, mt = {
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 = {
1064
1061
  key: 0,
1065
1062
  class: "text-xs text-fore-2"
1066
- }, gt = { class: "truncate text-xs text-fore-2" }, ft = /* @__PURE__ */ w({
1063
+ }, ot = { class: "truncate text-xs text-fore-2" }, zt = /* @__PURE__ */ w({
1067
1064
  inheritAttrs: !1,
1068
1065
  __name: "ScalarSearchResultItem",
1069
1066
  props: {
1070
1067
  icon: {},
1071
1068
  active: { type: Boolean }
1072
1069
  },
1073
- setup(a) {
1070
+ setup(r) {
1074
1071
  const t = _(() => {
1075
- const { class: e, ...r } = T();
1076
- return { className: e || "", rest: r };
1072
+ const { class: e, ...a } = T();
1073
+ return { className: e || "", rest: a };
1077
1074
  });
1078
- return (e, r) => (m(), v("li", lt, [
1075
+ return (e, a) => (m(), v("li", Qe, [
1079
1076
  h("a", A(t.value.rest, {
1080
1077
  class: n(E)(
1081
1078
  "group flex cursor-pointer gap-3 rounded px-3 py-1.5 no-underline hover:bg-back-2",
@@ -1085,32 +1082,32 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1085
1082
  t.value.className
1086
1083
  )
1087
1084
  }), [
1088
- h("div", dt, [
1085
+ h("div", et, [
1089
1086
  b(e.$slots, "icon", {}, () => [
1090
- e.icon ? (m(), $(n(G), {
1087
+ e.icon ? (m(), I(n(Y), {
1091
1088
  key: 0,
1092
1089
  icon: e.icon,
1093
1090
  size: "sm"
1094
- }, null, 8, ["icon"])) : N("", !0)
1091
+ }, null, 8, ["icon"])) : $("", !0)
1095
1092
  ])
1096
1093
  ]),
1097
- h("div", ct, [
1098
- h("div", pt, [
1099
- h("div", ut, [
1094
+ h("div", tt, [
1095
+ h("div", at, [
1096
+ h("div", rt, [
1100
1097
  b(e.$slots, "default")
1101
1098
  ]),
1102
- e.$slots.addon ? (m(), v("div", mt, [
1099
+ e.$slots.addon ? (m(), v("div", st, [
1103
1100
  b(e.$slots, "addon")
1104
- ])) : N("", !0)
1101
+ ])) : $("", !0)
1105
1102
  ]),
1106
- h("div", gt, [
1103
+ h("div", ot, [
1107
1104
  b(e.$slots, "description")
1108
1105
  ])
1109
1106
  ])
1110
1107
  ], 16)
1111
1108
  ]));
1112
1109
  }
1113
- }), ht = { class: "scalar-component scalar-input-container relative" }, vt = ["for"], bt = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, St = /* @__PURE__ */ w({
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({
1114
1111
  __name: "ScalarTextField",
1115
1112
  props: {
1116
1113
  modelValue: {},
@@ -1126,8 +1123,8 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1126
1123
  disableTrim: { type: Boolean, default: !1 }
1127
1124
  },
1128
1125
  emits: ["submit", "update:modelValue"],
1129
- setup(a, { emit: t }) {
1130
- const e = a, r = t, d = L({
1126
+ setup(r, { emit: t }) {
1127
+ const e = r, a = t, d = L({
1131
1128
  base: "scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
1132
1129
  variants: {
1133
1130
  focus: {
@@ -1135,10 +1132,10 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1135
1132
  },
1136
1133
  error: { true: "scalar-input-wrapper-error border-error" }
1137
1134
  }
1138
- }), c = T(), s = c.id || `id-${Ce()}`, p = x(), i = x(!1);
1135
+ }), c = T(), s = c.id || `id-${Ie()}`, p = N(), i = N(!1);
1139
1136
  let g;
1140
1137
  if (e.isMultiline) {
1141
- const { triggerResize: l } = Ae({
1138
+ const { triggerResize: l } = $e({
1142
1139
  element: p,
1143
1140
  input: e.modelValue
1144
1141
  });
@@ -1146,23 +1143,23 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1146
1143
  }
1147
1144
  function u(l) {
1148
1145
  const k = l.target.value;
1149
- e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : r("update:modelValue", k);
1146
+ e.isMultiline && g(), e.handleFieldChange ? e.handleFieldChange(k) : a("update:modelValue", k);
1150
1147
  }
1151
1148
  function o(l) {
1152
1149
  const k = l.target, C = e.disableTrim || e.isMultiline ? k.value : k.value.trim();
1153
- e.handleFieldSubmit ? e.handleFieldSubmit(C) : r("submit", C);
1150
+ e.handleFieldSubmit ? e.handleFieldSubmit(C) : a("submit", C);
1154
1151
  }
1155
1152
  function f(l) {
1156
1153
  i.value = !1, e.emitOnBlur && e.modelValue && o(l);
1157
1154
  }
1158
- return X(() => {
1155
+ return F(() => {
1159
1156
  var l;
1160
1157
  Object.prototype.hasOwnProperty.call(c, "autofocus") && ((l = p.value) == null || l.focus());
1161
- }), (l, k) => (m(), v("div", ht, [
1158
+ }), (l, k) => (m(), v("div", nt, [
1162
1159
  h("div", {
1163
1160
  class: S(n(d)({ error: l.error, focus: i.value }))
1164
1161
  }, [
1165
- (m(), $(q(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1162
+ (m(), I(U(l.isMultiline ? "textarea" : "input"), A({ id: n(s) }, l.$attrs, {
1166
1163
  ref_key: "input",
1167
1164
  ref: p,
1168
1165
  class: [
@@ -1178,7 +1175,7 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1178
1175
  onBlur: f,
1179
1176
  onFocus: k[0] || (k[0] = (C) => i.value = !0),
1180
1177
  onInput: u,
1181
- onKeyup: le(o, ["enter"])
1178
+ onKeyup: ne(o, ["enter"])
1182
1179
  }), null, 16, ["id", "class", "placeholder", "value"])),
1183
1180
  l.label ? (m(), v("label", {
1184
1181
  key: 0,
@@ -1189,12 +1186,12 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1189
1186
  )
1190
1187
  ),
1191
1188
  for: n(s),
1192
- style: K({
1189
+ style: j({
1193
1190
  "box-shadow": `0 0 4px 4px ${l.labelShadowColor}`,
1194
1191
  "background-color": l.labelShadowColor
1195
1192
  })
1196
- }, z(l.label), 15, vt)) : N("", !0),
1197
- h("div", bt, [
1193
+ }, R(l.label), 15, it)) : $("", !0),
1194
+ h("div", lt, [
1198
1195
  b(l.$slots, "default", {}, void 0, !0)
1199
1196
  ])
1200
1197
  ], 2),
@@ -1206,31 +1203,26 @@ const qe = /* @__PURE__ */ O(je, [["render", Xe]]), Ke = /* @__PURE__ */ w({
1206
1203
  "before:bg-error before:text-white before:content-['!'] empty:hidden"
1207
1204
  )
1208
1205
  )
1209
- }, z(l.helperText), 3)
1206
+ }, R(l.helperText), 3)
1210
1207
  ]));
1211
1208
  }
1212
- }), yt = /* @__PURE__ */ O(St, [["__scopeId", "data-v-5f3f67be"]]), Pt = {
1213
- install: (a) => {
1214
- a.component("ScalarButton", Me), a.component("ScalarDropdown", Ue), a.component("ScalarDropdownDivider", qe), a.component("ScalarDropdownItem", Ke), a.component("ScalarFloating", H), a.component("ScalarIcon", G), a.component("ScalarIconButton", Z), a.component("ScalarLoading", M), a.component("ScalarModal", et), a.component("ScalarPopover", at), a.component("ScalarSearchInput", ot), a.component("ScalarSearchResultItem", ft), a.component("ScalarSearchResultList", it), a.component("ScalarTextField", yt);
1215
- }
1216
- };
1209
+ }), Rt = /* @__PURE__ */ P(dt, [["__scopeId", "data-v-4fc2339e"]]);
1217
1210
  export {
1218
- Me as ScalarButton,
1219
- zt as ScalarCodeBlock,
1220
- Ue as ScalarDropdown,
1221
- qe as ScalarDropdownDivider,
1222
- Ke as ScalarDropdownItem,
1223
- H as ScalarFloating,
1224
- G as ScalarIcon,
1225
- Z as ScalarIconButton,
1226
- M as ScalarLoading,
1227
- et as ScalarModal,
1228
- at as ScalarPopover,
1229
- ot as ScalarSearchInput,
1230
- ft as ScalarSearchResultItem,
1231
- it as ScalarSearchResultList,
1232
- yt as ScalarTextField,
1233
- Pt as default,
1234
- Rt as useLoadingState,
1235
- Dt as useModal
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
1236
1228
  };