@scalar/api-client 1.2.21 → 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/CHANGELOG.md +8 -0
- package/dist/components/ApiClient/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/RequestAuthentication/CardForm.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/RequestAuthentication/CardFormGroup.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/RequestAuthentication/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/RequestAuthentication/SecurityScheme.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/RequestAuthentication/SecuritySchemeScopes.vue.d.ts.map +1 -1
- package/dist/components/CollapsibleSection/CollapsibleSection.vue.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -1
- package/dist/index.css +248 -222
- package/dist/index.js +154 -166
- package/package.json +5 -5
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
25839
|
-
const _hoisted_1$
|
|
25840
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
26271
|
-
const _hoisted_2$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
26321
|
-
const _hoisted_1$
|
|
26322
|
-
const _hoisted_2$
|
|
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$
|
|
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$
|
|
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$
|
|
26334
|
-
createElementVNode("div", _hoisted_2$
|
|
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$
|
|
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$
|
|
26353
|
-
const _hoisted_2$
|
|
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$
|
|
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$
|
|
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,21 +26389,21 @@ 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$
|
|
26392
|
+
], 40, _hoisted_2$m)
|
|
26393
26393
|
]);
|
|
26394
26394
|
};
|
|
26395
26395
|
}
|
|
26396
26396
|
});
|
|
26397
|
-
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26398
|
-
const _withScopeId$5 = (n) => (pushScopeId("data-v-
|
|
26399
|
-
const _hoisted_1$
|
|
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$
|
|
26403
|
+
const _hoisted_2$l = { class: "url-form" };
|
|
26404
26404
|
const _hoisted_3$d = { class: "url-form-field" };
|
|
26405
26405
|
const _hoisted_4$a = { class: "url-form-input-wrapper cm-scroller" };
|
|
26406
|
-
const _hoisted_5$
|
|
26406
|
+
const _hoisted_5$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__left" }, null, -1));
|
|
26407
26407
|
const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "url-form-input-fade__right" }, null, -1));
|
|
26408
26408
|
const _hoisted_7$2 = {
|
|
26409
26409
|
key: 0,
|
|
@@ -26460,7 +26460,7 @@ const _hoisted_13 = [
|
|
|
26460
26460
|
_hoisted_12
|
|
26461
26461
|
];
|
|
26462
26462
|
const _hoisted_14 = { class: "address-bar-content" };
|
|
26463
|
-
const _sfc_main$
|
|
26463
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
26464
26464
|
__name: "AddressBar",
|
|
26465
26465
|
props: {
|
|
26466
26466
|
proxyUrl: {}
|
|
@@ -26519,11 +26519,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
26519
26519
|
};
|
|
26520
26520
|
return (_ctx, _cache) => {
|
|
26521
26521
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
26522
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26522
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true),
|
|
26523
26523
|
createElementVNode("div", {
|
|
26524
26524
|
class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
|
|
26525
26525
|
}, [
|
|
26526
|
-
createElementVNode("div", _hoisted_2$
|
|
26526
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
26527
26527
|
createElementVNode("div", _hoisted_3$d, [
|
|
26528
26528
|
createVNode(RequestMethodSelect, {
|
|
26529
26529
|
readOnly: unref(readOnly2),
|
|
@@ -26531,7 +26531,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
26531
26531
|
onChange: handleRequestMethodChanged
|
|
26532
26532
|
}, null, 8, ["readOnly", "requestMethod"]),
|
|
26533
26533
|
createElementVNode("div", _hoisted_4$a, [
|
|
26534
|
-
_hoisted_5$
|
|
26534
|
+
_hoisted_5$6,
|
|
26535
26535
|
createVNode(unref(CodeMirror), {
|
|
26536
26536
|
class: "url-form-input",
|
|
26537
26537
|
content: formattedUrl.value,
|
|
@@ -26568,7 +26568,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
26568
26568
|
variant: "history"
|
|
26569
26569
|
}, {
|
|
26570
26570
|
default: withCtx(() => [
|
|
26571
|
-
createVNode(_sfc_main$
|
|
26571
|
+
createVNode(_sfc_main$y, {
|
|
26572
26572
|
showHistory: showHistory.value,
|
|
26573
26573
|
onToggle: _cache[2] || (_cache[2] = ($event) => showHistory.value = !showHistory.value)
|
|
26574
26574
|
}, null, 8, ["showHistory"])
|
|
@@ -26581,28 +26581,29 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
26581
26581
|
};
|
|
26582
26582
|
}
|
|
26583
26583
|
});
|
|
26584
|
-
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26584
|
+
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-64a60541"]]);
|
|
26585
26585
|
const clickGeneratedParameter = useEventBus(Symbol());
|
|
26586
|
-
const _hoisted_1$
|
|
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", {
|
|
26587
26593
|
class: "scalar-api-client__toggle__icon",
|
|
26588
|
-
|
|
26589
|
-
|
|
26590
|
-
|
|
26591
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
26594
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26595
|
+
fill: "none",
|
|
26596
|
+
viewBox: "0 0 12 12"
|
|
26592
26597
|
}, [
|
|
26593
26598
|
/* @__PURE__ */ createElementVNode("path", {
|
|
26594
|
-
|
|
26595
|
-
|
|
26596
|
-
"
|
|
26599
|
+
stroke: "currentColor",
|
|
26600
|
+
"stroke-linecap": "round",
|
|
26601
|
+
"stroke-linejoin": "round",
|
|
26602
|
+
d: "M2.2 4.1 6 7.9l3.8-3.8"
|
|
26597
26603
|
})
|
|
26598
26604
|
], -1);
|
|
26599
|
-
const
|
|
26600
|
-
const
|
|
26601
|
-
key: 0,
|
|
26602
|
-
class: "scalar-api-client__item__options"
|
|
26603
|
-
};
|
|
26604
|
-
const _hoisted_4$9 = { class: "scalar-api-client__item__content" };
|
|
26605
|
-
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
26605
|
+
const _hoisted_5$5 = { class: "scalar-api-client__item__content" };
|
|
26606
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
26606
26607
|
__name: "CollapsibleSection",
|
|
26607
26608
|
props: {
|
|
26608
26609
|
title: {},
|
|
@@ -26639,17 +26640,19 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
26639
26640
|
onClick: _cache[0] || (_cache[0] = ($event) => openCopy.value = !openCopy.value)
|
|
26640
26641
|
}, {
|
|
26641
26642
|
default: withCtx(() => [
|
|
26642
|
-
_hoisted_1$
|
|
26643
|
-
|
|
26644
|
-
|
|
26645
|
-
|
|
26646
|
-
|
|
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
|
|
26647
26650
|
]),
|
|
26648
26651
|
_: 2
|
|
26649
26652
|
}, 1536),
|
|
26650
26653
|
createVNode(unref(DisclosurePanel), null, {
|
|
26651
26654
|
default: withCtx(() => [
|
|
26652
|
-
createElementVNode("div",
|
|
26655
|
+
createElementVNode("div", _hoisted_5$5, [
|
|
26653
26656
|
renderSlot(_ctx.$slots, "default")
|
|
26654
26657
|
])
|
|
26655
26658
|
]),
|
|
@@ -26662,15 +26665,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
26662
26665
|
};
|
|
26663
26666
|
}
|
|
26664
26667
|
});
|
|
26665
|
-
const _sfc_main$
|
|
26666
|
-
const _hoisted_1$
|
|
26667
|
-
function _sfc_render$
|
|
26668
|
-
return openBlock(), createElementBlock("form", _hoisted_1$
|
|
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, [
|
|
26669
26672
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26670
26673
|
]);
|
|
26671
26674
|
}
|
|
26672
|
-
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26673
|
-
const _sfc_main$
|
|
26675
|
+
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$3], ["__scopeId", "data-v-bc8cea71"]]);
|
|
26676
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26674
26677
|
__name: "CardFormButton",
|
|
26675
26678
|
setup(__props, { expose: __expose }) {
|
|
26676
26679
|
const el = ref();
|
|
@@ -26687,15 +26690,15 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26687
26690
|
};
|
|
26688
26691
|
}
|
|
26689
26692
|
});
|
|
26690
|
-
const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26691
|
-
const _sfc_main$
|
|
26692
|
-
const _hoisted_1$
|
|
26693
|
-
function _sfc_render$
|
|
26694
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
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, [
|
|
26695
26698
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26696
26699
|
]);
|
|
26697
26700
|
}
|
|
26698
|
-
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26701
|
+
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$2], ["__scopeId", "data-v-6b5d2194"]]);
|
|
26699
26702
|
function r(e) {
|
|
26700
26703
|
var t2, f, n = "";
|
|
26701
26704
|
if ("string" == typeof e || "number" == typeof e)
|
|
@@ -31411,10 +31414,10 @@ const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZg
|
|
|
31411
31414
|
], 10, Je));
|
|
31412
31415
|
}
|
|
31413
31416
|
});
|
|
31414
|
-
const _hoisted_1$
|
|
31415
|
-
const _hoisted_2$
|
|
31417
|
+
const _hoisted_1$o = { class: "card-form-input" };
|
|
31418
|
+
const _hoisted_2$j = ["for"];
|
|
31416
31419
|
const _hoisted_3$b = ["id", "type"];
|
|
31417
|
-
const _sfc_main$
|
|
31420
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31418
31421
|
...{
|
|
31419
31422
|
inheritAttrs: false
|
|
31420
31423
|
},
|
|
@@ -31430,10 +31433,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31430
31433
|
() => props.type === "password" ? mask.value ? "password" : "text" : props.type ?? "text"
|
|
31431
31434
|
);
|
|
31432
31435
|
return (_ctx, _cache) => {
|
|
31433
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31436
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
31434
31437
|
createElementVNode("label", { for: _ctx.id }, [
|
|
31435
31438
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31436
|
-
], 8, _hoisted_2$
|
|
31439
|
+
], 8, _hoisted_2$j),
|
|
31437
31440
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
31438
31441
|
id: _ctx.id,
|
|
31439
31442
|
autocomplete: "off",
|
|
@@ -31452,18 +31455,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
31452
31455
|
};
|
|
31453
31456
|
}
|
|
31454
31457
|
});
|
|
31455
|
-
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31456
|
-
const
|
|
31457
|
-
const _hoisted_1$o = { class: "badge" };
|
|
31458
|
-
function _sfc_render$2(_ctx, _cache) {
|
|
31459
|
-
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
31460
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31461
|
-
]);
|
|
31462
|
-
}
|
|
31463
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2], ["__scopeId", "data-v-190574ac"]]);
|
|
31464
|
-
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);
|
|
31465
31460
|
const _hoisted_1$n = { class: "scopes-label" };
|
|
31466
|
-
const _hoisted_2$
|
|
31461
|
+
const _hoisted_2$i = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "/", -1));
|
|
31467
31462
|
const _hoisted_3$a = ["checked"];
|
|
31468
31463
|
const _hoisted_4$8 = { class: "dropdown-item-title" };
|
|
31469
31464
|
const _hoisted_5$4 = { class: "dropdown-item-description" };
|
|
@@ -31503,19 +31498,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
31503
31498
|
createVNode(unref(ListboxButton), { as: CardFormButton }, {
|
|
31504
31499
|
default: withCtx(() => [
|
|
31505
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),
|
|
31506
31504
|
createVNode(unref(V), {
|
|
31507
31505
|
icon: open ? "ChevronUp" : "ChevronDown",
|
|
31508
31506
|
size: "sm"
|
|
31509
|
-
}, null, 8, ["icon"])
|
|
31510
|
-
createTextVNode(" Scopes "),
|
|
31511
|
-
createVNode(unref(Badge), { class: "scopes-label-badge" }, {
|
|
31512
|
-
default: withCtx(() => [
|
|
31513
|
-
createTextVNode(toDisplayString(model.value.length), 1),
|
|
31514
|
-
_hoisted_2$h,
|
|
31515
|
-
createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length), 1)
|
|
31516
|
-
]),
|
|
31517
|
-
_: 1
|
|
31518
|
-
})
|
|
31507
|
+
}, null, 8, ["icon"])
|
|
31519
31508
|
])
|
|
31520
31509
|
]),
|
|
31521
31510
|
_: 2
|
|
@@ -31569,7 +31558,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
31569
31558
|
};
|
|
31570
31559
|
}
|
|
31571
31560
|
});
|
|
31572
|
-
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
31561
|
+
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2c0182f1"]]);
|
|
31573
31562
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31574
31563
|
__name: "SecurityScheme",
|
|
31575
31564
|
props: {
|
|
@@ -31772,7 +31761,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31772
31761
|
"onUpdate:selected": _cache[1] || (_cache[1] = ($event) => oauth2SelectedScopes.value = $event),
|
|
31773
31762
|
scopes: _ctx.value.flows.implicit.scopes
|
|
31774
31763
|
}, null, 8, ["selected", "scopes"])) : createCommentVNode("", true),
|
|
31775
|
-
|
|
31764
|
+
createElementVNode("button", {
|
|
31765
|
+
class: "cardform-auth-button",
|
|
31776
31766
|
onClick: _cache[2] || (_cache[2] = () => {
|
|
31777
31767
|
var _a3;
|
|
31778
31768
|
return startAuthentication(
|
|
@@ -31782,12 +31772,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31782
31772
|
)
|
|
31783
31773
|
);
|
|
31784
31774
|
})
|
|
31785
|
-
},
|
|
31786
|
-
default: withCtx(() => [
|
|
31787
|
-
createTextVNode(" Authorize ")
|
|
31788
|
-
]),
|
|
31789
|
-
_: 1
|
|
31790
|
-
})
|
|
31775
|
+
}, " Authorize ")
|
|
31791
31776
|
], 64))
|
|
31792
31777
|
]),
|
|
31793
31778
|
_: 1
|
|
@@ -31798,13 +31783,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31798
31783
|
};
|
|
31799
31784
|
}
|
|
31800
31785
|
});
|
|
31801
|
-
const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
31802
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
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);
|
|
31803
31788
|
const _hoisted_1$m = {
|
|
31804
31789
|
key: 1,
|
|
31805
31790
|
class: "security-scheme-selector"
|
|
31806
31791
|
};
|
|
31807
|
-
const _hoisted_2$
|
|
31792
|
+
const _hoisted_2$h = ["value"];
|
|
31808
31793
|
const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
31809
31794
|
const _hoisted_4$7 = ["value"];
|
|
31810
31795
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
@@ -31882,17 +31867,17 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
31882
31867
|
value: key ?? null
|
|
31883
31868
|
}, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$7);
|
|
31884
31869
|
}), 128))
|
|
31885
|
-
], 40, _hoisted_2$
|
|
31870
|
+
], 40, _hoisted_2$h)
|
|
31886
31871
|
])) : createCommentVNode("", true);
|
|
31887
31872
|
};
|
|
31888
31873
|
}
|
|
31889
31874
|
});
|
|
31890
|
-
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
31875
|
+
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-f7e91a72"]]);
|
|
31891
31876
|
const _hoisted_1$l = {
|
|
31892
31877
|
key: 0,
|
|
31893
31878
|
class: "preferred-security-scheme"
|
|
31894
31879
|
};
|
|
31895
|
-
const _hoisted_2$
|
|
31880
|
+
const _hoisted_2$g = {
|
|
31896
31881
|
key: 1,
|
|
31897
31882
|
class: "security-scheme-empty-state"
|
|
31898
31883
|
};
|
|
@@ -31928,7 +31913,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31928
31913
|
ref_key: "requestAuthenticationRef",
|
|
31929
31914
|
ref: requestAuthenticationRef
|
|
31930
31915
|
}, [
|
|
31931
|
-
createVNode(unref(_sfc_main$
|
|
31916
|
+
createVNode(unref(_sfc_main$v), { title: "Authentication" }, {
|
|
31932
31917
|
options: withCtx(() => [
|
|
31933
31918
|
createVNode(SecuritySchemeSelector, {
|
|
31934
31919
|
value: unref(authentication2).securitySchemes
|
|
@@ -31942,7 +31927,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31942
31927
|
value: (_a2 = unref(authentication2).securitySchemes) == null ? void 0 : _a2[unref(authentication2).preferredSecurityScheme]
|
|
31943
31928
|
}, null, 8, ["value"])
|
|
31944
31929
|
])) : createCommentVNode("", true),
|
|
31945
|
-
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
31930
|
+
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
|
|
31946
31931
|
createElementVNode("div", {
|
|
31947
31932
|
class: "scalar-api-client-add",
|
|
31948
31933
|
variant: "outlined",
|
|
@@ -31967,9 +31952,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31967
31952
|
};
|
|
31968
31953
|
}
|
|
31969
31954
|
});
|
|
31970
|
-
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
31955
|
+
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-d34c7f0c"]]);
|
|
31971
31956
|
const _hoisted_1$k = { class: "table-row" };
|
|
31972
|
-
const _hoisted_2$
|
|
31957
|
+
const _hoisted_2$f = { class: "table-row-item" };
|
|
31973
31958
|
const _hoisted_3$8 = { class: "table-row-item" };
|
|
31974
31959
|
const _hoisted_4$6 = {
|
|
31975
31960
|
key: 0,
|
|
@@ -31984,7 +31969,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
31984
31969
|
setup(__props) {
|
|
31985
31970
|
return (_ctx, _cache) => {
|
|
31986
31971
|
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
31987
|
-
createElementVNode("div", _hoisted_2$
|
|
31972
|
+
createElementVNode("div", _hoisted_2$f, [
|
|
31988
31973
|
renderSlot(_ctx.$slots, "key", {}, void 0, true)
|
|
31989
31974
|
]),
|
|
31990
31975
|
createElementVNode("div", _hoisted_3$8, [
|
|
@@ -32000,10 +31985,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
32000
31985
|
};
|
|
32001
31986
|
}
|
|
32002
31987
|
});
|
|
32003
|
-
const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
32004
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
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);
|
|
32005
31990
|
const _hoisted_1$j = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Key", -1));
|
|
32006
|
-
const _hoisted_2$
|
|
31991
|
+
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
|
|
32007
31992
|
const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Description", -1));
|
|
32008
31993
|
const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
32009
31994
|
fill: "currentColor",
|
|
@@ -32030,7 +32015,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
32030
32015
|
_hoisted_1$j
|
|
32031
32016
|
]),
|
|
32032
32017
|
value: withCtx(() => [
|
|
32033
|
-
_hoisted_2$
|
|
32018
|
+
_hoisted_2$e
|
|
32034
32019
|
]),
|
|
32035
32020
|
description: withCtx(() => [
|
|
32036
32021
|
_hoisted_3$7
|
|
@@ -32052,10 +32037,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
32052
32037
|
};
|
|
32053
32038
|
}
|
|
32054
32039
|
});
|
|
32055
|
-
const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
32056
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
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);
|
|
32057
32042
|
const _hoisted_1$i = { class: "meta-check" };
|
|
32058
|
-
const _hoisted_2$
|
|
32043
|
+
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
|
|
32059
32044
|
const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
32060
32045
|
fill: "none",
|
|
32061
32046
|
height: "10",
|
|
@@ -32152,7 +32137,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
32152
32137
|
}, null, 512), [
|
|
32153
32138
|
[vModelCheckbox, enabledProxy.value]
|
|
32154
32139
|
]),
|
|
32155
|
-
_hoisted_2$
|
|
32140
|
+
_hoisted_2$d
|
|
32156
32141
|
]),
|
|
32157
32142
|
!_ctx.required ? (openBlock(), createElementBlock("button", {
|
|
32158
32143
|
key: 0,
|
|
@@ -32166,10 +32151,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
32166
32151
|
};
|
|
32167
32152
|
}
|
|
32168
32153
|
});
|
|
32169
|
-
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
32154
|
+
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-69821299"]]);
|
|
32170
32155
|
const _withScopeId = (n) => (pushScopeId("data-v-78bcd93d"), n = n(), popScopeId(), n);
|
|
32171
32156
|
const _hoisted_1$h = ["value"];
|
|
32172
|
-
const _hoisted_2$
|
|
32157
|
+
const _hoisted_2$c = ["value"];
|
|
32173
32158
|
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
|
|
32174
32159
|
disabled: "",
|
|
32175
32160
|
value: "Read-only"
|
|
@@ -32195,7 +32180,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
32195
32180
|
placeholder: "value",
|
|
32196
32181
|
type: "password",
|
|
32197
32182
|
value: _ctx.item.value
|
|
32198
|
-
}, null, 8, _hoisted_2$
|
|
32183
|
+
}, null, 8, _hoisted_2$c)
|
|
32199
32184
|
]),
|
|
32200
32185
|
description: withCtx(() => [
|
|
32201
32186
|
_hoisted_3$5
|
|
@@ -32207,7 +32192,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
32207
32192
|
});
|
|
32208
32193
|
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-78bcd93d"]]);
|
|
32209
32194
|
const _hoisted_1$g = { class: "table" };
|
|
32210
|
-
const _hoisted_2$
|
|
32195
|
+
const _hoisted_2$b = { class: "meta-actions" };
|
|
32211
32196
|
const _hoisted_3$4 = { class: "meta-actions-item-icon" };
|
|
32212
32197
|
const _hoisted_4$3 = { class: "meta-actions-item-icon" };
|
|
32213
32198
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
@@ -32259,7 +32244,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32259
32244
|
[vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
|
|
32260
32245
|
]);
|
|
32261
32246
|
}), 128)),
|
|
32262
|
-
createElementVNode("div", _hoisted_2$
|
|
32247
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
32263
32248
|
_ctx.addLabel ? (openBlock(), createElementBlock("button", {
|
|
32264
32249
|
key: 0,
|
|
32265
32250
|
class: "meta-actions-item",
|
|
@@ -32287,9 +32272,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32287
32272
|
};
|
|
32288
32273
|
}
|
|
32289
32274
|
});
|
|
32290
|
-
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
32275
|
+
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-af1138c8"]]);
|
|
32291
32276
|
const _hoisted_1$f = { class: "navtable simpletable" };
|
|
32292
|
-
const _hoisted_2$
|
|
32277
|
+
const _hoisted_2$a = { class: "navtable-table" };
|
|
32293
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);
|
|
32294
32279
|
const _hoisted_4$2 = { class: "navtable-item-33" };
|
|
32295
32280
|
const _hoisted_5$2 = { class: "navtable-item-66" };
|
|
@@ -32301,7 +32286,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32301
32286
|
setup(__props) {
|
|
32302
32287
|
return (_ctx, _cache) => {
|
|
32303
32288
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
32304
|
-
createElementVNode("div", _hoisted_2$
|
|
32289
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
32305
32290
|
_hoisted_3$3,
|
|
32306
32291
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
32307
32292
|
return openBlock(), createElementBlock("div", {
|
|
@@ -32340,7 +32325,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
32340
32325
|
}
|
|
32341
32326
|
};
|
|
32342
32327
|
return (_ctx, _cache) => {
|
|
32343
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32328
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
|
|
32344
32329
|
default: withCtx(() => [
|
|
32345
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), {
|
|
32346
32331
|
key: 1,
|
|
@@ -32362,7 +32347,7 @@ const _hoisted_1$d = {
|
|
|
32362
32347
|
key: 0,
|
|
32363
32348
|
class: "scalar-api-client__empty-state"
|
|
32364
32349
|
};
|
|
32365
|
-
const _hoisted_2$
|
|
32350
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32366
32351
|
class: "flow-icon",
|
|
32367
32352
|
"data-v-aa4fbd2d": "",
|
|
32368
32353
|
height: "100%",
|
|
@@ -32404,7 +32389,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
32404
32389
|
return !!(((_a2 = props.cookies) == null ? void 0 : _a2.length) || ((_b = props.generatedCookies) == null ? void 0 : _b.length));
|
|
32405
32390
|
});
|
|
32406
32391
|
return (_ctx, _cache) => {
|
|
32407
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32392
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32408
32393
|
defaultOpen: hasCookies.value,
|
|
32409
32394
|
title: "Cookies"
|
|
32410
32395
|
}, {
|
|
@@ -32415,7 +32400,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
32415
32400
|
type: "button",
|
|
32416
32401
|
onClick: addAnotherHandler
|
|
32417
32402
|
}, [
|
|
32418
|
-
_hoisted_2$
|
|
32403
|
+
_hoisted_2$9,
|
|
32419
32404
|
createTextVNode(" Cookies ")
|
|
32420
32405
|
])
|
|
32421
32406
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32436,7 +32421,7 @@ const _hoisted_1$c = {
|
|
|
32436
32421
|
key: 0,
|
|
32437
32422
|
class: "scalar-api-client__empty-state"
|
|
32438
32423
|
};
|
|
32439
|
-
const _hoisted_2$
|
|
32424
|
+
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32440
32425
|
class: "flow-icon",
|
|
32441
32426
|
"data-v-aa4fbd2d": "",
|
|
32442
32427
|
height: "100%",
|
|
@@ -32478,7 +32463,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32478
32463
|
return !!(((_a2 = props.headers) == null ? void 0 : _a2.length) || ((_b = props.generatedHeaders) == null ? void 0 : _b.length));
|
|
32479
32464
|
});
|
|
32480
32465
|
return (_ctx, _cache) => {
|
|
32481
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32466
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32482
32467
|
defaultOpen: hasHeaders.value,
|
|
32483
32468
|
title: "Headers"
|
|
32484
32469
|
}, {
|
|
@@ -32489,7 +32474,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32489
32474
|
type: "button",
|
|
32490
32475
|
onClick: addAnotherHandler
|
|
32491
32476
|
}, [
|
|
32492
|
-
_hoisted_2$
|
|
32477
|
+
_hoisted_2$8,
|
|
32493
32478
|
createTextVNode(" Headers ")
|
|
32494
32479
|
])
|
|
32495
32480
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32510,7 +32495,7 @@ const _hoisted_1$b = {
|
|
|
32510
32495
|
key: 0,
|
|
32511
32496
|
class: "scalar-api-client__empty-state"
|
|
32512
32497
|
};
|
|
32513
|
-
const _hoisted_2$
|
|
32498
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32514
32499
|
class: "flow-icon",
|
|
32515
32500
|
"data-v-aa4fbd2d": "",
|
|
32516
32501
|
height: "100%",
|
|
@@ -32552,7 +32537,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32552
32537
|
return !!(((_a2 = props.queries) == null ? void 0 : _a2.length) || ((_b = props.generatedQueries) == null ? void 0 : _b.length));
|
|
32553
32538
|
});
|
|
32554
32539
|
return (_ctx, _cache) => {
|
|
32555
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32540
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32556
32541
|
defaultOpen: hasQueries.value,
|
|
32557
32542
|
title: "Query Parameters"
|
|
32558
32543
|
}, {
|
|
@@ -32563,7 +32548,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32563
32548
|
type: "button",
|
|
32564
32549
|
onClick: addAnotherHandler
|
|
32565
32550
|
}, [
|
|
32566
|
-
_hoisted_2$
|
|
32551
|
+
_hoisted_2$7,
|
|
32567
32552
|
createTextVNode(" Query Parameter ")
|
|
32568
32553
|
])
|
|
32569
32554
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32585,7 +32570,7 @@ const _hoisted_1$a = {
|
|
|
32585
32570
|
key: 0,
|
|
32586
32571
|
class: "scalar-api-client__empty-state"
|
|
32587
32572
|
};
|
|
32588
|
-
const _hoisted_2$
|
|
32573
|
+
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32589
32574
|
class: "flow-icon",
|
|
32590
32575
|
"data-v-aa4fbd2d": "",
|
|
32591
32576
|
height: "100%",
|
|
@@ -32621,7 +32606,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32621
32606
|
(_a2 = activeRequest2.variables) == null ? void 0 : _a2.push({ name: "", value: "", enabled: true });
|
|
32622
32607
|
}
|
|
32623
32608
|
return (_ctx, _cache) => {
|
|
32624
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32609
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32625
32610
|
defaultOpen: unref(activeRequest2).variables && unref(activeRequest2).variables.length > 0,
|
|
32626
32611
|
title: "Variables"
|
|
32627
32612
|
}, {
|
|
@@ -32632,7 +32617,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32632
32617
|
type: "button",
|
|
32633
32618
|
onClick: addAnotherHandler
|
|
32634
32619
|
}, [
|
|
32635
|
-
_hoisted_2$
|
|
32620
|
+
_hoisted_2$6,
|
|
32636
32621
|
createTextVNode(" Variable ")
|
|
32637
32622
|
])
|
|
32638
32623
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32650,7 +32635,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32650
32635
|
}
|
|
32651
32636
|
});
|
|
32652
32637
|
const _hoisted_1$9 = { class: "scalar-api-client__main__left custom-scroll" };
|
|
32653
|
-
const _hoisted_2$
|
|
32638
|
+
const _hoisted_2$5 = { class: "scalar-api-client__main__content" };
|
|
32654
32639
|
const _hoisted_3$2 = { class: "scalar-api-client__main__content__header" };
|
|
32655
32640
|
const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
|
|
32656
32641
|
const _hoisted_5$1 = { class: "meta" };
|
|
@@ -32681,7 +32666,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32681
32666
|
});
|
|
32682
32667
|
return (_ctx, _cache) => {
|
|
32683
32668
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
32684
|
-
createElementVNode("div", _hoisted_2$
|
|
32669
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
32685
32670
|
createElementVNode("div", _hoisted_3$2, [
|
|
32686
32671
|
_hoisted_4$1,
|
|
32687
32672
|
createElementVNode("div", _hoisted_5$1, [
|
|
@@ -32730,7 +32715,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32730
32715
|
});
|
|
32731
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";
|
|
32732
32717
|
const _hoisted_1$8 = { class: "ascii-art" };
|
|
32733
|
-
const _hoisted_2$
|
|
32718
|
+
const _hoisted_2$4 = { class: "ascii-art-line" };
|
|
32734
32719
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
32735
32720
|
__name: "ScalarAsciiArt",
|
|
32736
32721
|
props: {
|
|
@@ -32747,7 +32732,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
32747
32732
|
class: "ascii-art-line-wrapper",
|
|
32748
32733
|
style: normalizeStyle({ width: `calc(${line.length + 1}ch)` })
|
|
32749
32734
|
}, [
|
|
32750
|
-
createElementVNode("span", _hoisted_2$
|
|
32735
|
+
createElementVNode("span", _hoisted_2$4, toDisplayString(line), 1)
|
|
32751
32736
|
], 4);
|
|
32752
32737
|
}), 128))
|
|
32753
32738
|
]);
|
|
@@ -32759,7 +32744,7 @@ const _hoisted_1$7 = {
|
|
|
32759
32744
|
key: 1,
|
|
32760
32745
|
class: "scalar-api-client__empty-state"
|
|
32761
32746
|
};
|
|
32762
|
-
const _hoisted_2$
|
|
32747
|
+
const _hoisted_2$3 = {
|
|
32763
32748
|
key: 1,
|
|
32764
32749
|
class: "scalar-api-client__empty-state"
|
|
32765
32750
|
};
|
|
@@ -32798,7 +32783,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32798
32783
|
return null;
|
|
32799
32784
|
});
|
|
32800
32785
|
return (_ctx, _cache) => {
|
|
32801
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32786
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
|
|
32802
32787
|
default: withCtx(() => [
|
|
32803
32788
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
32804
32789
|
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(Ot), {
|
|
@@ -32813,7 +32798,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32813
32798
|
createTextVNode(" Can’t render a preview. The Content-Type header is missing or unknown. ")
|
|
32814
32799
|
], 64))
|
|
32815
32800
|
]))
|
|
32816
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
32801
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_2$3, " No Response "))
|
|
32817
32802
|
]),
|
|
32818
32803
|
_: 1
|
|
32819
32804
|
});
|
|
@@ -32864,7 +32849,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
32864
32849
|
};
|
|
32865
32850
|
}
|
|
32866
32851
|
});
|
|
32867
|
-
const SimpleCell = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
32852
|
+
const SimpleCell = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7e64a8bf"]]);
|
|
32868
32853
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
32869
32854
|
__name: "SimpleHeader",
|
|
32870
32855
|
setup(__props) {
|
|
@@ -32881,7 +32866,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
32881
32866
|
};
|
|
32882
32867
|
}
|
|
32883
32868
|
});
|
|
32884
|
-
const SimpleHeader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
32869
|
+
const SimpleHeader = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-afa8d6ba"]]);
|
|
32885
32870
|
const _sfc_main$5 = {};
|
|
32886
32871
|
const _hoisted_1$5 = { class: "simple-row" };
|
|
32887
32872
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -32891,13 +32876,16 @@ function _sfc_render$1(_ctx, _cache) {
|
|
|
32891
32876
|
}
|
|
32892
32877
|
const SimpleRow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$1], ["__scopeId", "data-v-5d742611"]]);
|
|
32893
32878
|
const _sfc_main$4 = {};
|
|
32894
|
-
const _hoisted_1$4 = { class: "simple-table" };
|
|
32879
|
+
const _hoisted_1$4 = { class: "simple-table-container" };
|
|
32880
|
+
const _hoisted_2$2 = { class: "simple-table" };
|
|
32895
32881
|
function _sfc_render(_ctx, _cache) {
|
|
32896
|
-
return openBlock(), createElementBlock("
|
|
32897
|
-
|
|
32882
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
32883
|
+
createElementVNode("table", _hoisted_2$2, [
|
|
32884
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
32885
|
+
])
|
|
32898
32886
|
]);
|
|
32899
32887
|
}
|
|
32900
|
-
const SimpleTable = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
32888
|
+
const SimpleTable = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render], ["__scopeId", "data-v-16749ce2"]]);
|
|
32901
32889
|
const _hoisted_1$3 = {
|
|
32902
32890
|
key: 1,
|
|
32903
32891
|
class: "scalar-api-client__empty-state"
|
|
@@ -32920,7 +32908,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
32920
32908
|
}).join("-");
|
|
32921
32909
|
};
|
|
32922
32910
|
return (_ctx, _cache) => {
|
|
32923
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32911
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Headers" }, {
|
|
32924
32912
|
default: withCtx(() => [
|
|
32925
32913
|
_ctx.headers.length > 0 ? (openBlock(), createBlock(unref(SimpleTable), { key: 0 }, {
|
|
32926
32914
|
default: withCtx(() => [
|
|
@@ -33103,7 +33091,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
33103
33091
|
headers: responseHeaders.value
|
|
33104
33092
|
}, null, 8, ["active", "data", "headers"]),
|
|
33105
33093
|
createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
|
|
33106
|
-
createVNode(unref(_sfc_main$
|
|
33094
|
+
createVNode(unref(_sfc_main$v), { title: "Cookies" }, {
|
|
33107
33095
|
default: withCtx(() => [
|
|
33108
33096
|
withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
|
|
33109
33097
|
[vShow, responseCookies.value.length > 0]
|
|
@@ -33158,11 +33146,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33158
33146
|
);
|
|
33159
33147
|
return (_ctx, _cache) => {
|
|
33160
33148
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
33161
|
-
createVNode(unref(_sfc_main$
|
|
33149
|
+
createVNode(unref(_sfc_main$E), {
|
|
33162
33150
|
id: _ctx.theme,
|
|
33163
33151
|
withDefaultFonts: _ctx.withDefaultFonts
|
|
33164
33152
|
}, null, 8, ["id", "withDefaultFonts"]),
|
|
33165
|
-
createVNode(_sfc_main$
|
|
33153
|
+
createVNode(_sfc_main$C, {
|
|
33166
33154
|
class: "scalar-api-client",
|
|
33167
33155
|
method: unref(activeRequest2).type ?? "get",
|
|
33168
33156
|
property: "--scalar-api-client-color",
|
|
@@ -33242,7 +33230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33242
33230
|
});
|
|
33243
33231
|
export {
|
|
33244
33232
|
_sfc_main as ApiClient,
|
|
33245
|
-
_sfc_main$
|
|
33233
|
+
_sfc_main$C as HttpMethod,
|
|
33246
33234
|
RequestAuthentication,
|
|
33247
33235
|
SecurityScheme,
|
|
33248
33236
|
SecuritySchemeSelector,
|