@scalar/api-client 1.2.18 → 1.2.20
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 +18 -0
- package/dist/ArrowLeft-aY17W2aS-DFSAtOMh.js +21 -0
- package/dist/ArrowRight-DEMtdoE7-D3Vz1S5q.js +21 -0
- package/dist/Background-DcRhSHgf-DMULXelH.js +18 -0
- package/dist/CallToAction-EyQKkvbg-D5UsQ4YH.js +21 -0
- package/dist/Delete-BCZmxrDD-BHoCf_u4.js +21 -0
- package/dist/Discord-BHYOFBB2-NYBGYy-_.js +16 -0
- package/dist/Duplicate-BPlzNpcf-DbmFK0XC.js +22 -0
- package/dist/Edit-Br04RNYb-BhCyac4t.js +19 -0
- package/dist/Error-B_RGtWJI-D9KV-EvG.js +18 -0
- package/dist/FilterList-CsAcE9em-aybThY1V.js +21 -0
- package/dist/Folder-Cdcj4evh-B-g7TtzK.js +18 -0
- package/dist/History-D9nmhNIn-BU9mR55a.js +27 -0
- package/dist/Key-CWXJqX28-DdNUhB11.js +21 -0
- package/dist/Leave-K1J3uwoG-WgTmlwgs.js +21 -0
- package/dist/Link-Bzuc__Nc-Bvtx0HZG.js +21 -0
- package/dist/Lock-xhiH1mKz-Rrlr3fGv.js +21 -0
- package/dist/Magic-Dsi9_bEc-BYN42_eH.js +21 -0
- package/dist/Page-B7rVuhpl-BUIogUij.js +18 -0
- package/dist/Payment-hzcXP1Xb-B2G1p4-i.js +21 -0
- package/dist/Play-BrVagRQA-DBrajcXb.js +19 -0
- package/dist/Refresh-Be6vHEEi-C6lRqFiM.js +28 -0
- package/dist/Response-Dq9pM-ZU-DcYb8u84.js +21 -0
- package/dist/Sort-oTjBhJFQ-yW_ZNUnN.js +19 -0
- package/dist/ThumbsDown-BMgnsASL-B2YFxB8i.js +21 -0
- package/dist/ThumbsUp-C1j6zY2j-DKqh3z1D.js +21 -0
- package/dist/Trash-BpA3zWPD-BAjuQdys.js +21 -0
- package/dist/Unlock-CY8UqJoE-CrwInjK9.js +18 -0
- package/dist/Upload-REIdL7RI-CsfWPmbV.js +18 -0
- package/dist/User-Df5svMQ3-BD7IWPQQ.js +18 -0
- package/dist/components/ApiClient/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Request/Request.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/RequestMethodSelect.vue.d.ts.map +1 -1
- package/dist/components/ApiClient/Response/Response.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts +16 -0
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -0
- package/dist/index.css +121 -94
- package/dist/index.js +356 -325
- package/package.json +4 -4
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$G = /* @__PURE__ */ defineComponent({
|
|
29
29
|
__name: "DefaultFonts",
|
|
30
30
|
setup(__props) {
|
|
31
31
|
return (_ctx, _cache) => {
|
|
@@ -33,7 +33,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
const _sfc_main$
|
|
36
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
37
37
|
__name: "ThemeStyles",
|
|
38
38
|
props: {
|
|
39
39
|
id: {},
|
|
@@ -42,7 +42,7 @@ const _sfc_main$E = /* @__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$G, { 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$E = /* @__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$E, [["__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$D = /* @__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$C = /* @__PURE__ */ defineComponent({
|
|
25802
25802
|
__name: "CodeMirror",
|
|
25803
25803
|
props: {
|
|
25804
25804
|
content: {},
|
|
@@ -25835,9 +25835,9 @@ const _sfc_main$B = /* @__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$C, [["__scopeId", "data-v-c045d592"]]);
|
|
25839
|
+
const _hoisted_1$x = { class: "scalar-modal-layout modal-layout" };
|
|
25840
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
25841
25841
|
__name: "FlowModal",
|
|
25842
25842
|
props: {
|
|
25843
25843
|
state: {},
|
|
@@ -25853,7 +25853,7 @@ const _sfc_main$A = /* @__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$x, [
|
|
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$A = /* @__PURE__ */ defineComponent({
|
|
|
25892
25892
|
};
|
|
25893
25893
|
}
|
|
25894
25894
|
});
|
|
25895
|
-
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25895
|
+
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__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$w = { class: "navtable-item-40 navtable-item-request" };
|
|
26271
|
+
const _hoisted_2$n = { 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$A = /* @__PURE__ */ defineComponent({
|
|
26274
26274
|
__name: "RequestHistoryItem",
|
|
26275
26275
|
props: {
|
|
26276
26276
|
history: {}
|
|
@@ -26291,7 +26291,7 @@ const _sfc_main$z = /* @__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$w, [
|
|
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$z = /* @__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$n, [
|
|
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,21 +26317,21 @@ const _sfc_main$z = /* @__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$A, [["__scopeId", "data-v-353c6d86"]]);
|
|
26321
|
+
const _hoisted_1$v = { class: "navigation-content-item" };
|
|
26322
|
+
const _hoisted_2$m = { 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
26325
|
const _hoisted_5$6 = { 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$z = /* @__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$v, [
|
|
26334
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
26335
26335
|
createElementVNode("div", _hoisted_3$f, [
|
|
26336
26336
|
_hoisted_4$b,
|
|
26337
26337
|
createElementVNode("div", _hoisted_5$6, [
|
|
@@ -26349,10 +26349,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
26349
26349
|
};
|
|
26350
26350
|
}
|
|
26351
26351
|
});
|
|
26352
|
-
const _hoisted_1$
|
|
26353
|
-
const _hoisted_2$
|
|
26352
|
+
const _hoisted_1$u = { class: "request-method-select" };
|
|
26353
|
+
const _hoisted_2$l = ["disabled", "value"];
|
|
26354
26354
|
const _hoisted_3$e = ["value"];
|
|
26355
|
-
const _sfc_main$
|
|
26355
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
26356
26356
|
__name: "RequestMethodSelect",
|
|
26357
26357
|
props: {
|
|
26358
26358
|
requestMethod: {},
|
|
@@ -26372,13 +26372,10 @@ const _sfc_main$x = /* @__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$u, [
|
|
26376
26376
|
createElementVNode("span", {
|
|
26377
26377
|
class: normalizeClass(["request-method", { "request-method--disabled": _ctx.readOnly }])
|
|
26378
26378
|
}, [
|
|
26379
|
-
createElementVNode("i", {
|
|
26380
|
-
class: normalizeClass(_ctx.requestMethod.toLowerCase())
|
|
26381
|
-
}, null, 2),
|
|
26382
26379
|
createElementVNode("span", null, toDisplayString(_ctx.requestMethod), 1)
|
|
26383
26380
|
], 2),
|
|
26384
26381
|
createElementVNode("select", {
|
|
@@ -26392,20 +26389,23 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
26392
26389
|
value: validRequestMethod.toLocaleLowerCase()
|
|
26393
26390
|
}, toDisplayString(validRequestMethod), 9, _hoisted_3$e);
|
|
26394
26391
|
}), 64))
|
|
26395
|
-
], 40, _hoisted_2$
|
|
26392
|
+
], 40, _hoisted_2$l)
|
|
26396
26393
|
]);
|
|
26397
26394
|
};
|
|
26398
26395
|
}
|
|
26399
26396
|
});
|
|
26400
|
-
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26401
|
-
const _withScopeId$5 = (n) => (pushScopeId("data-v-
|
|
26402
|
-
const _hoisted_1$
|
|
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 = {
|
|
26403
26400
|
key: 0,
|
|
26404
26401
|
class: "loader"
|
|
26405
26402
|
};
|
|
26406
|
-
const _hoisted_2$
|
|
26403
|
+
const _hoisted_2$k = { class: "url-form" };
|
|
26407
26404
|
const _hoisted_3$d = { class: "url-form-field" };
|
|
26408
|
-
const _hoisted_4$a =
|
|
26405
|
+
const _hoisted_4$a = {
|
|
26406
|
+
key: 0,
|
|
26407
|
+
class: "history"
|
|
26408
|
+
};
|
|
26409
26409
|
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
26410
26410
|
fill: "none",
|
|
26411
26411
|
height: "48",
|
|
@@ -26413,51 +26413,51 @@ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
|
|
|
26413
26413
|
width: "48",
|
|
26414
26414
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26415
26415
|
}, [
|
|
26416
|
-
/* @__PURE__ */ createElementVNode("g", { id: "
|
|
26416
|
+
/* @__PURE__ */ createElementVNode("g", { id: "rewind-clock--back-return-clock-timer-countdown" }, [
|
|
26417
26417
|
/* @__PURE__ */ createElementVNode("path", {
|
|
26418
|
-
id: "
|
|
26418
|
+
id: "Vector 1561 (Stroke)",
|
|
26419
26419
|
"clip-rule": "evenodd",
|
|
26420
|
-
d: "
|
|
26420
|
+
d: "M6.99999 2.75C7.4142 2.75 7.74999 3.08579 7.74999 3.5V7.5C7.74999 7.76345 7.61177 8.00758 7.38586 8.14312L4.88586 9.64312C4.53068 9.85623 4.06998 9.74106 3.85687 9.38587C3.64376 9.03069 3.75893 8.56999 4.11412 8.35688L6.24999 7.07536V3.5C6.24999 3.08579 6.58578 2.75 6.99999 2.75Z",
|
|
26421
|
+
fill: "currentColor",
|
|
26422
|
+
"fill-rule": "evenodd"
|
|
26423
|
+
}),
|
|
26424
|
+
/* @__PURE__ */ createElementVNode("path", {
|
|
26425
|
+
id: "Union",
|
|
26426
|
+
"clip-rule": "evenodd",
|
|
26427
|
+
d: "M12.5 7C12.5 3.96243 10.0376 1.5 7 1.5C5.24916 1.5 3.68853 2.31796 2.68066 3.59456L3.64645 4.56034C3.96143 4.87533 3.73835 5.4139 3.29289 5.4139H0.5C0.223857 5.4139 0 5.19004 0 4.9139V2.121C0 1.67555 0.53857 1.45247 0.853553 1.76745L1.61439 2.52829C2.89781 0.984301 4.83356 0 7 0C10.866 0 14 3.13401 14 7C14 10.866 10.866 14 7 14C3.68902 14 0.916591 11.702 0.187329 8.61473C0.0921059 8.21161 0.341704 7.80762 0.744824 7.7124C1.14794 7.61717 1.55193 7.86677 1.64715 8.26989C2.22013 10.6955 4.40025 12.5 7 12.5C10.0376 12.5 12.5 10.0376 12.5 7Z",
|
|
26421
26428
|
fill: "currentColor",
|
|
26422
26429
|
"fill-rule": "evenodd"
|
|
26423
26430
|
})
|
|
26424
26431
|
])
|
|
26425
26432
|
], -1));
|
|
26426
|
-
const _hoisted_6$2 =
|
|
26427
|
-
|
|
26428
|
-
_hoisted_5$5,
|
|
26429
|
-
_hoisted_6$2
|
|
26433
|
+
const _hoisted_6$2 = [
|
|
26434
|
+
_hoisted_5$5
|
|
26430
26435
|
];
|
|
26431
|
-
const
|
|
26432
|
-
const
|
|
26433
|
-
key: 0,
|
|
26434
|
-
class: "history"
|
|
26435
|
-
};
|
|
26436
|
-
const _hoisted_10 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
26436
|
+
const _hoisted_7$2 = ["disabled"];
|
|
26437
|
+
const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
26437
26438
|
fill: "none",
|
|
26438
26439
|
height: "48",
|
|
26439
26440
|
viewBox: "0 0 14 14",
|
|
26440
26441
|
width: "48",
|
|
26441
26442
|
xmlns: "http://www.w3.org/2000/svg"
|
|
26442
26443
|
}, [
|
|
26443
|
-
/* @__PURE__ */ createElementVNode("g", { id: "
|
|
26444
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
26445
|
-
id: "Vector 1561 (Stroke)",
|
|
26446
|
-
"clip-rule": "evenodd",
|
|
26447
|
-
d: "M6.99999 2.75C7.4142 2.75 7.74999 3.08579 7.74999 3.5V7.5C7.74999 7.76345 7.61177 8.00758 7.38586 8.14312L4.88586 9.64312C4.53068 9.85623 4.06998 9.74106 3.85687 9.38587C3.64376 9.03069 3.75893 8.56999 4.11412 8.35688L6.24999 7.07536V3.5C6.24999 3.08579 6.58578 2.75 6.99999 2.75Z",
|
|
26448
|
-
fill: "currentColor",
|
|
26449
|
-
"fill-rule": "evenodd"
|
|
26450
|
-
}),
|
|
26444
|
+
/* @__PURE__ */ createElementVNode("g", { id: "send-email--mail-send-email-paper-airplane" }, [
|
|
26451
26445
|
/* @__PURE__ */ createElementVNode("path", {
|
|
26452
|
-
id: "
|
|
26446
|
+
id: "Subtract",
|
|
26453
26447
|
"clip-rule": "evenodd",
|
|
26454
|
-
d: "
|
|
26448
|
+
d: "M11.8215 0.0977331C12.1097 -0.0075178 12.422 -0.0287134 12.7219 0.0367172C13.0248 0.102803 13.3024 0.254481 13.5216 0.473719C13.7409 0.692957 13.8926 0.970537 13.9586 1.27346C14.0241 1.57338 14.0029 1.88566 13.8976 2.17389L10.3236 12.8859L10.3234 12.8866C10.2363 13.15 10.083 13.3867 9.87813 13.5739C9.67383 13.7606 9.42512 13.8917 9.15575 13.9549C8.88633 14.0206 8.60444 14.015 8.33777 13.9388C8.07134 13.8627 7.82929 13.7187 7.63532 13.5209L5.71798 11.6123L3.70392 12.6538C3.54687 12.735 3.3586 12.7272 3.20877 12.6333C3.05895 12.5395 2.96984 12.3734 2.97443 12.1967L3.057 9.01294L10.102 3.89553C10.3812 3.69267 10.4432 3.30182 10.2403 3.02255C10.0375 2.74327 9.64662 2.68133 9.36734 2.88419L2.20286 8.0884L0.473156 6.35869L0.473098 6.35864L0.472971 6.35851C0.285648 6.17132 0.147746 5.94054 0.0716498 5.68688C-0.00390565 5.43503 -0.016181 5.16847 0.0358684 4.91079C0.087985 4.62928 0.213827 4.36658 0.400607 4.14951C0.588668 3.93095 0.831681 3.76658 1.10453 3.67339L1.1079 3.67224L1.1079 3.67225L11.8215 0.0977331Z",
|
|
26455
26449
|
fill: "currentColor",
|
|
26456
26450
|
"fill-rule": "evenodd"
|
|
26457
26451
|
})
|
|
26458
26452
|
])
|
|
26459
26453
|
], -1));
|
|
26460
|
-
const
|
|
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
|
|
26458
|
+
];
|
|
26459
|
+
const _hoisted_11 = { class: "address-bar-content" };
|
|
26460
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
26461
26461
|
__name: "AddressBar",
|
|
26462
26462
|
props: {
|
|
26463
26463
|
proxyUrl: {}
|
|
@@ -26497,10 +26497,6 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
26497
26497
|
}
|
|
26498
26498
|
loading.value = false;
|
|
26499
26499
|
}
|
|
26500
|
-
const lastRequestTimestamp = computed(() => {
|
|
26501
|
-
const lastRequestKey = requestHistoryOrder2.value[0];
|
|
26502
|
-
return requestHistory2[lastRequestKey] ? humanDiff(requestHistory2[lastRequestKey].sentTime) : "History";
|
|
26503
|
-
});
|
|
26504
26500
|
const onChange = (value) => {
|
|
26505
26501
|
if (readOnly2.value) {
|
|
26506
26502
|
return;
|
|
@@ -26520,11 +26516,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
26520
26516
|
};
|
|
26521
26517
|
return (_ctx, _cache) => {
|
|
26522
26518
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
26523
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26519
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$t)) : createCommentVNode("", true),
|
|
26524
26520
|
createElementVNode("div", {
|
|
26525
26521
|
class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
|
|
26526
26522
|
}, [
|
|
26527
|
-
createElementVNode("div", _hoisted_2$
|
|
26523
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
26528
26524
|
createElementVNode("div", _hoisted_3$d, [
|
|
26529
26525
|
createVNode(RequestMethodSelect, {
|
|
26530
26526
|
readOnly: unref(readOnly2),
|
|
@@ -26539,51 +26535,48 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
26539
26535
|
withoutTheme: "",
|
|
26540
26536
|
withVariables: "",
|
|
26541
26537
|
onChange
|
|
26542
|
-
}, null, 8, ["content", "readOnly"])
|
|
26543
|
-
|
|
26544
|
-
|
|
26545
|
-
|
|
26546
|
-
|
|
26547
|
-
|
|
26548
|
-
|
|
26549
|
-
|
|
26538
|
+
}, null, 8, ["content", "readOnly"]),
|
|
26539
|
+
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_4$a, [
|
|
26540
|
+
createElementVNode("div", {
|
|
26541
|
+
class: "history-toggle",
|
|
26542
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(historyModal).show())
|
|
26543
|
+
}, _hoisted_6$2)
|
|
26544
|
+
])) : createCommentVNode("", true),
|
|
26545
|
+
createElementVNode("button", {
|
|
26546
|
+
class: "send-button",
|
|
26547
|
+
disabled: !formattedUrl.value.trim().length,
|
|
26548
|
+
type: "submit",
|
|
26549
|
+
onClick: send
|
|
26550
|
+
}, _hoisted_10$1, 8, _hoisted_7$2)
|
|
26551
|
+
])
|
|
26550
26552
|
]),
|
|
26551
26553
|
createElementVNode("div", {
|
|
26552
26554
|
class: "address-bar-close",
|
|
26553
|
-
onClick: _cache[
|
|
26555
|
+
onClick: _cache[1] || (_cache[1] = ($event) => showHistory.value = false)
|
|
26554
26556
|
}),
|
|
26555
|
-
createElementVNode("div",
|
|
26557
|
+
createElementVNode("div", _hoisted_11, [
|
|
26556
26558
|
createVNode(unref(FlowModal), {
|
|
26557
26559
|
state: unref(historyModal),
|
|
26558
26560
|
title: "Request History",
|
|
26559
26561
|
variant: "history"
|
|
26560
26562
|
}, {
|
|
26561
26563
|
default: withCtx(() => [
|
|
26562
|
-
createVNode(_sfc_main$
|
|
26564
|
+
createVNode(_sfc_main$z, {
|
|
26563
26565
|
showHistory: showHistory.value,
|
|
26564
|
-
onToggle: _cache[
|
|
26566
|
+
onToggle: _cache[2] || (_cache[2] = ($event) => showHistory.value = !showHistory.value)
|
|
26565
26567
|
}, null, 8, ["showHistory"])
|
|
26566
26568
|
]),
|
|
26567
26569
|
_: 1
|
|
26568
26570
|
}, 8, ["state"])
|
|
26569
|
-
])
|
|
26570
|
-
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
26571
|
-
createElementVNode("div", {
|
|
26572
|
-
class: "history-toggle",
|
|
26573
|
-
onClick: _cache[2] || (_cache[2] = ($event) => unref(historyModal).show())
|
|
26574
|
-
}, [
|
|
26575
|
-
_hoisted_10,
|
|
26576
|
-
createElementVNode("span", null, toDisplayString(lastRequestTimestamp.value), 1)
|
|
26577
|
-
])
|
|
26578
|
-
])) : createCommentVNode("", true)
|
|
26571
|
+
])
|
|
26579
26572
|
], 2)
|
|
26580
26573
|
], 64);
|
|
26581
26574
|
};
|
|
26582
26575
|
}
|
|
26583
26576
|
});
|
|
26584
|
-
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26577
|
+
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-95886ec0"]]);
|
|
26585
26578
|
const clickGeneratedParameter = useEventBus(Symbol());
|
|
26586
|
-
const _hoisted_1$
|
|
26579
|
+
const _hoisted_1$s = /* @__PURE__ */ createElementVNode("svg", {
|
|
26587
26580
|
class: "scalar-api-client__toggle__icon",
|
|
26588
26581
|
height: "10",
|
|
26589
26582
|
viewBox: "0 0 5 10",
|
|
@@ -26596,13 +26589,13 @@ const _hoisted_1$r = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
26596
26589
|
"fill-rule": "nonzero"
|
|
26597
26590
|
})
|
|
26598
26591
|
], -1);
|
|
26599
|
-
const _hoisted_2$
|
|
26592
|
+
const _hoisted_2$j = { class: "scalar-api-client__item__title" };
|
|
26600
26593
|
const _hoisted_3$c = {
|
|
26601
26594
|
key: 0,
|
|
26602
26595
|
class: "scalar-api-client__item__options"
|
|
26603
26596
|
};
|
|
26604
26597
|
const _hoisted_4$9 = { class: "scalar-api-client__item__content" };
|
|
26605
|
-
const _sfc_main$
|
|
26598
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
26606
26599
|
__name: "CollapsibleSection",
|
|
26607
26600
|
props: {
|
|
26608
26601
|
title: {},
|
|
@@ -26639,8 +26632,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26639
26632
|
onClick: _cache[0] || (_cache[0] = ($event) => openCopy.value = !openCopy.value)
|
|
26640
26633
|
}, {
|
|
26641
26634
|
default: withCtx(() => [
|
|
26642
|
-
_hoisted_1$
|
|
26643
|
-
createElementVNode("span", _hoisted_2$
|
|
26635
|
+
_hoisted_1$s,
|
|
26636
|
+
createElementVNode("span", _hoisted_2$j, toDisplayString(_ctx.title), 1),
|
|
26644
26637
|
_ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
26645
26638
|
renderSlot(_ctx.$slots, "options")
|
|
26646
26639
|
])) : createCommentVNode("", true)
|
|
@@ -26662,15 +26655,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26662
26655
|
};
|
|
26663
26656
|
}
|
|
26664
26657
|
});
|
|
26665
|
-
const _sfc_main$
|
|
26666
|
-
const _hoisted_1$
|
|
26658
|
+
const _sfc_main$v = {};
|
|
26659
|
+
const _hoisted_1$r = { class: "card-form" };
|
|
26667
26660
|
function _sfc_render$4(_ctx, _cache) {
|
|
26668
|
-
return openBlock(), createElementBlock("form", _hoisted_1$
|
|
26661
|
+
return openBlock(), createElementBlock("form", _hoisted_1$r, [
|
|
26669
26662
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26670
26663
|
]);
|
|
26671
26664
|
}
|
|
26672
|
-
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26673
|
-
const _sfc_main$
|
|
26665
|
+
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$4], ["__scopeId", "data-v-6ddec640"]]);
|
|
26666
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
26674
26667
|
__name: "CardFormButton",
|
|
26675
26668
|
setup(__props, { expose: __expose }) {
|
|
26676
26669
|
const el = ref();
|
|
@@ -26687,15 +26680,15 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26687
26680
|
};
|
|
26688
26681
|
}
|
|
26689
26682
|
});
|
|
26690
|
-
const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26691
|
-
const _sfc_main$
|
|
26692
|
-
const _hoisted_1$
|
|
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" };
|
|
26693
26686
|
function _sfc_render$3(_ctx, _cache) {
|
|
26694
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26687
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
26695
26688
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26696
26689
|
]);
|
|
26697
26690
|
}
|
|
26698
|
-
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26691
|
+
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
|
|
26699
26692
|
function r(e) {
|
|
26700
26693
|
var t2, f, n = "";
|
|
26701
26694
|
if ("string" == typeof e || "number" == typeof e)
|
|
@@ -30827,7 +30820,7 @@ const De = /* @__PURE__ */ defineComponent({
|
|
|
30827
30820
|
"scalar-button-danger",
|
|
30828
30821
|
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30829
30822
|
]
|
|
30830
|
-
},
|
|
30823
|
+
}, Pe = T({
|
|
30831
30824
|
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30832
30825
|
variants: {
|
|
30833
30826
|
disabled: {
|
|
@@ -30844,7 +30837,7 @@ const De = /* @__PURE__ */ defineComponent({
|
|
|
30844
30837
|
class: "bg-transparent text-ghost"
|
|
30845
30838
|
}
|
|
30846
30839
|
]
|
|
30847
|
-
}),
|
|
30840
|
+
}), Oe = ["ariaDisabled"], ze = {
|
|
30848
30841
|
key: 0,
|
|
30849
30842
|
class: "mr-2 h-4 w-4"
|
|
30850
30843
|
}, Be = {
|
|
@@ -30868,7 +30861,7 @@ const De = /* @__PURE__ */ defineComponent({
|
|
|
30868
30861
|
return (e, r2) => (openBlock(), createElementBlock("button", mergeProps(t2.value.rest, {
|
|
30869
30862
|
ariaDisabled: e.disabled || void 0,
|
|
30870
30863
|
class: unref(E)(
|
|
30871
|
-
unref(
|
|
30864
|
+
unref(Pe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
|
|
30872
30865
|
{ "pl-9 pr-3": e.loading },
|
|
30873
30866
|
`${t2.value.className}`
|
|
30874
30867
|
),
|
|
@@ -30884,7 +30877,7 @@ const De = /* @__PURE__ */ defineComponent({
|
|
|
30884
30877
|
size: "20px"
|
|
30885
30878
|
}, null, 8, ["loadingState"])
|
|
30886
30879
|
])) : createCommentVNode("", true)
|
|
30887
|
-
], 16,
|
|
30880
|
+
], 16, Oe));
|
|
30888
30881
|
}
|
|
30889
30882
|
});
|
|
30890
30883
|
(function(a) {
|
|
@@ -31148,8 +31141,8 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31148
31141
|
if (i) {
|
|
31149
31142
|
var g = parseInt(s.getAttribute("data-start"), 10) || 1, p = g + (i.children.length - 1);
|
|
31150
31143
|
u < g && (u = g), u > p && (u = p);
|
|
31151
|
-
var
|
|
31152
|
-
return i.children[
|
|
31144
|
+
var o = u - g;
|
|
31145
|
+
return i.children[o];
|
|
31153
31146
|
}
|
|
31154
31147
|
}
|
|
31155
31148
|
},
|
|
@@ -31184,34 +31177,34 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31184
31177
|
var u = s.map(function(i) {
|
|
31185
31178
|
var g = i.querySelector("code"), p = i.querySelector(".line-numbers-rows");
|
|
31186
31179
|
if (!(!g || !p)) {
|
|
31187
|
-
var
|
|
31188
|
-
|
|
31189
|
-
var l =
|
|
31190
|
-
return
|
|
31180
|
+
var o = i.querySelector(".line-numbers-sizer"), f = g.textContent.split(t2);
|
|
31181
|
+
o || (o = document.createElement("span"), o.className = "line-numbers-sizer", g.appendChild(o)), o.innerHTML = "0", o.style.display = "block";
|
|
31182
|
+
var l = o.getBoundingClientRect().height;
|
|
31183
|
+
return o.innerHTML = "", {
|
|
31191
31184
|
element: i,
|
|
31192
31185
|
lines: f,
|
|
31193
31186
|
lineHeights: [],
|
|
31194
31187
|
oneLinerHeight: l,
|
|
31195
|
-
sizer:
|
|
31188
|
+
sizer: o
|
|
31196
31189
|
};
|
|
31197
31190
|
}
|
|
31198
31191
|
}).filter(Boolean);
|
|
31199
31192
|
u.forEach(function(i) {
|
|
31200
|
-
var g = i.sizer, p = i.lines,
|
|
31201
|
-
|
|
31193
|
+
var g = i.sizer, p = i.lines, o = i.lineHeights, f = i.oneLinerHeight;
|
|
31194
|
+
o[p.length - 1] = void 0, p.forEach(function(l, w) {
|
|
31202
31195
|
if (l && l.length > 1) {
|
|
31203
|
-
var
|
|
31204
|
-
|
|
31196
|
+
var A = g.appendChild(document.createElement("span"));
|
|
31197
|
+
A.style.display = "block", A.textContent = l;
|
|
31205
31198
|
} else
|
|
31206
|
-
|
|
31199
|
+
o[w] = f;
|
|
31207
31200
|
});
|
|
31208
31201
|
}), u.forEach(function(i) {
|
|
31209
|
-
for (var g = i.sizer, p = i.lineHeights,
|
|
31210
|
-
p[f] === void 0 && (p[f] = g.children[
|
|
31202
|
+
for (var g = i.sizer, p = i.lineHeights, o = 0, f = 0; f < p.length; f++)
|
|
31203
|
+
p[f] === void 0 && (p[f] = g.children[o++].getBoundingClientRect().height);
|
|
31211
31204
|
}), u.forEach(function(i) {
|
|
31212
31205
|
var g = i.sizer, p = i.element.querySelector(".line-numbers-rows");
|
|
31213
|
-
g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(
|
|
31214
|
-
p.children[f].style.height =
|
|
31206
|
+
g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(o, f) {
|
|
31207
|
+
p.children[f].style.height = o + "px";
|
|
31215
31208
|
});
|
|
31216
31209
|
});
|
|
31217
31210
|
}
|
|
@@ -31233,8 +31226,8 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31233
31226
|
);
|
|
31234
31227
|
if (!(!i || !/pre/i.test(i.nodeName)) && !u.querySelector(".line-numbers-rows") && Prism.util.isActive(u, a)) {
|
|
31235
31228
|
u.classList.remove(a), i.classList.add(a);
|
|
31236
|
-
var g = s.code.match(t2), p = g ? g.length + 1 : 1,
|
|
31237
|
-
|
|
31229
|
+
var g = s.code.match(t2), p = g ? g.length + 1 : 1, o, f = new Array(p + 1).join("<span></span>");
|
|
31230
|
+
o = document.createElement("span"), o.setAttribute("aria-hidden", "true"), o.className = "line-numbers-rows", o.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(o), r2([i]), Prism.hooks.run("line-numbers", s);
|
|
31238
31231
|
}
|
|
31239
31232
|
}
|
|
31240
31233
|
}), Prism.hooks.add("line-numbers", function(s) {
|
|
@@ -31267,7 +31260,7 @@ function z(a) {
|
|
|
31267
31260
|
}
|
|
31268
31261
|
return a;
|
|
31269
31262
|
}
|
|
31270
|
-
const Ge = ["innerHTML"],
|
|
31263
|
+
const Ge = ["innerHTML"], Ot = /* @__PURE__ */ defineComponent({
|
|
31271
31264
|
__name: "ScalarCodeBlock",
|
|
31272
31265
|
props: {
|
|
31273
31266
|
content: {},
|
|
@@ -31277,16 +31270,16 @@ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ defineComponent({
|
|
|
31277
31270
|
},
|
|
31278
31271
|
setup(a) {
|
|
31279
31272
|
const t2 = a, e = createHash(z(t2.content)), r2 = `components-scalar-code-block${e}`, { plugins: c, highlightElement: d } = L;
|
|
31280
|
-
t2.hideCredentials && L.hooks.add("wrap", function(
|
|
31273
|
+
t2.hideCredentials && L.hooks.add("wrap", function(o) {
|
|
31281
31274
|
if (!t2.hideCredentials)
|
|
31282
31275
|
return;
|
|
31283
31276
|
let f = false;
|
|
31284
|
-
typeof t2.hideCredentials == "string" ?
|
|
31285
|
-
(l) =>
|
|
31286
|
-
)), f && (
|
|
31277
|
+
typeof t2.hideCredentials == "string" ? o.content.includes(t2.hideCredentials) && (f = true) : Array.isArray(t2.hideCredentials) && (f = t2.hideCredentials.some(
|
|
31278
|
+
(l) => o.content.includes(l)
|
|
31279
|
+
)), f && (o.content = o.content.replace(
|
|
31287
31280
|
/<span class="credentials">.*?<\/span>/g,
|
|
31288
31281
|
(l) => l.replace(/<span class="credentials">|<\/span>/g, "")
|
|
31289
|
-
),
|
|
31282
|
+
), o.content = o.content.replace(
|
|
31290
31283
|
new RegExp(
|
|
31291
31284
|
typeof t2.hideCredentials == "string" ? t2.hideCredentials : t2.hideCredentials.join("|"),
|
|
31292
31285
|
"g"
|
|
@@ -31304,27 +31297,27 @@ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ defineComponent({
|
|
|
31304
31297
|
);
|
|
31305
31298
|
const p = /\n(?!$)/g;
|
|
31306
31299
|
return onServerPrefetch(async () => {
|
|
31307
|
-
let
|
|
31300
|
+
let o = "";
|
|
31308
31301
|
t2.lineNumbers && L.hooks.add("after-tokenize", (l) => {
|
|
31309
|
-
const w = l.code.match(p),
|
|
31310
|
-
|
|
31302
|
+
const w = l.code.match(p), A = w ? w.length + 1 : 1;
|
|
31303
|
+
o = `<span aria-hidden="true" class="line-numbers-rows">${new Array(A + 1).join("<span></span>")}</span>`;
|
|
31311
31304
|
});
|
|
31312
31305
|
const f = L.highlight(
|
|
31313
31306
|
z(t2.content),
|
|
31314
31307
|
L.languages[i.value],
|
|
31315
31308
|
i.value
|
|
31316
31309
|
);
|
|
31317
|
-
if (u.value = f +
|
|
31310
|
+
if (u.value = f + o, e !== 0) {
|
|
31318
31311
|
const l = useSSRContext();
|
|
31319
|
-
l.payload.data[r2] = f +
|
|
31312
|
+
l.payload.data[r2] = f + o;
|
|
31320
31313
|
}
|
|
31321
31314
|
}), onMounted(async () => {
|
|
31322
31315
|
await import("./prism-autoloader-Dlh8Vzlw-BR-Zk31i.js"), c.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
|
|
31323
|
-
}), (
|
|
31316
|
+
}), (o, f) => (openBlock(), createElementBlock("pre", {
|
|
31324
31317
|
class: normalizeClass([
|
|
31325
31318
|
`scalar-component scalar-codeblock-pre language-${i.value}`,
|
|
31326
31319
|
{
|
|
31327
|
-
"line-numbers":
|
|
31320
|
+
"line-numbers": o.lineNumbers
|
|
31328
31321
|
}
|
|
31329
31322
|
])
|
|
31330
31323
|
}, [
|
|
@@ -31337,13 +31330,13 @@ const Ge = ["innerHTML"], Pt = /* @__PURE__ */ defineComponent({
|
|
|
31337
31330
|
ref_key: "el",
|
|
31338
31331
|
ref: s,
|
|
31339
31332
|
class: normalizeClass(`scalar-codeblock-code language-${i.value}`)
|
|
31340
|
-
}, toDisplayString(unref(z)(
|
|
31333
|
+
}, toDisplayString(unref(z)(o.content)), 3))
|
|
31341
31334
|
], 2));
|
|
31342
31335
|
}
|
|
31343
31336
|
});
|
|
31344
|
-
const
|
|
31337
|
+
const U = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DzyQwJvS.js"), "./ArrowLeft.svg": () => import("./ArrowLeft-aY17W2aS-DFSAtOMh.js"), "./ArrowRight.svg": () => import("./ArrowRight-DEMtdoE7-D3Vz1S5q.js"), "./Background.svg": () => import("./Background-DcRhSHgf-DMULXelH.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-BdIXlrTs.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-IxKqRWkx.js"), "./CallToAction.svg": () => import("./CallToAction-EyQKkvbg-D5UsQ4YH.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-CenVOav7.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-DHNwXUbS.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-DAzCtmws.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-CDFDuBE1.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-CuKFLVD3.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DWrQtWVi.js"), "./Close.svg": () => import("./Close-CW3z42qZ-CeX6s3FA.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-CoWfaY0Z.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-D960ImBy.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-DHPfucpm.js"), "./Delete.svg": () => import("./Delete-BCZmxrDD-BHoCf_u4.js"), "./Discord.svg": () => import("./Discord-BHYOFBB2-NYBGYy-_.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-BP1Vagfm.js"), "./Duplicate.svg": () => import("./Duplicate-BPlzNpcf-DbmFK0XC.js"), "./Edit.svg": () => import("./Edit-Br04RNYb-BhCyac4t.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-CsJmKvlE.js"), "./Error.svg": () => import("./Error-B_RGtWJI-D9KV-EvG.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-ANJEzoHO.js"), "./FilterList.svg": () => import("./FilterList-CsAcE9em-aybThY1V.js"), "./Folder.svg": () => import("./Folder-Cdcj4evh-B-g7TtzK.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-BAGzgXH_.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH-40aIsLtN.js"), "./History.svg": () => import("./History-D9nmhNIn-BU9mR55a.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-Cm1hXgAn.js"), "./Key.svg": () => import("./Key-CWXJqX28-DdNUhB11.js"), "./Leave.svg": () => import("./Leave-K1J3uwoG-WgTmlwgs.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-Dk64Z-UE.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-JpKLPzdT.js"), "./Link.svg": () => import("./Link-Bzuc__Nc-Bvtx0HZG.js"), "./Lock.svg": () => import("./Lock-xhiH1mKz-Rrlr3fGv.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-LQcor9RM.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-Bzb5EbnZ.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-B_rZ91PC.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-_INRDSLs.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW-DFEpFXIU.js"), "./Magic.svg": () => import("./Magic-Dsi9_bEc-BYN42_eH.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-CqE9Tsgr.js"), "./Page.svg": () => import("./Page-B7rVuhpl-BUIogUij.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-BrV5fX8s.js"), "./Payment.svg": () => import("./Payment-hzcXP1Xb-B2G1p4-i.js"), "./Play.svg": () => import("./Play-BrVagRQA-DBrajcXb.js"), "./Refresh.svg": () => import("./Refresh-Be6vHEEi-C6lRqFiM.js"), "./Response.svg": () => import("./Response-Dq9pM-ZU-DcYb8u84.js"), "./Search.svg": () => import("./Search-DqtlswRG-D-hprEk0.js"), "./Show.svg": () => import("./Show-D86hKz5y-CF9Pv7FS.js"), "./SideBarClosed.svg": () => import("./SideBarClosed-CYUNS2XM-CyAn6Mp2.js"), "./SideBarOpen.svg": () => import("./SideBarOpen-BOxW49_U-D5IKtkfP.js"), "./Sort.svg": () => import("./Sort-oTjBhJFQ-yW_ZNUnN.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-vWaGU4_z.js"), "./ThumbsDown.svg": () => import("./ThumbsDown-BMgnsASL-B2YFxB8i.js"), "./ThumbsUp.svg": () => import("./ThumbsUp-C1j6zY2j-DKqh3z1D.js"), "./Trash.svg": () => import("./Trash-BpA3zWPD-BAjuQdys.js"), "./Unlock.svg": () => import("./Unlock-CY8UqJoE-CrwInjK9.js"), "./Upload.svg": () => import("./Upload-REIdL7RI-CsfWPmbV.js"), "./User.svg": () => import("./User-Df5svMQ3-BD7IWPQQ.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-Bzc9D9am.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CfPlyy6T.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-Cty_4oXq.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DUTv-t1Q.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DdUogL85.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-Dt_I9pcj.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-QG1pSdJG.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-D6Gs-6Ol.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-B1_8fYG9.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Bf5XF7-p.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-BUgfSlg1.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-Bl9dTA-D.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-BWQXI44M.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-CWqBHVz_.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-DFjYF_MP.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-BMZrSR1t.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C1Zi89NZ.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-DZhaOPIJ.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-BR-B91By.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-ip3_Zuhb.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-DQ_8EMFH.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-S3xix_dw.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-BCrlyfv0.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BWGOKD9M.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-Dd3La6Kn.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-Bz_n-CNw.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-XJbYjh7O.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-BUvu5_SV.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-CaDO02MW.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-BPFALXVk.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-Cz6Yj0wj.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-ky2wbsII.js") }), j = (a) => {
|
|
31345
31338
|
const t2 = `./${a}.svg`;
|
|
31346
|
-
return
|
|
31339
|
+
return U[t2] ? defineAsyncComponent(U[t2]) : (console.warn(`Could not find icon: ${a}`), null);
|
|
31347
31340
|
}, Ye = ["src"], V = /* @__PURE__ */ defineComponent({
|
|
31348
31341
|
__name: "ScalarIcon",
|
|
31349
31342
|
props: {
|
|
@@ -31367,8 +31360,8 @@ const j = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZg
|
|
|
31367
31360
|
defaultVariants: {
|
|
31368
31361
|
size: "full"
|
|
31369
31362
|
}
|
|
31370
|
-
}), r2 =
|
|
31371
|
-
return (c, d) => unref(r2) ? (openBlock(), createBlock(resolveDynamicComponent(unref(
|
|
31363
|
+
}), r2 = j(t2.icon);
|
|
31364
|
+
return (c, d) => unref(r2) ? (openBlock(), createBlock(resolveDynamicComponent(unref(j)(c.icon)), {
|
|
31372
31365
|
key: 0,
|
|
31373
31366
|
class: normalizeClass(unref(E)("scalar-icon", unref(e)({ size: c.size })))
|
|
31374
31367
|
}, null, 8, ["class"])) : (openBlock(), createElementBlock("img", {
|
|
@@ -31411,10 +31404,10 @@ const j = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZg
|
|
|
31411
31404
|
], 10, Je));
|
|
31412
31405
|
}
|
|
31413
31406
|
});
|
|
31414
|
-
const _hoisted_1$
|
|
31415
|
-
const _hoisted_2$
|
|
31407
|
+
const _hoisted_1$p = { class: "card-form-input" };
|
|
31408
|
+
const _hoisted_2$i = ["for"];
|
|
31416
31409
|
const _hoisted_3$b = ["id", "type"];
|
|
31417
|
-
const _sfc_main$
|
|
31410
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
31418
31411
|
...{
|
|
31419
31412
|
inheritAttrs: false
|
|
31420
31413
|
},
|
|
@@ -31430,10 +31423,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31430
31423
|
() => props.type === "password" ? mask.value ? "password" : "text" : props.type ?? "text"
|
|
31431
31424
|
);
|
|
31432
31425
|
return (_ctx, _cache) => {
|
|
31433
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31426
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
31434
31427
|
createElementVNode("label", { for: _ctx.id }, [
|
|
31435
31428
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31436
|
-
], 8, _hoisted_2$
|
|
31429
|
+
], 8, _hoisted_2$i),
|
|
31437
31430
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
31438
31431
|
id: _ctx.id,
|
|
31439
31432
|
autocomplete: "off",
|
|
@@ -31452,22 +31445,22 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
31452
31445
|
};
|
|
31453
31446
|
}
|
|
31454
31447
|
});
|
|
31455
|
-
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31456
|
-
const _sfc_main$
|
|
31457
|
-
const _hoisted_1$
|
|
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" };
|
|
31458
31451
|
function _sfc_render$2(_ctx, _cache) {
|
|
31459
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31452
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
31460
31453
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31461
31454
|
]);
|
|
31462
31455
|
}
|
|
31463
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31456
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2], ["__scopeId", "data-v-190574ac"]]);
|
|
31464
31457
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-0243b758"), n = n(), popScopeId(), n);
|
|
31465
|
-
const _hoisted_1$
|
|
31466
|
-
const _hoisted_2$
|
|
31458
|
+
const _hoisted_1$n = { class: "scopes-label" };
|
|
31459
|
+
const _hoisted_2$h = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "|", -1));
|
|
31467
31460
|
const _hoisted_3$a = ["checked"];
|
|
31468
31461
|
const _hoisted_4$8 = { class: "dropdown-item-title" };
|
|
31469
31462
|
const _hoisted_5$4 = { class: "dropdown-item-description" };
|
|
31470
|
-
const _sfc_main$
|
|
31463
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
31471
31464
|
__name: "SecuritySchemeScopes",
|
|
31472
31465
|
props: {
|
|
31473
31466
|
scopes: {},
|
|
@@ -31502,7 +31495,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31502
31495
|
}, [
|
|
31503
31496
|
createVNode(unref(ListboxButton), { as: CardFormButton }, {
|
|
31504
31497
|
default: withCtx(() => [
|
|
31505
|
-
createElementVNode("div", _hoisted_1$
|
|
31498
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
31506
31499
|
createVNode(unref(V), {
|
|
31507
31500
|
icon: open ? "ChevronUp" : "ChevronDown",
|
|
31508
31501
|
size: "sm"
|
|
@@ -31511,7 +31504,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31511
31504
|
createVNode(unref(Badge), { class: "scopes-label-badge" }, {
|
|
31512
31505
|
default: withCtx(() => [
|
|
31513
31506
|
createTextVNode(toDisplayString(model.value.length), 1),
|
|
31514
|
-
_hoisted_2$
|
|
31507
|
+
_hoisted_2$h,
|
|
31515
31508
|
createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length), 1)
|
|
31516
31509
|
]),
|
|
31517
31510
|
_: 1
|
|
@@ -31569,8 +31562,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31569
31562
|
};
|
|
31570
31563
|
}
|
|
31571
31564
|
});
|
|
31572
|
-
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31573
|
-
const _sfc_main$
|
|
31565
|
+
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0243b758"]]);
|
|
31566
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31574
31567
|
__name: "SecurityScheme",
|
|
31575
31568
|
props: {
|
|
31576
31569
|
value: {}
|
|
@@ -31798,16 +31791,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
31798
31791
|
};
|
|
31799
31792
|
}
|
|
31800
31793
|
});
|
|
31801
|
-
const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31794
|
+
const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ce3ed7f0"]]);
|
|
31802
31795
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-fa321bbc"), n = n(), popScopeId(), n);
|
|
31803
|
-
const _hoisted_1$
|
|
31796
|
+
const _hoisted_1$m = {
|
|
31804
31797
|
key: 1,
|
|
31805
31798
|
class: "security-scheme-selector"
|
|
31806
31799
|
};
|
|
31807
|
-
const _hoisted_2$
|
|
31800
|
+
const _hoisted_2$g = ["value"];
|
|
31808
31801
|
const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
31809
31802
|
const _hoisted_4$7 = ["value"];
|
|
31810
|
-
const _sfc_main$
|
|
31803
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
31811
31804
|
__name: "SecuritySchemeSelector",
|
|
31812
31805
|
props: {
|
|
31813
31806
|
value: {}
|
|
@@ -31862,7 +31855,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31862
31855
|
var _a2, _b;
|
|
31863
31856
|
return keys.value.length === 1 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31864
31857
|
createTextVNode(toDisplayString(getLabelForScheme((_a2 = _ctx.value) == null ? void 0 : _a2[keys.value[0]], keys.value[0])), 1)
|
|
31865
|
-
], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31858
|
+
], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
31866
31859
|
createElementVNode("span", null, toDisplayString(unref(authentication2).preferredSecurityScheme ? getLabelForScheme(
|
|
31867
31860
|
(_b = _ctx.value) == null ? void 0 : _b[unref(authentication2).preferredSecurityScheme],
|
|
31868
31861
|
unref(authentication2).preferredSecurityScheme
|
|
@@ -31882,21 +31875,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31882
31875
|
value: key ?? null
|
|
31883
31876
|
}, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$7);
|
|
31884
31877
|
}), 128))
|
|
31885
|
-
], 40, _hoisted_2$
|
|
31878
|
+
], 40, _hoisted_2$g)
|
|
31886
31879
|
])) : createCommentVNode("", true);
|
|
31887
31880
|
};
|
|
31888
31881
|
}
|
|
31889
31882
|
});
|
|
31890
|
-
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31891
|
-
const _hoisted_1$
|
|
31883
|
+
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fa321bbc"]]);
|
|
31884
|
+
const _hoisted_1$l = {
|
|
31892
31885
|
key: 0,
|
|
31893
31886
|
class: "preferred-security-scheme"
|
|
31894
31887
|
};
|
|
31895
|
-
const _hoisted_2$
|
|
31888
|
+
const _hoisted_2$f = {
|
|
31896
31889
|
key: 1,
|
|
31897
31890
|
class: "security-scheme-empty-state"
|
|
31898
31891
|
};
|
|
31899
|
-
const _sfc_main$
|
|
31892
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
31900
31893
|
__name: "RequestAuthentication",
|
|
31901
31894
|
setup(__props) {
|
|
31902
31895
|
const requestAuthenticationRef = ref(null);
|
|
@@ -31928,7 +31921,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
31928
31921
|
ref_key: "requestAuthenticationRef",
|
|
31929
31922
|
ref: requestAuthenticationRef
|
|
31930
31923
|
}, [
|
|
31931
|
-
createVNode(unref(_sfc_main$
|
|
31924
|
+
createVNode(unref(_sfc_main$w), { title: "Authentication" }, {
|
|
31932
31925
|
options: withCtx(() => [
|
|
31933
31926
|
createVNode(SecuritySchemeSelector, {
|
|
31934
31927
|
value: unref(authentication2).securitySchemes
|
|
@@ -31937,12 +31930,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
31937
31930
|
default: withCtx(() => {
|
|
31938
31931
|
var _a2;
|
|
31939
31932
|
return [
|
|
31940
|
-
unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31933
|
+
unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
31941
31934
|
createVNode(SecurityScheme, {
|
|
31942
31935
|
value: (_a2 = unref(authentication2).securitySchemes) == null ? void 0 : _a2[unref(authentication2).preferredSecurityScheme]
|
|
31943
31936
|
}, null, 8, ["value"])
|
|
31944
31937
|
])) : createCommentVNode("", true),
|
|
31945
|
-
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
31938
|
+
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$f, [
|
|
31946
31939
|
createElementVNode("div", {
|
|
31947
31940
|
class: "scalar-api-client-add",
|
|
31948
31941
|
variant: "outlined",
|
|
@@ -31967,24 +31960,24 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
31967
31960
|
};
|
|
31968
31961
|
}
|
|
31969
31962
|
});
|
|
31970
|
-
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31971
|
-
const _hoisted_1$
|
|
31972
|
-
const _hoisted_2$
|
|
31963
|
+
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-cbd3fe9a"]]);
|
|
31964
|
+
const _hoisted_1$k = { class: "table-row" };
|
|
31965
|
+
const _hoisted_2$e = { class: "table-row-item" };
|
|
31973
31966
|
const _hoisted_3$8 = { class: "table-row-item" };
|
|
31974
31967
|
const _hoisted_4$6 = {
|
|
31975
31968
|
key: 0,
|
|
31976
31969
|
class: "table-row-item"
|
|
31977
31970
|
};
|
|
31978
31971
|
const _hoisted_5$3 = { class: "table-row-meta" };
|
|
31979
|
-
const _sfc_main$
|
|
31972
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
31980
31973
|
__name: "GridRow",
|
|
31981
31974
|
props: {
|
|
31982
31975
|
showDescription: { type: Boolean }
|
|
31983
31976
|
},
|
|
31984
31977
|
setup(__props) {
|
|
31985
31978
|
return (_ctx, _cache) => {
|
|
31986
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31987
|
-
createElementVNode("div", _hoisted_2$
|
|
31979
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
31980
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
31988
31981
|
renderSlot(_ctx.$slots, "key", {}, void 0, true)
|
|
31989
31982
|
]),
|
|
31990
31983
|
createElementVNode("div", _hoisted_3$8, [
|
|
@@ -32000,10 +31993,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
32000
31993
|
};
|
|
32001
31994
|
}
|
|
32002
31995
|
});
|
|
32003
|
-
const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31996
|
+
const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d223c4c9"]]);
|
|
32004
31997
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-f563de96"), n = n(), popScopeId(), n);
|
|
32005
|
-
const _hoisted_1$
|
|
32006
|
-
const _hoisted_2$
|
|
31998
|
+
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));
|
|
32007
32000
|
const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Description", -1));
|
|
32008
32001
|
const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
32009
32002
|
fill: "currentColor",
|
|
@@ -32017,7 +32010,7 @@ const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
32017
32010
|
"fill-rule": "nonzero"
|
|
32018
32011
|
})
|
|
32019
32012
|
], -1));
|
|
32020
|
-
const _sfc_main$
|
|
32013
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
32021
32014
|
__name: "GridHeader",
|
|
32022
32015
|
props: {
|
|
32023
32016
|
showDescription: { type: Boolean }
|
|
@@ -32027,10 +32020,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
32027
32020
|
return (_ctx, _cache) => {
|
|
32028
32021
|
return openBlock(), createBlock(GridRow, { showDescription: _ctx.showDescription }, {
|
|
32029
32022
|
key: withCtx(() => [
|
|
32030
|
-
_hoisted_1$
|
|
32023
|
+
_hoisted_1$j
|
|
32031
32024
|
]),
|
|
32032
32025
|
value: withCtx(() => [
|
|
32033
|
-
_hoisted_2$
|
|
32026
|
+
_hoisted_2$d
|
|
32034
32027
|
]),
|
|
32035
32028
|
description: withCtx(() => [
|
|
32036
32029
|
_hoisted_3$7
|
|
@@ -32052,10 +32045,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
32052
32045
|
};
|
|
32053
32046
|
}
|
|
32054
32047
|
});
|
|
32055
|
-
const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32048
|
+
const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-f563de96"]]);
|
|
32056
32049
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-343844f2"), n = n(), popScopeId(), n);
|
|
32057
|
-
const _hoisted_1$
|
|
32058
|
-
const _hoisted_2$
|
|
32050
|
+
const _hoisted_1$i = { class: "meta-check" };
|
|
32051
|
+
const _hoisted_2$c = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
|
|
32059
32052
|
const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
32060
32053
|
fill: "none",
|
|
32061
32054
|
height: "10",
|
|
@@ -32081,7 +32074,7 @@ const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
|
|
|
32081
32074
|
const _hoisted_4$4 = [
|
|
32082
32075
|
_hoisted_3$6
|
|
32083
32076
|
];
|
|
32084
|
-
const _sfc_main$
|
|
32077
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
32085
32078
|
__name: "GridRowEditable",
|
|
32086
32079
|
props: {
|
|
32087
32080
|
name: {},
|
|
@@ -32145,14 +32138,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
32145
32138
|
])
|
|
32146
32139
|
]),
|
|
32147
32140
|
meta: withCtx(() => [
|
|
32148
|
-
createElementVNode("label", _hoisted_1$
|
|
32141
|
+
createElementVNode("label", _hoisted_1$i, [
|
|
32149
32142
|
withDirectives(createElementVNode("input", {
|
|
32150
32143
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => enabledProxy.value = $event),
|
|
32151
32144
|
type: "checkbox"
|
|
32152
32145
|
}, null, 512), [
|
|
32153
32146
|
[vModelCheckbox, enabledProxy.value]
|
|
32154
32147
|
]),
|
|
32155
|
-
_hoisted_2$
|
|
32148
|
+
_hoisted_2$c
|
|
32156
32149
|
]),
|
|
32157
32150
|
!_ctx.required ? (openBlock(), createElementBlock("button", {
|
|
32158
32151
|
key: 0,
|
|
@@ -32166,15 +32159,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
32166
32159
|
};
|
|
32167
32160
|
}
|
|
32168
32161
|
});
|
|
32169
|
-
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32162
|
+
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-343844f2"]]);
|
|
32170
32163
|
const _withScopeId = (n) => (pushScopeId("data-v-78bcd93d"), n = n(), popScopeId(), n);
|
|
32171
|
-
const _hoisted_1$
|
|
32172
|
-
const _hoisted_2$
|
|
32164
|
+
const _hoisted_1$h = ["value"];
|
|
32165
|
+
const _hoisted_2$b = ["value"];
|
|
32173
32166
|
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
|
|
32174
32167
|
disabled: "",
|
|
32175
32168
|
value: "Read-only"
|
|
32176
32169
|
}, null, -1));
|
|
32177
|
-
const _sfc_main$
|
|
32170
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
32178
32171
|
__name: "GridRowGenerated",
|
|
32179
32172
|
props: {
|
|
32180
32173
|
item: {}
|
|
@@ -32187,7 +32180,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32187
32180
|
disabled: "",
|
|
32188
32181
|
placeholder: "key",
|
|
32189
32182
|
value: _ctx.item.name
|
|
32190
|
-
}, null, 8, _hoisted_1$
|
|
32183
|
+
}, null, 8, _hoisted_1$h)
|
|
32191
32184
|
]),
|
|
32192
32185
|
value: withCtx(() => [
|
|
32193
32186
|
createElementVNode("input", {
|
|
@@ -32195,7 +32188,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32195
32188
|
placeholder: "value",
|
|
32196
32189
|
type: "password",
|
|
32197
32190
|
value: _ctx.item.value
|
|
32198
|
-
}, null, 8, _hoisted_2$
|
|
32191
|
+
}, null, 8, _hoisted_2$b)
|
|
32199
32192
|
]),
|
|
32200
32193
|
description: withCtx(() => [
|
|
32201
32194
|
_hoisted_3$5
|
|
@@ -32205,12 +32198,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32205
32198
|
};
|
|
32206
32199
|
}
|
|
32207
32200
|
});
|
|
32208
|
-
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32209
|
-
const _hoisted_1$
|
|
32210
|
-
const _hoisted_2$
|
|
32201
|
+
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-78bcd93d"]]);
|
|
32202
|
+
const _hoisted_1$g = { class: "table" };
|
|
32203
|
+
const _hoisted_2$a = { class: "meta-actions" };
|
|
32211
32204
|
const _hoisted_3$4 = { class: "meta-actions-item-icon" };
|
|
32212
32205
|
const _hoisted_4$3 = { class: "meta-actions-item-icon" };
|
|
32213
|
-
const _sfc_main$
|
|
32206
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
32214
32207
|
__name: "Grid",
|
|
32215
32208
|
props: {
|
|
32216
32209
|
items: {},
|
|
@@ -32228,7 +32221,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32228
32221
|
showMore.value = true;
|
|
32229
32222
|
}
|
|
32230
32223
|
return (_ctx, _cache) => {
|
|
32231
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32224
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
32232
32225
|
createVNode(GridHeader, {
|
|
32233
32226
|
showDescription: showDescription.value,
|
|
32234
32227
|
"onUpdate:showDescription": _cache[0] || (_cache[0] = ($event) => showDescription.value = $event)
|
|
@@ -32259,7 +32252,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32259
32252
|
[vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
|
|
32260
32253
|
]);
|
|
32261
32254
|
}), 128)),
|
|
32262
|
-
createElementVNode("div", _hoisted_2$
|
|
32255
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
32263
32256
|
_ctx.addLabel ? (openBlock(), createElementBlock("button", {
|
|
32264
32257
|
key: 0,
|
|
32265
32258
|
class: "meta-actions-item",
|
|
@@ -32287,21 +32280,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32287
32280
|
};
|
|
32288
32281
|
}
|
|
32289
32282
|
});
|
|
32290
|
-
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32291
|
-
const _hoisted_1$
|
|
32292
|
-
const _hoisted_2$
|
|
32283
|
+
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1dbaabfd"]]);
|
|
32284
|
+
const _hoisted_1$f = { class: "navtable simpletable" };
|
|
32285
|
+
const _hoisted_2$9 = { class: "navtable-table" };
|
|
32293
32286
|
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
32287
|
const _hoisted_4$2 = { class: "navtable-item-33" };
|
|
32295
32288
|
const _hoisted_5$2 = { class: "navtable-item-66" };
|
|
32296
|
-
const _sfc_main$
|
|
32289
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
32297
32290
|
__name: "SimpleGrid",
|
|
32298
32291
|
props: {
|
|
32299
32292
|
items: {}
|
|
32300
32293
|
},
|
|
32301
32294
|
setup(__props) {
|
|
32302
32295
|
return (_ctx, _cache) => {
|
|
32303
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32304
|
-
createElementVNode("div", _hoisted_2$
|
|
32296
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
32297
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
32305
32298
|
_hoisted_3$3,
|
|
32306
32299
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
32307
32300
|
return openBlock(), createElementBlock("div", {
|
|
@@ -32321,9 +32314,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
32321
32314
|
};
|
|
32322
32315
|
}
|
|
32323
32316
|
});
|
|
32324
|
-
const SimpleGrid = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32325
|
-
const _hoisted_1$
|
|
32326
|
-
const _sfc_main$
|
|
32317
|
+
const SimpleGrid = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5ba40e52"]]);
|
|
32318
|
+
const _hoisted_1$e = { key: 0 };
|
|
32319
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
32327
32320
|
__name: "RequestBody",
|
|
32328
32321
|
props: {
|
|
32329
32322
|
body: {},
|
|
@@ -32340,9 +32333,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
32340
32333
|
}
|
|
32341
32334
|
};
|
|
32342
32335
|
return (_ctx, _cache) => {
|
|
32343
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32336
|
+
return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
|
|
32344
32337
|
default: withCtx(() => [
|
|
32345
|
-
_ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
32338
|
+
_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
32339
|
key: 1,
|
|
32347
32340
|
items: _ctx.formData
|
|
32348
32341
|
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(CodeMirror), {
|
|
@@ -32358,11 +32351,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
32358
32351
|
};
|
|
32359
32352
|
}
|
|
32360
32353
|
});
|
|
32361
|
-
const _hoisted_1$
|
|
32354
|
+
const _hoisted_1$d = {
|
|
32362
32355
|
key: 0,
|
|
32363
32356
|
class: "scalar-api-client__empty-state"
|
|
32364
32357
|
};
|
|
32365
|
-
const _hoisted_2$
|
|
32358
|
+
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32366
32359
|
class: "flow-icon",
|
|
32367
32360
|
"data-v-aa4fbd2d": "",
|
|
32368
32361
|
height: "100%",
|
|
@@ -32379,7 +32372,7 @@ const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
32379
32372
|
xmlns: "http://www.w3.org/2000/svg"
|
|
32380
32373
|
})
|
|
32381
32374
|
], -1);
|
|
32382
|
-
const _sfc_main$
|
|
32375
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
32383
32376
|
__name: "RequestCookies",
|
|
32384
32377
|
props: {
|
|
32385
32378
|
cookies: {},
|
|
@@ -32404,18 +32397,18 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32404
32397
|
return !!(((_a2 = props.cookies) == null ? void 0 : _a2.length) || ((_b = props.generatedCookies) == null ? void 0 : _b.length));
|
|
32405
32398
|
});
|
|
32406
32399
|
return (_ctx, _cache) => {
|
|
32407
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32400
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
32408
32401
|
defaultOpen: hasCookies.value,
|
|
32409
32402
|
title: "Cookies"
|
|
32410
32403
|
}, {
|
|
32411
32404
|
default: withCtx(() => [
|
|
32412
|
-
!hasCookies.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32405
|
+
!hasCookies.value ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
32413
32406
|
createElementVNode("button", {
|
|
32414
32407
|
class: "scalar-api-client-add",
|
|
32415
32408
|
type: "button",
|
|
32416
32409
|
onClick: addAnotherHandler
|
|
32417
32410
|
}, [
|
|
32418
|
-
_hoisted_2$
|
|
32411
|
+
_hoisted_2$8,
|
|
32419
32412
|
createTextVNode(" Cookies ")
|
|
32420
32413
|
])
|
|
32421
32414
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32432,11 +32425,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32432
32425
|
};
|
|
32433
32426
|
}
|
|
32434
32427
|
});
|
|
32435
|
-
const _hoisted_1$
|
|
32428
|
+
const _hoisted_1$c = {
|
|
32436
32429
|
key: 0,
|
|
32437
32430
|
class: "scalar-api-client__empty-state"
|
|
32438
32431
|
};
|
|
32439
|
-
const _hoisted_2$
|
|
32432
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32440
32433
|
class: "flow-icon",
|
|
32441
32434
|
"data-v-aa4fbd2d": "",
|
|
32442
32435
|
height: "100%",
|
|
@@ -32453,7 +32446,7 @@ const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
32453
32446
|
xmlns: "http://www.w3.org/2000/svg"
|
|
32454
32447
|
})
|
|
32455
32448
|
], -1);
|
|
32456
|
-
const _sfc_main$
|
|
32449
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
32457
32450
|
__name: "RequestHeaders",
|
|
32458
32451
|
props: {
|
|
32459
32452
|
headers: {},
|
|
@@ -32478,18 +32471,18 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32478
32471
|
return !!(((_a2 = props.headers) == null ? void 0 : _a2.length) || ((_b = props.generatedHeaders) == null ? void 0 : _b.length));
|
|
32479
32472
|
});
|
|
32480
32473
|
return (_ctx, _cache) => {
|
|
32481
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32474
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
32482
32475
|
defaultOpen: hasHeaders.value,
|
|
32483
32476
|
title: "Headers"
|
|
32484
32477
|
}, {
|
|
32485
32478
|
default: withCtx(() => [
|
|
32486
|
-
!hasHeaders.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32479
|
+
!hasHeaders.value ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
32487
32480
|
createElementVNode("button", {
|
|
32488
32481
|
class: "scalar-api-client-add",
|
|
32489
32482
|
type: "button",
|
|
32490
32483
|
onClick: addAnotherHandler
|
|
32491
32484
|
}, [
|
|
32492
|
-
_hoisted_2$
|
|
32485
|
+
_hoisted_2$7,
|
|
32493
32486
|
createTextVNode(" Headers ")
|
|
32494
32487
|
])
|
|
32495
32488
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32506,11 +32499,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32506
32499
|
};
|
|
32507
32500
|
}
|
|
32508
32501
|
});
|
|
32509
|
-
const _hoisted_1$
|
|
32502
|
+
const _hoisted_1$b = {
|
|
32510
32503
|
key: 0,
|
|
32511
32504
|
class: "scalar-api-client__empty-state"
|
|
32512
32505
|
};
|
|
32513
|
-
const _hoisted_2$
|
|
32506
|
+
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32514
32507
|
class: "flow-icon",
|
|
32515
32508
|
"data-v-aa4fbd2d": "",
|
|
32516
32509
|
height: "100%",
|
|
@@ -32527,7 +32520,7 @@ const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
32527
32520
|
xmlns: "http://www.w3.org/2000/svg"
|
|
32528
32521
|
})
|
|
32529
32522
|
], -1);
|
|
32530
|
-
const _sfc_main$
|
|
32523
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
32531
32524
|
__name: "RequestQuery",
|
|
32532
32525
|
props: {
|
|
32533
32526
|
queries: {},
|
|
@@ -32552,18 +32545,18 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32552
32545
|
return !!(((_a2 = props.queries) == null ? void 0 : _a2.length) || ((_b = props.generatedQueries) == null ? void 0 : _b.length));
|
|
32553
32546
|
});
|
|
32554
32547
|
return (_ctx, _cache) => {
|
|
32555
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32548
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
32556
32549
|
defaultOpen: hasQueries.value,
|
|
32557
32550
|
title: "Query Parameters"
|
|
32558
32551
|
}, {
|
|
32559
32552
|
default: withCtx(() => [
|
|
32560
|
-
!hasQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32553
|
+
!hasQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
32561
32554
|
createElementVNode("button", {
|
|
32562
32555
|
class: "scalar-api-client-add",
|
|
32563
32556
|
type: "button",
|
|
32564
32557
|
onClick: addAnotherHandler
|
|
32565
32558
|
}, [
|
|
32566
|
-
_hoisted_2$
|
|
32559
|
+
_hoisted_2$6,
|
|
32567
32560
|
createTextVNode(" Query Parameter ")
|
|
32568
32561
|
])
|
|
32569
32562
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32581,11 +32574,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32581
32574
|
};
|
|
32582
32575
|
}
|
|
32583
32576
|
});
|
|
32584
|
-
const _hoisted_1$
|
|
32577
|
+
const _hoisted_1$a = {
|
|
32585
32578
|
key: 0,
|
|
32586
32579
|
class: "scalar-api-client__empty-state"
|
|
32587
32580
|
};
|
|
32588
|
-
const _hoisted_2$
|
|
32581
|
+
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
|
|
32589
32582
|
class: "flow-icon",
|
|
32590
32583
|
"data-v-aa4fbd2d": "",
|
|
32591
32584
|
height: "100%",
|
|
@@ -32602,7 +32595,7 @@ const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
32602
32595
|
xmlns: "http://www.w3.org/2000/svg"
|
|
32603
32596
|
})
|
|
32604
32597
|
], -1);
|
|
32605
|
-
const _sfc_main$
|
|
32598
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
32606
32599
|
__name: "RequestVariables",
|
|
32607
32600
|
props: {
|
|
32608
32601
|
variables: {}
|
|
@@ -32621,18 +32614,18 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32621
32614
|
(_a2 = activeRequest2.variables) == null ? void 0 : _a2.push({ name: "", value: "", enabled: true });
|
|
32622
32615
|
}
|
|
32623
32616
|
return (_ctx, _cache) => {
|
|
32624
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32617
|
+
return openBlock(), createBlock(unref(_sfc_main$w), {
|
|
32625
32618
|
defaultOpen: unref(activeRequest2).variables && unref(activeRequest2).variables.length > 0,
|
|
32626
32619
|
title: "Variables"
|
|
32627
32620
|
}, {
|
|
32628
32621
|
default: withCtx(() => [
|
|
32629
|
-
!_ctx.variables || _ctx.variables.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32622
|
+
!_ctx.variables || _ctx.variables.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
32630
32623
|
createElementVNode("button", {
|
|
32631
32624
|
class: "scalar-api-client-add",
|
|
32632
32625
|
type: "button",
|
|
32633
32626
|
onClick: addAnotherHandler
|
|
32634
32627
|
}, [
|
|
32635
|
-
_hoisted_2$
|
|
32628
|
+
_hoisted_2$5,
|
|
32636
32629
|
createTextVNode(" Variable ")
|
|
32637
32630
|
])
|
|
32638
32631
|
])) : (openBlock(), createBlock(unref(Grid), {
|
|
@@ -32649,14 +32642,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32649
32642
|
};
|
|
32650
32643
|
}
|
|
32651
32644
|
});
|
|
32652
|
-
const _hoisted_1$
|
|
32653
|
-
const _hoisted_2$
|
|
32654
|
-
const _hoisted_3$2 =
|
|
32655
|
-
const _hoisted_4$1 =
|
|
32656
|
-
const _hoisted_5$1 = { class: "meta
|
|
32657
|
-
const _hoisted_6$1 =
|
|
32645
|
+
const _hoisted_1$9 = { class: "scalar-api-client__main__left custom-scroll" };
|
|
32646
|
+
const _hoisted_2$4 = { class: "scalar-api-client__main__content" };
|
|
32647
|
+
const _hoisted_3$2 = { class: "scalar-api-client__main__content__header" };
|
|
32648
|
+
const _hoisted_4$1 = /* @__PURE__ */ createElementVNode("label", null, "Request", -1);
|
|
32649
|
+
const _hoisted_5$1 = { class: "meta" };
|
|
32650
|
+
const _hoisted_6$1 = { class: "meta-item meta-item__input" };
|
|
32651
|
+
const _hoisted_7$1 = { class: "scalar-api-client__main__content__body" };
|
|
32652
|
+
const _hoisted_8$1 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
|
|
32658
32653
|
const readOnly = true;
|
|
32659
|
-
const _sfc_main$
|
|
32654
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
32660
32655
|
__name: "Request",
|
|
32661
32656
|
setup(__props) {
|
|
32662
32657
|
const { activeRequest: activeRequest2 } = useRequestStore();
|
|
@@ -32678,52 +32673,81 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
32678
32673
|
return requestType === "put" || requestType === "post" || requestType === "patch";
|
|
32679
32674
|
});
|
|
32680
32675
|
return (_ctx, _cache) => {
|
|
32681
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
32682
|
-
createElementVNode("div", _hoisted_2$
|
|
32683
|
-
_hoisted_3$2,
|
|
32684
|
-
|
|
32676
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
32677
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
32678
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
32679
|
+
_hoisted_4$1,
|
|
32685
32680
|
createElementVNode("div", _hoisted_5$1, [
|
|
32686
|
-
|
|
32687
|
-
"
|
|
32688
|
-
|
|
32689
|
-
|
|
32690
|
-
|
|
32691
|
-
|
|
32692
|
-
|
|
32693
|
-
|
|
32681
|
+
createElementVNode("div", _hoisted_6$1, [
|
|
32682
|
+
withDirectives(createElementVNode("input", {
|
|
32683
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(activeRequest2).name = $event),
|
|
32684
|
+
class: "scalar-api-client__request-name",
|
|
32685
|
+
disabled: readOnly,
|
|
32686
|
+
placeholder: "Request Name",
|
|
32687
|
+
type: "text"
|
|
32688
|
+
}, null, 512), [
|
|
32689
|
+
[vModelText, unref(activeRequest2).name]
|
|
32690
|
+
])
|
|
32694
32691
|
])
|
|
32695
32692
|
])
|
|
32693
|
+
]),
|
|
32694
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
32695
|
+
createVNode(_sfc_main$c, {
|
|
32696
|
+
variables: unref(activeRequest2).variables
|
|
32697
|
+
}, null, 8, ["variables"]),
|
|
32698
|
+
createVNode(unref(RequestAuthentication)),
|
|
32699
|
+
createVNode(_sfc_main$f, {
|
|
32700
|
+
cookies: unref(activeRequest2).cookies,
|
|
32701
|
+
generatedCookies: authenticationRequest.value.cookies
|
|
32702
|
+
}, null, 8, ["cookies", "generatedCookies"]),
|
|
32703
|
+
createVNode(_sfc_main$e, {
|
|
32704
|
+
generatedHeaders: authenticationRequest.value.headers,
|
|
32705
|
+
headers: unref(activeRequest2).headers
|
|
32706
|
+
}, null, 8, ["generatedHeaders", "headers"]),
|
|
32707
|
+
createVNode(_sfc_main$d, {
|
|
32708
|
+
generatedQueries: authenticationRequest.value.queryString,
|
|
32709
|
+
queries: unref(activeRequest2).query
|
|
32710
|
+
}, null, 8, ["generatedQueries", "queries"]),
|
|
32711
|
+
showRequestBody.value ? (openBlock(), createBlock(_sfc_main$g, {
|
|
32712
|
+
key: 0,
|
|
32713
|
+
body: unref(activeRequest2).body,
|
|
32714
|
+
formData: unref(activeRequest2).formData,
|
|
32715
|
+
requestBody: unref(activeRequest2).body
|
|
32716
|
+
}, null, 8, ["body", "formData", "requestBody"])) : createCommentVNode("", true),
|
|
32717
|
+
_hoisted_8$1
|
|
32696
32718
|
])
|
|
32697
|
-
]),
|
|
32698
|
-
createElementVNode("div", null, [
|
|
32699
|
-
createVNode(_sfc_main$b, {
|
|
32700
|
-
variables: unref(activeRequest2).variables
|
|
32701
|
-
}, null, 8, ["variables"]),
|
|
32702
|
-
createVNode(unref(RequestAuthentication)),
|
|
32703
|
-
createVNode(_sfc_main$e, {
|
|
32704
|
-
cookies: unref(activeRequest2).cookies,
|
|
32705
|
-
generatedCookies: authenticationRequest.value.cookies
|
|
32706
|
-
}, null, 8, ["cookies", "generatedCookies"]),
|
|
32707
|
-
createVNode(_sfc_main$d, {
|
|
32708
|
-
generatedHeaders: authenticationRequest.value.headers,
|
|
32709
|
-
headers: unref(activeRequest2).headers
|
|
32710
|
-
}, null, 8, ["generatedHeaders", "headers"]),
|
|
32711
|
-
createVNode(_sfc_main$c, {
|
|
32712
|
-
generatedQueries: authenticationRequest.value.queryString,
|
|
32713
|
-
queries: unref(activeRequest2).query
|
|
32714
|
-
}, null, 8, ["generatedQueries", "queries"]),
|
|
32715
|
-
showRequestBody.value ? (openBlock(), createBlock(_sfc_main$f, {
|
|
32716
|
-
key: 0,
|
|
32717
|
-
body: unref(activeRequest2).body,
|
|
32718
|
-
formData: unref(activeRequest2).formData,
|
|
32719
|
-
requestBody: unref(activeRequest2).body
|
|
32720
|
-
}, null, 8, ["body", "formData", "requestBody"])) : createCommentVNode("", true),
|
|
32721
|
-
_hoisted_6$1
|
|
32722
32719
|
])
|
|
32723
32720
|
]);
|
|
32724
32721
|
};
|
|
32725
32722
|
}
|
|
32726
32723
|
});
|
|
32724
|
+
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
|
+
const _hoisted_1$8 = { class: "ascii-art" };
|
|
32726
|
+
const _hoisted_2$3 = { class: "ascii-art-line" };
|
|
32727
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
32728
|
+
__name: "ScalarAsciiArt",
|
|
32729
|
+
props: {
|
|
32730
|
+
art: {}
|
|
32731
|
+
},
|
|
32732
|
+
setup(__props) {
|
|
32733
|
+
const props = __props;
|
|
32734
|
+
const lines = computed(() => props.art.split("\n"));
|
|
32735
|
+
return (_ctx, _cache) => {
|
|
32736
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
32737
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(lines.value, (line, i) => {
|
|
32738
|
+
return openBlock(), createElementBlock("span", {
|
|
32739
|
+
key: i,
|
|
32740
|
+
class: "ascii-art-line-wrapper",
|
|
32741
|
+
style: normalizeStyle({ width: `calc(${line.length + 1}ch)` })
|
|
32742
|
+
}, [
|
|
32743
|
+
createElementVNode("span", _hoisted_2$3, toDisplayString(line), 1)
|
|
32744
|
+
], 4);
|
|
32745
|
+
}), 128))
|
|
32746
|
+
]);
|
|
32747
|
+
};
|
|
32748
|
+
}
|
|
32749
|
+
});
|
|
32750
|
+
const ScalarAsciiArt = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-c706348d"]]);
|
|
32727
32751
|
const _hoisted_1$7 = {
|
|
32728
32752
|
key: 1,
|
|
32729
32753
|
class: "scalar-api-client__empty-state"
|
|
@@ -32767,10 +32791,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32767
32791
|
return null;
|
|
32768
32792
|
});
|
|
32769
32793
|
return (_ctx, _cache) => {
|
|
32770
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32794
|
+
return openBlock(), createBlock(unref(_sfc_main$w), { title: "Body" }, {
|
|
32771
32795
|
default: withCtx(() => [
|
|
32772
32796
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
32773
|
-
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(
|
|
32797
|
+
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(Ot), {
|
|
32774
32798
|
key: 0,
|
|
32775
32799
|
class: "custom-scroll",
|
|
32776
32800
|
content: _ctx.data,
|
|
@@ -32889,7 +32913,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
32889
32913
|
}).join("-");
|
|
32890
32914
|
};
|
|
32891
32915
|
return (_ctx, _cache) => {
|
|
32892
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32916
|
+
return openBlock(), createBlock(unref(_sfc_main$w), { title: "Headers" }, {
|
|
32893
32917
|
default: withCtx(() => [
|
|
32894
32918
|
_ctx.headers.length > 0 ? (openBlock(), createBlock(unref(SimpleTable), { key: 0 }, {
|
|
32895
32919
|
default: withCtx(() => [
|
|
@@ -33004,21 +33028,26 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
33004
33028
|
});
|
|
33005
33029
|
const _hoisted_1$1 = { class: "scalar-api-client__main__right custom-scroll" };
|
|
33006
33030
|
const _hoisted_2 = { class: "scalar-api-client__main__content" };
|
|
33007
|
-
const _hoisted_3 =
|
|
33008
|
-
const _hoisted_4 =
|
|
33031
|
+
const _hoisted_3 = { class: "scalar-api-client__main__content__header" };
|
|
33032
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("label", null, "Response", -1);
|
|
33009
33033
|
const _hoisted_5 = {
|
|
33010
|
-
key:
|
|
33011
|
-
class: "meta
|
|
33034
|
+
key: 0,
|
|
33035
|
+
class: "meta"
|
|
33012
33036
|
};
|
|
33013
|
-
const _hoisted_6 =
|
|
33014
|
-
|
|
33015
|
-
|
|
33016
|
-
|
|
33017
|
-
const
|
|
33037
|
+
const _hoisted_6 = {
|
|
33038
|
+
key: 0,
|
|
33039
|
+
class: "scalar-api-client__main__content__body"
|
|
33040
|
+
};
|
|
33041
|
+
const _hoisted_7 = {
|
|
33018
33042
|
key: 0,
|
|
33019
33043
|
class: "scalar-api-client__empty-state"
|
|
33020
33044
|
};
|
|
33021
|
-
const
|
|
33045
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("div", { class: "scalar-api-client__main__scroll-container" }, null, -1);
|
|
33046
|
+
const _hoisted_9 = {
|
|
33047
|
+
key: 1,
|
|
33048
|
+
class: "scalar-api-client__main__content empty-state"
|
|
33049
|
+
};
|
|
33050
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("p", null, "Fill the void and send your request", -1);
|
|
33022
33051
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
33023
33052
|
__name: "Response",
|
|
33024
33053
|
setup(__props) {
|
|
@@ -33054,31 +33083,33 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
33054
33083
|
return (_ctx, _cache) => {
|
|
33055
33084
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
33056
33085
|
createElementVNode("div", _hoisted_2, [
|
|
33057
|
-
_hoisted_3,
|
|
33058
|
-
|
|
33059
|
-
unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(),
|
|
33060
|
-
|
|
33061
|
-
|
|
33062
|
-
|
|
33063
|
-
|
|
33064
|
-
|
|
33065
|
-
|
|
33066
|
-
|
|
33067
|
-
|
|
33068
|
-
data
|
|
33069
|
-
headers: responseHeaders.value
|
|
33070
|
-
|
|
33071
|
-
|
|
33072
|
-
|
|
33073
|
-
|
|
33074
|
-
|
|
33075
|
-
|
|
33086
|
+
createElementVNode("div", _hoisted_3, [
|
|
33087
|
+
_hoisted_4,
|
|
33088
|
+
unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
33089
|
+
createVNode(_sfc_main$2, { response: unref(activeResponse2) }, null, 8, ["response"])
|
|
33090
|
+
])) : createCommentVNode("", true)
|
|
33091
|
+
]),
|
|
33092
|
+
unref(activeRequestId2) && unref(activeResponse2) ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
33093
|
+
createVNode(_sfc_main$9, {
|
|
33094
|
+
active: !!unref(activeResponse2),
|
|
33095
|
+
data: responseData.value,
|
|
33096
|
+
headers: responseHeaders.value
|
|
33097
|
+
}, null, 8, ["active", "data", "headers"]),
|
|
33098
|
+
createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
|
|
33099
|
+
createVNode(unref(_sfc_main$w), { title: "Cookies" }, {
|
|
33100
|
+
default: withCtx(() => [
|
|
33101
|
+
withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
|
|
33102
|
+
[vShow, responseCookies.value.length > 0]
|
|
33103
|
+
]),
|
|
33104
|
+
responseCookies.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_7, "No Cookies")) : createCommentVNode("", true)
|
|
33076
33105
|
]),
|
|
33077
|
-
|
|
33078
|
-
|
|
33079
|
-
|
|
33080
|
-
|
|
33081
|
-
|
|
33106
|
+
_: 1
|
|
33107
|
+
}),
|
|
33108
|
+
_hoisted_8
|
|
33109
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
33110
|
+
createVNode(ScalarAsciiArt, { art: unref(Computer) }, null, 8, ["art"]),
|
|
33111
|
+
_hoisted_10
|
|
33112
|
+
]))
|
|
33082
33113
|
])
|
|
33083
33114
|
]);
|
|
33084
33115
|
};
|
|
@@ -33119,11 +33150,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33119
33150
|
);
|
|
33120
33151
|
return (_ctx, _cache) => {
|
|
33121
33152
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
33122
|
-
createVNode(unref(_sfc_main$
|
|
33153
|
+
createVNode(unref(_sfc_main$F), {
|
|
33123
33154
|
id: _ctx.theme,
|
|
33124
33155
|
withDefaultFonts: _ctx.withDefaultFonts
|
|
33125
33156
|
}, null, 8, ["id", "withDefaultFonts"]),
|
|
33126
|
-
createVNode(_sfc_main$
|
|
33157
|
+
createVNode(_sfc_main$D, {
|
|
33127
33158
|
class: "scalar-api-client",
|
|
33128
33159
|
method: unref(activeRequest2).type ?? "get",
|
|
33129
33160
|
property: "--scalar-api-client-color",
|
|
@@ -33140,7 +33171,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33140
33171
|
createElementVNode("div", _hoisted_1, [
|
|
33141
33172
|
_ctx.showSideBar ? renderSlot(_ctx.$slots, "sidebar", { key: 0 }) : createCommentVNode("", true),
|
|
33142
33173
|
!unref(isSmallScreen) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
33143
|
-
createVNode(unref(_sfc_main$
|
|
33174
|
+
createVNode(unref(_sfc_main$b)),
|
|
33144
33175
|
createVNode(unref(_sfc_main$1))
|
|
33145
33176
|
], 64)) : (openBlock(), createBlock(unref(TabGroup), {
|
|
33146
33177
|
key: 2,
|
|
@@ -33177,7 +33208,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33177
33208
|
default: withCtx(() => [
|
|
33178
33209
|
createVNode(unref(TabPanel), { as: "template" }, {
|
|
33179
33210
|
default: withCtx(() => [
|
|
33180
|
-
createVNode(unref(_sfc_main$
|
|
33211
|
+
createVNode(unref(_sfc_main$b))
|
|
33181
33212
|
]),
|
|
33182
33213
|
_: 1
|
|
33183
33214
|
}),
|
|
@@ -33203,7 +33234,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33203
33234
|
});
|
|
33204
33235
|
export {
|
|
33205
33236
|
_sfc_main as ApiClient,
|
|
33206
|
-
_sfc_main$
|
|
33237
|
+
_sfc_main$D as HttpMethod,
|
|
33207
33238
|
RequestAuthentication,
|
|
33208
33239
|
SecurityScheme,
|
|
33209
33240
|
SecuritySchemeSelector,
|