@scalar/api-client 1.1.12 → 1.1.13
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 +6 -0
- package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
- package/dist/components/Grid/GridHeader.vue.d.ts +20 -0
- package/dist/components/Grid/GridHeader.vue.d.ts.map +1 -0
- package/dist/components/Grid/GridRow.vue.d.ts +26 -0
- package/dist/components/Grid/GridRow.vue.d.ts.map +1 -0
- package/dist/components/Grid/GridRowEditable.vue.d.ts +25 -0
- package/dist/components/Grid/GridRowEditable.vue.d.ts.map +1 -0
- package/dist/components/Grid/GridRowGenerated.vue.d.ts +17 -0
- package/dist/components/Grid/GridRowGenerated.vue.d.ts.map +1 -0
- package/dist/components/Grid/SimpleGrid.vue.d.ts.map +1 -1
- package/dist/index.css +363 -398
- package/dist/index.js +481 -296
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import "./index.css";
|
|
8
|
-
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, onMounted, useCssModule, renderSlot, reactive, readonly, ref, computed, normalizeStyle, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, mergeProps, nextTick, onServerPrefetch, defineAsyncComponent, Teleport, withModifiers, withDirectives,
|
|
8
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, onMounted, useCssModule, renderSlot, reactive, readonly, ref, computed, normalizeStyle, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, mergeProps, useAttrs, nextTick, onServerPrefetch, defineAsyncComponent, useCssVars, Teleport, withModifiers, withDirectives, vModelText, vModelCheckbox, vShow, toRaw, withKeys } from "vue";
|
|
9
9
|
import { Dialog, DialogPanel, DialogTitle, DialogDescription, Disclosure, DisclosureButton, DisclosurePanel, Listbox, ListboxButton, ListboxOptions, ListboxOption, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@headlessui/vue";
|
|
10
10
|
import { useMagicKeys, whenever, useEventBus, useMediaQuery } from "@vueuse/core";
|
|
11
11
|
import axios from "axios";
|
|
@@ -24,7 +24,7 @@ const moonTheme = ".light-mode {\n color-scheme: light;\n --default-theme-colo
|
|
|
24
24
|
const purpleTheme = "/* basic theme */\n.light-mode {\n --default-theme-background-1: #fff;\n --default-theme-background-2: #f5f6f8;\n --default-theme-background-3: #eceef1;\n\n --default-theme-color-1: #2a2f45;\n --default-theme-color-2: #757575;\n --default-theme-color-3: #8e8e8e;\n\n --default-theme-color-accent: #5469d4;\n --default-theme-background-accent: #5469d41f;\n\n --default-theme-border-color: rgba(215, 215, 206, 0.5);\n}\n.dark-mode {\n --default-theme-background-1: #15171c;\n --default-theme-background-2: #1c1e24;\n --default-theme-background-3: #22252b;\n\n --default-theme-color-1: #fafafa;\n --default-theme-color-2: #c9ced8;\n --default-theme-color-3: #8c99ad;\n\n --default-theme-color-accent: #5469d4;\n --default-theme-background-accent: #5469d41f;\n\n --default-theme-border-color: rgba(255, 255, 255, 0.12);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-border-color: var(--default-theme-border-color);\n\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-3);\n\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-color-active: var(--default-theme-color-accent);\n\n --default-sidebar-search-background: var(--default-theme-background-1);\n --default-sidebar-search-color: var(--default-theme-color-3);\n --default-sidebar-search-border-color: var(--default-theme-border-color);\n}\n\n/* advanced */\n.light-mode {\n --default-theme-color-green: #17803d;\n --default-theme-color-red: #e10909;\n --default-theme-color-yellow: #edbe20;\n --default-theme-color-blue: #1763a6;\n --default-theme-color-orange: #e25b09;\n --default-theme-color-purple: #5c3993;\n\n --default-theme-button-1: rgba(0, 0, 0, 1);\n --default-theme-button-1-hover: rgba(0, 0, 0, 0.8);\n --default-theme-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --default-theme-color-green: #30a159;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #eec644;\n --default-theme-color-blue: #2b7abf;\n --default-theme-color-orange: #f07528;\n --default-theme-color-purple: #7a59b1;\n\n --default-theme-button-1: rgba(255, 255, 255, 1);\n --default-theme-button-1-hover: rgba(255, 255, 255, 0.9);\n --default-theme-button-1-color: black;\n}\n";
|
|
25
25
|
const saturnTheme = "/* basic theme */\n.light-mode {\n --default-theme-background-1: #f3f3ee;\n --default-theme-background-2: #e8e8e3;\n --default-theme-background-3: #e4e4df;\n --default-theme-border-color: rgba(215, 215, 206, 0.5);\n\n --default-theme-color-1: #2a2f45;\n --default-theme-color-2: #757575;\n --default-theme-color-3: #8e8e8e;\n\n --default-theme-color-accent: #1763a6;\n --default-theme-background-accent: #1f648e1f;\n\n --default-theme-code-language-color-supersede: var(--default-theme-color-1);\n --default-theme-code-languages-background-supersede: var(\n --default-theme-background-2\n );\n}\n.dark-mode {\n --default-theme-background-1: #09090b;\n --default-theme-background-2: #18181b;\n --default-theme-background-3: #2c2c30;\n --default-theme-border-color: rgba(255, 255, 255, 0.12);\n\n --default-theme-color-1: #fafafa;\n --default-theme-color-2: rgb(161, 161, 170);\n --default-theme-color-3: rgba(255, 255, 255, 0.533);\n\n --default-theme-color-accent: #4eb3ec;\n --default-theme-background-accent: #8ab4f81f;\n\n --default-theme-code-language-color-supersede: var(--default-theme-color-1);\n --default-theme-code-languages-background-supersede: var(\n --default-theme-background-2\n );\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-border-color: var(--default-theme-border-color);\n\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-hover-color: currentColor;\n\n --default-sidebar-item-active-background: var(--default-theme-background-3);\n --default-sidebar-color-active: var(--default-theme-color-1);\n\n --default-sidebar-search-background: var(--default-theme-background-1);\n --default-sidebar-search-border-color: var(--default-theme-border-color);\n --default-sidebar-search-color: var(--default-theme-color-3);\n}\n\n/* advanced */\n.light-mode {\n --default-theme-color-green: #17803d;\n --default-theme-color-red: #e10909;\n --default-theme-color-yellow: #edbe20;\n --default-theme-color-blue: #1763a6;\n --default-theme-color-orange: #e25b09;\n --default-theme-color-purple: #5c3993;\n\n --default-theme-button-1: rgba(0, 0, 0, 1);\n --default-theme-button-1-hover: rgba(0, 0, 0, 0.8);\n --default-theme-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --default-theme-color-green: #30a159;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #eec644;\n --default-theme-color-blue: #2b7abf;\n --default-theme-color-orange: #f07528;\n --default-theme-color-purple: #7a59b1;\n\n --default-theme-button-1: rgba(255, 255, 255, 1);\n --default-theme-button-1-hover: rgba(255, 255, 255, 0.9);\n --default-theme-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 --default-theme-color-1: #584c27;\n --default-theme-color-2: #616161;\n --default-theme-color-3: #a89f84;\n --default-theme-color-accent: #b58900;\n --default-theme-background-1: #fdf6e3;\n --default-theme-background-2: #eee8d5;\n --default-theme-background-3: #ddd6c1;\n --default-theme-background-accent: #b589001f;\n\n --default-theme-border-color: #ded8c8;\n --default-theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --default-theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --default-theme-lifted-brightness: 1;\n --default-theme-backdrop-brightness: 1;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-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 --default-theme-button-1: rgb(49 53 56);\n --default-theme-button-1-color: #fff;\n --default-theme-button-1-hover: rgb(28 31 33);\n\n --default-theme-color-red: #b91c1c;\n --default-theme-color-orange: #a16207;\n --default-theme-color-green: #047857;\n --default-theme-color-blue: #1d4ed8;\n --default-theme-color-orange: #c2410c;\n --default-theme-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --default-theme-color-1: #fff;\n --default-theme-color-2: #cccccc;\n --default-theme-color-3: #6d8890;\n --default-theme-color-accent: #007acc;\n --default-theme-background-1: #00212b;\n --default-theme-background-2: #012b36;\n --default-theme-background-3: #004052;\n --default-theme-background-accent: #015a6f;\n\n --default-theme-border-color: rgba(255, 255, 255, 0.1);\n --default-theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --default-theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --default-theme-lifted-brightness: 1.45;\n --default-theme-backdrop-brightness: 0.5;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --default-theme-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 --default-theme-button-1: #f6f6f6;\n --default-theme-button-1-color: #000;\n --default-theme-button-1-hover: #e7e7e7;\n\n --default-theme-color-green: #00b648;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #ffc90d;\n --default-theme-color-blue: #4eb3ec;\n --default-theme-color-orange: #ff8d4d;\n --default-theme-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-theme-color-accent);\n --default-sidebar-search-background: var(--default-theme-background-2);\n --default-sidebar-search-border-color: var(--sidebar-search-background);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n\n.dark-mode .sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-sidebar-color-1);\n --default-sidebar-search-background: var(--default-theme-background-2);\n --default-sidebar-search-border-color: var(--sidebar-search-background);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n";
|
|
27
|
-
const _sfc_main$
|
|
27
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
28
28
|
__name: "ThemeStyles",
|
|
29
29
|
props: {
|
|
30
30
|
id: {}
|
|
@@ -48,7 +48,7 @@ function useApplyClasses(selector, classes) {
|
|
|
48
48
|
el == null ? void 0 : el.classList.add(classes);
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
const _sfc_main$
|
|
51
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
52
52
|
__name: "ResetStyles",
|
|
53
53
|
setup(__props) {
|
|
54
54
|
const { reset: reset2 } = useCssModule();
|
|
@@ -72,7 +72,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
72
72
|
const cssModules = {
|
|
73
73
|
"$style": style0$1
|
|
74
74
|
};
|
|
75
|
-
const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
75
|
+
const ResetStyles = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__cssModules", cssModules]]);
|
|
76
76
|
const scrollbars = "_scrollbars_1wuqs_3";
|
|
77
77
|
const style0 = {
|
|
78
78
|
scrollbars,
|
|
@@ -2859,7 +2859,7 @@ const httpStatusCodes = {
|
|
|
2859
2859
|
url: "https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
|
-
const _sfc_main$
|
|
2862
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
2863
2863
|
__name: "HttpMethod",
|
|
2864
2864
|
props: {
|
|
2865
2865
|
as: {},
|
|
@@ -8823,17 +8823,17 @@ class ChangedRange {
|
|
|
8823
8823
|
return new ChangedRange(Math.min(this.fromA, other.fromA), Math.max(this.toA, other.toA), Math.min(this.fromB, other.fromB), Math.max(this.toB, other.toB));
|
|
8824
8824
|
}
|
|
8825
8825
|
addToSet(set) {
|
|
8826
|
-
let i = set.length,
|
|
8826
|
+
let i = set.length, me2 = this;
|
|
8827
8827
|
for (; i > 0; i--) {
|
|
8828
8828
|
let range = set[i - 1];
|
|
8829
|
-
if (range.fromA >
|
|
8829
|
+
if (range.fromA > me2.toA)
|
|
8830
8830
|
continue;
|
|
8831
|
-
if (range.toA <
|
|
8831
|
+
if (range.toA < me2.fromA)
|
|
8832
8832
|
break;
|
|
8833
|
-
|
|
8833
|
+
me2 = me2.join(range);
|
|
8834
8834
|
set.splice(i - 1, 1);
|
|
8835
8835
|
}
|
|
8836
|
-
set.splice(i, 0,
|
|
8836
|
+
set.splice(i, 0, me2);
|
|
8837
8837
|
return set;
|
|
8838
8838
|
}
|
|
8839
8839
|
static extendWithRanges(diff, ranges) {
|
|
@@ -10769,11 +10769,11 @@ class HeightMap {
|
|
|
10769
10769
|
result.push(this);
|
|
10770
10770
|
}
|
|
10771
10771
|
applyChanges(decorations2, oldDoc, oracle, changes) {
|
|
10772
|
-
let
|
|
10772
|
+
let me2 = this, doc2 = oracle.doc;
|
|
10773
10773
|
for (let i = changes.length - 1; i >= 0; i--) {
|
|
10774
10774
|
let { fromA, toA, fromB, toB } = changes[i];
|
|
10775
|
-
let start =
|
|
10776
|
-
let end = start.to >= toA ? start :
|
|
10775
|
+
let start = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle.setDoc(oldDoc), 0, 0);
|
|
10776
|
+
let end = start.to >= toA ? start : me2.lineAt(toA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
10777
10777
|
toB += end.to - toA;
|
|
10778
10778
|
toA = end.to;
|
|
10779
10779
|
while (i > 0 && start.from <= changes[i - 1].toA) {
|
|
@@ -10781,14 +10781,14 @@ class HeightMap {
|
|
|
10781
10781
|
fromB = changes[i - 1].fromB;
|
|
10782
10782
|
i--;
|
|
10783
10783
|
if (fromA < start.from)
|
|
10784
|
-
start =
|
|
10784
|
+
start = me2.lineAt(fromA, QueryType.ByPosNoHeight, oracle, 0, 0);
|
|
10785
10785
|
}
|
|
10786
10786
|
fromB += start.from - fromA;
|
|
10787
10787
|
fromA = start.from;
|
|
10788
10788
|
let nodes = NodeBuilder.build(oracle.setDoc(doc2), decorations2, fromB, toB);
|
|
10789
|
-
|
|
10789
|
+
me2 = me2.replace(fromA, toA, nodes);
|
|
10790
10790
|
}
|
|
10791
|
-
return
|
|
10791
|
+
return me2.updateHeight(oracle, 0);
|
|
10792
10792
|
}
|
|
10793
10793
|
static empty() {
|
|
10794
10794
|
return new HeightMapText(0, 0);
|
|
@@ -25776,7 +25776,7 @@ function getCodeMirrorExtensions({
|
|
|
25776
25776
|
}
|
|
25777
25777
|
return extensions;
|
|
25778
25778
|
}
|
|
25779
|
-
const _sfc_main$
|
|
25779
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
25780
25780
|
__name: "CodeMirror",
|
|
25781
25781
|
props: {
|
|
25782
25782
|
content: {},
|
|
@@ -25813,9 +25813,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
25813
25813
|
};
|
|
25814
25814
|
}
|
|
25815
25815
|
});
|
|
25816
|
-
const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25817
|
-
const _hoisted_1$
|
|
25818
|
-
const _sfc_main$
|
|
25816
|
+
const CodeMirror = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-9f50a430"]]);
|
|
25817
|
+
const _hoisted_1$w = { class: "scalar-modal-layout modal-layout" };
|
|
25818
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
25819
25819
|
__name: "FlowModal",
|
|
25820
25820
|
props: {
|
|
25821
25821
|
state: {},
|
|
@@ -25831,7 +25831,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
25831
25831
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.state.hide())
|
|
25832
25832
|
}, {
|
|
25833
25833
|
default: withCtx(() => [
|
|
25834
|
-
createElementVNode("div", _hoisted_1$
|
|
25834
|
+
createElementVNode("div", _hoisted_1$w, [
|
|
25835
25835
|
createVNode(unref(DialogPanel), {
|
|
25836
25836
|
class: normalizeClass(["modal", {
|
|
25837
25837
|
"modal-content-large": _ctx.variant === "large",
|
|
@@ -25870,7 +25870,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
25870
25870
|
};
|
|
25871
25871
|
}
|
|
25872
25872
|
});
|
|
25873
|
-
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25873
|
+
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-a06b8e92"]]);
|
|
25874
25874
|
const useModal = () => reactive({
|
|
25875
25875
|
open: false,
|
|
25876
25876
|
show() {
|
|
@@ -26242,10 +26242,10 @@ async function sendRequest(request, proxyUrl) {
|
|
|
26242
26242
|
responseId: nanoid()
|
|
26243
26243
|
};
|
|
26244
26244
|
}
|
|
26245
|
-
const _hoisted_1$
|
|
26246
|
-
const _hoisted_2$
|
|
26247
|
-
const _hoisted_3$
|
|
26248
|
-
const _sfc_main$
|
|
26245
|
+
const _hoisted_1$v = { class: "navtable-item-40 navtable-item-request" };
|
|
26246
|
+
const _hoisted_2$m = { class: "navtable-item-40 navtable-item-response" };
|
|
26247
|
+
const _hoisted_3$g = { class: "navtable-item-20 navtable-item-time" };
|
|
26248
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
26249
26249
|
__name: "RequestHistoryItem",
|
|
26250
26250
|
props: {
|
|
26251
26251
|
history: {}
|
|
@@ -26266,7 +26266,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26266
26266
|
class: normalizeClass(["navtable-item", { "navtable-item__active": unref(activeRequestId2) === _ctx.history }]),
|
|
26267
26267
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(setActiveResponse2)(_ctx.history))
|
|
26268
26268
|
}, [
|
|
26269
|
-
createElementVNode("div", _hoisted_1$
|
|
26269
|
+
createElementVNode("div", _hoisted_1$v, [
|
|
26270
26270
|
createElementVNode("button", {
|
|
26271
26271
|
class: normalizeClass(["radio", unref(requestHistory2)[_ctx.history].request.type.toLowerCase()]),
|
|
26272
26272
|
type: "button"
|
|
@@ -26276,7 +26276,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26276
26276
|
createTextVNode(" " + toDisplayString(unref(requestHistory2)[_ctx.history].request.url), 1)
|
|
26277
26277
|
])
|
|
26278
26278
|
]),
|
|
26279
|
-
createElementVNode("div", _hoisted_2$
|
|
26279
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
26280
26280
|
createElementVNode("span", null, toDisplayString(unref(prettyMilliseconds)(unref(requestHistory2)[_ctx.history].response.duration)), 1),
|
|
26281
26281
|
createElementVNode("span", {
|
|
26282
26282
|
class: normalizeClass(`scalar-api-client__status--${String(
|
|
@@ -26285,30 +26285,30 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26285
26285
|
}, toDisplayString(unref(requestHistory2)[_ctx.history].response.statusCode), 3),
|
|
26286
26286
|
createElementVNode("span", null, toDisplayString(getContentLength(unref(requestHistory2)[_ctx.history].response)), 1)
|
|
26287
26287
|
]),
|
|
26288
|
-
createElementVNode("div", _hoisted_3$
|
|
26288
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
26289
26289
|
createElementVNode("span", null, toDisplayString(unref(humanDiff)(unref(requestHistory2)[_ctx.history].sentTime)), 1)
|
|
26290
26290
|
])
|
|
26291
26291
|
], 2);
|
|
26292
26292
|
};
|
|
26293
26293
|
}
|
|
26294
26294
|
});
|
|
26295
|
-
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26296
|
-
const _hoisted_1$
|
|
26297
|
-
const _hoisted_2$
|
|
26298
|
-
const _hoisted_3$
|
|
26299
|
-
const _hoisted_4$
|
|
26295
|
+
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f2eb269f"]]);
|
|
26296
|
+
const _hoisted_1$u = { class: "navigation-content-item" };
|
|
26297
|
+
const _hoisted_2$l = { class: "navtable" };
|
|
26298
|
+
const _hoisted_3$f = { class: "navtable-table" };
|
|
26299
|
+
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);
|
|
26300
26300
|
const _hoisted_5$6 = { class: "navtable-radios" };
|
|
26301
|
-
const _hoisted_6$
|
|
26302
|
-
const _sfc_main$
|
|
26301
|
+
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);
|
|
26302
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
26303
26303
|
__name: "RequestHistory",
|
|
26304
26304
|
emits: ["toggle"],
|
|
26305
26305
|
setup(__props) {
|
|
26306
26306
|
const { requestHistoryOrder: requestHistoryOrder2 } = useRequestStore();
|
|
26307
26307
|
return (_ctx, _cache) => {
|
|
26308
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26309
|
-
createElementVNode("div", _hoisted_2$
|
|
26310
|
-
createElementVNode("div", _hoisted_3$
|
|
26311
|
-
_hoisted_4$
|
|
26308
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
26309
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
26310
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
26311
|
+
_hoisted_4$b,
|
|
26312
26312
|
createElementVNode("div", _hoisted_5$6, [
|
|
26313
26313
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(requestHistoryOrder2), (history) => {
|
|
26314
26314
|
return openBlock(), createBlock(RequestHistoryItem, {
|
|
@@ -26317,17 +26317,17 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26317
26317
|
}, null, 8, ["history"]);
|
|
26318
26318
|
}), 128))
|
|
26319
26319
|
]),
|
|
26320
|
-
_hoisted_6$
|
|
26320
|
+
_hoisted_6$3
|
|
26321
26321
|
])
|
|
26322
26322
|
])
|
|
26323
26323
|
]);
|
|
26324
26324
|
};
|
|
26325
26325
|
}
|
|
26326
26326
|
});
|
|
26327
|
-
const _hoisted_1$
|
|
26328
|
-
const _hoisted_2$
|
|
26329
|
-
const _hoisted_3$
|
|
26330
|
-
const _sfc_main$
|
|
26327
|
+
const _hoisted_1$t = { class: "request-method-select" };
|
|
26328
|
+
const _hoisted_2$k = ["disabled", "value"];
|
|
26329
|
+
const _hoisted_3$e = ["value"];
|
|
26330
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
26331
26331
|
__name: "RequestMethodSelect",
|
|
26332
26332
|
props: {
|
|
26333
26333
|
requestMethod: {},
|
|
@@ -26347,7 +26347,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26347
26347
|
// 'TRACE',
|
|
26348
26348
|
];
|
|
26349
26349
|
return (_ctx, _cache) => {
|
|
26350
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26350
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
26351
26351
|
createElementVNode("span", {
|
|
26352
26352
|
class: normalizeClass(["request-method", { "request-method--disabled": _ctx.readOnly }])
|
|
26353
26353
|
}, [
|
|
@@ -26365,23 +26365,23 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
26365
26365
|
return createElementVNode("option", {
|
|
26366
26366
|
key: validRequestMethod,
|
|
26367
26367
|
value: validRequestMethod.toLocaleLowerCase()
|
|
26368
|
-
}, toDisplayString(validRequestMethod), 9, _hoisted_3$
|
|
26368
|
+
}, toDisplayString(validRequestMethod), 9, _hoisted_3$e);
|
|
26369
26369
|
}), 64))
|
|
26370
|
-
], 40, _hoisted_2$
|
|
26370
|
+
], 40, _hoisted_2$k)
|
|
26371
26371
|
]);
|
|
26372
26372
|
};
|
|
26373
26373
|
}
|
|
26374
26374
|
});
|
|
26375
|
-
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26376
|
-
const _withScopeId$
|
|
26377
|
-
const _hoisted_1$
|
|
26375
|
+
const RequestMethodSelect = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-8e2122cd"]]);
|
|
26376
|
+
const _withScopeId$5 = (n) => (pushScopeId("data-v-1fd22a00"), n = n(), popScopeId(), n);
|
|
26377
|
+
const _hoisted_1$s = {
|
|
26378
26378
|
key: 0,
|
|
26379
26379
|
class: "loader"
|
|
26380
26380
|
};
|
|
26381
|
-
const _hoisted_2$
|
|
26382
|
-
const _hoisted_3$
|
|
26383
|
-
const _hoisted_4$
|
|
26384
|
-
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$
|
|
26381
|
+
const _hoisted_2$j = { class: "url-form" };
|
|
26382
|
+
const _hoisted_3$d = { class: "url-form-field" };
|
|
26383
|
+
const _hoisted_4$a = ["disabled"];
|
|
26384
|
+
const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
26385
26385
|
fill: "none",
|
|
26386
26386
|
height: "48",
|
|
26387
26387
|
viewBox: "0 0 14 14",
|
|
@@ -26398,17 +26398,17 @@ const _hoisted_5$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
26398
26398
|
})
|
|
26399
26399
|
])
|
|
26400
26400
|
], -1));
|
|
26401
|
-
const _hoisted_6$
|
|
26402
|
-
const _hoisted_7$
|
|
26401
|
+
const _hoisted_6$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", null, "Send Request", -1));
|
|
26402
|
+
const _hoisted_7$1 = [
|
|
26403
26403
|
_hoisted_5$5,
|
|
26404
|
-
_hoisted_6$
|
|
26404
|
+
_hoisted_6$2
|
|
26405
26405
|
];
|
|
26406
|
-
const _hoisted_8$
|
|
26407
|
-
const _hoisted_9$
|
|
26406
|
+
const _hoisted_8$1 = { class: "address-bar-content" };
|
|
26407
|
+
const _hoisted_9$1 = {
|
|
26408
26408
|
key: 0,
|
|
26409
26409
|
class: "history"
|
|
26410
26410
|
};
|
|
26411
|
-
const _hoisted_10
|
|
26411
|
+
const _hoisted_10 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
26412
26412
|
fill: "none",
|
|
26413
26413
|
height: "48",
|
|
26414
26414
|
viewBox: "0 0 14 14",
|
|
@@ -26432,7 +26432,7 @@ const _hoisted_10$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ creat
|
|
|
26432
26432
|
})
|
|
26433
26433
|
])
|
|
26434
26434
|
], -1));
|
|
26435
|
-
const _sfc_main$
|
|
26435
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
26436
26436
|
__name: "AddressBar",
|
|
26437
26437
|
props: {
|
|
26438
26438
|
proxyUrl: {}
|
|
@@ -26495,12 +26495,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26495
26495
|
};
|
|
26496
26496
|
return (_ctx, _cache) => {
|
|
26497
26497
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
26498
|
-
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
26498
|
+
loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true),
|
|
26499
26499
|
createElementVNode("div", {
|
|
26500
26500
|
class: normalizeClass(["address-bar", { "address-bar--with-history": showHistory.value }])
|
|
26501
26501
|
}, [
|
|
26502
|
-
createElementVNode("div", _hoisted_2$
|
|
26503
|
-
createElementVNode("div", _hoisted_3$
|
|
26502
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
26503
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
26504
26504
|
createVNode(RequestMethodSelect, {
|
|
26505
26505
|
readOnly: unref(readOnly2),
|
|
26506
26506
|
requestMethod: requestType.value,
|
|
@@ -26521,20 +26521,20 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26521
26521
|
disabled: !formattedUrl.value.trim().length,
|
|
26522
26522
|
type: "submit",
|
|
26523
26523
|
onClick: send
|
|
26524
|
-
}, _hoisted_7$
|
|
26524
|
+
}, _hoisted_7$1, 8, _hoisted_4$a)
|
|
26525
26525
|
]),
|
|
26526
26526
|
createElementVNode("div", {
|
|
26527
26527
|
class: "address-bar-close",
|
|
26528
26528
|
onClick: _cache[0] || (_cache[0] = ($event) => showHistory.value = false)
|
|
26529
26529
|
}),
|
|
26530
|
-
createElementVNode("div", _hoisted_8$
|
|
26530
|
+
createElementVNode("div", _hoisted_8$1, [
|
|
26531
26531
|
createVNode(unref(FlowModal), {
|
|
26532
26532
|
state: unref(historyModal),
|
|
26533
26533
|
title: "Request History",
|
|
26534
26534
|
variant: "history"
|
|
26535
26535
|
}, {
|
|
26536
26536
|
default: withCtx(() => [
|
|
26537
|
-
createVNode(_sfc_main$
|
|
26537
|
+
createVNode(_sfc_main$y, {
|
|
26538
26538
|
showHistory: showHistory.value,
|
|
26539
26539
|
onToggle: _cache[1] || (_cache[1] = ($event) => showHistory.value = !showHistory.value)
|
|
26540
26540
|
}, null, 8, ["showHistory"])
|
|
@@ -26542,12 +26542,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26542
26542
|
_: 1
|
|
26543
26543
|
}, 8, ["state"])
|
|
26544
26544
|
]),
|
|
26545
|
-
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_9$
|
|
26545
|
+
unref(requestHistoryOrder2).length ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
26546
26546
|
createElementVNode("div", {
|
|
26547
26547
|
class: "history-toggle",
|
|
26548
26548
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(historyModal).show())
|
|
26549
26549
|
}, [
|
|
26550
|
-
_hoisted_10
|
|
26550
|
+
_hoisted_10,
|
|
26551
26551
|
createElementVNode("span", null, toDisplayString(lastRequestTimestamp.value), 1)
|
|
26552
26552
|
])
|
|
26553
26553
|
])) : createCommentVNode("", true)
|
|
@@ -26556,9 +26556,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
26556
26556
|
};
|
|
26557
26557
|
}
|
|
26558
26558
|
});
|
|
26559
|
-
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26559
|
+
const AddressBar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1fd22a00"]]);
|
|
26560
26560
|
const clickGeneratedParameter = useEventBus(Symbol());
|
|
26561
|
-
const _hoisted_1$
|
|
26561
|
+
const _hoisted_1$r = /* @__PURE__ */ createElementVNode("svg", {
|
|
26562
26562
|
class: "scalar-api-client__toggle__icon",
|
|
26563
26563
|
height: "10",
|
|
26564
26564
|
viewBox: "0 0 5 10",
|
|
@@ -26571,13 +26571,13 @@ const _hoisted_1$n = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
26571
26571
|
"fill-rule": "nonzero"
|
|
26572
26572
|
})
|
|
26573
26573
|
], -1);
|
|
26574
|
-
const _hoisted_2$
|
|
26575
|
-
const _hoisted_3$
|
|
26574
|
+
const _hoisted_2$i = { class: "scalar-api-client__item__title" };
|
|
26575
|
+
const _hoisted_3$c = {
|
|
26576
26576
|
key: 0,
|
|
26577
26577
|
class: "scalar-api-client__item__options"
|
|
26578
26578
|
};
|
|
26579
|
-
const _hoisted_4$
|
|
26580
|
-
const _sfc_main$
|
|
26579
|
+
const _hoisted_4$9 = { class: "scalar-api-client__item__content" };
|
|
26580
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
26581
26581
|
__name: "CollapsibleSection",
|
|
26582
26582
|
props: {
|
|
26583
26583
|
title: {},
|
|
@@ -26614,9 +26614,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26614
26614
|
onClick: _cache[0] || (_cache[0] = ($event) => openCopy.value = !openCopy.value)
|
|
26615
26615
|
}, {
|
|
26616
26616
|
default: withCtx(() => [
|
|
26617
|
-
_hoisted_1$
|
|
26618
|
-
createElementVNode("span", _hoisted_2$
|
|
26619
|
-
_ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
26617
|
+
_hoisted_1$r,
|
|
26618
|
+
createElementVNode("span", _hoisted_2$i, toDisplayString(_ctx.title), 1),
|
|
26619
|
+
_ctx.$slots.options && open ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
26620
26620
|
renderSlot(_ctx.$slots, "options")
|
|
26621
26621
|
])) : createCommentVNode("", true)
|
|
26622
26622
|
]),
|
|
@@ -26624,7 +26624,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26624
26624
|
}, 1536),
|
|
26625
26625
|
createVNode(unref(DisclosurePanel), null, {
|
|
26626
26626
|
default: withCtx(() => [
|
|
26627
|
-
createElementVNode("div", _hoisted_4$
|
|
26627
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
26628
26628
|
renderSlot(_ctx.$slots, "default")
|
|
26629
26629
|
])
|
|
26630
26630
|
]),
|
|
@@ -26637,15 +26637,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
26637
26637
|
};
|
|
26638
26638
|
}
|
|
26639
26639
|
});
|
|
26640
|
-
const _sfc_main$
|
|
26641
|
-
const _hoisted_1$
|
|
26640
|
+
const _sfc_main$u = {};
|
|
26641
|
+
const _hoisted_1$q = { class: "card-form" };
|
|
26642
26642
|
function _sfc_render$4(_ctx, _cache) {
|
|
26643
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26643
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
26644
26644
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26645
26645
|
]);
|
|
26646
26646
|
}
|
|
26647
|
-
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26648
|
-
const _sfc_main$
|
|
26647
|
+
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$4], ["__scopeId", "data-v-023a41cb"]]);
|
|
26648
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26649
26649
|
__name: "CardFormButton",
|
|
26650
26650
|
setup(__props, { expose: __expose }) {
|
|
26651
26651
|
const el = ref();
|
|
@@ -26662,19 +26662,19 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
26662
26662
|
};
|
|
26663
26663
|
}
|
|
26664
26664
|
});
|
|
26665
|
-
const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26666
|
-
const _sfc_main$
|
|
26667
|
-
const _hoisted_1$
|
|
26665
|
+
const CardFormButton = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-a37cd1cb"]]);
|
|
26666
|
+
const _sfc_main$s = {};
|
|
26667
|
+
const _hoisted_1$p = { class: "card-form-group" };
|
|
26668
26668
|
function _sfc_render$3(_ctx, _cache) {
|
|
26669
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26669
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
26670
26670
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26671
26671
|
]);
|
|
26672
26672
|
}
|
|
26673
|
-
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26674
|
-
const _hoisted_1$
|
|
26675
|
-
const _hoisted_2$
|
|
26676
|
-
const _hoisted_3$
|
|
26677
|
-
const _sfc_main$
|
|
26673
|
+
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
|
|
26674
|
+
const _hoisted_1$o = { class: "card-form-input" };
|
|
26675
|
+
const _hoisted_2$h = ["for"];
|
|
26676
|
+
const _hoisted_3$b = ["id", "type"];
|
|
26677
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26678
26678
|
...{
|
|
26679
26679
|
inheritAttrs: false
|
|
26680
26680
|
},
|
|
@@ -26685,21 +26685,21 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
26685
26685
|
},
|
|
26686
26686
|
setup(__props) {
|
|
26687
26687
|
return (_ctx, _cache) => {
|
|
26688
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
26688
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
26689
26689
|
createElementVNode("label", { for: _ctx.id }, [
|
|
26690
26690
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26691
|
-
], 8, _hoisted_2$
|
|
26691
|
+
], 8, _hoisted_2$h),
|
|
26692
26692
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
26693
26693
|
id: _ctx.id,
|
|
26694
26694
|
autocomplete: "off",
|
|
26695
26695
|
spellcheck: "false",
|
|
26696
26696
|
type: _ctx.type ?? "text"
|
|
26697
|
-
}), null, 16, _hoisted_3$
|
|
26697
|
+
}), null, 16, _hoisted_3$b)
|
|
26698
26698
|
]);
|
|
26699
26699
|
};
|
|
26700
26700
|
}
|
|
26701
26701
|
});
|
|
26702
|
-
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26702
|
+
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-f2db736f"]]);
|
|
26703
26703
|
function r(e) {
|
|
26704
26704
|
var t2, f, n = "";
|
|
26705
26705
|
if ("string" == typeof e || "number" == typeof e)
|
|
@@ -30766,8 +30766,54 @@ const O = "scalar-component", le = extendTailwindMerge({
|
|
|
30766
30766
|
hooks: {
|
|
30767
30767
|
onComplete: (r2) => `${le(r2, O)}`
|
|
30768
30768
|
}
|
|
30769
|
-
})
|
|
30770
|
-
|
|
30769
|
+
}), de = /* @__PURE__ */ createStaticVNode('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-42a08e16></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-42a08e16></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-42a08e16></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-42a08e16></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-42a08e16></path>', 5), ce = {
|
|
30770
|
+
key: 0,
|
|
30771
|
+
class: "circular-loader"
|
|
30772
|
+
};
|
|
30773
|
+
const ue = /* @__PURE__ */ defineComponent({
|
|
30774
|
+
__name: "ScalarLoading",
|
|
30775
|
+
props: {
|
|
30776
|
+
loadingState: {},
|
|
30777
|
+
size: { default: "24px" }
|
|
30778
|
+
},
|
|
30779
|
+
setup(r2) {
|
|
30780
|
+
return useCssVars((t2) => ({
|
|
30781
|
+
"8d3a1414": t2.size
|
|
30782
|
+
})), (t2, e) => t2.loadingState ? (openBlock(), createElementBlock("div", {
|
|
30783
|
+
key: 0,
|
|
30784
|
+
class: normalizeClass(unref(S)("loader-wrapper"))
|
|
30785
|
+
}, [
|
|
30786
|
+
(openBlock(), createElementBlock("svg", {
|
|
30787
|
+
class: normalizeClass(["svg-loader", {
|
|
30788
|
+
"icon-is-valid": t2.loadingState.isValid,
|
|
30789
|
+
"icon-is-invalid": t2.loadingState.isInvalid
|
|
30790
|
+
}]),
|
|
30791
|
+
viewBox: "0 0 100 100",
|
|
30792
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30793
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
30794
|
+
}, [
|
|
30795
|
+
de,
|
|
30796
|
+
t2.loadingState.isLoading ? (openBlock(), createElementBlock("g", ce, [
|
|
30797
|
+
createElementVNode("circle", {
|
|
30798
|
+
class: normalizeClass(["loader-path", {
|
|
30799
|
+
"loader-path-off": t2.loadingState.isValid || t2.loadingState.isInvalid
|
|
30800
|
+
}]),
|
|
30801
|
+
cx: "50",
|
|
30802
|
+
cy: "50",
|
|
30803
|
+
fill: "none",
|
|
30804
|
+
r: "20",
|
|
30805
|
+
"stroke-width": "2"
|
|
30806
|
+
}, null, 2)
|
|
30807
|
+
])) : createCommentVNode("", true)
|
|
30808
|
+
], 2))
|
|
30809
|
+
], 2)) : createCommentVNode("", true);
|
|
30810
|
+
}
|
|
30811
|
+
}), D = (r2, t2) => {
|
|
30812
|
+
const e = r2.__vccOpts || r2;
|
|
30813
|
+
for (const [d, u] of t2)
|
|
30814
|
+
e[d] = u;
|
|
30815
|
+
return e;
|
|
30816
|
+
}, U = /* @__PURE__ */ D(ue, [["__scopeId", "data-v-42a08e16"]]), V = {
|
|
30771
30817
|
solid: [
|
|
30772
30818
|
"scalar-button-solid",
|
|
30773
30819
|
"bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
|
|
@@ -30784,8 +30830,7 @@ const V = {
|
|
|
30784
30830
|
"scalar-button-danger",
|
|
30785
30831
|
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30786
30832
|
]
|
|
30787
|
-
}
|
|
30788
|
-
I({
|
|
30833
|
+
}, pe = I({
|
|
30789
30834
|
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30790
30835
|
variants: {
|
|
30791
30836
|
disabled: {
|
|
@@ -30802,6 +30847,48 @@ I({
|
|
|
30802
30847
|
class: "bg-transparent text-ghost"
|
|
30803
30848
|
}
|
|
30804
30849
|
]
|
|
30850
|
+
}), me = ["ariaDisabled"], ge = {
|
|
30851
|
+
key: 0,
|
|
30852
|
+
class: "mr-2 h-4 w-4"
|
|
30853
|
+
}, he = {
|
|
30854
|
+
key: 1,
|
|
30855
|
+
class: "ml-2"
|
|
30856
|
+
}, fe = /* @__PURE__ */ defineComponent({
|
|
30857
|
+
inheritAttrs: false,
|
|
30858
|
+
__name: "ScalarButton",
|
|
30859
|
+
props: {
|
|
30860
|
+
disabled: { type: Boolean },
|
|
30861
|
+
fullWidth: { type: Boolean, default: false },
|
|
30862
|
+
loading: {},
|
|
30863
|
+
size: { default: "md" },
|
|
30864
|
+
variant: { default: "solid" }
|
|
30865
|
+
},
|
|
30866
|
+
setup(r2) {
|
|
30867
|
+
const t2 = computed(() => {
|
|
30868
|
+
const { class: e, ...d } = useAttrs();
|
|
30869
|
+
return { className: e || "", rest: d };
|
|
30870
|
+
});
|
|
30871
|
+
return (e, d) => (openBlock(), createElementBlock("button", mergeProps(t2.value.rest, {
|
|
30872
|
+
ariaDisabled: e.disabled || void 0,
|
|
30873
|
+
class: unref(S)(
|
|
30874
|
+
unref(pe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
|
|
30875
|
+
{ "pl-9 pr-3": e.loading },
|
|
30876
|
+
`${t2.value.className}`
|
|
30877
|
+
),
|
|
30878
|
+
type: "button"
|
|
30879
|
+
}), [
|
|
30880
|
+
e.$slots.icon ? (openBlock(), createElementBlock("div", ge, [
|
|
30881
|
+
renderSlot(e.$slots, "icon")
|
|
30882
|
+
])) : createCommentVNode("", true),
|
|
30883
|
+
renderSlot(e.$slots, "default"),
|
|
30884
|
+
e.loading ? (openBlock(), createElementBlock("div", he, [
|
|
30885
|
+
createVNode(unref(U), {
|
|
30886
|
+
loadingState: e.loading,
|
|
30887
|
+
size: "20px"
|
|
30888
|
+
}, null, 8, ["loadingState"])
|
|
30889
|
+
])) : createCommentVNode("", true)
|
|
30890
|
+
], 16, me));
|
|
30891
|
+
}
|
|
30805
30892
|
});
|
|
30806
30893
|
(function(r2) {
|
|
30807
30894
|
var t2 = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", e = {
|
|
@@ -31261,21 +31348,21 @@ const ve = ["innerHTML"], He = /* @__PURE__ */ defineComponent({
|
|
|
31261
31348
|
}, null, 8, be));
|
|
31262
31349
|
}
|
|
31263
31350
|
});
|
|
31264
|
-
const _sfc_main$
|
|
31265
|
-
const _hoisted_1$
|
|
31351
|
+
const _sfc_main$q = {};
|
|
31352
|
+
const _hoisted_1$n = { class: "badge" };
|
|
31266
31353
|
function _sfc_render$2(_ctx, _cache) {
|
|
31267
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31354
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
31268
31355
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31269
31356
|
]);
|
|
31270
31357
|
}
|
|
31271
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31272
|
-
const _withScopeId$
|
|
31273
|
-
const _hoisted_1$
|
|
31274
|
-
const _hoisted_2$
|
|
31275
|
-
const _hoisted_3$
|
|
31276
|
-
const _hoisted_4$
|
|
31358
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$2], ["__scopeId", "data-v-08c68ac3"]]);
|
|
31359
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-2c61ed69"), n = n(), popScopeId(), n);
|
|
31360
|
+
const _hoisted_1$m = { class: "scopes-label" };
|
|
31361
|
+
const _hoisted_2$g = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("em", null, "|", -1));
|
|
31362
|
+
const _hoisted_3$a = ["checked"];
|
|
31363
|
+
const _hoisted_4$8 = { class: "dropdown-item-title" };
|
|
31277
31364
|
const _hoisted_5$4 = { class: "dropdown-item-description" };
|
|
31278
|
-
const _sfc_main$
|
|
31365
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31279
31366
|
__name: "SecuritySchemeScopes",
|
|
31280
31367
|
props: {
|
|
31281
31368
|
scopes: {},
|
|
@@ -31310,7 +31397,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
31310
31397
|
}, [
|
|
31311
31398
|
createVNode(unref(ListboxButton), { as: CardFormButton }, {
|
|
31312
31399
|
default: withCtx(() => [
|
|
31313
|
-
createElementVNode("div", _hoisted_1$
|
|
31400
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
31314
31401
|
createVNode(unref(j), {
|
|
31315
31402
|
icon: open ? "ChevronUp" : "ChevronDown",
|
|
31316
31403
|
size: "sm"
|
|
@@ -31319,7 +31406,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
31319
31406
|
createVNode(unref(Badge), { class: "scopes-label-badge" }, {
|
|
31320
31407
|
default: withCtx(() => [
|
|
31321
31408
|
createTextVNode(toDisplayString(model.value.length), 1),
|
|
31322
|
-
_hoisted_2$
|
|
31409
|
+
_hoisted_2$g,
|
|
31323
31410
|
createTextVNode(toDisplayString(Object.entries(_ctx.scopes).length), 1)
|
|
31324
31411
|
]),
|
|
31325
31412
|
_: 1
|
|
@@ -31356,8 +31443,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
31356
31443
|
class: "dropdown-item-check",
|
|
31357
31444
|
tabindex: "-1",
|
|
31358
31445
|
type: "checkbox"
|
|
31359
|
-
}, null, 8, _hoisted_3$
|
|
31360
|
-
createElementVNode("dt", _hoisted_4$
|
|
31446
|
+
}, null, 8, _hoisted_3$a),
|
|
31447
|
+
createElementVNode("dt", _hoisted_4$8, toDisplayString(key), 1),
|
|
31361
31448
|
createElementVNode("dd", _hoisted_5$4, toDisplayString(description), 1)
|
|
31362
31449
|
]),
|
|
31363
31450
|
_: 2
|
|
@@ -31377,8 +31464,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
31377
31464
|
};
|
|
31378
31465
|
}
|
|
31379
31466
|
});
|
|
31380
|
-
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31381
|
-
const _sfc_main$
|
|
31467
|
+
const SecuritySchemeScopes = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2c61ed69"]]);
|
|
31468
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
31382
31469
|
__name: "SecurityScheme",
|
|
31383
31470
|
props: {
|
|
31384
31471
|
value: {}
|
|
@@ -31606,16 +31693,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
31606
31693
|
};
|
|
31607
31694
|
}
|
|
31608
31695
|
});
|
|
31609
|
-
const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31610
|
-
const _withScopeId = (n) => (pushScopeId("data-v-a4771f77"), n = n(), popScopeId(), n);
|
|
31611
|
-
const _hoisted_1$
|
|
31696
|
+
const SecurityScheme = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-5782f5ce"]]);
|
|
31697
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-a4771f77"), n = n(), popScopeId(), n);
|
|
31698
|
+
const _hoisted_1$l = {
|
|
31612
31699
|
key: 1,
|
|
31613
31700
|
class: "security-scheme-selector"
|
|
31614
31701
|
};
|
|
31615
|
-
const _hoisted_2$
|
|
31616
|
-
const _hoisted_3$
|
|
31617
|
-
const _hoisted_4$
|
|
31618
|
-
const _sfc_main$
|
|
31702
|
+
const _hoisted_2$f = ["value"];
|
|
31703
|
+
const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("option", { value: "" }, "None", -1));
|
|
31704
|
+
const _hoisted_4$7 = ["value"];
|
|
31705
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
31619
31706
|
__name: "SecuritySchemeSelector",
|
|
31620
31707
|
props: {
|
|
31621
31708
|
value: {}
|
|
@@ -31670,7 +31757,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
31670
31757
|
var _a2, _b;
|
|
31671
31758
|
return keys.value.length === 1 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31672
31759
|
createTextVNode(toDisplayString(getLabelForScheme((_a2 = _ctx.value) == null ? void 0 : _a2[keys.value[0]], keys.value[0])), 1)
|
|
31673
|
-
], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31760
|
+
], 64)) : keys.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
31674
31761
|
createElementVNode("span", null, toDisplayString(unref(authentication2).preferredSecurityScheme ? getLabelForScheme(
|
|
31675
31762
|
(_b = _ctx.value) == null ? void 0 : _b[unref(authentication2).preferredSecurityScheme],
|
|
31676
31763
|
unref(authentication2).preferredSecurityScheme
|
|
@@ -31682,29 +31769,29 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
31682
31769
|
}, ["prevent"])),
|
|
31683
31770
|
onInput: handleAuthenticationTypeInput
|
|
31684
31771
|
}, [
|
|
31685
|
-
_hoisted_3$
|
|
31772
|
+
_hoisted_3$9,
|
|
31686
31773
|
(openBlock(true), createElementBlock(Fragment, null, renderList(keys.value, (key) => {
|
|
31687
31774
|
var _a3;
|
|
31688
31775
|
return openBlock(), createElementBlock("option", {
|
|
31689
31776
|
key,
|
|
31690
31777
|
value: key ?? null
|
|
31691
|
-
}, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$
|
|
31778
|
+
}, toDisplayString(getLabelForScheme((_a3 = _ctx.value) == null ? void 0 : _a3[key], key)), 9, _hoisted_4$7);
|
|
31692
31779
|
}), 128))
|
|
31693
|
-
], 40, _hoisted_2$
|
|
31780
|
+
], 40, _hoisted_2$f)
|
|
31694
31781
|
])) : createCommentVNode("", true);
|
|
31695
31782
|
};
|
|
31696
31783
|
}
|
|
31697
31784
|
});
|
|
31698
|
-
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31699
|
-
const _hoisted_1$
|
|
31785
|
+
const SecuritySchemeSelector = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-a4771f77"]]);
|
|
31786
|
+
const _hoisted_1$k = {
|
|
31700
31787
|
key: 0,
|
|
31701
31788
|
class: "preferred-security-scheme"
|
|
31702
31789
|
};
|
|
31703
|
-
const _hoisted_2$
|
|
31790
|
+
const _hoisted_2$e = {
|
|
31704
31791
|
key: 1,
|
|
31705
31792
|
class: "security-scheme-empty-state"
|
|
31706
31793
|
};
|
|
31707
|
-
const _sfc_main$
|
|
31794
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
31708
31795
|
__name: "RequestAuthentication",
|
|
31709
31796
|
setup(__props) {
|
|
31710
31797
|
const requestAuthenticationRef = ref(null);
|
|
@@ -31736,7 +31823,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
31736
31823
|
ref_key: "requestAuthenticationRef",
|
|
31737
31824
|
ref: requestAuthenticationRef
|
|
31738
31825
|
}, [
|
|
31739
|
-
createVNode(unref(_sfc_main$
|
|
31826
|
+
createVNode(unref(_sfc_main$v), { title: "Authentication" }, {
|
|
31740
31827
|
options: withCtx(() => [
|
|
31741
31828
|
createVNode(SecuritySchemeSelector, {
|
|
31742
31829
|
value: unref(authentication2).securitySchemes
|
|
@@ -31745,12 +31832,12 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
31745
31832
|
default: withCtx(() => {
|
|
31746
31833
|
var _a2;
|
|
31747
31834
|
return [
|
|
31748
|
-
unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
31835
|
+
unref(authentication2).preferredSecurityScheme ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
31749
31836
|
createVNode(SecurityScheme, {
|
|
31750
31837
|
value: (_a2 = unref(authentication2).securitySchemes) == null ? void 0 : _a2[unref(authentication2).preferredSecurityScheme]
|
|
31751
31838
|
}, null, 8, ["value"])
|
|
31752
31839
|
])) : createCommentVNode("", true),
|
|
31753
|
-
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
31840
|
+
!unref(authentication2).securitySchemes ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
|
|
31754
31841
|
createElementVNode("div", {
|
|
31755
31842
|
class: "scalar-api-client-add",
|
|
31756
31843
|
variant: "outlined",
|
|
@@ -31775,21 +31862,45 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
31775
31862
|
};
|
|
31776
31863
|
}
|
|
31777
31864
|
});
|
|
31778
|
-
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31779
|
-
const _hoisted_1$
|
|
31780
|
-
const _hoisted_2$
|
|
31781
|
-
const _hoisted_3$
|
|
31782
|
-
|
|
31783
|
-
|
|
31784
|
-
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
|
-
const
|
|
31788
|
-
|
|
31789
|
-
|
|
31790
|
-
|
|
31791
|
-
|
|
31792
|
-
|
|
31865
|
+
const RequestAuthentication = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-a631f3fe"]]);
|
|
31866
|
+
const _hoisted_1$j = { class: "table-row" };
|
|
31867
|
+
const _hoisted_2$d = { class: "table-row-item" };
|
|
31868
|
+
const _hoisted_3$8 = { class: "table-row-item" };
|
|
31869
|
+
const _hoisted_4$6 = {
|
|
31870
|
+
key: 0,
|
|
31871
|
+
class: "table-row-item"
|
|
31872
|
+
};
|
|
31873
|
+
const _hoisted_5$3 = { class: "table-row-meta" };
|
|
31874
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
31875
|
+
__name: "GridRow",
|
|
31876
|
+
props: {
|
|
31877
|
+
showDescription: { type: Boolean }
|
|
31878
|
+
},
|
|
31879
|
+
setup(__props) {
|
|
31880
|
+
return (_ctx, _cache) => {
|
|
31881
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
31882
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
31883
|
+
renderSlot(_ctx.$slots, "key", {}, void 0, true)
|
|
31884
|
+
]),
|
|
31885
|
+
createElementVNode("div", _hoisted_3$8, [
|
|
31886
|
+
renderSlot(_ctx.$slots, "value", {}, void 0, true)
|
|
31887
|
+
]),
|
|
31888
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
|
|
31889
|
+
renderSlot(_ctx.$slots, "description", {}, void 0, true)
|
|
31890
|
+
])) : createCommentVNode("", true),
|
|
31891
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
31892
|
+
renderSlot(_ctx.$slots, "meta", {}, void 0, true)
|
|
31893
|
+
])
|
|
31894
|
+
]);
|
|
31895
|
+
};
|
|
31896
|
+
}
|
|
31897
|
+
});
|
|
31898
|
+
const GridRow = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-9976f8d1"]]);
|
|
31899
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-6c18e92d"), n = n(), popScopeId(), n);
|
|
31900
|
+
const _hoisted_1$i = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Key", -1));
|
|
31901
|
+
const _hoisted_2$c = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Value", -1));
|
|
31902
|
+
const _hoisted_3$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("label", { class: "table-column-header" }, "Description", -1));
|
|
31903
|
+
const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
31793
31904
|
fill: "currentColor",
|
|
31794
31905
|
height: "12",
|
|
31795
31906
|
viewBox: "0 0 18 12",
|
|
@@ -31800,35 +31911,47 @@ const _hoisted_8$1 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
31800
31911
|
d: "M0 12h12v-2H0v2zM0 0v2h18V0H0zm0 7h18V5H0v2z",
|
|
31801
31912
|
"fill-rule": "nonzero"
|
|
31802
31913
|
})
|
|
31803
|
-
], -1);
|
|
31804
|
-
const
|
|
31805
|
-
|
|
31806
|
-
|
|
31807
|
-
|
|
31808
|
-
|
|
31809
|
-
|
|
31810
|
-
|
|
31811
|
-
|
|
31812
|
-
|
|
31813
|
-
|
|
31814
|
-
|
|
31815
|
-
|
|
31816
|
-
|
|
31817
|
-
|
|
31818
|
-
]
|
|
31819
|
-
|
|
31820
|
-
|
|
31821
|
-
|
|
31822
|
-
|
|
31823
|
-
|
|
31824
|
-
|
|
31825
|
-
|
|
31826
|
-
|
|
31827
|
-
|
|
31828
|
-
|
|
31829
|
-
|
|
31830
|
-
|
|
31831
|
-
|
|
31914
|
+
], -1));
|
|
31915
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
31916
|
+
__name: "GridHeader",
|
|
31917
|
+
props: {
|
|
31918
|
+
showDescription: { type: Boolean }
|
|
31919
|
+
},
|
|
31920
|
+
emits: ["update:showDescription"],
|
|
31921
|
+
setup(__props) {
|
|
31922
|
+
return (_ctx, _cache) => {
|
|
31923
|
+
return openBlock(), createBlock(GridRow, { showDescription: _ctx.showDescription }, {
|
|
31924
|
+
key: withCtx(() => [
|
|
31925
|
+
_hoisted_1$i
|
|
31926
|
+
]),
|
|
31927
|
+
value: withCtx(() => [
|
|
31928
|
+
_hoisted_2$c
|
|
31929
|
+
]),
|
|
31930
|
+
description: withCtx(() => [
|
|
31931
|
+
_hoisted_3$7
|
|
31932
|
+
]),
|
|
31933
|
+
meta: withCtx(() => [
|
|
31934
|
+
createVNode(unref(fe), {
|
|
31935
|
+
class: "table-description-toggle",
|
|
31936
|
+
variant: "text",
|
|
31937
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:showDescription", !_ctx.showDescription))
|
|
31938
|
+
}, {
|
|
31939
|
+
default: withCtx(() => [
|
|
31940
|
+
_hoisted_4$5
|
|
31941
|
+
]),
|
|
31942
|
+
_: 1
|
|
31943
|
+
})
|
|
31944
|
+
]),
|
|
31945
|
+
_: 1
|
|
31946
|
+
}, 8, ["showDescription"]);
|
|
31947
|
+
};
|
|
31948
|
+
}
|
|
31949
|
+
});
|
|
31950
|
+
const GridHeader = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6c18e92d"]]);
|
|
31951
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-1cd9d274"), n = n(), popScopeId(), n);
|
|
31952
|
+
const _hoisted_1$h = { class: "meta-check" };
|
|
31953
|
+
const _hoisted_2$b = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "meta-checkmark" }, null, -1));
|
|
31954
|
+
const _hoisted_3$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
31832
31955
|
fill: "none",
|
|
31833
31956
|
height: "10",
|
|
31834
31957
|
viewBox: "-0.5 -0.5 10 10",
|
|
@@ -31849,13 +31972,139 @@ const _hoisted_29 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
31849
31972
|
"stroke-linejoin": "round",
|
|
31850
31973
|
"stroke-width": "1.5"
|
|
31851
31974
|
})
|
|
31852
|
-
], -1);
|
|
31853
|
-
const
|
|
31854
|
-
|
|
31975
|
+
], -1));
|
|
31976
|
+
const _hoisted_4$4 = [
|
|
31977
|
+
_hoisted_3$6
|
|
31855
31978
|
];
|
|
31856
|
-
const
|
|
31857
|
-
|
|
31858
|
-
|
|
31979
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
31980
|
+
__name: "GridRowEditable",
|
|
31981
|
+
props: {
|
|
31982
|
+
name: {},
|
|
31983
|
+
description: {},
|
|
31984
|
+
value: {},
|
|
31985
|
+
required: { type: Boolean },
|
|
31986
|
+
enabled: { type: Boolean }
|
|
31987
|
+
},
|
|
31988
|
+
emits: ["update:name", "update:value", "update:description", "update:enabled", "delete"],
|
|
31989
|
+
setup(__props, { emit: __emit }) {
|
|
31990
|
+
const props = __props;
|
|
31991
|
+
const emit = __emit;
|
|
31992
|
+
const nameProxy = computed({
|
|
31993
|
+
get: () => props.name,
|
|
31994
|
+
set: (v) => {
|
|
31995
|
+
emit("update:enabled", true);
|
|
31996
|
+
emit("update:name", v);
|
|
31997
|
+
}
|
|
31998
|
+
});
|
|
31999
|
+
const valueProxy = computed({
|
|
32000
|
+
get: () => `${props.value}`,
|
|
32001
|
+
set: (v) => {
|
|
32002
|
+
emit("update:enabled", true);
|
|
32003
|
+
emit("update:value", v);
|
|
32004
|
+
}
|
|
32005
|
+
});
|
|
32006
|
+
const descriptionProxy = computed({
|
|
32007
|
+
get: () => props.description ?? "",
|
|
32008
|
+
set: (v) => emit("update:description", v)
|
|
32009
|
+
});
|
|
32010
|
+
const enabledProxy = computed({
|
|
32011
|
+
get: () => props.enabled,
|
|
32012
|
+
set: (checked) => emit("update:enabled", checked)
|
|
32013
|
+
});
|
|
32014
|
+
return (_ctx, _cache) => {
|
|
32015
|
+
return openBlock(), createBlock(GridRow, {
|
|
32016
|
+
class: normalizeClass(["table-row-editable", { "required-parameter": _ctx.required }])
|
|
32017
|
+
}, {
|
|
32018
|
+
key: withCtx(() => [
|
|
32019
|
+
withDirectives(createElementVNode("input", {
|
|
32020
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nameProxy.value = $event),
|
|
32021
|
+
placeholder: "Key"
|
|
32022
|
+
}, null, 512), [
|
|
32023
|
+
[vModelText, nameProxy.value]
|
|
32024
|
+
])
|
|
32025
|
+
]),
|
|
32026
|
+
value: withCtx(() => [
|
|
32027
|
+
withDirectives(createElementVNode("input", {
|
|
32028
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => valueProxy.value = $event),
|
|
32029
|
+
placeholder: "Value"
|
|
32030
|
+
}, null, 512), [
|
|
32031
|
+
[vModelText, valueProxy.value]
|
|
32032
|
+
])
|
|
32033
|
+
]),
|
|
32034
|
+
description: withCtx(() => [
|
|
32035
|
+
withDirectives(createElementVNode("input", {
|
|
32036
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => descriptionProxy.value = $event),
|
|
32037
|
+
placeholder: "Description"
|
|
32038
|
+
}, null, 512), [
|
|
32039
|
+
[vModelText, descriptionProxy.value]
|
|
32040
|
+
])
|
|
32041
|
+
]),
|
|
32042
|
+
meta: withCtx(() => [
|
|
32043
|
+
createElementVNode("label", _hoisted_1$h, [
|
|
32044
|
+
withDirectives(createElementVNode("input", {
|
|
32045
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => enabledProxy.value = $event),
|
|
32046
|
+
type: "checkbox"
|
|
32047
|
+
}, null, 512), [
|
|
32048
|
+
[vModelCheckbox, enabledProxy.value]
|
|
32049
|
+
]),
|
|
32050
|
+
_hoisted_2$b
|
|
32051
|
+
]),
|
|
32052
|
+
!_ctx.required ? (openBlock(), createElementBlock("button", {
|
|
32053
|
+
key: 0,
|
|
32054
|
+
class: "meta-delete",
|
|
32055
|
+
type: "button",
|
|
32056
|
+
onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("delete"))
|
|
32057
|
+
}, _hoisted_4$4)) : createCommentVNode("", true)
|
|
32058
|
+
]),
|
|
32059
|
+
_: 1
|
|
32060
|
+
}, 8, ["class"]);
|
|
32061
|
+
};
|
|
32062
|
+
}
|
|
32063
|
+
});
|
|
32064
|
+
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-1cd9d274"]]);
|
|
32065
|
+
const _withScopeId = (n) => (pushScopeId("data-v-eccda22a"), n = n(), popScopeId(), n);
|
|
32066
|
+
const _hoisted_1$g = ["value"];
|
|
32067
|
+
const _hoisted_2$a = ["value"];
|
|
32068
|
+
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
|
|
32069
|
+
disabled: "",
|
|
32070
|
+
value: "Read-only"
|
|
32071
|
+
}, null, -1));
|
|
32072
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
32073
|
+
__name: "GridRowGenerated",
|
|
32074
|
+
props: {
|
|
32075
|
+
item: {}
|
|
32076
|
+
},
|
|
32077
|
+
setup(__props) {
|
|
32078
|
+
return (_ctx, _cache) => {
|
|
32079
|
+
return openBlock(), createBlock(GridRow, { class: "table-row-generated" }, {
|
|
32080
|
+
key: withCtx(() => [
|
|
32081
|
+
createElementVNode("input", {
|
|
32082
|
+
disabled: "",
|
|
32083
|
+
placeholder: "key",
|
|
32084
|
+
value: _ctx.item.name
|
|
32085
|
+
}, null, 8, _hoisted_1$g)
|
|
32086
|
+
]),
|
|
32087
|
+
value: withCtx(() => [
|
|
32088
|
+
createElementVNode("input", {
|
|
32089
|
+
disabled: "",
|
|
32090
|
+
placeholder: "value",
|
|
32091
|
+
type: "password",
|
|
32092
|
+
value: _ctx.item.value
|
|
32093
|
+
}, null, 8, _hoisted_2$a)
|
|
32094
|
+
]),
|
|
32095
|
+
description: withCtx(() => [
|
|
32096
|
+
_hoisted_3$5
|
|
32097
|
+
]),
|
|
32098
|
+
_: 1
|
|
32099
|
+
});
|
|
32100
|
+
};
|
|
32101
|
+
}
|
|
32102
|
+
});
|
|
32103
|
+
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-eccda22a"]]);
|
|
32104
|
+
const _hoisted_1$f = { class: "table" };
|
|
32105
|
+
const _hoisted_2$9 = { class: "meta-actions" };
|
|
32106
|
+
const _hoisted_3$4 = { class: "meta-actions-item-icon" };
|
|
32107
|
+
const _hoisted_4$3 = { class: "meta-actions-item-icon" };
|
|
31859
32108
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
31860
32109
|
__name: "Grid",
|
|
31861
32110
|
props: {
|
|
@@ -31875,110 +32124,44 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31875
32124
|
}
|
|
31876
32125
|
return (_ctx, _cache) => {
|
|
31877
32126
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
31878
|
-
|
|
31879
|
-
|
|
31880
|
-
|
|
31881
|
-
|
|
31882
|
-
[vShow, showDescription.value]
|
|
31883
|
-
]),
|
|
31884
|
-
createElementVNode("div", {
|
|
31885
|
-
class: "table-row-meta",
|
|
31886
|
-
onClick: _cache[0] || (_cache[0] = ($event) => showDescription.value = !showDescription.value)
|
|
31887
|
-
}, _hoisted_9$1)
|
|
31888
|
-
]),
|
|
32127
|
+
createVNode(GridHeader, {
|
|
32128
|
+
showDescription: showDescription.value,
|
|
32129
|
+
"onUpdate:showDescription": _cache[0] || (_cache[0] = ($event) => showDescription.value = $event)
|
|
32130
|
+
}, null, 8, ["showDescription"]),
|
|
31889
32131
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.generatedItems, (item) => {
|
|
31890
|
-
return openBlock(),
|
|
31891
|
-
key: item.
|
|
31892
|
-
|
|
32132
|
+
return openBlock(), createBlock(GridRowGenerated, {
|
|
32133
|
+
key: item.name,
|
|
32134
|
+
item,
|
|
32135
|
+
showDescription: showDescription.value,
|
|
31893
32136
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(clickGeneratedParameter).emit())
|
|
31894
|
-
}, [
|
|
31895
|
-
createElementVNode("div", _hoisted_10, [
|
|
31896
|
-
withDirectives(createElementVNode("input", {
|
|
31897
|
-
"onUpdate:modelValue": ($event) => item.name = $event,
|
|
31898
|
-
disabled: "",
|
|
31899
|
-
placeholder: "key"
|
|
31900
|
-
}, null, 8, _hoisted_11), [
|
|
31901
|
-
[vModelText, item.name]
|
|
31902
|
-
])
|
|
31903
|
-
]),
|
|
31904
|
-
createElementVNode("div", _hoisted_12, [
|
|
31905
|
-
withDirectives(createElementVNode("input", {
|
|
31906
|
-
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
31907
|
-
disabled: "",
|
|
31908
|
-
placeholder: "value",
|
|
31909
|
-
type: "password"
|
|
31910
|
-
}, null, 8, _hoisted_13), [
|
|
31911
|
-
[vModelText, item.value]
|
|
31912
|
-
])
|
|
31913
|
-
]),
|
|
31914
|
-
withDirectives(createElementVNode("div", _hoisted_14, _hoisted_16, 512), [
|
|
31915
|
-
[vShow, showDescription.value]
|
|
31916
|
-
]),
|
|
31917
|
-
_hoisted_17
|
|
31918
|
-
]);
|
|
32137
|
+
}, null, 8, ["item", "showDescription"]);
|
|
31919
32138
|
}), 128)),
|
|
31920
32139
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index) => {
|
|
31921
|
-
return withDirectives((openBlock(),
|
|
31922
|
-
key:
|
|
31923
|
-
|
|
31924
|
-
|
|
31925
|
-
|
|
31926
|
-
|
|
31927
|
-
|
|
31928
|
-
|
|
31929
|
-
|
|
31930
|
-
|
|
31931
|
-
|
|
31932
|
-
|
|
31933
|
-
|
|
31934
|
-
|
|
31935
|
-
createElementVNode("div", _hoisted_20, [
|
|
31936
|
-
withDirectives(createElementVNode("input", {
|
|
31937
|
-
"onUpdate:modelValue": ($event) => item.value = $event,
|
|
31938
|
-
placeholder: "Value"
|
|
31939
|
-
}, null, 8, _hoisted_21), [
|
|
31940
|
-
[vModelText, item.value]
|
|
31941
|
-
])
|
|
31942
|
-
]),
|
|
31943
|
-
withDirectives(createElementVNode("div", _hoisted_22, [
|
|
31944
|
-
withDirectives(createElementVNode("input", {
|
|
31945
|
-
"onUpdate:modelValue": ($event) => item.description = $event,
|
|
31946
|
-
placeholder: "Description"
|
|
31947
|
-
}, null, 8, _hoisted_23), [
|
|
31948
|
-
[vModelText, item.description]
|
|
31949
|
-
])
|
|
31950
|
-
], 512), [
|
|
31951
|
-
[vShow, showDescription.value]
|
|
31952
|
-
]),
|
|
31953
|
-
createElementVNode("div", _hoisted_24, [
|
|
31954
|
-
createElementVNode("label", _hoisted_25, [
|
|
31955
|
-
withDirectives(createElementVNode("input", {
|
|
31956
|
-
"onUpdate:modelValue": ($event) => item.enabled = $event,
|
|
31957
|
-
checked: "",
|
|
31958
|
-
type: "checkbox"
|
|
31959
|
-
}, null, 8, _hoisted_26), [
|
|
31960
|
-
[vModelCheckbox, item.enabled]
|
|
31961
|
-
]),
|
|
31962
|
-
_hoisted_27
|
|
31963
|
-
]),
|
|
31964
|
-
createElementVNode("button", {
|
|
31965
|
-
class: "meta-delete",
|
|
31966
|
-
type: "button",
|
|
31967
|
-
onClick: ($event) => _ctx.$emit("deleteIndex", index)
|
|
31968
|
-
}, _hoisted_30, 8, _hoisted_28)
|
|
31969
|
-
])
|
|
31970
|
-
], 2)), [
|
|
32140
|
+
return withDirectives((openBlock(), createBlock(GridRowEditable, {
|
|
32141
|
+
key: index,
|
|
32142
|
+
description: item.description,
|
|
32143
|
+
"onUpdate:description": ($event) => item.description = $event,
|
|
32144
|
+
enabled: item.enabled,
|
|
32145
|
+
"onUpdate:enabled": ($event) => item.enabled = $event,
|
|
32146
|
+
name: item.name,
|
|
32147
|
+
"onUpdate:name": ($event) => item.name = $event,
|
|
32148
|
+
value: item.value,
|
|
32149
|
+
"onUpdate:value": ($event) => item.value = $event,
|
|
32150
|
+
required: item.required,
|
|
32151
|
+
showDescription: showDescription.value,
|
|
32152
|
+
onDelete: ($event) => _ctx.$emit("deleteIndex", index)
|
|
32153
|
+
}, null, 8, ["description", "onUpdate:description", "enabled", "onUpdate:enabled", "name", "onUpdate:name", "value", "onUpdate:value", "required", "showDescription", "onDelete"])), [
|
|
31971
32154
|
[vShow, !_ctx.showMoreFilter || _ctx.showMoreFilter && index < 5 || showMore.value]
|
|
31972
32155
|
]);
|
|
31973
32156
|
}), 128)),
|
|
31974
|
-
createElementVNode("div",
|
|
32157
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
31975
32158
|
_ctx.addLabel ? (openBlock(), createElementBlock("button", {
|
|
31976
32159
|
key: 0,
|
|
31977
32160
|
class: "meta-actions-item",
|
|
31978
32161
|
type: "button",
|
|
31979
32162
|
onClick: addHandler
|
|
31980
32163
|
}, [
|
|
31981
|
-
createElementVNode("i",
|
|
32164
|
+
createElementVNode("i", _hoisted_3$4, [
|
|
31982
32165
|
createVNode(unref(j), { icon: "Add" })
|
|
31983
32166
|
]),
|
|
31984
32167
|
createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
|
|
@@ -31990,7 +32173,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31990
32173
|
onClick: _cache[2] || (_cache[2] = ($event) => showMore.value = true)
|
|
31991
32174
|
}, [
|
|
31992
32175
|
createTextVNode(" Show More "),
|
|
31993
|
-
createElementVNode("i",
|
|
32176
|
+
createElementVNode("i", _hoisted_4$3, [
|
|
31994
32177
|
createVNode(unref(j), { icon: "ChevronDown" })
|
|
31995
32178
|
])
|
|
31996
32179
|
])) : createCommentVNode("", true)
|
|
@@ -31999,9 +32182,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31999
32182
|
};
|
|
32000
32183
|
}
|
|
32001
32184
|
});
|
|
32185
|
+
const Grid = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2e1a8fea"]]);
|
|
32002
32186
|
const _hoisted_1$e = { class: "navtable simpletable" };
|
|
32003
32187
|
const _hoisted_2$8 = { class: "navtable-table" };
|
|
32004
|
-
const _hoisted_3$3 = /* @__PURE__ */ createStaticVNode('<div class="navtable-item navtable-item__top"><div class="navtable-item-33"><label for="">Name</label></div><div class="navtable-item-66"><label for="">Value</label></div></div>', 1);
|
|
32188
|
+
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);
|
|
32005
32189
|
const _hoisted_4$2 = { class: "navtable-item-33" };
|
|
32006
32190
|
const _hoisted_5$2 = { class: "navtable-item-66" };
|
|
32007
32191
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -32032,6 +32216,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
32032
32216
|
};
|
|
32033
32217
|
}
|
|
32034
32218
|
});
|
|
32219
|
+
const SimpleGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-5ba40e52"]]);
|
|
32035
32220
|
const _hoisted_1$d = { key: 0 };
|
|
32036
32221
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
32037
32222
|
__name: "RequestBody",
|
|
@@ -32050,9 +32235,9 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
32050
32235
|
}
|
|
32051
32236
|
};
|
|
32052
32237
|
return (_ctx, _cache) => {
|
|
32053
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32238
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
|
|
32054
32239
|
default: withCtx(() => [
|
|
32055
|
-
_ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$d, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(
|
|
32240
|
+
_ctx.body && _ctx.body.length === 0 && _ctx.formData && _ctx.formData.length === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$d, "No Body")) : _ctx.formData && _ctx.formData.length > 0 ? (openBlock(), createBlock(unref(Grid), {
|
|
32056
32241
|
key: 1,
|
|
32057
32242
|
items: _ctx.formData
|
|
32058
32243
|
}, null, 8, ["items"])) : (openBlock(), createBlock(unref(CodeMirror), {
|
|
@@ -32114,7 +32299,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32114
32299
|
return !!(((_a2 = props.cookies) == null ? void 0 : _a2.length) || ((_b = props.generatedCookies) == null ? void 0 : _b.length));
|
|
32115
32300
|
});
|
|
32116
32301
|
return (_ctx, _cache) => {
|
|
32117
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32302
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32118
32303
|
defaultOpen: hasCookies.value,
|
|
32119
32304
|
title: "Cookies"
|
|
32120
32305
|
}, {
|
|
@@ -32128,7 +32313,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
32128
32313
|
_hoisted_2$7,
|
|
32129
32314
|
createTextVNode(" Cookies ")
|
|
32130
32315
|
])
|
|
32131
|
-
])) : (openBlock(), createBlock(unref(
|
|
32316
|
+
])) : (openBlock(), createBlock(unref(Grid), {
|
|
32132
32317
|
key: 1,
|
|
32133
32318
|
addLabel: "Cookie",
|
|
32134
32319
|
generatedItems: _ctx.generatedCookies,
|
|
@@ -32188,7 +32373,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32188
32373
|
return !!(((_a2 = props.headers) == null ? void 0 : _a2.length) || ((_b = props.generatedHeaders) == null ? void 0 : _b.length));
|
|
32189
32374
|
});
|
|
32190
32375
|
return (_ctx, _cache) => {
|
|
32191
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32376
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32192
32377
|
defaultOpen: hasHeaders.value,
|
|
32193
32378
|
title: "Headers"
|
|
32194
32379
|
}, {
|
|
@@ -32202,7 +32387,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
32202
32387
|
_hoisted_2$6,
|
|
32203
32388
|
createTextVNode(" Headers ")
|
|
32204
32389
|
])
|
|
32205
|
-
])) : (openBlock(), createBlock(unref(
|
|
32390
|
+
])) : (openBlock(), createBlock(unref(Grid), {
|
|
32206
32391
|
key: 1,
|
|
32207
32392
|
addLabel: "Header",
|
|
32208
32393
|
generatedItems: _ctx.generatedHeaders,
|
|
@@ -32262,7 +32447,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32262
32447
|
return !!(((_a2 = props.queries) == null ? void 0 : _a2.length) || ((_b = props.generatedQueries) == null ? void 0 : _b.length));
|
|
32263
32448
|
});
|
|
32264
32449
|
return (_ctx, _cache) => {
|
|
32265
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32450
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32266
32451
|
defaultOpen: hasQueries.value,
|
|
32267
32452
|
title: "Query Parameters"
|
|
32268
32453
|
}, {
|
|
@@ -32276,7 +32461,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
32276
32461
|
_hoisted_2$5,
|
|
32277
32462
|
createTextVNode(" Query Parameter ")
|
|
32278
32463
|
])
|
|
32279
|
-
])) : (openBlock(), createBlock(unref(
|
|
32464
|
+
])) : (openBlock(), createBlock(unref(Grid), {
|
|
32280
32465
|
key: 1,
|
|
32281
32466
|
addLabel: "Query Parameter",
|
|
32282
32467
|
generatedItems: _ctx.generatedQueries,
|
|
@@ -32331,7 +32516,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32331
32516
|
(_a2 = activeRequest2.variables) == null ? void 0 : _a2.push({ name: "", value: "", enabled: true });
|
|
32332
32517
|
}
|
|
32333
32518
|
return (_ctx, _cache) => {
|
|
32334
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32519
|
+
return openBlock(), createBlock(unref(_sfc_main$v), {
|
|
32335
32520
|
defaultOpen: unref(activeRequest2).variables && unref(activeRequest2).variables.length > 0,
|
|
32336
32521
|
title: "Variables"
|
|
32337
32522
|
}, {
|
|
@@ -32345,7 +32530,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
32345
32530
|
_hoisted_2$4,
|
|
32346
32531
|
createTextVNode(" Variable ")
|
|
32347
32532
|
])
|
|
32348
|
-
])) : (openBlock(), createBlock(unref(
|
|
32533
|
+
])) : (openBlock(), createBlock(unref(Grid), {
|
|
32349
32534
|
key: 1,
|
|
32350
32535
|
addLabel: "Variable",
|
|
32351
32536
|
items: _ctx.variables,
|
|
@@ -32472,7 +32657,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32472
32657
|
return null;
|
|
32473
32658
|
});
|
|
32474
32659
|
return (_ctx, _cache) => {
|
|
32475
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32660
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
|
|
32476
32661
|
default: withCtx(() => [
|
|
32477
32662
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
32478
32663
|
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(He), {
|
|
@@ -32594,7 +32779,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
32594
32779
|
}).join("-");
|
|
32595
32780
|
};
|
|
32596
32781
|
return (_ctx, _cache) => {
|
|
32597
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32782
|
+
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Headers" }, {
|
|
32598
32783
|
default: withCtx(() => [
|
|
32599
32784
|
_ctx.headers.length > 0 ? (openBlock(), createBlock(unref(SimpleTable), { key: 0 }, {
|
|
32600
32785
|
default: withCtx(() => [
|
|
@@ -32774,9 +32959,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
32774
32959
|
headers: responseHeaders.value
|
|
32775
32960
|
}, null, 8, ["active", "data", "headers"]),
|
|
32776
32961
|
createVNode(_sfc_main$3, { headers: responseHeaders.value }, null, 8, ["headers"]),
|
|
32777
|
-
createVNode(unref(_sfc_main$
|
|
32962
|
+
createVNode(unref(_sfc_main$v), { title: "Cookies" }, {
|
|
32778
32963
|
default: withCtx(() => [
|
|
32779
|
-
withDirectives(createVNode(unref(
|
|
32964
|
+
withDirectives(createVNode(unref(SimpleGrid), { items: responseCookies.value }, null, 8, ["items"]), [
|
|
32780
32965
|
[vShow, responseCookies.value.length > 0]
|
|
32781
32966
|
]),
|
|
32782
32967
|
responseCookies.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_8, "No Cookies")) : createCommentVNode("", true)
|
|
@@ -32822,8 +33007,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32822
33007
|
);
|
|
32823
33008
|
return (_ctx, _cache) => {
|
|
32824
33009
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
32825
|
-
createVNode(unref(_sfc_main$
|
|
32826
|
-
createVNode(_sfc_main$
|
|
33010
|
+
createVNode(unref(_sfc_main$E), { id: _ctx.theme }, null, 8, ["id"]),
|
|
33011
|
+
createVNode(_sfc_main$C, {
|
|
32827
33012
|
class: "scalar-api-client",
|
|
32828
33013
|
method: unref(activeRequest2).type ?? "get",
|
|
32829
33014
|
property: "--default-scalar-api-client-color",
|
|
@@ -32899,7 +33084,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32899
33084
|
});
|
|
32900
33085
|
export {
|
|
32901
33086
|
_sfc_main as ApiClient,
|
|
32902
|
-
_sfc_main$
|
|
33087
|
+
_sfc_main$C as HttpMethod,
|
|
32903
33088
|
RequestAuthentication,
|
|
32904
33089
|
SecurityScheme,
|
|
32905
33090
|
SecuritySchemeSelector,
|