@scalar/api-client 1.2.20 → 1.2.22

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
@@ -25,7 +25,7 @@ const purpleTheme = "/* basic theme */\n.light-mode {\n --scalar-background-1:
25
25
  const saturnTheme = "/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.5);\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n --scalar-code-languages-background-supersede: var(--scalar-background-2);\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.12);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n --scalar-code-languages-background-supersede: var(--scalar-background-2);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header,\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n";
26
26
  const solarizedTheme = ".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n";
27
27
  const fonts = "\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900');\n@import url('https://fonts.googleapis.com/css?family=JetBrains%20Mono');\n/* Inter (--scalar-font) */\n/* JetBrains Mono (--scalar-font-code) */\n";
28
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
28
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
29
29
  __name: "DefaultFonts",
30
30
  setup(__props) {
31
31
  return (_ctx, _cache) => {
@@ -33,7 +33,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
33
33
  };
34
34
  }
35
35
  });
36
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
36
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
37
37
  __name: "ThemeStyles",
38
38
  props: {
39
39
  id: {},
@@ -42,7 +42,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
42
42
  setup(__props) {
43
43
  return (_ctx, _cache) => {
44
44
  return openBlock(), createElementBlock(Fragment, null, [
45
- _ctx.withDefaultFonts ? (openBlock(), createBlock(_sfc_main$G, { key: 0 })) : createCommentVNode("", true),
45
+ _ctx.withDefaultFonts ? (openBlock(), createBlock(_sfc_main$F, { key: 0 })) : createCommentVNode("", true),
46
46
  _ctx.id !== "none" ? (openBlock(), createBlock(resolveDynamicComponent("style"), { key: 1 }, {
47
47
  default: withCtx(() => [
48
48
  createTextVNode(toDisplayString(unref(getThemeById)(_ctx.id, { layer: "scalar-theme" })), 1)
@@ -61,7 +61,7 @@ function useApplyClasses(selector, classes) {
61
61
  el == null ? void 0 : el.classList.add(classes);
62
62
  });
63
63
  }
64
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
64
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
65
65
  __name: "ResetStyles",
66
66
  setup(__props) {
67
67
  const { reset: reset2 } = useCssModule();
@@ -85,7 +85,7 @@ const _export_sfc = (sfc, props) => {
85
85
  const cssModules = {
86
86
  "$style": style0
87
87
  };
88
- const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__cssModules", cssModules]]);
88
+ const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__cssModules", cssModules]]);
89
89
  const presets = {
90
90
  alternate: alternateTheme,
91
91
  default: defaultTheme,
@@ -2881,7 +2881,7 @@ const httpStatusCodes = {
2881
2881
  url: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"
2882
2882
  }
2883
2883
  };
2884
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
2884
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2885
2885
  __name: "HttpMethod",
2886
2886
  props: {
2887
2887
  as: {},
@@ -25798,7 +25798,7 @@ function getCodeMirrorExtensions({
25798
25798
  }
25799
25799
  return extensions;
25800
25800
  }
25801
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
25801
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
25802
25802
  __name: "CodeMirror",
25803
25803
  props: {
25804
25804
  content: {},
@@ -25835,9 +25835,9 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
25835
25835
  };
25836
25836
  }
25837
25837
  });
25838
- const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c045d592"]]);
25839
- const _hoisted_1$x = { class: "scalar-modal-layout modal-layout" };
25840
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
25838
+ const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-0abaf2d9"]]);
25839
+ const _hoisted_1$w = { class: "scalar-modal-layout modal-layout" };
25840
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
25841
25841
  __name: "FlowModal",
25842
25842
  props: {
25843
25843
  state: {},
@@ -25853,7 +25853,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
25853
25853
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.state.hide())
25854
25854
  }, {
25855
25855
  default: withCtx(() => [
25856
- createElementVNode("div", _hoisted_1$x, [
25856
+ createElementVNode("div", _hoisted_1$w, [
25857
25857
  createVNode(unref(DialogPanel), {
25858
25858
  class: normalizeClass(["modal", {
25859
25859
  "modal-content-large": _ctx.variant === "large",
@@ -25892,7 +25892,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
25892
25892
  };
25893
25893
  }
25894
25894
  });
25895
- const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-4aafbf68"]]);
25895
+ const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4aafbf68"]]);
25896
25896
  const useModal = () => reactive({
25897
25897
  open: false,
25898
25898
  show() {
@@ -26267,10 +26267,10 @@ async function sendRequest(request, proxyUrl) {
26267
26267
  responseId: nanoid()
26268
26268
  };
26269
26269
  }
26270
- const _hoisted_1$w = { class: "navtable-item-40 navtable-item-request" };
26271
- const _hoisted_2$n = { class: "navtable-item-40 navtable-item-response" };
26270
+ const _hoisted_1$v = { class: "navtable-item-40 navtable-item-request" };
26271
+ const _hoisted_2$o = { class: "navtable-item-40 navtable-item-response" };
26272
26272
  const _hoisted_3$g = { class: "navtable-item-20 navtable-item-time" };
26273
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
26273
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26274
26274
  __name: "RequestHistoryItem",
26275
26275
  props: {
26276
26276
  history: {}
@@ -26291,7 +26291,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
26291
26291
  class: normalizeClass(["navtable-item", { "navtable-item__active": unref(activeRequestId2) === _ctx.history }]),
26292
26292
  onClick: _cache[0] || (_cache[0] = ($event) => unref(setActiveResponse2)(_ctx.history))
26293
26293
  }, [
26294
- createElementVNode("div", _hoisted_1$w, [
26294
+ createElementVNode("div", _hoisted_1$v, [
26295
26295
  createElementVNode("button", {
26296
26296
  class: normalizeClass(["radio", unref(requestHistory2)[_ctx.history].request.type.toLowerCase()]),
26297
26297
  type: "button"
@@ -26301,7 +26301,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
26301
26301
  createTextVNode(" " + toDisplayString(unref(requestHistory2)[_ctx.history].request.url), 1)
26302
26302
  ])
26303
26303
  ]),
26304
- createElementVNode("div", _hoisted_2$n, [
26304
+ createElementVNode("div", _hoisted_2$o, [
26305
26305
  createElementVNode("span", null, toDisplayString(unref(prettyMilliseconds)(unref(requestHistory2)[_ctx.history].response.duration)), 1),
26306
26306
  createElementVNode("span", {
26307
26307
  class: normalizeClass(`scalar-api-client__status--${String(
@@ -26317,24 +26317,24 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
26317
26317
  };
26318
26318
  }
26319
26319
  });
26320
- const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-353c6d86"]]);
26321
- const _hoisted_1$v = { class: "navigation-content-item" };
26322
- const _hoisted_2$m = { class: "navtable" };
26320
+ const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-353c6d86"]]);
26321
+ const _hoisted_1$u = { class: "navigation-content-item" };
26322
+ const _hoisted_2$n = { class: "navtable" };
26323
26323
  const _hoisted_3$f = { class: "navtable-table" };
26324
26324
  const _hoisted_4$b = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top"><div class="navtable-item-40"><label for="">Request</label></div><div class="navtable-item-40"><label for="">Response</label></div><div class="navtable-item-20"><label for="">TIME</label></div></div>', 1);
26325
- const _hoisted_5$6 = { class: "navtable-radios" };
26325
+ const _hoisted_5$7 = { class: "navtable-radios" };
26326
26326
  const _hoisted_6$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-mock"><div class="navtable-item"><div class="navtable-item-40"></div><div class="navtable-item-40"></div><div class="navtable-item-20"></div></div></div>', 1);
26327
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
26327
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
26328
26328
  __name: "RequestHistory",
26329
26329
  emits: ["toggle"],
26330
26330
  setup(__props) {
26331
26331
  const { requestHistoryOrder: requestHistoryOrder2 } = useRequestStore();
26332
26332
  return (_ctx, _cache) => {
26333
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
26334
- createElementVNode("div", _hoisted_2$m, [
26333
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
26334
+ createElementVNode("div", _hoisted_2$n, [
26335
26335
  createElementVNode("div", _hoisted_3$f, [
26336
26336
  _hoisted_4$b,
26337
- createElementVNode("div", _hoisted_5$6, [
26337
+ createElementVNode("div", _hoisted_5$7, [
26338
26338
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(requestHistoryOrder2), (history) => {
26339
26339
  return openBlock(), createBlock(RequestHistoryItem, {
26340
26340
  key: history,
@@ -26349,10 +26349,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
26349
26349
  };
26350
26350
  }
26351
26351
  });
26352
- const _hoisted_1$u = { class: "request-method-select" };
26353
- const _hoisted_2$l = ["disabled", "value"];
26352
+ const _hoisted_1$t = { class: "request-method-select" };
26353
+ const _hoisted_2$m = ["disabled", "value"];
26354
26354
  const _hoisted_3$e = ["value"];
26355
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
26355
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26356
26356
  __name: "RequestMethodSelect",
26357
26357
  props: {
26358
26358
  requestMethod: {},
@@ -26372,7 +26372,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
26372
26372
  // 'TRACE',
26373
26373
  ];
26374
26374
  return (_ctx, _cache) => {
26375
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
26375
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
26376
26376
  createElementVNode("span", {
26377
26377
  class: normalizeClass(["request-method", { "request-method--disabled": _ctx.readOnly }])
26378
26378
  }, [
@@ -26389,24 +26389,27 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
26389
26389
  value: validRequestMethod.toLocaleLowerCase()
26390
26390
  }, toDisplayString(validRequestMethod), 9, _hoisted_3$e);
26391
26391
  }), 64))
26392
- ], 40, _hoisted_2$l)
26392
+ ], 40, _hoisted_2$m)
26393
26393
  ]);
26394
26394
  };
26395
26395
  }
26396
26396
  });
26397
- const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0f1e5bdc"]]);
26398
- const _withScopeId$5 = (n) => (pushScopeId("data-v-95886ec0"), n = n(), popScopeId(), n);
26399
- const _hoisted_1$t = {
26397
+ const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0f1e5bdc"]]);
26398
+ const _withScopeId$5 = (n) => (pushScopeId("data-v-64a60541"), n = n(), popScopeId(), n);
26399
+ const _hoisted_1$s = {
26400
26400
  key: 0,
26401
26401
  class: "loader"
26402
26402
  };
26403
- const _hoisted_2$k = { class: "url-form" };
26403
+ const _hoisted_2$l = { class: "url-form" };
26404
26404
  const _hoisted_3$d = { class: "url-form-field" };
26405
- const _hoisted_4$a = {
26405
+ const _hoisted_4$a = { class: "url-form-input-wrapper cm-scroller" };
26406
+ const _hoisted_5$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__left" }, null, -1));
26407
+ const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__right" }, null, -1));
26408
+ const _hoisted_7$2 = {
26406
26409
  key: 0,
26407
26410
  class: "history"
26408
26411
  };
26409
- const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26412
+ const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26410
26413
  fill: "none",
26411
26414
  height: "48",
26412
26415
  viewBox: "0 0 14 14",
@@ -26430,11 +26433,11 @@ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
26430
26433
  })
26431
26434
  ])
26432
26435
  ], -1));
26433
- const _hoisted_6$2 = [
26434
- _hoisted_5$5
26436
+ const _hoisted_9$1 = [
26437
+ _hoisted_8$2
26435
26438
  ];
26436
- const _hoisted_7$2 = ["disabled"];
26437
- const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26439
+ const _hoisted_10$1 = ["disabled"];
26440
+ const _hoisted_11 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
26438
26441
  fill: "none",
26439
26442
  height: "48",
26440
26443
  viewBox: "0 0 14 14",
@@ -26451,13 +26454,13 @@ const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
26451
26454
  })
26452
26455
  ])
26453
26456
  ], -1));
26454
- const _hoisted_9$1 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", null, "Send", -1));
26455
- const _hoisted_10$1 = [
26456
- _hoisted_8$2,
26457
- _hoisted_9$1
26457
+ const _hoisted_12 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", null, "Send", -1));
26458
+ const _hoisted_13 = [
26459
+ _hoisted_11,
26460
+ _hoisted_12
26458
26461
  ];
26459
- const _hoisted_11 = { class: "address-bar-content" };
26460
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
26462
+ const _hoisted_14 = { class: "address-bar-content" };
26463
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26461
26464
  __name: "AddressBar",
26462
26465
  props: {
26463
26466
  proxyUrl: {}
@@ -26516,52 +26519,56 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26516
26519
  };
26517
26520
  return (_ctx, _cache) => {
26518
26521
  return openBlock(), createElementBlock(Fragment, null, [
26519
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$t)) : createCommentVNode("", true),
26522
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true),
26520
26523
  createElementVNode("div", {
26521
26524
  class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
26522
26525
  }, [
26523
- createElementVNode("div", _hoisted_2$k, [
26526
+ createElementVNode("div", _hoisted_2$l, [
26524
26527
  createElementVNode("div", _hoisted_3$d, [
26525
26528
  createVNode(RequestMethodSelect, {
26526
26529
  readOnly: unref(readOnly2),
26527
26530
  requestMethod: requestType.value,
26528
26531
  onChange: handleRequestMethodChanged
26529
26532
  }, null, 8, ["readOnly", "requestMethod"]),
26530
- createVNode(unref(CodeMirror), {
26531
- class: "url-form-input",
26532
- content: formattedUrl.value,
26533
- disableEnter: "",
26534
- readOnly: unref(readOnly2),
26535
- withoutTheme: "",
26536
- withVariables: "",
26537
- onChange
26538
- }, null, 8, ["content", "readOnly"]),
26539
- unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
26533
+ createElementVNode("div", _hoisted_4$a, [
26534
+ _hoisted_5$6,
26535
+ createVNode(unref(CodeMirror), {
26536
+ class: "url-form-input",
26537
+ content: formattedUrl.value,
26538
+ disableEnter: "",
26539
+ readOnly: unref(readOnly2),
26540
+ withoutTheme: "",
26541
+ withVariables: "",
26542
+ onChange
26543
+ }, null, 8, ["content", "readOnly"]),
26544
+ _hoisted_6$2
26545
+ ]),
26546
+ unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
26540
26547
  createElementVNode("div", {
26541
26548
  class: "history-toggle",
26542
26549
  onClick: _cache[0] || (_cache[0] = ($event) => unref(historyModal).show())
26543
- }, _hoisted_6$2)
26550
+ }, _hoisted_9$1)
26544
26551
  ])) : createCommentVNode("", true),
26545
26552
  createElementVNode("button", {
26546
26553
  class: "send-button",
26547
26554
  disabled: !formattedUrl.value.trim().length,
26548
26555
  type: "submit",
26549
26556
  onClick: send
26550
- }, _hoisted_10$1, 8, _hoisted_7$2)
26557
+ }, _hoisted_13, 8, _hoisted_10$1)
26551
26558
  ])
26552
26559
  ]),
26553
26560
  createElementVNode("div", {
26554
26561
  class: "address-bar-close",
26555
26562
  onClick: _cache[1] || (_cache[1] = ($event) => showHistory.value = false)
26556
26563
  }),
26557
- createElementVNode("div", _hoisted_11, [
26564
+ createElementVNode("div", _hoisted_14, [
26558
26565
  createVNode(unref(FlowModal), {
26559
26566
  state: unref(historyModal),
26560
26567
  title: "Request History",
26561
26568
  variant: "history"
26562
26569
  }, {
26563
26570
  default: withCtx(() => [
26564
- createVNode(_sfc_main$z, {
26571
+ createVNode(_sfc_main$y, {
26565
26572
  showHistory: showHistory.value,
26566
26573
  onToggle: _cache[2] || (_cache[2] = ($event) => showHistory.value = !showHistory.value)
26567
26574
  }, null, 8, ["showHistory"])
@@ -26574,28 +26581,29 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
26574
26581
  };
26575
26582
  }
26576
26583
  });
26577
- const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-95886ec0"]]);
26584
+ const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-64a60541"]]);
26578
26585
  const clickGeneratedParameter = useEventBus(Symbol());
26579
- const _hoisted_1$s = /* @__PURE__ */ createElementVNode("svg", {
26586
+ const _hoisted_1$r = { class: "scalar-api-client__toggle-container" };
26587
+ const _hoisted_2$k = { class: "scalar-api-client__item__title" };
26588
+ const _hoisted_3$c = {
26589
+ key: 0,
26590
+ class: "scalar-api-client__item__options"
26591
+ };
26592
+ const _hoisted_4$9 = /* @__PURE__ */ createElementVNode("svg", {
26580
26593
  class: "scalar-api-client__toggle__icon",
26581
- height: "10",
26582
- viewBox: "0 0 5 10",
26583
- width: "5",
26584
- xmlns: "http://www.w3.org/2000/svg"
26594
+ xmlns: "http://www.w3.org/2000/svg",
26595
+ fill: "none",
26596
+ viewBox: "0 0 12 12"
26585
26597
  }, [
26586
26598
  /* @__PURE__ */ createElementVNode("path", {
26587
- d: "M0 10l5-5-5-5z",
26588
- fill: "currentColor",
26589
- "fill-rule": "nonzero"
26599
+ stroke: "currentColor",
26600
+ "stroke-linecap": "round",
26601
+ "stroke-linejoin": "round",
26602
+ d: "M2.2 4.1 6 7.9l3.8-3.8"
26590
26603
  })
26591
26604
  ], -1);
26592
- const _hoisted_2$j = { class: "scalar-api-client__item__title" };
26593
- const _hoisted_3$c = {
26594
- key: 0,
26595
- class: "scalar-api-client__item__options"
26596
- };
26597
- const _hoisted_4$9 = { class: "scalar-api-client__item__content" };
26598
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
26605
+ const _hoisted_5$5 = { class: "scalar-api-client__item__content" };
26606
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
26599
26607
  __name: "CollapsibleSection",
26600
26608
  props: {
26601
26609
  title: {},
@@ -26632,17 +26640,19 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26632
26640
  onClick: _cache[0] || (_cache[0] = ($event) => openCopy.value = !openCopy.value)
26633
26641
  }, {
26634
26642
  default: withCtx(() => [
26635
- _hoisted_1$s,
26636
- createElementVNode("span", _hoisted_2$j, toDisplayString(_ctx.title), 1),
26637
- _ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
26638
- renderSlot(_ctx.$slots, "options")
26639
- ])) : createCommentVNode("", true)
26643
+ createElementVNode("div", _hoisted_1$r, [
26644
+ createElementVNode("span", _hoisted_2$k, toDisplayString(_ctx.title), 1),
26645
+ _ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
26646
+ renderSlot(_ctx.$slots, "options")
26647
+ ])) : createCommentVNode("", true)
26648
+ ]),
26649
+ _hoisted_4$9
26640
26650
  ]),
26641
26651
  _: 2
26642
26652
  }, 1536),
26643
26653
  createVNode(unref(DisclosurePanel), null, {
26644
26654
  default: withCtx(() => [
26645
- createElementVNode("div", _hoisted_4$9, [
26655
+ createElementVNode("div", _hoisted_5$5, [
26646
26656
  renderSlot(_ctx.$slots, "default")
26647
26657
  ])
26648
26658
  ]),
@@ -26655,15 +26665,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26655
26665
  };
26656
26666
  }
26657
26667
  });
26658
- const _sfc_main$v = {};
26659
- const _hoisted_1$r = { class: "card-form" };
26660
- function _sfc_render$4(_ctx, _cache) {
26661
- return openBlock(), createElementBlock("form", _hoisted_1$r, [
26668
+ const _sfc_main$u = {};
26669
+ const _hoisted_1$q = { class: "card-form" };
26670
+ function _sfc_render$3(_ctx, _cache) {
26671
+ return openBlock(), createElementBlock("form", _hoisted_1$q, [
26662
26672
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
26663
26673
  ]);
26664
26674
  }
26665
- const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$4], ["__scopeId", "data-v-6ddec640"]]);
26666
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
26675
+ const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$3], ["__scopeId", "data-v-bc8cea71"]]);
26676
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
26667
26677
  __name: "CardFormButton",
26668
26678
  setup(__props, { expose: __expose }) {
26669
26679
  const el = ref();
@@ -26680,15 +26690,15 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
26680
26690
  };
26681
26691
  }
26682
26692
  });
26683
- const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-506868df"]]);
26684
- const _sfc_main$t = {};
26685
- const _hoisted_1$q = { class: "card-form-group" };
26686
- function _sfc_render$3(_ctx, _cache) {
26687
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
26693
+ const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-6ae053e9"]]);
26694
+ const _sfc_main$s = {};
26695
+ const _hoisted_1$p = { class: "card-form-group" };
26696
+ function _sfc_render$2(_ctx, _cache) {
26697
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
26688
26698
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
26689
26699
  ]);
26690
26700
  }
26691
- const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
26701
+ const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$2], ["__scopeId", "data-v-6b5d2194"]]);
26692
26702
  function r(e) {
26693
26703
  var t2, f, n = "";
26694
26704
  if ("string" == typeof e || "number" == typeof e)
@@ -31404,10 +31414,10 @@ const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZg
31404
31414
  ], 10, Je));
31405
31415
  }
31406
31416
  });
31407
- const _hoisted_1$p = { class: "card-form-input" };
31408
- const _hoisted_2$i = ["for"];
31417
+ const _hoisted_1$o = { class: "card-form-input" };
31418
+ const _hoisted_2$j = ["for"];
31409
31419
  const _hoisted_3$b = ["id", "type"];
31410
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
31420
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
31411
31421
  ...{
31412
31422
  inheritAttrs: false
31413
31423
  },
@@ -31423,10 +31433,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
31423
31433
  () => props.type === "password" ? mask.value ? "password" : "text" : props.type ?? "text"
31424
31434
  );
31425
31435
  return (_ctx, _cache) => {
31426
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
31436
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
31427
31437
  createElementVNode("label", { for: _ctx.id }, [
31428
31438
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
31429
- ], 8, _hoisted_2$i),
31439
+ ], 8, _hoisted_2$j),
31430
31440
  createElementVNode("input", mergeProps(_ctx.$attrs, {
31431
31441
  id: _ctx.id,
31432
31442
  autocomplete: "off",
@@ -31445,18 +31455,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
31445
31455
  };
31446
31456
  }
31447
31457
  });
31448
- const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-70fbdb66"]]);
31449
- const _sfc_main$r = {};
31450
- const _hoisted_1$o = { class: "badge" };
31451
- function _sfc_render$2(_ctx, _cache) {
31452
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
31453
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
31454
- ]);
31455
- }
31456
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2], ["__scopeId", "data-v-190574ac"]]);
31457
- const _withScopeId$4 = (n) => (pushScopeId("data-v-0243b758"), n = n(), popScopeId(), n);
31458
+ const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b36c2dca"]]);
31459
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-2c0182f1"), n = n(), popScopeId(), n);
31458
31460
  const _hoisted_1$n = { class: "scopes-label" };
31459
- const _hoisted_2$h = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "|", -1));
31461
+ const _hoisted_2$i = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "/", -1));
31460
31462
  const _hoisted_3$a = ["checked"];
31461
31463
  const _hoisted_4$8 = { class: "dropdown-item-title" };
31462
31464
  const _hoisted_5$4 = { class: "dropdown-item-description" };
@@ -31496,19 +31498,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
31496
31498
  createVNode(unref(ListboxButton), { as: CardFormButton }, {
31497
31499
  default: withCtx(() => [
31498
31500
  createElementVNode("div", _hoisted_1$n, [
31501
+ createTextVNode(" Scopes " + toDisplayString(model.value.length), 1),
31502
+ _hoisted_2$i,
31503
+ createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length) + " ", 1),
31499
31504
  createVNode(unref(V), {
31500
31505
  icon: open ? "ChevronUp" : "ChevronDown",
31501
31506
  size: "sm"
31502
- }, null, 8, ["icon"]),
31503
- createTextVNode(" Scopes "),
31504
- createVNode(unref(Badge), { class: "scopes-label-badge" }, {
31505
- default: withCtx(() => [
31506
- createTextVNode(toDisplayString(model.value.length), 1),
31507
- _hoisted_2$h,
31508
- createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length), 1)
31509
- ]),
31510
- _: 1
31511
- })
31507
+ }, null, 8, ["icon"])
31512
31508
  ])
31513
31509
  ]),
31514
31510
  _: 2
@@ -31562,7 +31558,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
31562
31558
  };
31563
31559
  }
31564
31560
  });
31565
- const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0243b758"]]);
31561
+ const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2c0182f1"]]);
31566
31562
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
31567
31563
  __name: "SecurityScheme",
31568
31564
  props: {
@@ -31765,7 +31761,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31765
31761
  "onUpdate:selected": _cache[1] || (_cache[1] = ($event) => oauth2SelectedScopes.value = $event),
31766
31762
  scopes: _ctx.value.flows.implicit.scopes
31767
31763
  }, null, 8, ["selected", "scopes"])) : createCommentVNode("", true),
31768
- createVNode(CardFormButton, {
31764
+ createElementVNode("button", {
31765
+ class: "cardform-auth-button",
31769
31766
  onClick: _cache[2] || (_cache[2] = () => {
31770
31767
  var _a3;
31771
31768
  return startAuthentication(
@@ -31775,12 +31772,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31775
31772
  )
31776
31773
  );
31777
31774
  })
31778
- }, {
31779
- default: withCtx(() => [
31780
- createTextVNode(" Authorize ")
31781
- ]),
31782
- _: 1
31783
- })
31775
+ }, " Authorize ")
31784
31776
  ], 64))
31785
31777
  ]),
31786
31778
  _: 1
@@ -31791,13 +31783,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
31791
31783
  };
31792
31784
  }
31793
31785
  });
31794
- const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ce3ed7f0"]]);
31795
- const _withScopeId$3 = (n) => (pushScopeId("data-v-fa321bbc"), n = n(), popScopeId(), n);
31786
+ const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-3eb93ac9"]]);
31787
+ const _withScopeId$3 = (n) => (pushScopeId("data-v-f7e91a72"), n = n(), popScopeId(), n);
31796
31788
  const _hoisted_1$m = {
31797
31789
  key: 1,
31798
31790
  class: "security-scheme-selector"
31799
31791
  };
31800
- const _hoisted_2$g = ["value"];
31792
+ const _hoisted_2$h = ["value"];
31801
31793
  const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
31802
31794
  const _hoisted_4$7 = ["value"];
31803
31795
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
@@ -31875,17 +31867,17 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
31875
31867
  value: key ?? null
31876
31868
  }, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$7);
31877
31869
  }), 128))
31878
- ], 40, _hoisted_2$g)
31870
+ ], 40, _hoisted_2$h)
31879
31871
  ])) : createCommentVNode("", true);
31880
31872
  };
31881
31873
  }
31882
31874
  });
31883
- const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fa321bbc"]]);
31875
+ const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-f7e91a72"]]);
31884
31876
  const _hoisted_1$l = {
31885
31877
  key: 0,
31886
31878
  class: "preferred-security-scheme"
31887
31879
  };
31888
- const _hoisted_2$f = {
31880
+ const _hoisted_2$g = {
31889
31881
  key: 1,
31890
31882
  class: "security-scheme-empty-state"
31891
31883
  };
@@ -31921,7 +31913,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31921
31913
  ref_key: "requestAuthenticationRef",
31922
31914
  ref: requestAuthenticationRef
31923
31915
  }, [
31924
- createVNode(unref(_sfc_main$w), { title: "Authentication" }, {
31916
+ createVNode(unref(_sfc_main$v), { title: "Authentication" }, {
31925
31917
  options: withCtx(() => [
31926
31918
  createVNode(SecuritySchemeSelector, {
31927
31919
  value: unref(authentication2).securitySchemes
@@ -31935,7 +31927,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31935
31927
  value: (_a2 = unref(authentication2).securitySchemes) == null ? void 0 : _a2[unref(authentication2).preferredSecurityScheme]
31936
31928
  }, null, 8, ["value"])
31937
31929
  ])) : createCommentVNode("", true),
31938
- !unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
31930
+ !unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
31939
31931
  createElementVNode("div", {
31940
31932
  class: "scalar-api-client-add",
31941
31933
  variant: "outlined",
@@ -31960,9 +31952,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
31960
31952
  };
31961
31953
  }
31962
31954
  });
31963
- const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-cbd3fe9a"]]);
31955
+ const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-d34c7f0c"]]);
31964
31956
  const _hoisted_1$k = { class: "table-row" };
31965
- const _hoisted_2$e = { class: "table-row-item" };
31957
+ const _hoisted_2$f = { class: "table-row-item" };
31966
31958
  const _hoisted_3$8 = { class: "table-row-item" };
31967
31959
  const _hoisted_4$6 = {
31968
31960
  key: 0,
@@ -31977,7 +31969,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31977
31969
  setup(__props) {
31978
31970
  return (_ctx, _cache) => {
31979
31971
  return openBlock(), createElementBlock("div", _hoisted_1$k, [
31980
- createElementVNode("div", _hoisted_2$e, [
31972
+ createElementVNode("div", _hoisted_2$f, [
31981
31973
  renderSlot(_ctx.$slots, "key", {}, void 0, true)
31982
31974
  ]),
31983
31975
  createElementVNode("div", _hoisted_3$8, [
@@ -31993,10 +31985,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
31993
31985
  };
31994
31986
  }
31995
31987
  });
31996
- const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d223c4c9"]]);
31997
- const _withScopeId$2 = (n) => (pushScopeId("data-v-f563de96"), n = n(), popScopeId(), n);
31988
+ const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d0f28f6e"]]);
31989
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-1fd79202"), n = n(), popScopeId(), n);
31998
31990
  const _hoisted_1$j = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Key", -1));
31999
- const _hoisted_2$d = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
31991
+ const _hoisted_2$e = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
32000
31992
  const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Description", -1));
32001
31993
  const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
32002
31994
  fill: "currentColor",
@@ -32023,7 +32015,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
32023
32015
  _hoisted_1$j
32024
32016
  ]),
32025
32017
  value: withCtx(() => [
32026
- _hoisted_2$d
32018
+ _hoisted_2$e
32027
32019
  ]),
32028
32020
  description: withCtx(() => [
32029
32021
  _hoisted_3$7
@@ -32045,10 +32037,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
32045
32037
  };
32046
32038
  }
32047
32039
  });
32048
- const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-f563de96"]]);
32049
- const _withScopeId$1 = (n) => (pushScopeId("data-v-343844f2"), n = n(), popScopeId(), n);
32040
+ const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1fd79202"]]);
32041
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-69821299"), n = n(), popScopeId(), n);
32050
32042
  const _hoisted_1$i = { class: "meta-check" };
32051
- const _hoisted_2$c = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
32043
+ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
32052
32044
  const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
32053
32045
  fill: "none",
32054
32046
  height: "10",
@@ -32145,7 +32137,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
32145
32137
  }, null, 512), [
32146
32138
  [vModelCheckbox, enabledProxy.value]
32147
32139
  ]),
32148
- _hoisted_2$c
32140
+ _hoisted_2$d
32149
32141
  ]),
32150
32142
  !_ctx.required ? (openBlock(), createElementBlock("button", {
32151
32143
  key: 0,
@@ -32159,10 +32151,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
32159
32151
  };
32160
32152
  }
32161
32153
  });
32162
- const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-343844f2"]]);
32154
+ const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-69821299"]]);
32163
32155
  const _withScopeId = (n) => (pushScopeId("data-v-78bcd93d"), n = n(), popScopeId(), n);
32164
32156
  const _hoisted_1$h = ["value"];
32165
- const _hoisted_2$b = ["value"];
32157
+ const _hoisted_2$c = ["value"];
32166
32158
  const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
32167
32159
  disabled: "",
32168
32160
  value: "Read-only"
@@ -32188,7 +32180,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
32188
32180
  placeholder: "value",
32189
32181
  type: "password",
32190
32182
  value: _ctx.item.value
32191
- }, null, 8, _hoisted_2$b)
32183
+ }, null, 8, _hoisted_2$c)
32192
32184
  ]),
32193
32185
  description: withCtx(() => [
32194
32186
  _hoisted_3$5
@@ -32200,7 +32192,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
32200
32192
  });
32201
32193
  const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-78bcd93d"]]);
32202
32194
  const _hoisted_1$g = { class: "table" };
32203
- const _hoisted_2$a = { class: "meta-actions" };
32195
+ const _hoisted_2$b = { class: "meta-actions" };
32204
32196
  const _hoisted_3$4 = { class: "meta-actions-item-icon" };
32205
32197
  const _hoisted_4$3 = { class: "meta-actions-item-icon" };
32206
32198
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
@@ -32252,7 +32244,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32252
32244
  [vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
32253
32245
  ]);
32254
32246
  }), 128)),
32255
- createElementVNode("div", _hoisted_2$a, [
32247
+ createElementVNode("div", _hoisted_2$b, [
32256
32248
  _ctx.addLabel ? (openBlock(), createElementBlock("button", {
32257
32249
  key: 0,
32258
32250
  class: "meta-actions-item",
@@ -32280,9 +32272,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
32280
32272
  };
32281
32273
  }
32282
32274
  });
32283
- const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1dbaabfd"]]);
32275
+ const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-af1138c8"]]);
32284
32276
  const _hoisted_1$f = { class: "navtable simpletable" };
32285
- const _hoisted_2$9 = { class: "navtable-table" };
32277
+ const _hoisted_2$a = { class: "navtable-table" };
32286
32278
  const _hoisted_3$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top" data-v-5ba40e52><div class="navtable-item-33" data-v-5ba40e52><label for="" data-v-5ba40e52>Name</label></div><div class="navtable-item-66" data-v-5ba40e52><label for="" data-v-5ba40e52>Value</label></div></div>', 1);
32287
32279
  const _hoisted_4$2 = { class: "navtable-item-33" };
32288
32280
  const _hoisted_5$2 = { class: "navtable-item-66" };
@@ -32294,7 +32286,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
32294
32286
  setup(__props) {
32295
32287
  return (_ctx, _cache) => {
32296
32288
  return openBlock(), createElementBlock("div", _hoisted_1$f, [
32297
- createElementVNode("div", _hoisted_2$9, [
32289
+ createElementVNode("div", _hoisted_2$a, [
32298
32290
  _hoisted_3$3,
32299
32291
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
32300
32292
  return openBlock(), createElementBlock("div", {
@@ -32333,7 +32325,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
32333
32325
  }
32334
32326
  };
32335
32327
  return (_ctx, _cache) => {
32336
- return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
32328
+ return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
32337
32329
  default: withCtx(() => [
32338
32330
  _ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$e, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(Grid), {
32339
32331
  key: 1,
@@ -32355,7 +32347,7 @@ const _hoisted_1$d = {
32355
32347
  key: 0,
32356
32348
  class: "scalar-api-client__empty-state"
32357
32349
  };
32358
- const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("svg", {
32350
+ const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("svg", {
32359
32351
  class: "flow-icon",
32360
32352
  "data-v-aa4fbd2d": "",
32361
32353
  height: "100%",
@@ -32397,7 +32389,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
32397
32389
  return !!(((_a2 = props.cookies) == null ? void 0 : _a2.length) || ((_b = props.generatedCookies) == null ? void 0 : _b.length));
32398
32390
  });
32399
32391
  return (_ctx, _cache) => {
32400
- return openBlock(), createBlock(unref(_sfc_main$w), {
32392
+ return openBlock(), createBlock(unref(_sfc_main$v), {
32401
32393
  defaultOpen: hasCookies.value,
32402
32394
  title: "Cookies"
32403
32395
  }, {
@@ -32408,7 +32400,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
32408
32400
  type: "button",
32409
32401
  onClick: addAnotherHandler
32410
32402
  }, [
32411
- _hoisted_2$8,
32403
+ _hoisted_2$9,
32412
32404
  createTextVNode(" Cookies ")
32413
32405
  ])
32414
32406
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32429,7 +32421,7 @@ const _hoisted_1$c = {
32429
32421
  key: 0,
32430
32422
  class: "scalar-api-client__empty-state"
32431
32423
  };
32432
- const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
32424
+ const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("svg", {
32433
32425
  class: "flow-icon",
32434
32426
  "data-v-aa4fbd2d": "",
32435
32427
  height: "100%",
@@ -32471,7 +32463,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
32471
32463
  return !!(((_a2 = props.headers) == null ? void 0 : _a2.length) || ((_b = props.generatedHeaders) == null ? void 0 : _b.length));
32472
32464
  });
32473
32465
  return (_ctx, _cache) => {
32474
- return openBlock(), createBlock(unref(_sfc_main$w), {
32466
+ return openBlock(), createBlock(unref(_sfc_main$v), {
32475
32467
  defaultOpen: hasHeaders.value,
32476
32468
  title: "Headers"
32477
32469
  }, {
@@ -32482,7 +32474,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
32482
32474
  type: "button",
32483
32475
  onClick: addAnotherHandler
32484
32476
  }, [
32485
- _hoisted_2$7,
32477
+ _hoisted_2$8,
32486
32478
  createTextVNode(" Headers ")
32487
32479
  ])
32488
32480
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32503,7 +32495,7 @@ const _hoisted_1$b = {
32503
32495
  key: 0,
32504
32496
  class: "scalar-api-client__empty-state"
32505
32497
  };
32506
- const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
32498
+ const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
32507
32499
  class: "flow-icon",
32508
32500
  "data-v-aa4fbd2d": "",
32509
32501
  height: "100%",
@@ -32545,7 +32537,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
32545
32537
  return !!(((_a2 = props.queries) == null ? void 0 : _a2.length) || ((_b = props.generatedQueries) == null ? void 0 : _b.length));
32546
32538
  });
32547
32539
  return (_ctx, _cache) => {
32548
- return openBlock(), createBlock(unref(_sfc_main$w), {
32540
+ return openBlock(), createBlock(unref(_sfc_main$v), {
32549
32541
  defaultOpen: hasQueries.value,
32550
32542
  title: "Query Parameters"
32551
32543
  }, {
@@ -32556,7 +32548,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
32556
32548
  type: "button",
32557
32549
  onClick: addAnotherHandler
32558
32550
  }, [
32559
- _hoisted_2$6,
32551
+ _hoisted_2$7,
32560
32552
  createTextVNode(" Query Parameter ")
32561
32553
  ])
32562
32554
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32578,7 +32570,7 @@ const _hoisted_1$a = {
32578
32570
  key: 0,
32579
32571
  class: "scalar-api-client__empty-state"
32580
32572
  };
32581
- const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
32573
+ const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
32582
32574
  class: "flow-icon",
32583
32575
  "data-v-aa4fbd2d": "",
32584
32576
  height: "100%",
@@ -32614,7 +32606,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32614
32606
  (_a2 = activeRequest2.variables) == null ? void 0 : _a2.push({ name: "", value: "", enabled: true });
32615
32607
  }
32616
32608
  return (_ctx, _cache) => {
32617
- return openBlock(), createBlock(unref(_sfc_main$w), {
32609
+ return openBlock(), createBlock(unref(_sfc_main$v), {
32618
32610
  defaultOpen: unref(activeRequest2).variables && unref(activeRequest2).variables.length > 0,
32619
32611
  title: "Variables"
32620
32612
  }, {
@@ -32625,7 +32617,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32625
32617
  type: "button",
32626
32618
  onClick: addAnotherHandler
32627
32619
  }, [
32628
- _hoisted_2$5,
32620
+ _hoisted_2$6,
32629
32621
  createTextVNode(" Variable ")
32630
32622
  ])
32631
32623
  ])) : (openBlock(), createBlock(unref(Grid), {
@@ -32643,7 +32635,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
32643
32635
  }
32644
32636
  });
32645
32637
  const _hoisted_1$9 = { class: "scalar-api-client__main__left custom-scroll" };
32646
- const _hoisted_2$4 = { class: "scalar-api-client__main__content" };
32638
+ const _hoisted_2$5 = { class: "scalar-api-client__main__content" };
32647
32639
  const _hoisted_3$2 = { class: "scalar-api-client__main__content__header" };
32648
32640
  const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
32649
32641
  const _hoisted_5$1 = { class: "meta" };
@@ -32674,7 +32666,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
32674
32666
  });
32675
32667
  return (_ctx, _cache) => {
32676
32668
  return openBlock(), createElementBlock("div", _hoisted_1$9, [
32677
- createElementVNode("div", _hoisted_2$4, [
32669
+ createElementVNode("div", _hoisted_2$5, [
32678
32670
  createElementVNode("div", _hoisted_3$2, [
32679
32671
  _hoisted_4$1,
32680
32672
  createElementVNode("div", _hoisted_5$1, [
@@ -32723,7 +32715,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
32723
32715
  });
32724
32716
  const Computer = " .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n";
32725
32717
  const _hoisted_1$8 = { class: "ascii-art" };
32726
- const _hoisted_2$3 = { class: "ascii-art-line" };
32718
+ const _hoisted_2$4 = { class: "ascii-art-line" };
32727
32719
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
32728
32720
  __name: "ScalarAsciiArt",
32729
32721
  props: {
@@ -32740,7 +32732,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
32740
32732
  class: "ascii-art-line-wrapper",
32741
32733
  style: normalizeStyle({ width: `calc(${line.length + 1}ch)` })
32742
32734
  }, [
32743
- createElementVNode("span", _hoisted_2$3, toDisplayString(line), 1)
32735
+ createElementVNode("span", _hoisted_2$4, toDisplayString(line), 1)
32744
32736
  ], 4);
32745
32737
  }), 128))
32746
32738
  ]);
@@ -32752,7 +32744,7 @@ const _hoisted_1$7 = {
32752
32744
  key: 1,
32753
32745
  class: "scalar-api-client__empty-state"
32754
32746
  };
32755
- const _hoisted_2$2 = {
32747
+ const _hoisted_2$3 = {
32756
32748
  key: 1,
32757
32749
  class: "scalar-api-client__empty-state"
32758
32750
  };
@@ -32791,7 +32783,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
32791
32783
  return null;
32792
32784
  });
32793
32785
  return (_ctx, _cache) => {
32794
- return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
32786
+ return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
32795
32787
  default: withCtx(() => [
32796
32788
  _ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
32797
32789
  codeMirrorLanguage.value ? (openBlock(), createBlock(unref(Ot), {
@@ -32806,7 +32798,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
32806
32798
  createTextVNode(" Can’t render a preview. The Content-Type header is missing or unknown. ")
32807
32799
  ], 64))
32808
32800
  ]))
32809
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$2, " No Response "))
32801
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$3, " No Response "))
32810
32802
  ]),
32811
32803
  _: 1
32812
32804
  });
@@ -32857,7 +32849,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
32857
32849
  };
32858
32850
  }
32859
32851
  });
32860
- const SimpleCell = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-dd9f11a7"]]);
32852
+ const SimpleCell = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7e64a8bf"]]);
32861
32853
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
32862
32854
  __name: "SimpleHeader",
32863
32855
  setup(__props) {
@@ -32874,7 +32866,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
32874
32866
  };
32875
32867
  }
32876
32868
  });
32877
- const SimpleHeader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-0616a848"]]);
32869
+ const SimpleHeader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-afa8d6ba"]]);
32878
32870
  const _sfc_main$5 = {};
32879
32871
  const _hoisted_1$5 = { class: "simple-row" };
32880
32872
  function _sfc_render$1(_ctx, _cache) {
@@ -32884,13 +32876,16 @@ function _sfc_render$1(_ctx, _cache) {
32884
32876
  }
32885
32877
  const SimpleRow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$1], ["__scopeId", "data-v-5d742611"]]);
32886
32878
  const _sfc_main$4 = {};
32887
- const _hoisted_1$4 = { class: "simple-table" };
32879
+ const _hoisted_1$4 = { class: "simple-table-container" };
32880
+ const _hoisted_2$2 = { class: "simple-table" };
32888
32881
  function _sfc_render(_ctx, _cache) {
32889
- return openBlock(), createElementBlock("table", _hoisted_1$4, [
32890
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
32882
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
32883
+ createElementVNode("table", _hoisted_2$2, [
32884
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
32885
+ ])
32891
32886
  ]);
32892
32887
  }
32893
- const SimpleTable = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-20e482ca"]]);
32888
+ const SimpleTable = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-16749ce2"]]);
32894
32889
  const _hoisted_1$3 = {
32895
32890
  key: 1,
32896
32891
  class: "scalar-api-client__empty-state"
@@ -32913,7 +32908,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
32913
32908
  }).join("-");
32914
32909
  };
32915
32910
  return (_ctx, _cache) => {
32916
- return openBlock(), createBlock(unref(_sfc_main$w), { title: "Headers" }, {
32911
+ return openBlock(), createBlock(unref(_sfc_main$v), { title: "Headers" }, {
32917
32912
  default: withCtx(() => [
32918
32913
  _ctx.headers.length > 0 ? (openBlock(), createBlock(unref(SimpleTable), { key: 0 }, {
32919
32914
  default: withCtx(() => [
@@ -33096,7 +33091,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
33096
33091
  headers: responseHeaders.value
33097
33092
  }, null, 8, ["active", "data", "headers"]),
33098
33093
  createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
33099
- createVNode(unref(_sfc_main$w), { title: "Cookies" }, {
33094
+ createVNode(unref(_sfc_main$v), { title: "Cookies" }, {
33100
33095
  default: withCtx(() => [
33101
33096
  withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
33102
33097
  [vShow, responseCookies.value.length > 0]
@@ -33125,12 +33120,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33125
33120
  withDefaultFonts: { type: Boolean, default: true },
33126
33121
  showSideBar: { type: Boolean, default: false }
33127
33122
  },
33128
- emits: ["escapeKeyPress"],
33123
+ emits: ["escapeKeyPress", "toggleSidebar"],
33129
33124
  setup(__props, { emit: __emit }) {
33130
33125
  const props = __props;
33131
33126
  const emit = __emit;
33132
33127
  const keys = useMagicKeys();
33133
33128
  whenever(keys.escape, () => emit("escapeKeyPress"));
33129
+ whenever(keys.meta_b, () => emit("toggleSidebar"));
33134
33130
  const { activeRequest: activeRequest2, readOnly: stateReadOnly } = useRequestStore();
33135
33131
  const isSmallScreen = useMediaQuery("(max-width: 820px)");
33136
33132
  const selectedTab = ref(0);
@@ -33150,11 +33146,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33150
33146
  );
33151
33147
  return (_ctx, _cache) => {
33152
33148
  return openBlock(), createElementBlock(Fragment, null, [
33153
- createVNode(unref(_sfc_main$F), {
33149
+ createVNode(unref(_sfc_main$E), {
33154
33150
  id: _ctx.theme,
33155
33151
  withDefaultFonts: _ctx.withDefaultFonts
33156
33152
  }, null, 8, ["id", "withDefaultFonts"]),
33157
- createVNode(_sfc_main$D, {
33153
+ createVNode(_sfc_main$C, {
33158
33154
  class: "scalar-api-client",
33159
33155
  method: unref(activeRequest2).type ?? "get",
33160
33156
  property: "--scalar-api-client-color",
@@ -33234,7 +33230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33234
33230
  });
33235
33231
  export {
33236
33232
  _sfc_main as ApiClient,
33237
- _sfc_main$D as HttpMethod,
33233
+ _sfc_main$C as HttpMethod,
33238
33234
  RequestAuthentication,
33239
33235
  SecurityScheme,
33240
33236
  SecuritySchemeSelector,