@scalar/api-client 2.5.31 → 2.5.33
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 +33 -0
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +120 -128
- package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +57 -63
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +143 -150
- package/dist/components/CodeInput/codeVariableWidget.js +70 -75
- package/dist/components/CommandPalette/CommandActionInput.vue.js +17 -19
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -27
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +53 -55
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +129 -133
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +84 -98
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +64 -74
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +5 -11
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +164 -183
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +31 -31
- package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -2
- package/dist/components/EmptyState.vue.js +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +75 -84
- package/dist/components/Form/LabelInput.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue2.js +11 -11
- package/dist/components/ImportCollection/DropEventListener.vue.js +42 -44
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -23
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +141 -149
- package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +22 -23
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +12 -13
- package/dist/components/ImportCollection/PasteEventListener.vue.js +11 -12
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +69 -76
- package/dist/components/ImportCollection/utils/get-openapi-version.js +8 -8
- package/dist/components/ImportCollection/utils/import-collection.js +14 -14
- package/dist/components/OpenApiClientButton.vue.js +1 -1
- package/dist/components/OpenApiClientButton.vue2.js +10 -10
- package/dist/components/ScalarAsciiArt.vue.js +1 -1
- package/dist/components/ScalarAsciiArt.vue2.js +19 -22
- package/dist/components/Search/useSearch.js +51 -61
- package/dist/components/SectionFilter.vue.js +1 -1
- package/dist/components/SectionFilter.vue2.js +26 -29
- package/dist/components/Server/ServerDropdown.vue.js +70 -96
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +57 -67
- package/dist/components/Server/ServerSelector.vue.js +44 -55
- package/dist/components/Server/ServerVariablesForm.vue.js +36 -42
- package/dist/components/Server/ServerVariablesSelect.vue.js +6 -6
- package/dist/components/SideNav/DownloadAppButton.vue.js +1 -1
- package/dist/components/SideNav/SideNav.vue.js +68 -74
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue.js +107 -122
- package/dist/components/TopNav/TopNavItem.vue.js +1 -1
- package/dist/hooks/useFileDialog.js +12 -12
- package/dist/hooks/useResponseBody.js +14 -16
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/layouts/App/ApiClientApp.vue.js +50 -56
- package/dist/layouts/App/ApiClientApp.vue3.js +1 -1
- package/dist/layouts/App/create-api-client-app.js +19 -20
- package/dist/layouts/App/index.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +18 -21
- package/dist/layouts/Web/ApiClientWeb.vue.js +45 -51
- package/dist/layouts/Web/ApiClientWeb.vue3.js +1 -1
- package/dist/layouts/Web/create-api-client-web.js +19 -20
- package/dist/layouts/Web/index.js +1 -1
- package/dist/libs/create-client.js +102 -109
- package/dist/libs/env-helpers.js +3 -3
- package/dist/libs/event-bus.js +15 -15
- package/dist/libs/extractAttachmentFilename.js +5 -6
- package/dist/libs/find-request.js +9 -10
- package/dist/libs/get-request-uid-by-path-method.js +12 -12
- package/dist/libs/getOpenApiDocumentDetails.js +7 -7
- package/dist/libs/importers/curl.js +3 -3
- package/dist/libs/normalize-headers.js +9 -10
- package/dist/libs/postman.js +15 -17
- package/dist/libs/send-request/build-request-security.js +9 -10
- package/dist/libs/send-request/create-fetch-body.js +11 -12
- package/dist/libs/send-request/create-fetch-query-params.js +13 -13
- package/dist/libs/send-request/create-request-operation.js +83 -84
- package/dist/libs/send-request/decode-buffer.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.js +12 -12
- package/dist/libs/string-template.js +21 -21
- package/dist/libs/validate-parameters.js +5 -8
- package/dist/plugins/plugin-manager.js +11 -17
- package/dist/store/active-entities.js +90 -117
- package/dist/store/collections.js +41 -42
- package/dist/store/import-spec.js +25 -26
- package/dist/store/request-example.js +20 -24
- package/dist/store/requests.js +63 -81
- package/dist/store/router-params.js +7 -7
- package/dist/store/security-schemes.js +35 -36
- package/dist/store/store.js +2 -2
- package/dist/store/tags.js +20 -21
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue2.js +21 -22
- package/dist/views/Collection/CollectionAuthentication.vue.js +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue2.js +43 -47
- package/dist/views/Collection/CollectionEnvironment.vue.js +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue2.js +196 -207
- package/dist/views/Collection/CollectionInfoForm.vue.js +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue2.js +34 -41
- package/dist/views/Collection/CollectionNavigation.vue.js +116 -125
- package/dist/views/Collection/CollectionOverview.vue2.js +22 -25
- package/dist/views/Collection/CollectionServerForm.vue.js +39 -45
- package/dist/views/Collection/CollectionServers.vue2.js +88 -98
- package/dist/views/Collection/CollectionSettings.vue.js +1 -1
- package/dist/views/Collection/CollectionSettings.vue2.js +101 -108
- package/dist/views/Collection/components/EnvironmentForm.vue.js +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue2.js +141 -145
- package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue2.js +1 -2
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +15 -15
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +15 -16
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +61 -64
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +9 -10
- package/dist/views/Cookies/CookieModal.vue.js +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +90 -93
- package/dist/views/Environment/Environment.vue2.js +267 -295
- package/dist/views/Environment/EnvironmentModal.vue.js +63 -70
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -42
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +60 -67
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +78 -89
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +37 -44
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -45
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +111 -127
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +120 -139
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +97 -97
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +287 -310
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +86 -94
- package/dist/views/Request/RequestSection/RequestParams.vue.js +37 -38
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +36 -38
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +28 -31
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +49 -52
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +16 -16
- package/dist/views/Request/RequestSection/helpers/getting-started.js +7 -11
- package/dist/views/Request/RequestSection/helpers/update-scheme.js +7 -8
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +199 -211
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +332 -349
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +210 -240
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +38 -41
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +58 -64
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -2
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +20 -23
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +29 -30
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +38 -41
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +28 -29
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +128 -140
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +116 -124
- package/dist/views/Request/consts/mediaTypes.js +2 -3
- package/dist/views/Request/handle-drag.js +24 -28
- package/dist/views/Request/hooks/useOpenApiWatcher.js +26 -33
- package/dist/views/Request/libs/auth.js +37 -43
- package/dist/views/Request/libs/oauth2.js +30 -32
- package/dist/views/Request/libs/watch-mode.js +100 -103
- package/dist/views/Settings/SettingsGeneral.vue.js +206 -236
- package/package.json +22 -22
- package/dist/components/AddressBar/AddressBar.vue3.js +0 -4
- package/dist/components/AddressBar/AddressBarHistory.vue3.js +0 -4
- package/dist/components/CodeInput/CodeInput.vue3.js +0 -4
- package/dist/components/CodeInput/CodeInput.vue4.js +0 -4
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue3.js +0 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue3.js +0 -4
- package/dist/components/DataTable/DataTableInput.vue3.js +0 -4
- package/dist/components/EmptyState.vue3.js +0 -4
- package/dist/components/Form/LabelInput.vue3.js +0 -4
- package/dist/components/HttpMethod/HttpMethod.vue3.js +0 -4
- package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +0 -4
- package/dist/components/OpenApiClientButton.vue3.js +0 -4
- package/dist/components/ScalarAsciiArt.vue3.js +0 -4
- package/dist/components/SectionFilter.vue3.js +0 -4
- package/dist/components/Server/ServerDropdownItem.vue3.js +0 -4
- package/dist/components/SideNav/DownloadAppButton.vue3.js +0 -4
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue3.js +0 -4
- package/dist/components/Sidebar/Sidebar.vue3.js +0 -4
- package/dist/components/Sidebar/SidebarListElement.vue3.js +0 -4
- package/dist/components/Sidebar/SidebarListElement.vue4.js +0 -4
- package/dist/components/TopNav/TopNavItem.vue3.js +0 -4
- package/dist/layouts/App/ApiClientApp.vue2.js +0 -4
- package/dist/layouts/Modal/ApiClientModal.vue3.js +0 -4
- package/dist/layouts/Web/ApiClientWeb.vue2.js +0 -4
- package/dist/style.css.js +0 -4
- package/dist/views/Collection/CollectionAuthentication.vue3.js +0 -4
- package/dist/views/Collection/CollectionEnvironment.vue3.js +0 -4
- package/dist/views/Collection/CollectionInfoForm.vue3.js +0 -4
- package/dist/views/Collection/CollectionSettings.vue3.js +0 -4
- package/dist/views/Collection/components/EnvironmentForm.vue3.js +0 -4
- package/dist/views/Collection/components/MarkdownInput.vue3.js +0 -4
- package/dist/views/Cookies/CookieModal.vue3.js +0 -4
- package/dist/views/Request/Request.vue3.js +0 -4
- package/dist/views/Request/RequestRoot.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestBody.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestCodeExample.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestSection.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestTable.vue3.js +0 -4
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue3.js +0 -4
- package/dist/views/Request/RequestSidebar.vue3.js +0 -4
- package/dist/views/Request/RequestSidebarItem.vue3.js +0 -4
- package/dist/views/Request/RequestSidebarItem.vue4.js +0 -4
- package/dist/views/Request/RequestSidebarItemMenu.vue3.js +0 -4
- package/dist/views/Request/RequestSubpageHeader.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseBody.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue2.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue3.js +0 -4
- package/dist/views/Request/ResponseSection/ResponseSection.vue3.js +0 -4
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useResponseBody as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { getMediaTypeConfig as
|
|
10
|
-
const
|
|
1
|
+
import { defineComponent as B, ref as R, computed as m, toRef as f, createBlock as n, openBlock as t, createSlots as V, withCtx as d, createElementBlock as b, createCommentVNode as r, createElementVNode as v, toDisplayString as y, unref as a, createTextVNode as h, createVNode as C } from "vue";
|
|
2
|
+
import N from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
3
|
+
import { useResponseBody as T } from "../../../hooks/useResponseBody.js";
|
|
4
|
+
import $ from "./ResponseBodyDownload.vue.js";
|
|
5
|
+
import E from "./ResponseBodyInfo.vue.js";
|
|
6
|
+
import P from "./ResponseBodyPreview.vue.js";
|
|
7
|
+
import S from "./ResponseBodyRaw.vue.js";
|
|
8
|
+
import U from "./ResponseBodyToggle.vue.js";
|
|
9
|
+
import { getMediaTypeConfig as j } from "../consts/mediaTypes.js";
|
|
10
|
+
const D = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"
|
|
13
|
-
},
|
|
13
|
+
}, F = { class: "box-content flex min-h-8 items-center justify-between border-y px-3" }, I = { class: "text-xxs font-code leading-3" }, O = /* @__PURE__ */ B({
|
|
14
14
|
__name: "ResponseBody",
|
|
15
15
|
props: {
|
|
16
16
|
title: {},
|
|
@@ -18,65 +18,59 @@ const q = {
|
|
|
18
18
|
data: {},
|
|
19
19
|
headers: {}
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const c =
|
|
23
|
-
() =>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
),
|
|
28
|
-
|
|
29
|
-
headers: w(c, "headers")
|
|
30
|
-
}), e = m(() => M(i.value.essence));
|
|
31
|
-
return (t, u) => (o(), n(P, {
|
|
21
|
+
setup(w) {
|
|
22
|
+
const c = w, s = R(!0), p = m(
|
|
23
|
+
() => !!(e.value?.raw && e.value.preview)
|
|
24
|
+
), g = m(() => s.value || !p.value), _ = m(() => !s.value || !p.value), { mimeType: i, attachmentFilename: x, dataUrl: o } = T({
|
|
25
|
+
data: f(c, "data"),
|
|
26
|
+
headers: f(c, "headers")
|
|
27
|
+
}), e = m(() => j(i.value.essence));
|
|
28
|
+
return (l, u) => (t(), n(N, {
|
|
32
29
|
class: "max-h-content overflow-y-hidden",
|
|
33
|
-
layout:
|
|
34
|
-
},
|
|
30
|
+
layout: l.layout
|
|
31
|
+
}, V({
|
|
35
32
|
title: d(() => [
|
|
36
|
-
|
|
33
|
+
h(y(l.title), 1)
|
|
34
|
+
]),
|
|
35
|
+
default: d(() => [
|
|
36
|
+
l.data ? (t(), b("div", D, [
|
|
37
|
+
v("div", F, [
|
|
38
|
+
v("span", I, y(a(i).essence), 1),
|
|
39
|
+
p.value ? (t(), n(U, {
|
|
40
|
+
key: 0,
|
|
41
|
+
modelValue: s.value,
|
|
42
|
+
"onUpdate:modelValue": u[0] || (u[0] = (k) => s.value = k)
|
|
43
|
+
}, null, 8, ["modelValue"])) : r("", !0)
|
|
44
|
+
]),
|
|
45
|
+
e.value?.raw && _.value ? (t(), n(S, {
|
|
46
|
+
key: a(o),
|
|
47
|
+
content: l.data,
|
|
48
|
+
language: e.value.language
|
|
49
|
+
}, null, 8, ["content", "language"])) : r("", !0),
|
|
50
|
+
e.value?.preview && g.value ? (t(), n(P, {
|
|
51
|
+
key: a(o),
|
|
52
|
+
alpha: e.value.alpha,
|
|
53
|
+
mode: e.value.preview,
|
|
54
|
+
src: a(o),
|
|
55
|
+
type: a(i).essence
|
|
56
|
+
}, null, 8, ["alpha", "mode", "src", "type"])) : r("", !0),
|
|
57
|
+
!e.value?.raw && !e.value?.preview ? (t(), n(E, { key: 2 }, {
|
|
58
|
+
default: d(() => u[1] || (u[1] = [
|
|
59
|
+
h(" Binary file ")
|
|
60
|
+
])),
|
|
61
|
+
_: 1,
|
|
62
|
+
__: [1]
|
|
63
|
+
})) : r("", !0)
|
|
64
|
+
])) : r("", !0)
|
|
37
65
|
]),
|
|
38
|
-
default: d(() => {
|
|
39
|
-
var f, v, y, h;
|
|
40
|
-
return [
|
|
41
|
-
t.data ? (o(), $("div", q, [
|
|
42
|
-
g("div", z, [
|
|
43
|
-
g("span", A, _(a(i).essence), 1),
|
|
44
|
-
p.value ? (o(), n(I, {
|
|
45
|
-
key: 0,
|
|
46
|
-
modelValue: s.value,
|
|
47
|
-
"onUpdate:modelValue": u[0] || (u[0] = (b) => s.value = b)
|
|
48
|
-
}, null, 8, ["modelValue"])) : r("", !0)
|
|
49
|
-
]),
|
|
50
|
-
(f = e.value) != null && f.raw && R.value ? (o(), n(F, {
|
|
51
|
-
key: a(l),
|
|
52
|
-
content: t.data,
|
|
53
|
-
language: e.value.language
|
|
54
|
-
}, null, 8, ["content", "language"])) : r("", !0),
|
|
55
|
-
(v = e.value) != null && v.preview && B.value ? (o(), n(D, {
|
|
56
|
-
key: a(l),
|
|
57
|
-
alpha: e.value.alpha,
|
|
58
|
-
mode: e.value.preview,
|
|
59
|
-
src: a(l),
|
|
60
|
-
type: a(i).essence
|
|
61
|
-
}, null, 8, ["alpha", "mode", "src", "type"])) : r("", !0),
|
|
62
|
-
!((y = e.value) != null && y.raw) && !((h = e.value) != null && h.preview) ? (o(), n(j, { key: 2 }, {
|
|
63
|
-
default: d(() => u[1] || (u[1] = [
|
|
64
|
-
x(" Binary file ")
|
|
65
|
-
])),
|
|
66
|
-
_: 1,
|
|
67
|
-
__: [1]
|
|
68
|
-
})) : r("", !0)
|
|
69
|
-
])) : r("", !0)
|
|
70
|
-
];
|
|
71
|
-
}),
|
|
72
66
|
_: 2
|
|
73
67
|
}, [
|
|
74
|
-
|
|
68
|
+
l.data && a(o) ? {
|
|
75
69
|
name: "actions",
|
|
76
70
|
fn: d(() => [
|
|
77
|
-
|
|
78
|
-
filename: a(
|
|
79
|
-
href: a(
|
|
71
|
+
C($, {
|
|
72
|
+
filename: a(x),
|
|
73
|
+
href: a(o),
|
|
80
74
|
type: a(i).essence
|
|
81
75
|
}, null, 8, ["filename", "href", "type"])
|
|
82
76
|
]),
|
|
@@ -86,5 +80,5 @@ const q = {
|
|
|
86
80
|
}
|
|
87
81
|
});
|
|
88
82
|
export {
|
|
89
|
-
|
|
83
|
+
O as default
|
|
90
84
|
};
|
|
@@ -10,8 +10,7 @@ const x = ["download", "href"], h = /* @__PURE__ */ l({
|
|
|
10
10
|
},
|
|
11
11
|
setup(s) {
|
|
12
12
|
const n = s, r = p(() => {
|
|
13
|
-
|
|
14
|
-
const o = ((e = u(n.type ?? "")) == null ? void 0 : e.extension) ?? ".unknown";
|
|
13
|
+
const o = u(n.type ?? "")?.extension ?? ".unknown";
|
|
15
14
|
return n.filename ? n.filename : `response${o}`;
|
|
16
15
|
});
|
|
17
16
|
return (o, e) => (i(), a("a", {
|
|
@@ -1,39 +1,36 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarCodeBlockCopy as
|
|
3
|
-
import { prettyPrintJson as
|
|
4
|
-
import { useCodeMirror as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as i, ref as u, useId as p, toRef as r, createElementBlock as m, openBlock as n, createBlock as f, createCommentVNode as _, createElementVNode as c, unref as l } from "vue";
|
|
2
|
+
import { ScalarCodeBlockCopy as g } from "@scalar/components";
|
|
3
|
+
import { prettyPrintJson as k } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import { useCodeMirror as y } from "@scalar/use-codemirror";
|
|
5
|
+
const b = { class: "scalar-code-block group/code-block body-raw grid min-h-0 overflow-hidden p-px outline-none has-[:focus-visible]:outline" }, v = {
|
|
6
6
|
class: "body-raw-scroller custom-scroll relative pr-1",
|
|
7
7
|
tabindex: "0"
|
|
8
|
-
}, M = /* @__PURE__ */
|
|
8
|
+
}, M = /* @__PURE__ */ i({
|
|
9
9
|
__name: "ResponseBodyRaw",
|
|
10
10
|
props: {
|
|
11
11
|
content: {},
|
|
12
12
|
language: {}
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
16
|
-
codeMirrorRef:
|
|
14
|
+
setup(s) {
|
|
15
|
+
const e = s, o = u(null), a = p(), { codeMirror: d } = y({
|
|
16
|
+
codeMirrorRef: o,
|
|
17
17
|
readOnly: !0,
|
|
18
18
|
lineNumbers: !0,
|
|
19
|
-
content:
|
|
20
|
-
language:
|
|
19
|
+
content: r(() => k(e.content)),
|
|
20
|
+
language: r(() => e.language),
|
|
21
21
|
forceFoldGutter: !0
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
return (e, h) => (c(), f("div", v, [
|
|
27
|
-
r() ? (c(), _(s(k), {
|
|
22
|
+
}), t = () => d.value?.state.doc.toString() || "";
|
|
23
|
+
return (C, h) => (n(), m("div", b, [
|
|
24
|
+
t() ? (n(), f(l(g), {
|
|
28
25
|
key: 0,
|
|
29
|
-
content:
|
|
30
|
-
controls:
|
|
26
|
+
content: t(),
|
|
27
|
+
controls: l(a),
|
|
31
28
|
class: "z-context top-2 mr-2"
|
|
32
|
-
}, null, 8, ["content", "controls"])) :
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
}, null, 8, ["content", "controls"])) : _("", !0),
|
|
30
|
+
c("div", v, [
|
|
31
|
+
c("div", {
|
|
35
32
|
ref_key: "codeMirrorRef",
|
|
36
|
-
ref:
|
|
33
|
+
ref: o
|
|
37
34
|
}, null, 512)
|
|
38
35
|
])
|
|
39
36
|
]));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarHotkey as
|
|
1
|
+
import { defineComponent as w, onMounted as q, onBeforeUnmount as R, createElementBlock as l, openBlock as i, createElementVNode as s, createCommentVNode as m, normalizeClass as y, unref as t, createVNode as u, createTextVNode as c, toDisplayString as h, nextTick as S } from "vue";
|
|
2
|
+
import { ScalarHotkey as p } from "@scalar/components";
|
|
3
3
|
import { useRoute as C, useRouter as N } from "vue-router";
|
|
4
4
|
import B from "../../../assets/computer.ascii.js";
|
|
5
5
|
import V from "../../../components/EmptyState.vue.js";
|
|
@@ -9,7 +9,7 @@ import { useLayout as A } from "../../../hooks/useLayout.js";
|
|
|
9
9
|
const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize" }, $ = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "scalar-version-number"
|
|
12
|
-
}, j = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, U = /* @__PURE__ */
|
|
12
|
+
}, j = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, U = /* @__PURE__ */ w({
|
|
13
13
|
__name: "ResponseEmpty",
|
|
14
14
|
props: {
|
|
15
15
|
collection: {},
|
|
@@ -18,9 +18,8 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
18
18
|
numWorkspaceRequests: {}
|
|
19
19
|
},
|
|
20
20
|
setup(r) {
|
|
21
|
-
const { events: a, requestMutators: x } = K(), g = C(), b = N(), { layout: n } = A(),
|
|
22
|
-
|
|
23
|
-
const o = (l = r.operation.tags) != null && l.length ? { tags: r.operation.tags[0] ? [r.operation.tags[0]] : [] } : {}, e = x.add(o, r.collection.uid);
|
|
21
|
+
const { events: a, requestMutators: x } = K(), g = C(), b = N(), { layout: n } = A(), d = () => {
|
|
22
|
+
const o = r.operation.tags?.length ? { tags: r.operation.tags[0] ? [r.operation.tags[0]] : [] } : {}, e = x.add(o, r.collection.uid);
|
|
24
23
|
e && (b.push({
|
|
25
24
|
name: "request",
|
|
26
25
|
params: {
|
|
@@ -32,68 +31,68 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
32
31
|
focusAddressBar: new KeyboardEvent("keydown", { key: "l" })
|
|
33
32
|
});
|
|
34
33
|
}));
|
|
35
|
-
},
|
|
36
|
-
o
|
|
37
|
-
},
|
|
38
|
-
return
|
|
34
|
+
}, f = (o) => {
|
|
35
|
+
o?.createNew && g.name === "request" && d();
|
|
36
|
+
}, v = "2.5.33";
|
|
37
|
+
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
|
|
39
38
|
s("div", {
|
|
40
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
41
40
|
"hidden opacity-0": o.numWorkspaceRequests <= 1 && t(n) !== "modal"
|
|
42
41
|
}])
|
|
43
42
|
}, [
|
|
44
|
-
t(n) !== "modal" ? (
|
|
45
|
-
|
|
43
|
+
t(n) !== "modal" ? (i(), l("div", $, [
|
|
44
|
+
c(" Scalar App V" + h(t(v)) + " Beta ", 1),
|
|
46
45
|
e[3] || (e[3] = s("div", { class: "mt-2" }, [
|
|
47
46
|
s("a", {
|
|
48
47
|
href: "https://github.com/scalar/scalar/issues/2669",
|
|
49
48
|
target: "_blank"
|
|
50
49
|
}, " Roadmap ")
|
|
51
50
|
], -1))
|
|
52
|
-
])) :
|
|
51
|
+
])) : m("", !0),
|
|
53
52
|
e[4] || (e[4] = s("a", {
|
|
54
53
|
class: "gitbook-show scalar-version-number",
|
|
55
54
|
href: "https://www.scalar.com",
|
|
56
55
|
target: "_blank"
|
|
57
56
|
}, " Powered By Scalar.com ", -1)),
|
|
58
|
-
|
|
57
|
+
u(E, {
|
|
59
58
|
art: t(B),
|
|
60
59
|
class: "text-c-3"
|
|
61
60
|
}, null, 8, ["art"])
|
|
62
61
|
], 2),
|
|
63
|
-
t(n) !== "modal" ? (
|
|
62
|
+
t(n) !== "modal" ? (i(), l("div", {
|
|
64
63
|
key: 0,
|
|
65
64
|
class: y(["hidden h-[calc(100%_-_50px)] items-center justify-center pb-5", {
|
|
66
65
|
"!flex opacity-100": o.numWorkspaceRequests == 1
|
|
67
66
|
}])
|
|
68
67
|
}, [
|
|
69
|
-
|
|
70
|
-
], 2)) :
|
|
68
|
+
u(V)
|
|
69
|
+
], 2)) : m("", !0),
|
|
71
70
|
s("div", j, [
|
|
72
|
-
t(n) !== "modal" ? (
|
|
71
|
+
t(n) !== "modal" ? (i(), l("button", {
|
|
73
72
|
key: 0,
|
|
74
73
|
class: "flex items-center gap-1.5",
|
|
75
74
|
type: "button",
|
|
76
|
-
onClick: e[0] || (e[0] = (
|
|
75
|
+
onClick: e[0] || (e[0] = (k) => t(a).commandPalette.emit())
|
|
77
76
|
}, [
|
|
78
|
-
e[5] || (e[5] =
|
|
79
|
-
|
|
80
|
-
])) :
|
|
81
|
-
t(n) === "desktop" ? (
|
|
77
|
+
e[5] || (e[5] = c(" Get Started ")),
|
|
78
|
+
u(t(p), { hotkey: "k" })
|
|
79
|
+
])) : m("", !0),
|
|
80
|
+
t(n) === "desktop" ? (i(), l("button", {
|
|
82
81
|
key: 1,
|
|
83
82
|
class: "flex items-center gap-1.5",
|
|
84
83
|
type: "button",
|
|
85
|
-
onClick: e[1] || (e[1] = (
|
|
84
|
+
onClick: e[1] || (e[1] = (k) => d())
|
|
86
85
|
}, [
|
|
87
|
-
e[6] || (e[6] =
|
|
88
|
-
|
|
89
|
-
])) :
|
|
86
|
+
e[6] || (e[6] = c(" New Request ")),
|
|
87
|
+
u(t(p), { hotkey: "N" })
|
|
88
|
+
])) : m("", !0),
|
|
90
89
|
s("button", {
|
|
91
90
|
class: "flex items-center gap-1.5",
|
|
92
91
|
type: "button",
|
|
93
|
-
onClick: e[2] || (e[2] = (
|
|
92
|
+
onClick: e[2] || (e[2] = (k) => t(a).executeRequest.emit())
|
|
94
93
|
}, [
|
|
95
|
-
e[7] || (e[7] =
|
|
96
|
-
|
|
94
|
+
e[7] || (e[7] = c(" Send Request ")),
|
|
95
|
+
u(t(p), { hotkey: "↵" })
|
|
97
96
|
])
|
|
98
97
|
])
|
|
99
98
|
]));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { httpHeaders as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as x, createBlock as f, openBlock as t, withCtx as e, createElementBlock as l, createVNode as a, unref as d, createTextVNode as n, Fragment as u, renderList as y, toDisplayString as i } from "vue";
|
|
2
|
+
import b from "../../../components/DataTable/DataTable.vue.js";
|
|
3
|
+
import p from "../../../components/DataTable/DataTableRow.vue.js";
|
|
4
|
+
import c from "../../../components/DataTable/DataTableText.vue.js";
|
|
5
|
+
import g from "../../../components/HelpfulLink.vue.js";
|
|
6
|
+
import k from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
7
|
+
import { httpHeaders as w } from "../../../data/httpHeaders.js";
|
|
8
|
+
import _ from "../../../components/DataTable/DataTableHeader.vue.js";
|
|
9
|
+
const h = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "max-h-[calc(100%-32px)] overflow-y-auto"
|
|
12
|
-
},
|
|
12
|
+
}, H = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "text-c-3 bg-b-1 flex min-h-12 items-center justify-center rounded border px-4 text-base"
|
|
15
|
-
},
|
|
15
|
+
}, D = /* @__PURE__ */ x({
|
|
16
16
|
__name: "ResponseHeaders",
|
|
17
17
|
props: {
|
|
18
18
|
headers: {}
|
|
19
19
|
},
|
|
20
|
-
setup(
|
|
21
|
-
const m = (s) =>
|
|
20
|
+
setup(C) {
|
|
21
|
+
const m = (s) => w.find(
|
|
22
22
|
(r) => r.name.toLowerCase() === s.toLowerCase()
|
|
23
23
|
);
|
|
24
|
-
return (s, r) => (t(), f(
|
|
24
|
+
return (s, r) => (t(), f(k, {
|
|
25
25
|
class: "overflow-auto",
|
|
26
26
|
defaultOpen: !1,
|
|
27
27
|
itemCount: s.headers.length
|
|
@@ -30,22 +30,22 @@ const H = {
|
|
|
30
30
|
n("Response Headers")
|
|
31
31
|
])),
|
|
32
32
|
default: e(() => [
|
|
33
|
-
s.headers.length ? (t(), l("div",
|
|
34
|
-
a(
|
|
33
|
+
s.headers.length ? (t(), l("div", h, [
|
|
34
|
+
a(b, {
|
|
35
35
|
columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"],
|
|
36
36
|
scroll: ""
|
|
37
37
|
}, {
|
|
38
38
|
default: e(() => [
|
|
39
|
-
a(
|
|
39
|
+
a(p, { class: "sr-only !block" }, {
|
|
40
40
|
default: e(() => [
|
|
41
|
-
a(
|
|
41
|
+
a(d(_), null, {
|
|
42
42
|
default: e(() => r[1] || (r[1] = [
|
|
43
43
|
n("Header Key")
|
|
44
44
|
])),
|
|
45
45
|
_: 1,
|
|
46
46
|
__: [1]
|
|
47
47
|
}),
|
|
48
|
-
a(
|
|
48
|
+
a(d(_), null, {
|
|
49
49
|
default: e(() => r[2] || (r[2] = [
|
|
50
50
|
n("Header Value")
|
|
51
51
|
])),
|
|
@@ -55,32 +55,29 @@ const H = {
|
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}),
|
|
58
|
-
(t(!0), l(
|
|
58
|
+
(t(!0), l(u, null, y(s.headers, (o) => (t(), f(p, {
|
|
59
59
|
key: o.name,
|
|
60
60
|
class: "group/row text-c-1"
|
|
61
61
|
}, {
|
|
62
62
|
default: e(() => [
|
|
63
|
-
a(
|
|
64
|
-
default: e(() =>
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
], 64))
|
|
79
|
-
];
|
|
80
|
-
}),
|
|
63
|
+
a(c, { class: "bg-b-1 sticky left-0 z-1 max-w-48 group-first/row:border-t-0" }, {
|
|
64
|
+
default: e(() => [
|
|
65
|
+
typeof m(o.name)?.url == "string" ? (t(), f(g, {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: "decoration-c-3",
|
|
68
|
+
href: m(o.name).url
|
|
69
|
+
}, {
|
|
70
|
+
default: e(() => [
|
|
71
|
+
n(i(o.name), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, 1032, ["href"])) : (t(), l(u, { key: 1 }, [
|
|
75
|
+
n(i(o.name), 1)
|
|
76
|
+
], 64))
|
|
77
|
+
]),
|
|
81
78
|
_: 2
|
|
82
79
|
}, 1024),
|
|
83
|
-
a(
|
|
80
|
+
a(c, {
|
|
84
81
|
class: "z-0 group-first/row:border-t-0",
|
|
85
82
|
text: o.value
|
|
86
83
|
}, null, 8, ["text"])
|
|
@@ -90,12 +87,12 @@ const H = {
|
|
|
90
87
|
]),
|
|
91
88
|
_: 1
|
|
92
89
|
})
|
|
93
|
-
])) : (t(), l("div",
|
|
90
|
+
])) : (t(), l("div", H, " No Headers "))
|
|
94
91
|
]),
|
|
95
92
|
_: 1
|
|
96
93
|
}, 8, ["itemCount"]));
|
|
97
94
|
}
|
|
98
95
|
});
|
|
99
96
|
export {
|
|
100
|
-
|
|
97
|
+
D as default
|
|
101
98
|
};
|
|
@@ -1,68 +1,67 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { httpStatusCodes as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { useWorkspace as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as C, ref as c, computed as S, createElementBlock as r, openBlock as o, toDisplayString as n, unref as m, Fragment as d, createElementVNode as a, createCommentVNode as f, createTextVNode as p, createBlock as I, withCtx as _, normalizeStyle as v } from "vue";
|
|
2
|
+
import { httpStatusCodes as b } from "@scalar/oas-utils/helpers";
|
|
3
|
+
import w from "pretty-bytes";
|
|
4
|
+
import y from "pretty-ms";
|
|
5
|
+
import B from "../../../components/HelpfulLink.vue.js";
|
|
6
|
+
import { useWorkspace as N } from "../../../store/store.js";
|
|
7
|
+
const L = { class: "text-c-1 flex gap-1.5" }, V = { key: 0 }, x = { key: 0 }, z = { key: 1 }, T = /* @__PURE__ */ C({
|
|
8
8
|
__name: "ResponseMetaInformation",
|
|
9
9
|
props: {
|
|
10
10
|
response: {}
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
setup(k) {
|
|
13
|
+
const h = k, { events: g } = N(), l = c(), u = c(0);
|
|
14
|
+
g.requestStatus.on((e) => {
|
|
15
15
|
e === "start" ? l.value = setInterval(() => u.value += 1e3, 1e3) : (clearInterval(l.value), l.value = void 0, u.value = 0);
|
|
16
16
|
});
|
|
17
17
|
const i = (e) => {
|
|
18
|
-
var c, m;
|
|
19
18
|
const t = Number.parseInt(
|
|
20
|
-
|
|
19
|
+
e.headers?.["Content-Length"] || e.headers?.["content-length"] || "0",
|
|
21
20
|
10
|
|
22
21
|
);
|
|
23
|
-
return t ?
|
|
24
|
-
}, s =
|
|
25
|
-
const e =
|
|
22
|
+
return t ? w(t) : void 0;
|
|
23
|
+
}, s = S(() => {
|
|
24
|
+
const e = h.response.status;
|
|
26
25
|
if (e)
|
|
27
|
-
return
|
|
26
|
+
return b[e] ?? void 0;
|
|
28
27
|
});
|
|
29
|
-
return (e, t) => (o(), r("div",
|
|
30
|
-
l.value && u.value ? (o(), r("span",
|
|
28
|
+
return (e, t) => (o(), r("div", L, [
|
|
29
|
+
l.value && u.value ? (o(), r("span", V, n(m(y)(u.value)), 1)) : (o(), r(d, { key: 1 }, [
|
|
31
30
|
a("span", null, [
|
|
32
31
|
t[0] || (t[0] = a("span", { class: "sr-only" }, "Response Information, Duration:", -1)),
|
|
33
|
-
p(" " + n(
|
|
32
|
+
p(" " + n(m(y)(e.response.duration)), 1)
|
|
34
33
|
]),
|
|
35
|
-
i(e.response) ? (o(), r("span",
|
|
34
|
+
i(e.response) ? (o(), r("span", x, [
|
|
36
35
|
t[1] || (t[1] = a("span", { class: "sr-only" }, ", Size:", -1)),
|
|
37
36
|
p(" " + n(i(e.response)), 1)
|
|
38
|
-
])) :
|
|
39
|
-
s.value ? (o(), r(
|
|
37
|
+
])) : f("", !0),
|
|
38
|
+
s.value ? (o(), r(d, { key: 1 }, [
|
|
40
39
|
t[2] || (t[2] = a("span", { class: "sr-only" }, ", Status:", -1)),
|
|
41
|
-
s.value.url ? (o(),
|
|
40
|
+
s.value.url ? (o(), I(B, {
|
|
42
41
|
key: 0,
|
|
43
42
|
class: "flex items-center gap-1.5",
|
|
44
43
|
href: s.value.url
|
|
45
44
|
}, {
|
|
46
|
-
default:
|
|
45
|
+
default: _(() => [
|
|
47
46
|
p(n(e.response.status) + " " + n(s.value.name) + " ", 1),
|
|
48
47
|
a("span", {
|
|
49
48
|
class: "block h-1.5 w-1.5 rounded-full",
|
|
50
|
-
style:
|
|
49
|
+
style: v({ backgroundColor: s.value.color })
|
|
51
50
|
}, null, 4)
|
|
52
51
|
]),
|
|
53
52
|
_: 1
|
|
54
|
-
}, 8, ["href"])) : (o(), r("span",
|
|
53
|
+
}, 8, ["href"])) : (o(), r("span", z, [
|
|
55
54
|
p(n(e.response.status) + " " + n(s.value.name) + " ", 1),
|
|
56
55
|
a("span", {
|
|
57
56
|
class: "block h-1.5 w-1.5 rounded-full",
|
|
58
|
-
style:
|
|
57
|
+
style: v({ backgroundColor: s.value.color })
|
|
59
58
|
}, null, 4)
|
|
60
59
|
]))
|
|
61
|
-
], 64)) :
|
|
60
|
+
], 64)) : f("", !0)
|
|
62
61
|
], 64))
|
|
63
62
|
]));
|
|
64
63
|
}
|
|
65
64
|
});
|
|
66
65
|
export {
|
|
67
|
-
|
|
66
|
+
T as default
|
|
68
67
|
};
|