@scalar/api-client 2.3.30 → 2.3.32
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 +36 -0
- package/dist/components/AddressBar/AddressBar.vue2.js +3 -3
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +4 -4
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +6 -6
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +5 -5
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +7 -7
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +7 -7
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +6 -6
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +5 -5
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +2 -2
- package/dist/components/DataTable/DataTable.vue.js +5 -5
- package/dist/components/DataTable/DataTableCell.vue.js +2 -2
- package/dist/components/DataTable/DataTableCheckbox.vue.js +2 -2
- package/dist/components/DataTable/DataTableHeader.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +9 -9
- package/dist/components/DataTable/DataTableInputSelect.vue.js +5 -5
- package/dist/components/DataTable/DataTableRow.vue.js +2 -2
- package/dist/components/DataTable/DataTableText.vue.js +2 -2
- package/dist/components/DataTable/index.js +14 -14
- package/dist/components/EmptyState.vue2.js +2 -2
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +12 -12
- package/dist/components/Form/Form.vue.js +4 -4
- package/dist/components/Form/LabelInput.vue2.js +4 -4
- package/dist/components/HelpfulLink.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +3 -3
- package/dist/components/IconSelector.vue.js +5 -5
- package/dist/components/ImportCollection/DropEventListener.vue.js +3 -3
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +3 -3
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -2
- package/dist/components/ImportCollection/PrefetchError.vue.js +4 -4
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +10 -10
- package/dist/components/OpenApiClientButton.vue2.js +4 -4
- package/dist/components/ScalarAsciiArt.vue2.js +3 -3
- package/dist/components/ScalarHotkey.vue.js +2 -2
- package/dist/components/SectionFilter.vue2.js +1 -1
- package/dist/components/SectionFilterButton.vue.js +2 -2
- package/dist/components/Server/ServerDropdown.vue.js +21 -21
- package/dist/components/Server/ServerDropdownItem.vue2.js +4 -4
- package/dist/components/Server/ServerSelector.vue.js +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +4 -4
- package/dist/components/Server/ServerVariablesSelect.vue.js +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +2 -2
- package/dist/components/Server/index.js +6 -6
- package/dist/components/SideNav/DownloadAppButton.vue2.js +5 -5
- package/dist/components/SideNav/SideHelp.vue.js +2 -2
- package/dist/components/SideNav/SideNav.vue.js +5 -5
- package/dist/components/SideNav/SideNavGroup.vue.js +2 -2
- package/dist/components/SideNav/SideNavLink.vue.js +4 -4
- package/dist/components/SideNav/SideNavRouterLink.vue.js +2 -2
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +4 -4
- package/dist/components/Sidebar/SidebarButton.vue.js +3 -3
- package/dist/components/Sidebar/SidebarList.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +3 -3
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +20 -20
- package/dist/components/ViewLayout/ViewLayout.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
- package/dist/hooks/useClientConfig.d.ts +3 -3
- package/dist/layouts/App/ApiClientApp.vue.js +10 -10
- package/dist/layouts/App/MainLayout.vue.js +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/index.js +5 -4
- package/dist/layouts/Modal/ApiClientModal.vue2.js +2 -2
- package/dist/layouts/Modal/create-api-client-modal.d.ts +4 -4
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +6 -6
- package/dist/layouts/Web/create-api-client-web.d.ts +2 -2
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +2 -2
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/router.js +4 -4
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +1 -1
- package/dist/store/import-spec.js +3 -3
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/store.d.ts +2 -2
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +37 -42
- package/dist/store/workspace.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue2.js +2 -2
- package/dist/views/Collection/CollectionAuthentication.vue2.js +5 -5
- package/dist/views/Collection/CollectionCookies.vue2.js +2 -2
- package/dist/views/Collection/CollectionEnvironment.vue2.js +2 -2
- package/dist/views/Collection/CollectionInfoForm.vue2.js +2 -2
- package/dist/views/Collection/CollectionNavigation.vue.js +1 -1
- package/dist/views/Collection/CollectionOverview.vue2.js +3 -3
- package/dist/views/Collection/CollectionScripts.vue2.js +2 -2
- package/dist/views/Collection/CollectionServerForm.vue.js +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +3 -3
- package/dist/views/Collection/CollectionSettings.vue2.js +4 -4
- package/dist/views/Collection/CollectionSync.vue2.js +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue2.js +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +16 -14
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +3 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +74 -31
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +3 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +8 -6
- package/dist/views/Components/CodeSnippet/index.js +8 -8
- package/dist/views/Cookies/CookieForm.vue.js +2 -2
- package/dist/views/Cookies/CookieModal.vue2.js +2 -2
- package/dist/views/Cookies/Cookies.vue2.js +6 -6
- package/dist/views/Environment/Environment.vue2.js +7 -7
- package/dist/views/Environment/EnvironmentColorModal.vue.js +2 -2
- package/dist/views/Environment/EnvironmentColors.vue.js +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +7 -7
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +10 -10
- package/dist/views/Request/Request.vue2.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +5 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +10 -10
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +11 -11
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +56 -61
- package/dist/views/Request/RequestSection/RequestParams.vue.js +13 -13
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +5 -5
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +3 -3
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +23 -22
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +7 -7
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +9 -9
- package/dist/views/Request/RequestSidebar.vue2.js +25 -25
- package/dist/views/Request/RequestSidebarItem.vue2.js +25 -25
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +5 -5
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +5 -5
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +7 -7
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +6 -6
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +15 -15
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +5 -5
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/dist/views/Request/consts/mediaTypes.d.ts.map +1 -1
- package/dist/views/Request/consts/mediaTypes.js +1 -0
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue2.js +3 -3
- package/dist/views/Settings/SettingsGeneral.vue.js +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.js +10 -10
- package/dist/views/Settings/components/SettingsSection.vue.js +4 -4
- package/package.json +19 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as q, onMounted as R, onBeforeUnmount as v,
|
|
1
|
+
import { defineComponent as q, onMounted as R, onBeforeUnmount as v, createElementBlock as l, openBlock as u, createElementVNode as s, createCommentVNode as c, normalizeClass as y, unref as t, createVNode as m, createTextVNode as p, toDisplayString as h, nextTick as C } from "vue";
|
|
2
2
|
import { useRoute as N, useRouter as S } from "vue-router";
|
|
3
3
|
import B from "../../../assets/computer.ascii.js";
|
|
4
4
|
import V from "../../../components/EmptyState.vue.js";
|
|
@@ -34,22 +34,22 @@ const W = { class: "col-1 flex-center relative gap-6 p-2 capitalize" }, $ = {
|
|
|
34
34
|
}));
|
|
35
35
|
}, k = (o) => {
|
|
36
36
|
o != null && o.createNew && x.name === "request" && f();
|
|
37
|
-
}, w = "2.3.
|
|
38
|
-
return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (
|
|
37
|
+
}, w = "2.3.32";
|
|
38
|
+
return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (u(), l("div", W, [
|
|
39
39
|
s("div", {
|
|
40
40
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
41
41
|
"hidden opacity-0": o.numWorkspaceRequests <= 1 && t(n) !== "modal"
|
|
42
42
|
}])
|
|
43
43
|
}, [
|
|
44
|
-
t(n) !== "modal" ? (
|
|
45
|
-
|
|
44
|
+
t(n) !== "modal" ? (u(), l("div", $, [
|
|
45
|
+
p(" Scalar App V" + h(t(w)) + " Beta ", 1),
|
|
46
46
|
e[3] || (e[3] = s("div", { class: "mt-2" }, [
|
|
47
47
|
s("a", {
|
|
48
48
|
href: "https://github.com/scalar/scalar/issues/2669",
|
|
49
49
|
target: "_blank"
|
|
50
50
|
}, " Roadmap ")
|
|
51
51
|
], -1))
|
|
52
|
-
])) :
|
|
52
|
+
])) : c("", !0),
|
|
53
53
|
e[4] || (e[4] = s("a", {
|
|
54
54
|
class: "gitbook-show scalar-version-number",
|
|
55
55
|
href: "https://www.scalar.com",
|
|
@@ -60,39 +60,39 @@ const W = { class: "col-1 flex-center relative gap-6 p-2 capitalize" }, $ = {
|
|
|
60
60
|
class: "text-c-3"
|
|
61
61
|
}, null, 8, ["art"])
|
|
62
62
|
], 2),
|
|
63
|
-
t(n) !== "modal" ? (
|
|
63
|
+
t(n) !== "modal" ? (u(), l("div", {
|
|
64
64
|
key: 0,
|
|
65
65
|
class: y(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5", {
|
|
66
66
|
"!flex opacity-100": o.numWorkspaceRequests == 1
|
|
67
67
|
}])
|
|
68
68
|
}, [
|
|
69
69
|
m(V)
|
|
70
|
-
], 2)) :
|
|
70
|
+
], 2)) : c("", !0),
|
|
71
71
|
s("div", j, [
|
|
72
|
-
t(n) !== "modal" ? (
|
|
72
|
+
t(n) !== "modal" ? (u(), l("button", {
|
|
73
73
|
key: 0,
|
|
74
74
|
class: "flex items-center gap-1.5",
|
|
75
75
|
type: "button",
|
|
76
76
|
onClick: e[0] || (e[0] = (i) => t(a).commandPalette.emit())
|
|
77
77
|
}, [
|
|
78
|
-
e[5] || (e[5] =
|
|
78
|
+
e[5] || (e[5] = p(" Get Started ")),
|
|
79
79
|
m(d, { hotkey: "k" })
|
|
80
|
-
])) :
|
|
81
|
-
t(n) === "desktop" ? (
|
|
80
|
+
])) : c("", !0),
|
|
81
|
+
t(n) === "desktop" ? (u(), l("button", {
|
|
82
82
|
key: 1,
|
|
83
83
|
class: "flex items-center gap-1.5",
|
|
84
84
|
type: "button",
|
|
85
85
|
onClick: e[1] || (e[1] = (i) => f())
|
|
86
86
|
}, [
|
|
87
|
-
e[6] || (e[6] =
|
|
87
|
+
e[6] || (e[6] = p(" New Request ")),
|
|
88
88
|
m(d, { hotkey: "N" })
|
|
89
|
-
])) :
|
|
89
|
+
])) : c("", !0),
|
|
90
90
|
s("button", {
|
|
91
91
|
class: "flex items-center gap-1.5",
|
|
92
92
|
type: "button",
|
|
93
93
|
onClick: e[2] || (e[2] = (i) => t(a).executeRequest.emit())
|
|
94
94
|
}, [
|
|
95
|
-
e[7] || (e[7] =
|
|
95
|
+
e[7] || (e[7] = p(" Send Request ")),
|
|
96
96
|
m(d, { hotkey: "↵" })
|
|
97
97
|
])
|
|
98
98
|
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y,
|
|
1
|
+
import { defineComponent as y, createBlock as f, openBlock as t, withCtx as e, createElementBlock as l, createVNode as a, unref as u, createTextVNode as n, Fragment as i, renderList as g, toDisplayString as p } from "vue";
|
|
2
2
|
import k from "../../../components/DataTable/DataTable.vue.js";
|
|
3
3
|
import c from "../../../components/DataTable/DataTableRow.vue.js";
|
|
4
4
|
import _ from "../../../components/DataTable/DataTableText.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as c,
|
|
1
|
+
import { defineComponent as u, ref as c, createBlock as d, openBlock as l, Transition as m, withCtx as r, createElementBlock as f, createCommentVNode as p, unref as e, createVNode as i, createTextVNode as g } from "vue";
|
|
2
2
|
import { useLoadingState as v, ScalarLoading as x, ScalarButton as _ } from "@scalar/components";
|
|
3
3
|
import { useWorkspace as k } from "../../../store/store.js";
|
|
4
4
|
const L = {
|
|
@@ -23,11 +23,11 @@ const L = {
|
|
|
23
23
|
onClick: o[0] || (o[0] = (C) => e(n).cancelRequest.emit())
|
|
24
24
|
}, {
|
|
25
25
|
default: r(() => o[1] || (o[1] = [
|
|
26
|
-
|
|
26
|
+
g(" Cancel ")
|
|
27
27
|
])),
|
|
28
28
|
_: 1
|
|
29
29
|
})
|
|
30
|
-
])) :
|
|
30
|
+
])) : p("", !0)
|
|
31
31
|
]),
|
|
32
32
|
_: 1
|
|
33
33
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as I, ref as d, computed as _,
|
|
1
|
+
import { defineComponent as I, ref as d, computed as _, createElementBlock as r, openBlock as o, toDisplayString as n, unref as f, Fragment as v, createElementVNode as a, createCommentVNode as y, createTextVNode as p, createBlock as b, withCtx as w, normalizeStyle as k } from "vue";
|
|
2
2
|
import { httpStatusCodes as B } from "@scalar/oas-utils/helpers";
|
|
3
3
|
import N from "pretty-bytes";
|
|
4
4
|
import h from "pretty-ms";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, computed as c, ref as T, useId as w,
|
|
1
|
+
import { defineComponent as C, computed as c, ref as T, useId as w, createBlock as t, openBlock as n, withCtx as v, createElementVNode as u, normalizeClass as y, createElementBlock as k, createVNode as h, Fragment as b, createCommentVNode as d } from "vue";
|
|
2
2
|
import x from "../../../components/SectionFilter.vue.js";
|
|
3
3
|
import V from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
4
|
import I from "./RequestHeaders.vue.js";
|
|
@@ -104,7 +104,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
|
|
|
104
104
|
response: e.response
|
|
105
105
|
}, null, 8, ["response"])) : d("", !0)
|
|
106
106
|
], 2),
|
|
107
|
-
|
|
107
|
+
h(x, {
|
|
108
108
|
modelValue: s.value,
|
|
109
109
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
|
|
110
110
|
filterIds: r.value,
|
|
@@ -122,7 +122,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
|
|
|
122
122
|
}]),
|
|
123
123
|
role: s.value === "All" && e.response ? "tabpanel" : "none"
|
|
124
124
|
}, [
|
|
125
|
-
e.response ? (n(),
|
|
125
|
+
e.response ? (n(), k(b, { key: 1 }, [
|
|
126
126
|
s.value === "All" || s.value === "Cookies" ? (n(), t(E, {
|
|
127
127
|
key: 0,
|
|
128
128
|
class: "response-section-content-cookies",
|
|
@@ -144,7 +144,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
|
|
|
144
144
|
headers: m.value,
|
|
145
145
|
role: s.value === "All" ? "none" : "tabpanel"
|
|
146
146
|
}, null, 8, ["id", "headers", "role"])) : d("", !0),
|
|
147
|
-
s.value === "All" || s.value === "Body" ? (n(),
|
|
147
|
+
s.value === "All" || s.value === "Body" ? (n(), k(b, { key: 3 }, [
|
|
148
148
|
"reader" in e.response ? (n(), t(g, {
|
|
149
149
|
key: 0,
|
|
150
150
|
class: "response-section-content-body",
|
|
@@ -176,7 +176,7 @@ const F = { class: "flex h-8 flex-1 items-center" }, L = ["id", "role"], A = 2e5
|
|
|
176
176
|
workspace: e.workspace,
|
|
177
177
|
numWorkspaceRequests: e.numWorkspaceRequests
|
|
178
178
|
}, null, 8, ["collection", "operation", "workspace", "numWorkspaceRequests"])),
|
|
179
|
-
|
|
179
|
+
h(S)
|
|
180
180
|
], 10, L)
|
|
181
181
|
];
|
|
182
182
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as L, computed as O, ref as D,
|
|
2
|
-
import { useModal as S, ScalarDropdown as $, ScalarDropdownItem as u, ScalarListboxCheckbox as V, ScalarIcon as p, ScalarTooltip as q,
|
|
1
|
+
import { defineComponent as L, computed as O, ref as D, createElementBlock as z, openBlock as c, createElementVNode as a, createVNode as n, unref as t, withCtx as o, toDisplayString as C, Fragment as I, renderList as U, createBlock as g, withModifiers as r } from "vue";
|
|
2
|
+
import { useModal as S, ScalarDropdown as $, ScalarButton as E, ScalarDropdownItem as u, ScalarListboxCheckbox as V, ScalarIcon as p, ScalarTooltip as q, ScalarDropdownDivider as F, ScalarModal as N } from "@scalar/components";
|
|
3
3
|
import { useRouter as P } from "vue-router";
|
|
4
4
|
import Y from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
5
5
|
import G from "../../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediaTypes.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/consts/mediaTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,yCAAyC;AACzC,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"mediaTypes.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/consts/mediaTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAEjE,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,QAAQ,CAAC,EAAE,kBAAkB,CAAA;IAC7B,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,yCAAyC;AACzC,eAAO,MAAM,UAAU,EAAE;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAAA;CA8GjE,CAAA;AAED,iEAAiE;AACjE,eAAO,MAAM,cAAc,EAAE,MAAM,EAEX,CAAA"}
|
|
@@ -11,6 +11,7 @@ const n = {
|
|
|
11
11
|
language: "json"
|
|
12
12
|
},
|
|
13
13
|
"application/vnd.api+json": { extension: ".json", raw: !0, language: "json" },
|
|
14
|
+
"application/dns-json": { extension: ".json", raw: !0, language: "json" },
|
|
14
15
|
"application/msword": { extension: ".doc" },
|
|
15
16
|
"application/octet-stream": { extension: ".bin" },
|
|
16
17
|
"application/ogg": { extension: ".ogx" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ErrorResponse } from '../../../libs/errors
|
|
1
|
+
import type { ErrorResponse } from '../../../libs/errors';
|
|
2
2
|
import type { Oauth2Flow, Server } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
/** Oauth2 security schemes which are not implicit */
|
|
4
4
|
type NonImplicitFlow = Exclude<Oauth2Flow, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"oauth2.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/libs/oauth2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAGzE,qDAAqD;AACrD,KAAK,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAA;AAEhE,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,mBAAmB,EAAE,MAAM,CAAA;CAC5B,CAAA;AAmBD;;GAEG;AACH,eAAO,MAAM,qBAAqB,aAAoB,MAAM,YAAY,SAAS,GAAG,OAAO,KAAG,OAAO,CAAC,MAAM,CAe3G,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,SACpB,UAAU,gBAEF,MAAM,aAET,MAAM,KAChB,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAwI/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,SACrB,eAAe,UACb,MAAM,8BAKX;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC9B,KACA,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAmE/B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, ref as c,
|
|
1
|
+
import { defineComponent as a, ref as c, createBlock as n, openBlock as o, withCtx as r, createVNode as m, createCommentVNode as i, resolveDynamicComponent as l } from "vue";
|
|
2
2
|
import s from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
3
3
|
import _ from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
4
4
|
import f from "./SettingsGeneral.vue.js";
|
|
@@ -11,11 +11,11 @@ const k = /* @__PURE__ */ a({
|
|
|
11
11
|
title: "general"
|
|
12
12
|
}
|
|
13
13
|
}, t = c("general");
|
|
14
|
-
return (u, d) => (
|
|
14
|
+
return (u, d) => (o(), n(s, null, {
|
|
15
15
|
default: r(() => [
|
|
16
16
|
m(_, { class: "flex-1" }, {
|
|
17
17
|
default: r(() => [
|
|
18
|
-
e[t.value] ? (
|
|
18
|
+
e[t.value] ? (o(), n(l(e[t.value].component), { key: 0 })) : i("", !0)
|
|
19
19
|
]),
|
|
20
20
|
_: 1
|
|
21
21
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P,
|
|
1
|
+
import { defineComponent as P, createElementBlock as S, openBlock as d, createElementVNode as r, createVNode as c, withCtx as n, createBlock as m, createCommentVNode as b, unref as e, normalizeClass as f, createTextVNode as a, toDisplayString as z, Fragment as B, renderList as A, normalizeStyle as $ } from "vue";
|
|
2
2
|
import { cva as R, ScalarButton as y, cx as v, ScalarIcon as h } from "@scalar/components";
|
|
3
3
|
import { themeLabels as E } from "@scalar/themes";
|
|
4
4
|
import V from "../../components/ImportCollection/IntegrationLogo.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x,
|
|
1
|
+
import { defineComponent as x, createElementBlock as y, openBlock as o, createVNode as l, unref as e, normalizeClass as s, withCtx as c, createElementVNode as i, createTextVNode as d, createBlock as u, createCommentVNode as f } from "vue";
|
|
2
2
|
import { cva as g, ScalarButton as m, cx as p, ScalarIcon as k } from "@scalar/components";
|
|
3
3
|
import { useColorMode as v } from "@scalar/use-hooks/useColorMode";
|
|
4
4
|
const C = { class: "flex flex-col gap-2" }, z = /* @__PURE__ */ x({
|
|
@@ -24,14 +24,14 @@ const C = { class: "flex flex-col gap-2" }, z = /* @__PURE__ */ x({
|
|
|
24
24
|
"bg-c-accent text-b-1 border-transparent": e(r) === "system"
|
|
25
25
|
}])
|
|
26
26
|
}, [
|
|
27
|
-
e(r) === "system" ? (o(),
|
|
27
|
+
e(r) === "system" ? (o(), u(e(k), {
|
|
28
28
|
key: 0,
|
|
29
29
|
icon: "Checkmark",
|
|
30
30
|
size: "xs",
|
|
31
31
|
thickness: "3.5"
|
|
32
|
-
})) :
|
|
32
|
+
})) : f("", !0)
|
|
33
33
|
], 2),
|
|
34
|
-
t[3] || (t[3] =
|
|
34
|
+
t[3] || (t[3] = d(" System Preference (default) "))
|
|
35
35
|
]),
|
|
36
36
|
_: 1
|
|
37
37
|
}, 8, ["class"]),
|
|
@@ -45,14 +45,14 @@ const C = { class: "flex flex-col gap-2" }, z = /* @__PURE__ */ x({
|
|
|
45
45
|
"bg-c-accent text-b-1 border-transparent": e(r) === "light"
|
|
46
46
|
}])
|
|
47
47
|
}, [
|
|
48
|
-
e(r) === "light" ? (o(),
|
|
48
|
+
e(r) === "light" ? (o(), u(e(k), {
|
|
49
49
|
key: 0,
|
|
50
50
|
icon: "Checkmark",
|
|
51
51
|
size: "xs",
|
|
52
52
|
thickness: "3.5"
|
|
53
|
-
})) :
|
|
53
|
+
})) : f("", !0)
|
|
54
54
|
], 2),
|
|
55
|
-
t[4] || (t[4] =
|
|
55
|
+
t[4] || (t[4] = d(" Light Mode Always "))
|
|
56
56
|
]),
|
|
57
57
|
_: 1
|
|
58
58
|
}, 8, ["class"]),
|
|
@@ -66,14 +66,14 @@ const C = { class: "flex flex-col gap-2" }, z = /* @__PURE__ */ x({
|
|
|
66
66
|
"bg-c-accent text-b-1 border-transparent": e(r) === "dark"
|
|
67
67
|
}])
|
|
68
68
|
}, [
|
|
69
|
-
e(r) === "dark" ? (o(),
|
|
69
|
+
e(r) === "dark" ? (o(), u(e(k), {
|
|
70
70
|
key: 0,
|
|
71
71
|
icon: "Checkmark",
|
|
72
72
|
size: "xs",
|
|
73
73
|
thickness: "3.5"
|
|
74
|
-
})) :
|
|
74
|
+
})) : f("", !0)
|
|
75
75
|
], 2),
|
|
76
|
-
t[5] || (t[5] =
|
|
76
|
+
t[5] || (t[5] = d(" Dark Mode Always "))
|
|
77
77
|
]),
|
|
78
78
|
_: 1
|
|
79
79
|
}, 8, ["class"])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, createElementBlock as t, openBlock as o, createCommentVNode as l, renderSlot as s } from "vue";
|
|
2
2
|
const i = { class: "flex flex-col gap-2" }, r = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "font-bold"
|
|
@@ -8,11 +8,11 @@ const i = { class: "flex flex-col gap-2" }, r = {
|
|
|
8
8
|
}, m = /* @__PURE__ */ n({
|
|
9
9
|
__name: "SettingsSection",
|
|
10
10
|
setup(a) {
|
|
11
|
-
return (e, d) => (
|
|
12
|
-
e.$slots.title ? (
|
|
11
|
+
return (e, d) => (o(), t("div", i, [
|
|
12
|
+
e.$slots.title ? (o(), t("h3", r, [
|
|
13
13
|
s(e.$slots, "title")
|
|
14
14
|
])) : l("", !0),
|
|
15
|
-
e.$slots.description ? (
|
|
15
|
+
e.$slots.description ? (o(), t("p", c, [
|
|
16
16
|
s(e.$slots, "description")
|
|
17
17
|
])) : l("", !0),
|
|
18
18
|
s(e.$slots, "default")
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.3.
|
|
21
|
+
"version": "2.3.32",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
},
|
|
@@ -199,22 +199,22 @@
|
|
|
199
199
|
"whatwg-mimetype": "^4.0.0",
|
|
200
200
|
"yaml": "^2.4.5",
|
|
201
201
|
"zod": "3.24.1",
|
|
202
|
-
"@scalar/components": "0.13.
|
|
202
|
+
"@scalar/components": "0.13.57",
|
|
203
|
+
"@scalar/icons": "0.3.5",
|
|
203
204
|
"@scalar/draggable": "0.1.11",
|
|
204
|
-
"@scalar/
|
|
205
|
-
"@scalar/
|
|
206
|
-
"@scalar/object-utils": "1.1.
|
|
207
|
-
"@scalar/openapi-parser": "0.10.
|
|
208
|
-
"@scalar/openapi-types": "0.2.
|
|
209
|
-
"@scalar/postman-to-openapi": "0.2.
|
|
210
|
-
"@scalar/snippetz": "0.2.
|
|
211
|
-
"@scalar/
|
|
212
|
-
"@scalar/
|
|
213
|
-
"@scalar/
|
|
214
|
-
"@scalar/
|
|
215
|
-
"@scalar/use-
|
|
216
|
-
"@scalar/use-
|
|
217
|
-
"@scalar/use-hooks": "0.1.47"
|
|
205
|
+
"@scalar/import": "0.3.25",
|
|
206
|
+
"@scalar/oas-utils": "0.2.142",
|
|
207
|
+
"@scalar/object-utils": "1.1.14",
|
|
208
|
+
"@scalar/openapi-parser": "0.10.17",
|
|
209
|
+
"@scalar/openapi-types": "0.2.2",
|
|
210
|
+
"@scalar/postman-to-openapi": "0.2.15",
|
|
211
|
+
"@scalar/snippetz": "0.2.20",
|
|
212
|
+
"@scalar/themes": "0.11.1",
|
|
213
|
+
"@scalar/types": "0.1.14",
|
|
214
|
+
"@scalar/use-codemirror": "0.11.102",
|
|
215
|
+
"@scalar/use-hooks": "0.1.48",
|
|
216
|
+
"@scalar/use-tooltip": "1.0.7",
|
|
217
|
+
"@scalar/use-toasts": "0.7.10"
|
|
218
218
|
},
|
|
219
219
|
"devDependencies": {
|
|
220
220
|
"@types/shell-quote": "^1.7.5",
|
|
@@ -226,11 +226,11 @@
|
|
|
226
226
|
"postcss": "^8.4.38",
|
|
227
227
|
"tailwindcss": "^3.4.4",
|
|
228
228
|
"tailwindcss-color-mix": "^0.0.8",
|
|
229
|
-
"vite": "
|
|
229
|
+
"vite": "5.4.19",
|
|
230
230
|
"vite-svg-loader": "^5.1.0",
|
|
231
231
|
"vitest": "^1.6.0",
|
|
232
|
-
"@scalar/build-tooling": "0.1.
|
|
233
|
-
"@scalar/galaxy": "0.3.
|
|
232
|
+
"@scalar/build-tooling": "0.1.19",
|
|
233
|
+
"@scalar/galaxy": "0.3.2"
|
|
234
234
|
},
|
|
235
235
|
"scripts": {
|
|
236
236
|
"build": "scalar-build-vite",
|