@scalar/api-client 2.3.30 → 2.3.31
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 +24 -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/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.js +3 -3
- 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.vue2.js +8 -8
- 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.vue2.js +7 -7
- 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/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 +18 -18
|
@@ -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.31",
|
|
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",
|
|
204
|
+
"@scalar/import": "0.3.24",
|
|
205
|
+
"@scalar/oas-utils": "0.2.141",
|
|
203
206
|
"@scalar/draggable": "0.1.11",
|
|
204
|
-
"@scalar/
|
|
205
|
-
"@scalar/
|
|
206
|
-
"@scalar/
|
|
207
|
-
"@scalar/openapi
|
|
208
|
-
"@scalar/
|
|
209
|
-
"@scalar/
|
|
210
|
-
"@scalar/
|
|
211
|
-
"@scalar/
|
|
212
|
-
"@scalar/use-
|
|
213
|
-
"@scalar/
|
|
214
|
-
"@scalar/
|
|
215
|
-
"@scalar/use-toasts": "0.7.9",
|
|
216
|
-
"@scalar/use-tooltip": "1.0.6",
|
|
217
|
-
"@scalar/use-hooks": "0.1.47"
|
|
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.14",
|
|
211
|
+
"@scalar/themes": "0.11.1",
|
|
212
|
+
"@scalar/types": "0.1.14",
|
|
213
|
+
"@scalar/use-codemirror": "0.11.102",
|
|
214
|
+
"@scalar/snippetz": "0.2.20",
|
|
215
|
+
"@scalar/use-hooks": "0.1.48",
|
|
216
|
+
"@scalar/use-toasts": "0.7.10",
|
|
217
|
+
"@scalar/use-tooltip": "1.0.7"
|
|
218
218
|
},
|
|
219
219
|
"devDependencies": {
|
|
220
220
|
"@types/shell-quote": "^1.7.5",
|
|
@@ -229,8 +229,8 @@
|
|
|
229
229
|
"vite": "^5.4.10",
|
|
230
230
|
"vite-svg-loader": "^5.1.0",
|
|
231
231
|
"vitest": "^1.6.0",
|
|
232
|
-
"@scalar/
|
|
233
|
-
"@scalar/
|
|
232
|
+
"@scalar/galaxy": "0.3.2",
|
|
233
|
+
"@scalar/build-tooling": "0.1.19"
|
|
234
234
|
},
|
|
235
235
|
"scripts": {
|
|
236
236
|
"build": "scalar-build-vite",
|