@scalar/api-client 2.2.22 → 2.2.23

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 (124) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +69 -70
  5. package/dist/components/AddressBar/AddressBarServer.vue.js +26 -26
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  7. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  8. package/dist/components/CodeInput/CodeInput.vue2.js +46 -46
  9. package/dist/components/CodeInput/codeVariableWidget.d.ts +4 -4
  10. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  11. package/dist/components/CodeInput/codeVariableWidget.js +42 -38
  12. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +25 -24
  13. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +64 -55
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +110 -106
  18. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +2 -2
  19. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +1 -1
  20. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  21. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +38 -37
  22. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  23. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +52 -49
  24. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  25. package/dist/components/ImportCollection/DropEventListener.vue.js +46 -43
  26. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +40 -39
  27. package/dist/components/ImportCollection/ImportNowButton.vue.js +44 -42
  28. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +76 -69
  29. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  30. package/dist/components/ScalarAsciiArt.vue2.js +22 -19
  31. package/dist/components/Search/useSearch.d.ts.map +1 -1
  32. package/dist/components/Search/useSearch.js +57 -49
  33. package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
  34. package/dist/components/SideNav/SideNavRouterLink.vue.js +22 -19
  35. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  36. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  37. package/dist/components/Sidebar/SidebarListElement.vue2.js +38 -36
  38. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  39. package/dist/components/TopNav/TopNav.vue.js +71 -64
  40. package/dist/layouts/App/ApiClientApp.vue.js +4 -1
  41. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  42. package/dist/layouts/Modal/ApiClientModal.vue2.js +22 -19
  43. package/dist/layouts/Web/ApiClientWeb.vue.js +4 -1
  44. package/dist/libs/create-client.d.ts +10 -10
  45. package/dist/libs/create-client.d.ts.map +1 -1
  46. package/dist/libs/create-client.js +42 -36
  47. package/dist/libs/extractAttachmentFilename.d.ts +3 -0
  48. package/dist/libs/extractAttachmentFilename.d.ts.map +1 -1
  49. package/dist/libs/extractAttachmentFilename.js +7 -7
  50. package/dist/libs/importers/curl.d.ts.map +1 -1
  51. package/dist/libs/importers/curl.js +18 -18
  52. package/dist/libs/normalize-headers.d.ts.map +1 -1
  53. package/dist/libs/normalize-headers.js +2 -2
  54. package/dist/libs/parse-curl.js +39 -36
  55. package/dist/store/active-entities.d.ts +4 -4
  56. package/dist/store/active-entities.d.ts.map +1 -1
  57. package/dist/store/active-entities.js +88 -86
  58. package/dist/store/collections.d.ts.map +1 -1
  59. package/dist/store/collections.js +29 -29
  60. package/dist/store/request-example.d.ts.map +1 -1
  61. package/dist/store/request-example.js +27 -23
  62. package/dist/store/requests.d.ts.map +1 -1
  63. package/dist/store/requests.js +94 -77
  64. package/dist/store/security-schemes.d.ts.map +1 -1
  65. package/dist/store/security-schemes.js +27 -27
  66. package/dist/store/servers.d.ts.map +1 -1
  67. package/dist/store/servers.js +18 -18
  68. package/dist/store/tags.d.ts.map +1 -1
  69. package/dist/store/tags.js +35 -33
  70. package/dist/style.css +1 -1
  71. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  72. package/dist/views/Cookies/CookieForm.vue.js +14 -9
  73. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  74. package/dist/views/Cookies/Cookies.vue2.js +39 -37
  75. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  76. package/dist/views/Environment/Environment.vue2.js +94 -89
  77. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  78. package/dist/views/Request/Request.vue.js +1 -1
  79. package/dist/views/Request/Request.vue2.js +121 -119
  80. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  81. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +28 -25
  82. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  83. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  84. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +38 -37
  85. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  86. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
  87. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +76 -73
  88. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +2 -2
  89. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +80 -80
  90. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  91. package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
  92. package/dist/views/Request/RequestSection/RequestBody.vue2.js +192 -178
  93. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  94. package/dist/views/Request/RequestSection/RequestParams.vue.js +80 -73
  95. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  96. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +50 -48
  97. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  98. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  99. package/dist/views/Request/RequestSidebar.vue2.js +149 -144
  100. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  101. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  102. package/dist/views/Request/RequestSidebarItem.vue2.js +168 -150
  103. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  104. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  105. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +80 -80
  106. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  107. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  108. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +1 -1
  109. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  110. package/dist/views/Request/components/WorkspaceDropdown.vue.js +166 -156
  111. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  112. package/dist/views/Request/handle-drag.js +37 -31
  113. package/dist/views/Request/hooks/useOpenApiWatcher.js +27 -27
  114. package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
  115. package/dist/views/Request/libs/live-sync.js +147 -130
  116. package/dist/views/Request/types/sidebar-item.d.ts +4 -1
  117. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  118. package/dist/views/Servers/ServerForm.vue.js +38 -35
  119. package/dist/views/Servers/Servers.vue2.js +38 -35
  120. package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
  121. package/dist/views/Settings/Settings.vue2.js +15 -15
  122. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  123. package/dist/views/Settings/SettingsGeneral.vue.js +206 -174
  124. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.2.23
4
+
5
+ ### Patch Changes
6
+
7
+ - 02b4201: fix(api-client): strict TS config (enable noUncheckedIndexedAccess)
8
+ - Updated dependencies [02b4201]
9
+ - @scalar/oas-utils@0.2.92
10
+ - @scalar/import@0.2.12
11
+ - @scalar/postman-to-openapi@0.1.15
12
+
3
13
  ## 2.2.22
4
14
 
5
15
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAwxBA,wBAMG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AA6xBA,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cbfd1fad"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e6e6f37d"]]);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
@@ -1,51 +1,50 @@
1
- import { defineComponent as $, ref as i, watch as P, onMounted as D, onBeforeUnmount as Q, unref as o, openBlock as q, createElementBlock as W, createElementVNode as r, createVNode as u, withCtx as B, normalizeClass as E, normalizeStyle as j, createBlock as F, createCommentVNode as S } from "vue";
2
- import G from "../CodeInput/CodeInput.vue.js";
3
- import { useActiveEntities as J } from "../../store/active-entities.js";
4
- import { Listbox as X } from "@headlessui/vue";
5
- import { ScalarButton as Y, ScalarIcon as Z } from "@scalar/components";
6
- import { REQUEST_METHODS as ee } from "@scalar/oas-utils/helpers";
7
- import { isMacOS as te } from "@scalar/use-tooltip";
8
- import { useMagicKeys as le, whenever as oe } from "@vueuse/core";
9
- import re from "../HttpMethod/HttpMethod.vue.js";
10
- import ae from "./AddressBarHistory.vue.js";
11
- import se from "./AddressBarServer.vue.js";
12
- import { useWorkspace as ne } from "../../store/store.js";
13
- const ie = {
1
+ import { defineComponent as P, ref as i, computed as D, watch as Q, onMounted as W, onBeforeUnmount as j, unref as o, openBlock as B, createElementBlock as F, createElementVNode as r, createVNode as u, withCtx as E, normalizeClass as S, normalizeStyle as G, createBlock as J, createCommentVNode as V } from "vue";
2
+ import X from "../CodeInput/CodeInput.vue.js";
3
+ import { useActiveEntities as Y } from "../../store/active-entities.js";
4
+ import { Listbox as Z } from "@headlessui/vue";
5
+ import { ScalarButton as ee, ScalarIcon as te } from "@scalar/components";
6
+ import { REQUEST_METHODS as le } from "@scalar/oas-utils/helpers";
7
+ import { isMacOS as oe } from "@scalar/use-tooltip";
8
+ import { useMagicKeys as re, whenever as ae } from "@vueuse/core";
9
+ import se from "../HttpMethod/HttpMethod.vue.js";
10
+ import ne from "./AddressBarHistory.vue.js";
11
+ import ie from "./AddressBarServer.vue.js";
12
+ import { useWorkspace as ue } from "../../store/store.js";
13
+ const de = {
14
14
  key: 0,
15
15
  class: "scalar-address-bar order-last lg:order-none lg:w-auto w-full"
16
- }, ue = { class: "m-auto flex flex-row items-center" }, de = { class: "pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden" }, fe = { class: "flex gap-1" }, me = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, ce = {
16
+ }, fe = { class: "m-auto flex flex-row items-center" }, ce = { class: "pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden" }, me = { class: "flex gap-1" }, ve = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, pe = {
17
17
  "aria-hidden": "true",
18
18
  class: "inline-flex gap-1 items-center"
19
- }, Be = /* @__PURE__ */ $({
19
+ }, Se = /* @__PURE__ */ P({
20
20
  __name: "AddressBar",
21
21
  emits: ["importCurl"],
22
- setup(ve) {
23
- const { activeRequest: l, activeExample: V, activeServer: M, activeCollection: c } = J(), { isReadOnly: v, requestMutators: m, requestHistory: I, events: d } = ne(), p = i(I[0]), x = i(null), h = le();
24
- oe(
25
- te() ? h.meta_enter : h.ctrl_enter,
26
- () => d.executeRequest.emit()
22
+ setup(xe) {
23
+ const { activeRequest: l, activeExample: M, activeServer: m, activeCollection: v } = Y(), { isReadOnly: p, requestMutators: c, requestHistory: I, events: d } = ue(), x = i(I[0]), h = i(null), b = re(), U = D(
24
+ () => oe() ? b.meta_enter : b.ctrl_enter
27
25
  );
28
- const U = (e) => {
29
- !l.value || l.value.path === e || m.edit(l.value.uid, "path", e);
26
+ ae(U, () => d.executeRequest.emit());
27
+ const H = (e) => {
28
+ !l.value || l.value.path === e || c.edit(l.value.uid, "path", e);
30
29
  };
31
- P(
30
+ Q(
32
31
  () => {
33
32
  var e;
34
33
  return (e = l.value) == null ? void 0 : e.path;
35
34
  },
36
35
  (e) => {
37
- !l.value || !e || U(e);
36
+ !l.value || !e || H(e);
38
37
  }
39
38
  );
40
- const a = i(100), b = i(0), s = i(!1), n = i();
41
- function H() {
42
- s.value ? a.value -= (a.value - 15) / 60 : a.value -= b.value / 20, a.value <= 0 && (clearInterval(n.value), n.value = void 0, a.value = 100, s.value = !1);
39
+ const a = i(100), g = i(0), s = i(!1), n = i();
40
+ function K() {
41
+ s.value ? a.value -= (a.value - 15) / 60 : a.value -= g.value / 20, a.value <= 0 && (clearInterval(n.value), n.value = void 0, a.value = 100, s.value = !1);
43
42
  }
44
43
  function L() {
45
- n.value || (s.value = !0, n.value = setInterval(H, 20));
44
+ n.value || (s.value = !0, n.value = setInterval(K, 20));
46
45
  }
47
46
  function z() {
48
- b.value = a.value, s.value = !1;
47
+ g.value = a.value, s.value = !1;
49
48
  }
50
49
  function A() {
51
50
  clearInterval(n.value), n.value = void 0, a.value = 100, s.value = !1;
@@ -53,86 +52,86 @@ const ie = {
53
52
  d.requestStatus.on((e) => {
54
53
  e === "start" && L(), e === "stop" && z(), e === "abort" && A();
55
54
  });
56
- function K(e) {
57
- l.value && m.edit(l.value.uid, "method", e);
55
+ function O(e) {
56
+ l.value && c.edit(l.value.uid, "method", e);
58
57
  }
59
- function O() {
58
+ function N() {
60
59
  if (!l.value) return;
61
60
  const { method: e } = l.value;
62
- return ee[e].backgroundColor;
61
+ return le[e].backgroundColor;
63
62
  }
64
- function g() {
63
+ function w() {
65
64
  s.value || (s.value = !0, d.executeRequest.emit());
66
65
  }
67
- function N(e) {
68
- l.value && m.edit(l.value.uid, "path", e);
66
+ function T(e) {
67
+ l.value && c.edit(l.value.uid, "path", e);
69
68
  }
70
- function w(e) {
69
+ function y(e) {
71
70
  var t;
72
- e != null && e.focusAddressBar && ((t = x.value) == null || t.focus());
71
+ e != null && e.focusAddressBar && ((t = h.value) == null || t.focus());
73
72
  }
74
- return D(() => d.hotKeys.on(w)), Q(() => d.hotKeys.off(w)), (e, t) => o(l) && o(V) ? (q(), W("div", ie, [
75
- r("div", ue, [
76
- u(o(X), {
77
- modelValue: p.value,
78
- "onUpdate:modelValue": t[1] || (t[1] = (f) => p.value = f)
73
+ return W(() => d.hotKeys.on(y)), j(() => d.hotKeys.off(y)), (e, t) => o(l) && o(M) ? (B(), F("div", de, [
74
+ r("div", fe, [
75
+ u(o(Z), {
76
+ modelValue: x.value,
77
+ "onUpdate:modelValue": t[1] || (t[1] = (f) => x.value = f)
79
78
  }, {
80
- default: B(({ open: f }) => {
81
- var y, C, k, _, R;
79
+ default: E(({ open: f }) => {
80
+ var C, k, _, R, q;
82
81
  return [
83
82
  r("div", {
84
- class: E([
83
+ class: S([
85
84
  "addressbar-bg-states text-xxs relative flex w-full xl:min-w-[720px] xl:max-w-[720px] lg:min-w-[580px] lg:max-w-[580px] order-last overflow-hidden lg:order-none flex-1 flex-row items-stretch rounded-lg border-1/2 p-[3px]",
86
85
  { "border-transparent overflow-visible rounded-b-none": f }
87
86
  ])
88
87
  }, [
89
- r("div", de, [
88
+ r("div", ce, [
90
89
  r("div", {
91
- class: E(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context", O()]),
92
- style: j({ transform: `translate3d(-${a.value}%,0,0)` })
90
+ class: S(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context", N()]),
91
+ style: G({ transform: `translate3d(-${a.value}%,0,0)` })
93
92
  }, null, 6)
94
93
  ]),
95
- r("div", fe, [
96
- u(re, {
97
- isEditable: !o(v),
94
+ r("div", me, [
95
+ u(se, {
96
+ isEditable: !o(p),
98
97
  isSquare: "",
99
98
  method: o(l).method,
100
99
  teleport: "",
101
- onChange: K
100
+ onChange: O
102
101
  }, null, 8, ["isEditable", "method"])
103
102
  ]),
104
- r("div", me, [
103
+ r("div", ve, [
105
104
  t[2] || (t[2] = r("div", { class: "fade-left" }, null, -1)),
106
- (C = (y = o(c)) == null ? void 0 : y.servers) != null && C.length ? (q(), F(se, { key: 0 })) : S("", !0),
107
- u(G, {
105
+ (k = (C = o(v)) == null ? void 0 : C.servers) != null && k.length ? (B(), J(ie, { key: 0 })) : V("", !0),
106
+ u(X, {
108
107
  ref_key: "addressBarRef",
109
- ref: x,
108
+ ref: h,
110
109
  "aria-label": "Path",
111
110
  class: "outline-none",
112
111
  disableCloseBrackets: "",
113
- disabled: o(v),
112
+ disabled: o(p),
114
113
  disableEnter: "",
115
114
  disableTabIndent: "",
116
115
  emitOnBlur: !1,
117
116
  importCurl: "",
118
117
  modelValue: o(l).path,
119
- placeholder: (R = (k = o(c)) == null ? void 0 : k.servers) != null && R.includes((_ = o(M)) == null ? void 0 : _.uid) ? "" : "Enter a URL or cURL command",
118
+ placeholder: (_ = o(m)) != null && _.uid && ((q = (R = o(v)) == null ? void 0 : R.servers) != null && q.includes(o(m).uid)) ? "" : "Enter a URL or cURL command",
120
119
  server: "",
121
- onCurl: t[0] || (t[0] = (T) => e.$emit("importCurl", T)),
122
- onSubmit: g,
123
- "onUpdate:modelValue": N
120
+ onCurl: t[0] || (t[0] = ($) => e.$emit("importCurl", $)),
121
+ onSubmit: w,
122
+ "onUpdate:modelValue": T
124
123
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
125
124
  t[3] || (t[3] = r("div", { class: "fade-right" }, null, -1))
126
125
  ]),
127
- u(ae, { open: f }, null, 8, ["open"]),
128
- u(o(Y), {
126
+ u(ne, { open: f }, null, 8, ["open"]),
127
+ u(o(ee), {
129
128
  class: "relative h-auto shrink-0 overflow-hidden !pl-2 !pr-2.5 !py-1 font-bold",
130
129
  disabled: s.value,
131
- onClick: g
130
+ onClick: w
132
131
  }, {
133
- default: B(() => [
134
- r("span", ce, [
135
- u(o(Z), {
132
+ default: E(() => [
133
+ r("span", pe, [
134
+ u(o(te), {
136
135
  class: "relative shrink-0 fill-current",
137
136
  icon: "Play",
138
137
  size: "xs"
@@ -149,9 +148,9 @@ const ie = {
149
148
  _: 1
150
149
  }, 8, ["modelValue"])
151
150
  ])
152
- ])) : S("", !0);
151
+ ])) : V("", !0);
153
152
  }
154
153
  });
155
154
  export {
156
- Be as default
155
+ Se as default
157
156
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, computed as i, watch as U, openBlock as s, createBlock as v, unref as l, withCtx as m, createElementBlock as a, createCommentVNode as p, Fragment as d, renderList as _, createVNode as c, createElementVNode as o, createTextVNode as V, toDisplayString as E } from "vue";
1
+ import { defineComponent as B, computed as i, watch as U, openBlock as o, createBlock as v, unref as l, withCtx as m, createElementBlock as a, createCommentVNode as p, Fragment as d, renderList as _, createVNode as c, createElementVNode as n, createTextVNode as V, toDisplayString as E } from "vue";
2
2
  import { useActiveEntities as O } from "../../store/active-entities.js";
3
3
  import { ScalarDropdown as R, ScalarDropdownDivider as b, ScalarDropdownItem as W, ScalarIcon as I } from "@scalar/components";
4
4
  import h from "./AddressBarServerItem.vue.js";
@@ -12,25 +12,25 @@ const T = {
12
12
  }, z = { class: "flex items-center justify-center h-4 w-4" }, H = /* @__PURE__ */ B({
13
13
  __name: "AddressBarServer",
14
14
  setup(F) {
15
- const { activeRequest: x, activeCollection: f, activeServer: u } = O(), { isReadOnly: g, servers: S, collectionMutators: A, events: C } = L(), w = i(
15
+ const { activeRequest: f, activeCollection: x, activeServer: u } = O(), { isReadOnly: g, servers: S, collectionMutators: A, events: C } = L(), w = i(
16
16
  () => {
17
17
  var t, e;
18
- return (e = (t = x.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
19
- var n;
18
+ return (e = (t = f.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
19
+ var s;
20
20
  return {
21
21
  id: r,
22
- label: ((n = S[r]) == null ? void 0 : n.url) ?? "Unknown server"
22
+ label: ((s = S[r]) == null ? void 0 : s.url) ?? "Unknown server"
23
23
  };
24
24
  });
25
25
  }
26
26
  ), y = i(
27
27
  () => {
28
28
  var t, e;
29
- return (e = (t = f.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
30
- var n;
29
+ return (e = (t = x.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
30
+ var s;
31
31
  return {
32
32
  id: r,
33
- label: ((n = S[r]) == null ? void 0 : n.url) ?? "Unknown server"
33
+ label: ((s = S[r]) == null ? void 0 : s.url) ?? "Unknown server"
34
34
  };
35
35
  });
36
36
  }
@@ -40,12 +40,12 @@ const T = {
40
40
  return ((t = w.value) == null ? void 0 : t.length) && ((e = y.value) == null ? void 0 : e.length);
41
41
  }
42
42
  );
43
- U([f, x], ([t, e]) => {
44
- !t || t.selectedServerUid || e != null && e.selectedServerUid || A.edit(
45
- t.uid,
46
- "selectedServerUid",
47
- t.servers[0]
48
- );
43
+ U([x, f], ([t, e]) => {
44
+ var s;
45
+ if (!t || t.selectedServerUid || e != null && e.selectedServerUid)
46
+ return;
47
+ const r = (s = t.servers) == null ? void 0 : s[0];
48
+ r && A.edit(t.uid, "selectedServerUid", r);
49
49
  });
50
50
  const D = () => C.commandPalette.emit({
51
51
  commandName: "Add Server"
@@ -53,41 +53,41 @@ const T = {
53
53
  var t, e, r;
54
54
  return (e = (t = u.value) == null ? void 0 : t.url) != null && e.endsWith("/") ? u.value.url.slice(0, -1) : ((r = u.value) == null ? void 0 : r.url) || "";
55
55
  });
56
- return (t, e) => (s(), v(l(R), {
56
+ return (t, e) => (o(), v(l(R), {
57
57
  class: "w-max",
58
58
  teleport: ""
59
59
  }, {
60
60
  items: m(() => [
61
- k.value ? (s(), a("div", j, " Request Servers ")) : p("", !0),
62
- (s(!0), a(d, null, _(w.value, (r) => (s(), v(h, {
61
+ k.value ? (o(), a("div", j, " Request Servers ")) : p("", !0),
62
+ (o(!0), a(d, null, _(w.value, (r) => (o(), v(h, {
63
63
  key: r.id,
64
64
  serverOption: r,
65
65
  type: "request"
66
66
  }, null, 8, ["serverOption"]))), 128)),
67
- k.value ? (s(), a(d, { key: 1 }, [
67
+ k.value ? (o(), a(d, { key: 1 }, [
68
68
  c(l(b)),
69
- e[1] || (e[1] = o("div", { class: "text-xxs text-c-2 ml-8" }, "Collection Servers", -1))
69
+ e[1] || (e[1] = n("div", { class: "text-xxs text-c-2 ml-8" }, "Collection Servers", -1))
70
70
  ], 64)) : p("", !0),
71
- (s(!0), a(d, null, _(y.value, (r) => (s(), v(h, {
71
+ (o(!0), a(d, null, _(y.value, (r) => (o(), v(h, {
72
72
  key: r.id,
73
73
  serverOption: r,
74
74
  type: "collection"
75
75
  }, null, 8, ["serverOption"]))), 128)),
76
- l(g) ? p("", !0) : (s(), a(d, { key: 2 }, [
76
+ l(g) ? p("", !0) : (o(), a(d, { key: 2 }, [
77
77
  c(l(b)),
78
78
  c(l(W), null, {
79
79
  default: m(() => [
80
- o("div", {
80
+ n("div", {
81
81
  class: "font-code text-xxs flex items-center gap-1.5",
82
82
  onClick: D
83
83
  }, [
84
- o("div", z, [
84
+ n("div", z, [
85
85
  c(l(I), {
86
86
  icon: "Add",
87
87
  size: "sm"
88
88
  })
89
89
  ]),
90
- e[2] || (e[2] = o("span", null, "Add Server", -1))
90
+ e[2] || (e[2] = n("span", null, "Add Server", -1))
91
91
  ])
92
92
  ]),
93
93
  _: 1
@@ -95,8 +95,8 @@ const T = {
95
95
  ], 64))
96
96
  ]),
97
97
  default: m(() => [
98
- o("button", T, [
99
- e[0] || (e[0] = o("span", { class: "sr-only" }, "Server:", -1)),
98
+ n("button", T, [
99
+ e[0] || (e[0] = n("span", { class: "sr-only" }, "Server:", -1)),
100
100
  V(" " + E(N.value), 1)
101
101
  ])
102
102
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OA8cO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAkBb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;;;kBApBX,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;gBAjBZ,OAAO;iBAHN,OAAO;sBAMF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;gBAEV,OAAO;;qBAqZM,GAAG;kBACN,GAAG;;AA5a9B,wBAweC;AAgBD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OAgdO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAkBb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;;;kBApBX,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;gBAjBZ,OAAO;iBAHN,OAAO;sBAMF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;gBAEV,OAAO;;qBAuZM,GAAG;kBACN,GAAG;;AA9a9B,wBA0eC;AAgBD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b3bb606"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-958f2326"]]);
6
6
  export {
7
- a as default
7
+ _ as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as j, useAttrs as J, ref as u, toRef as a, watch as L, computed as Q, openBlock as r, createElementBlock as p, Fragment as G, createBlock as v, mergeProps as H, unref as s, withKeys as h, withModifiers as D, createElementVNode as E, createVNode as X, createCommentVNode as f, renderSlot as $ } from "vue";
1
+ import { defineComponent as j, useAttrs as J, ref as u, toRef as r, watch as L, computed as Q, openBlock as s, createElementBlock as p, Fragment as G, createBlock as h, mergeProps as H, unref as n, withKeys as w, withModifiers as D, createElementVNode as E, createVNode as X, createCommentVNode as f, renderSlot as $ } from "vue";
2
2
  import { useCodeMirror as Y, useDropdown as Z, colorPicker as ee } from "@scalar/use-codemirror";
3
3
  import { nanoid as oe } from "nanoid";
4
4
  import q from "../DataTable/DataTableInputSelect.vue.js";
@@ -49,13 +49,13 @@ const de = ["id"], pe = {
49
49
  emits: ["submit", "update:modelValue", "curl"],
50
50
  setup(R, { expose: N, emit: O }) {
51
51
  var P;
52
- const e = R, i = O, w = J(), _ = w.id || `id-${oe()}`, V = u(!1), m = u(!1), g = u(""), B = u({ left: 0, top: 0 }), c = u(null), { activeEnvVariables: C, activeEnvironment: k, activeWorkspace: A } = ue(), { isReadOnly: S } = ie(), { copyToClipboard: I } = ae();
52
+ const e = R, i = O, V = J(), _ = V.id || `id-${oe()}`, g = u(!1), m = u(!1), B = u(""), C = u({ left: 0, top: 0 }), c = u(null), { activeEnvVariables: k, activeEnvironment: b, activeWorkspace: A } = ue(), { isReadOnly: S } = ie(), { copyToClipboard: I } = ae();
53
53
  function K(o) {
54
54
  var t;
55
- return o === e.modelValue ? null : e.importCurl && o.trim().toLowerCase().startsWith("curl") ? (i("curl", o), (t = n.value) == null || t.dispatch({
55
+ return o === e.modelValue ? null : e.importCurl && o.trim().toLowerCase().startsWith("curl") ? (i("curl", o), (t = a.value) == null || t.dispatch({
56
56
  changes: {
57
57
  from: 0,
58
- to: n.value.state.doc.length,
58
+ to: a.value.state.doc.length,
59
59
  insert: String(e.modelValue)
60
60
  }
61
61
  }), null) : e.handleFieldChange ? e.handleFieldChange(o) : i("update:modelValue", o);
@@ -64,45 +64,45 @@ const de = ["id"], pe = {
64
64
  return e.handleFieldSubmit ? e.handleFieldSubmit(o) : i("submit", o);
65
65
  }
66
66
  function T(o) {
67
- V.value = !1, e.emitOnBlur && e.modelValue && M(o);
67
+ g.value = !1, e.emitOnBlur && e.modelValue && M(o);
68
68
  }
69
- const b = [];
70
- e.colorPicker && b.push(ee), b.push(
69
+ const y = [];
70
+ e.colorPicker && y.push(ee), y.push(
71
71
  te({
72
- environment: k.value,
73
- envVariables: C.value,
72
+ environment: b.value,
73
+ envVariables: k.value,
74
74
  workspace: A.value,
75
75
  isReadOnly: S
76
76
  }),
77
77
  le
78
78
  );
79
- const x = u(null), { codeMirror: n } = Y({
80
- content: a(
79
+ const x = u(null), { codeMirror: a } = Y({
80
+ content: r(
81
81
  () => e.modelValue !== void 0 ? String(e.modelValue) : ""
82
82
  ),
83
83
  onChange: (o) => {
84
84
  K(o), z();
85
85
  },
86
- onFocus: () => V.value = !0,
86
+ onFocus: () => g.value = !0,
87
87
  onBlur: (o) => T(o),
88
88
  codeMirrorRef: x,
89
- disableTabIndent: a(() => e.disableTabIndent),
90
- disableEnter: a(() => e.disableEnter),
91
- disableCloseBrackets: a(() => e.disableCloseBrackets),
92
- lineNumbers: a(() => e.lineNumbers),
93
- language: a(() => e.language),
94
- lint: a(() => e.lint),
95
- extensions: b,
96
- placeholder: a(() => e.placeholder)
89
+ disableTabIndent: r(() => e.disableTabIndent),
90
+ disableEnter: r(() => e.disableEnter),
91
+ disableCloseBrackets: r(() => e.disableCloseBrackets),
92
+ lineNumbers: r(() => e.lineNumbers),
93
+ language: r(() => e.language),
94
+ lint: r(() => e.lint),
95
+ extensions: y,
96
+ placeholder: r(() => e.placeholder)
97
97
  });
98
- (P = n.value) == null || P.focus(), L(n, () => {
99
- n.value && Object.prototype.hasOwnProperty.call(w, "autofocus") && n.value.focus();
98
+ (P = a.value) == null || P.focus(), L(a, () => {
99
+ a.value && Object.prototype.hasOwnProperty.call(V, "autofocus") && a.value.focus();
100
100
  });
101
101
  const { handleDropdownSelect: W, updateDropdownVisibility: z } = Z({
102
- codeMirror: n,
103
- query: g,
102
+ codeMirror: a,
103
+ query: B,
104
104
  showDropdown: m,
105
- dropdownPosition: B
105
+ dropdownPosition: C
106
106
  }), U = Q(() => {
107
107
  var o;
108
108
  return e.type === "boolean" || (o = e.type) != null && o.includes("boolean") || e.nullable ? ["true", "false", "null"] : ["true", "false"];
@@ -110,31 +110,31 @@ const de = ["id"], pe = {
110
110
  N({
111
111
  focus: () => {
112
112
  var o;
113
- (o = n.value) == null || o.focus();
113
+ (o = a.value) == null || o.focus();
114
114
  }
115
115
  });
116
- const y = (o, t) => {
116
+ const v = (o, t) => {
117
117
  var d, l, F;
118
118
  m.value && (o === "down" ? (t.preventDefault(), (d = c.value) == null || d.handleArrowKey("down")) : o === "up" ? (t.preventDefault(), (l = c.value) == null || l.handleArrowKey("up")) : o === "enter" && (t.preventDefault(), (F = c.value) == null || F.handleSelect()));
119
119
  };
120
120
  return (o, t) => {
121
121
  var d;
122
- return r(), p(G, null, [
123
- e.enum && e.enum.length ? (r(), v(q, {
122
+ return s(), p(G, null, [
123
+ e.enum && e.enum.length ? (s(), h(q, {
124
124
  key: 0,
125
125
  default: e.default,
126
126
  modelValue: e.modelValue,
127
127
  value: e.enum,
128
128
  "onUpdate:modelValue": t[0] || (t[0] = (l) => i("update:modelValue", l))
129
- }, null, 8, ["default", "modelValue", "value"])) : e.type === "boolean" || (d = e.type) != null && d.includes("boolean") ? (r(), v(q, {
129
+ }, null, 8, ["default", "modelValue", "value"])) : e.type === "boolean" || (d = e.type) != null && d.includes("boolean") ? (s(), h(q, {
130
130
  key: 1,
131
131
  default: e.default,
132
132
  modelValue: e.modelValue,
133
133
  value: U.value,
134
134
  "onUpdate:modelValue": t[1] || (t[1] = (l) => i("update:modelValue", l))
135
- }, null, 8, ["default", "modelValue", "value"])) : (r(), p("div", H({
135
+ }, null, 8, ["default", "modelValue", "value"])) : (s(), p("div", H({
136
136
  key: 2,
137
- id: s(_)
137
+ id: n(_)
138
138
  }, o.$attrs, {
139
139
  ref_key: "codeMirrorRef",
140
140
  ref: x,
@@ -142,39 +142,39 @@ const de = ["id"], pe = {
142
142
  "flow-code-input--error": o.error
143
143
  }],
144
144
  onKeydown: [
145
- t[3] || (t[3] = h(D((l) => y("down", l), ["stop"]), ["down"])),
146
- t[4] || (t[4] = h((l) => y("enter", l), ["enter"])),
147
- t[5] || (t[5] = h(D((l) => y("up", l), ["stop"]), ["up"]))
145
+ t[3] || (t[3] = w(D((l) => v("down", l), ["stop"]), ["down"])),
146
+ t[4] || (t[4] = w((l) => v("enter", l), ["enter"])),
147
+ t[5] || (t[5] = w(D((l) => v("up", l), ["stop"]), ["up"]))
148
148
  ]
149
149
  }), [
150
- o.isCopyable ? (r(), p("div", pe, [
150
+ o.isCopyable ? (s(), p("div", pe, [
151
151
  E("button", {
152
152
  class: "copy-button",
153
153
  type: "button",
154
- onClick: t[2] || (t[2] = (l) => s(I)(s(se)(e.modelValue)))
154
+ onClick: t[2] || (t[2] = (l) => n(I)(n(se)(e.modelValue)))
155
155
  }, [
156
156
  t[6] || (t[6] = E("span", { class: "sr-only" }, "Copy content", -1)),
157
- X(s(re), {
157
+ X(n(re), {
158
158
  icon: "Clipboard",
159
159
  size: "md"
160
160
  })
161
161
  ])
162
162
  ])) : f("", !0)
163
163
  ], 16, de)),
164
- o.$slots.warning ? (r(), p("div", ce, [
164
+ o.$slots.warning ? (s(), p("div", ce, [
165
165
  $(o.$slots, "warning", {}, void 0, !0)
166
166
  ])) : f("", !0),
167
167
  $(o.$slots, "icon", {}, void 0, !0),
168
- o.required ? (r(), p("div", fe, " Required ")) : f("", !0),
169
- m.value && e.withVariables && !s(S) ? (r(), v(ne, {
168
+ o.required ? (s(), p("div", fe, " Required ")) : f("", !0),
169
+ m.value && e.withVariables && !n(S) && n(b) ? (s(), h(ne, {
170
170
  key: 5,
171
171
  ref_key: "dropdownRef",
172
172
  ref: c,
173
- dropdownPosition: B.value,
174
- envVariables: s(C),
175
- environment: s(k),
176
- query: g.value,
177
- onSelect: s(W)
173
+ dropdownPosition: C.value,
174
+ envVariables: n(k),
175
+ environment: n(b),
176
+ query: B.value,
177
+ onSelect: n(W)
178
178
  }, null, 8, ["dropdownPosition", "envVariables", "environment", "query", "onSelect"])) : f("", !0)
179
179
  ], 64);
180
180
  };
@@ -8,10 +8,10 @@ type IsReadOnly = WorkspaceStore['isReadOnly'];
8
8
  * Styles the active environment variable pill
9
9
  */
10
10
  export declare const pillPlugin: (props: {
11
- environment: Environment;
12
- envVariables: EnvVariables;
13
- workspace: Workspace;
14
- isReadOnly: IsReadOnly;
11
+ environment?: Environment;
12
+ envVariables?: EnvVariables;
13
+ workspace?: Workspace;
14
+ isReadOnly?: IsReadOnly;
15
15
  }) => ViewPlugin<{
16
16
  decorations: DecorationSet;
17
17
  update(update: ViewUpdate): void;
@@ -1 +1 @@
1
- {"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,oBAAoB,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAG/B,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA;AA+H9C;;GAEG;AACH,eAAO,MAAM,UAAU,UAAW;IAChC,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,YAAY,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,UAAU,EAAE,UAAU,CAAA;CACvB;iBAGkB,aAAa;mBAMX,UAAU;2BASF,UAAU;EAkCpC,CAAA;AAEH,eAAO,MAAM,gBAAgB,uCA8B3B,CAAA"}
1
+ {"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAe,MAAM,oBAAoB,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAG/B,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA;AAkI9C;;GAEG;AACH,eAAO,MAAM,UAAU,UAAW;IAChC,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB;iBAGkB,aAAa;mBAMX,UAAU;2BASF,UAAU;EAkCpC,CAAA;AAEH,eAAO,MAAM,gBAAgB,uCA8B3B,CAAA"}