@scalar/api-client 2.5.13 → 2.5.16
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 +77 -0
- package/README.md +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +3 -3
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.js +11 -10
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +10 -10
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +129 -116
- package/dist/components/DataTable/DataTableCell.vue.js +8 -8
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/Form/Form.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +7 -7
- package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +1 -1
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts +5 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.js +20 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/import-collection.js +1 -1
- package/dist/components/ImportCollection/utils/{isDocument.d.ts → is-document.d.ts} +2 -2
- package/dist/components/ImportCollection/utils/is-document.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-document.js +9 -0
- package/dist/components/ImportCollection/utils/is-document.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-url.d.ts +5 -0
- package/dist/components/ImportCollection/utils/is-url.d.ts.map +1 -0
- package/dist/components/ImportCollection/utils/is-url.js +9 -0
- package/dist/components/ImportCollection/utils/is-url.test.d.ts +2 -0
- package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +1 -0
- package/dist/components/OpenApiClientButton.vue.js +2 -2
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +8 -8
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerSelector.vue.js +13 -13
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +3 -3
- package/dist/components/TopNav/TopNav.vue.js +10 -10
- package/dist/components/TopNav/TopNavItem.vue.js +1 -1
- package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +5 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +42 -36
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +4 -4
- package/dist/hooks/useClientConfig.d.ts +42 -36
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +202 -162
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +404 -324
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +202 -162
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +202 -162
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +5 -5
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.js +15 -7
- package/dist/libs/send-request/create-request-operation.js +10 -10
- package/dist/libs/send-request/create-request-operation.test.d.ts +33 -33
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.d.ts +5 -3
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.js +17 -9
- package/dist/plugins/plugin-manager.test.d.ts +2 -0
- package/dist/plugins/plugin-manager.test.d.ts.map +1 -0
- package/dist/store/active-entities.d.ts +33 -33
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +130 -130
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +55 -55
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +42 -2
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +204 -164
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
- package/dist/views/Collection/components/EnvironmentForm.vue.js +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue2.js +32 -26
- package/dist/views/Cookies/CookieForm.vue.js +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +67 -61
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +98 -92
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +126 -122
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +22 -22
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +9 -9
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +9 -9
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +9 -9
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +2 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +39 -39
- package/dist/views/Settings/SettingsGeneral.vue.js +2 -2
- package/package.json +19 -19
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts +0 -5
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.js +0 -20
- package/dist/components/ImportCollection/utils/isDocument.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/isDocument.js +0 -7
- package/dist/components/ImportCollection/utils/isUrl.d.ts +0 -3
- package/dist/components/ImportCollection/utils/isUrl.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/isUrl.js +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as $, useId as
|
|
1
|
+
import { defineComponent as $, useId as N, ref as k, computed as h, createBlock as K, openBlock as m, withCtx as d, createVNode as f, unref as r, createElementVNode as a, createElementBlock as v, Fragment as x, createTextVNode as A, toDisplayString as C, createCommentVNode as j, normalizeClass as z } from "vue";
|
|
2
2
|
import { useModal as W, ScalarComboboxMultiselect as Y, ScalarButton as F, ScalarIcon as H } from "@scalar/components";
|
|
3
|
-
import { safeLocalStorage as J, CLIENT_LS_KEYS as
|
|
4
|
-
import { isDefined as
|
|
3
|
+
import { safeLocalStorage as J, CLIENT_LS_KEYS as P } from "@scalar/helpers/object/local-storage";
|
|
4
|
+
import { isDefined as G } from "@scalar/oas-utils/helpers";
|
|
5
5
|
import Q from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
6
6
|
import { useLayout as X } from "../../../../hooks/useLayout.js";
|
|
7
7
|
import { useWorkspace as Z } from "../../../../store/store.js";
|
|
8
8
|
import _ from "./DeleteRequestAuthModal.vue.js";
|
|
9
9
|
import ee from "./RequestAuthDataTable.vue.js";
|
|
10
|
-
import { getSecurityRequirements as te, formatComplexScheme as
|
|
11
|
-
const se = ["id"], re = { class: "-
|
|
10
|
+
import { getSecurityRequirements as te, formatComplexScheme as oe, formatScheme as le, getSchemeOptions as ne } from "../../libs/auth.js";
|
|
11
|
+
const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class: "text-c-1" }, Se = /* @__PURE__ */ $({
|
|
12
12
|
__name: "RequestAuth",
|
|
13
13
|
props: {
|
|
14
14
|
collection: {},
|
|
@@ -23,145 +23,149 @@ const se = ["id"], re = { class: "-mx-1 flex flex-1" }, ie = { class: "text-c-1"
|
|
|
23
23
|
workspace: {}
|
|
24
24
|
},
|
|
25
25
|
setup(s) {
|
|
26
|
-
const { layout:
|
|
27
|
-
securitySchemes:
|
|
26
|
+
const { layout: q } = X(), {
|
|
27
|
+
securitySchemes: c,
|
|
28
28
|
securitySchemeMutators: O,
|
|
29
|
-
requestMutators:
|
|
30
|
-
collectionMutators:
|
|
31
|
-
} = Z(),
|
|
29
|
+
requestMutators: w,
|
|
30
|
+
collectionMutators: U
|
|
31
|
+
} = Z(), R = N(), S = k(null), p = W(), b = k(
|
|
32
32
|
null
|
|
33
|
-
), V =
|
|
34
|
-
const
|
|
35
|
-
return { filteredRequirements:
|
|
36
|
-
}), g =
|
|
37
|
-
const { filteredRequirements:
|
|
38
|
-
if (!
|
|
33
|
+
), V = k(!1), D = h(() => {
|
|
34
|
+
const t = te(s.operation, s.collection);
|
|
35
|
+
return { filteredRequirements: t.filter((o) => Object.keys(o).length), requirements: t };
|
|
36
|
+
}), g = h(() => {
|
|
37
|
+
const { filteredRequirements: t, requirements: e } = D.value;
|
|
38
|
+
if (!e.length)
|
|
39
39
|
return null;
|
|
40
|
-
const
|
|
41
|
-
(
|
|
42
|
-
) &&
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
if (
|
|
50
|
-
return le(e
|
|
51
|
-
|
|
52
|
-
if (t)
|
|
53
|
-
return oe(t);
|
|
54
|
-
}).filter(P)
|
|
40
|
+
const l = !e.some(
|
|
41
|
+
(y) => Object.keys(y).length > 1
|
|
42
|
+
) && t.length < e.length;
|
|
43
|
+
return { icon: l ? "Unlock" : "Lock", text: l ? "Optional" : "Required" };
|
|
44
|
+
}), u = h(
|
|
45
|
+
() => s.selectedSecuritySchemeUids.map((t) => {
|
|
46
|
+
if (Array.isArray(t))
|
|
47
|
+
return oe(t, c);
|
|
48
|
+
const e = c[t ?? ""];
|
|
49
|
+
if (e)
|
|
50
|
+
return le(e);
|
|
51
|
+
}).filter(G)
|
|
55
52
|
);
|
|
56
|
-
function
|
|
57
|
-
var
|
|
58
|
-
const
|
|
59
|
-
const
|
|
60
|
-
return
|
|
53
|
+
function L(t) {
|
|
54
|
+
var l;
|
|
55
|
+
const e = t.find((n) => n.payload), o = t.filter((n) => !n.payload).map(({ id: n }) => {
|
|
56
|
+
const i = n.split(",");
|
|
57
|
+
return i.length > 1 ? i : n;
|
|
61
58
|
});
|
|
62
|
-
if (
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
(
|
|
59
|
+
if (e != null && e.payload) {
|
|
60
|
+
const n = O.add(
|
|
61
|
+
e.payload,
|
|
62
|
+
(l = s.collection) == null ? void 0 : l.uid
|
|
66
63
|
);
|
|
67
|
-
|
|
64
|
+
n && o.push(n.uid);
|
|
68
65
|
}
|
|
69
|
-
|
|
66
|
+
E(o);
|
|
70
67
|
}
|
|
71
|
-
const
|
|
72
|
-
var
|
|
68
|
+
const E = (t) => {
|
|
69
|
+
var e;
|
|
73
70
|
if (s.collection.useCollectionSecurity) {
|
|
74
|
-
if (
|
|
71
|
+
if (U.edit(s.collection.uid, "selectedSecuritySchemeUids", t), !s.persistAuth)
|
|
75
72
|
return;
|
|
76
|
-
const
|
|
77
|
-
var
|
|
78
|
-
return Array.isArray(
|
|
79
|
-
var
|
|
80
|
-
return (
|
|
81
|
-
}) : (
|
|
73
|
+
const o = t.map((l) => {
|
|
74
|
+
var n;
|
|
75
|
+
return Array.isArray(l) ? l.map((i) => {
|
|
76
|
+
var y;
|
|
77
|
+
return (y = c[i]) == null ? void 0 : y.nameKey;
|
|
78
|
+
}) : (n = c[l]) == null ? void 0 : n.nameKey;
|
|
82
79
|
});
|
|
83
80
|
J().setItem(
|
|
84
|
-
|
|
85
|
-
JSON.stringify(
|
|
81
|
+
P.SELECTED_SECURITY_SCHEMES,
|
|
82
|
+
JSON.stringify(o)
|
|
86
83
|
);
|
|
87
|
-
} else (
|
|
84
|
+
} else (e = s.operation) != null && e.uid && w.edit(s.operation.uid, "selectedSecuritySchemeUids", t);
|
|
88
85
|
};
|
|
89
|
-
function
|
|
90
|
-
|
|
86
|
+
function M({ id: t, label: e }) {
|
|
87
|
+
b.value = { id: t, label: e }, p.show();
|
|
91
88
|
}
|
|
92
|
-
const
|
|
93
|
-
var
|
|
94
|
-
if (!
|
|
89
|
+
const T = (t) => {
|
|
90
|
+
var o;
|
|
91
|
+
if (!t)
|
|
95
92
|
return;
|
|
96
|
-
const
|
|
97
|
-
const
|
|
98
|
-
return
|
|
93
|
+
const e = s.selectedSecuritySchemeUids.filter((l) => {
|
|
94
|
+
const n = t.split(",");
|
|
95
|
+
return n.length > 1 && Array.isArray(l) && n.length === l.length ? l.every((i) => !n.includes(i)) : l !== t;
|
|
99
96
|
});
|
|
100
|
-
|
|
101
|
-
},
|
|
97
|
+
E(e), (o = S.value) == null || o.$el.focus(), p.hide();
|
|
98
|
+
}, B = h(
|
|
102
99
|
() => {
|
|
103
|
-
var
|
|
100
|
+
var t;
|
|
104
101
|
return ne(
|
|
105
|
-
|
|
106
|
-
((
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
D.value.filteredRequirements,
|
|
103
|
+
((t = s.collection) == null ? void 0 : t.securitySchemes) ?? [],
|
|
104
|
+
c,
|
|
105
|
+
q === "modal" || s.layout === "reference"
|
|
109
106
|
);
|
|
110
107
|
}
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
), I = (t) => {
|
|
109
|
+
var e;
|
|
110
|
+
V.value && t.stopPropagation(), (e = S.value) == null || e.$el.click();
|
|
111
|
+
};
|
|
112
|
+
return (t, e) => (m(), K(Q, {
|
|
113
|
+
class: "group/params relative",
|
|
114
|
+
itemCount: u.value.length,
|
|
115
|
+
layout: t.layout,
|
|
116
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => V.value = o)
|
|
116
117
|
}, {
|
|
117
|
-
title:
|
|
118
|
+
title: d(() => [
|
|
118
119
|
a("div", {
|
|
119
|
-
id:
|
|
120
|
-
class: "inline-flex items-center gap-
|
|
120
|
+
id: r(R),
|
|
121
|
+
class: "inline-flex items-center gap-0.5"
|
|
121
122
|
}, [
|
|
122
|
-
a("span", null,
|
|
123
|
-
g.value ? (
|
|
123
|
+
a("span", null, C(t.title), 1),
|
|
124
|
+
g.value ? (m(), v("span", {
|
|
124
125
|
key: 0,
|
|
125
|
-
class: z(["text-c-3 text-xs leading-[normal]", { "text-c-1": g.value.text === "Required" }])
|
|
126
|
-
|
|
126
|
+
class: z(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": g.value.text === "Required" }]),
|
|
127
|
+
onClick: I
|
|
128
|
+
}, C(g.value.text), 3)) : j("", !0)
|
|
127
129
|
], 8, se)
|
|
128
130
|
]),
|
|
129
|
-
actions:
|
|
131
|
+
actions: d(() => [
|
|
130
132
|
a("div", re, [
|
|
131
|
-
|
|
133
|
+
f(r(Y), {
|
|
132
134
|
class: "w-72 text-xs",
|
|
133
|
-
isDeletable:
|
|
134
|
-
modelValue:
|
|
135
|
+
isDeletable: r(q) !== "modal" && t.layout !== "reference",
|
|
136
|
+
modelValue: u.value,
|
|
137
|
+
teleport: "",
|
|
135
138
|
multiple: "",
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
placement: "bottom-end",
|
|
140
|
+
options: B.value,
|
|
141
|
+
onDelete: M,
|
|
142
|
+
"onUpdate:modelValue": L
|
|
139
143
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
144
|
+
default: d(() => [
|
|
145
|
+
f(r(F), {
|
|
142
146
|
ref_key: "comboboxButtonRef",
|
|
143
|
-
ref:
|
|
144
|
-
"aria-describedby":
|
|
147
|
+
ref: S,
|
|
148
|
+
"aria-describedby": r(R),
|
|
145
149
|
class: "hover:bg-b-3 text-c-1 hover:text-c-1 h-fit px-1.5 py-0.25 font-normal",
|
|
146
150
|
fullWidth: "",
|
|
147
151
|
variant: "ghost"
|
|
148
152
|
}, {
|
|
149
|
-
default:
|
|
150
|
-
var
|
|
153
|
+
default: d(() => {
|
|
154
|
+
var o;
|
|
151
155
|
return [
|
|
152
156
|
a("div", ie, [
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
], 64)) :
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
], 64)) : (
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
u.value.length === 0 ? (m(), v(x, { key: 0 }, [
|
|
158
|
+
e[3] || (e[3] = a("span", { class: "sr-only" }, "Select", -1)),
|
|
159
|
+
e[4] || (e[4] = A(" Auth Type "))
|
|
160
|
+
], 64)) : u.value.length === 1 ? (m(), v(x, { key: 1 }, [
|
|
161
|
+
e[5] || (e[5] = a("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
|
|
162
|
+
A(" " + C((o = u.value[0]) == null ? void 0 : o.label), 1)
|
|
163
|
+
], 64)) : (m(), v(x, { key: 2 }, [
|
|
164
|
+
e[6] || (e[6] = A(" Multiple ")),
|
|
165
|
+
e[7] || (e[7] = a("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
162
166
|
], 64))
|
|
163
167
|
]),
|
|
164
|
-
|
|
168
|
+
f(r(H), {
|
|
165
169
|
class: "ml-1 shrink-0",
|
|
166
170
|
icon: "ChevronDown",
|
|
167
171
|
size: "sm"
|
|
@@ -175,24 +179,24 @@ const se = ["id"], re = { class: "-mx-1 flex flex-1" }, ie = { class: "text-c-1"
|
|
|
175
179
|
}, 8, ["isDeletable", "modelValue", "options"])
|
|
176
180
|
])
|
|
177
181
|
]),
|
|
178
|
-
default:
|
|
179
|
-
|
|
180
|
-
collection:
|
|
181
|
-
envVariables:
|
|
182
|
-
environment:
|
|
183
|
-
layout:
|
|
184
|
-
persistAuth:
|
|
185
|
-
selectedSchemeOptions:
|
|
186
|
-
server:
|
|
187
|
-
workspace:
|
|
182
|
+
default: d(() => [
|
|
183
|
+
f(ee, {
|
|
184
|
+
collection: t.collection,
|
|
185
|
+
envVariables: t.envVariables,
|
|
186
|
+
environment: t.environment,
|
|
187
|
+
layout: t.layout,
|
|
188
|
+
persistAuth: t.persistAuth,
|
|
189
|
+
selectedSchemeOptions: u.value,
|
|
190
|
+
server: t.server,
|
|
191
|
+
workspace: t.workspace
|
|
188
192
|
}, null, 8, ["collection", "envVariables", "environment", "layout", "persistAuth", "selectedSchemeOptions", "server", "workspace"]),
|
|
189
|
-
|
|
190
|
-
scheme:
|
|
191
|
-
state:
|
|
192
|
-
onClose:
|
|
193
|
-
onDelete:
|
|
194
|
-
var
|
|
195
|
-
return
|
|
193
|
+
f(_, {
|
|
194
|
+
scheme: b.value,
|
|
195
|
+
state: r(p),
|
|
196
|
+
onClose: e[0] || (e[0] = (o) => r(p).hide()),
|
|
197
|
+
onDelete: e[1] || (e[1] = (o) => {
|
|
198
|
+
var l;
|
|
199
|
+
return T((l = b.value) == null ? void 0 : l.id);
|
|
196
200
|
})
|
|
197
201
|
}, null, 8, ["scheme", "state"])
|
|
198
202
|
]),
|
|
@@ -201,5 +205,5 @@ const se = ["id"], re = { class: "-mx-1 flex flex-1" }, ie = { class: "text-c-1"
|
|
|
201
205
|
}
|
|
202
206
|
});
|
|
203
207
|
export {
|
|
204
|
-
|
|
208
|
+
Se as default
|
|
205
209
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuthTab.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-292b33c8"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, computed as P, ref as R, onMounted as q, createElementBlock as i, openBlock as l, Fragment as p, renderList as C, createBlock as S, createCommentVNode as v, unref as d, normalizeClass as g, withCtx as n, createVNode as u, createTextVNode as
|
|
1
|
+
import { defineComponent as F, computed as P, ref as R, onMounted as q, createElementBlock as i, openBlock as l, Fragment as p, renderList as C, createBlock as S, createCommentVNode as v, unref as d, normalizeClass as g, withCtx as n, createVNode as u, createTextVNode as V, toDisplayString as _, mergeProps as k, createElementVNode as A, capitalize as U } from "vue";
|
|
2
2
|
import { ScalarMarkdown as z } from "@scalar/components";
|
|
3
3
|
import { safeLocalStorage as I, CLIENT_LS_KEYS as N } from "@scalar/helpers/object/local-storage";
|
|
4
4
|
import { isDefined as j } from "@scalar/oas-utils/helpers";
|
|
@@ -10,7 +10,7 @@ import f from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
|
10
10
|
import B from "../../../../components/DataTable/DataTableCell.vue.js";
|
|
11
11
|
const J = {
|
|
12
12
|
key: 0,
|
|
13
|
-
class: "flex min-h-8 border-t text-
|
|
13
|
+
class: "flex min-h-8 border-t text-base"
|
|
14
14
|
}, Y = { class: "flex h-8 max-w-full gap-2.5 overflow-x-auto px-3" }, W = ["onClick"], G = { class: "relative z-10" }, ue = /* @__PURE__ */ F({
|
|
15
15
|
__name: "RequestAuthTab",
|
|
16
16
|
props: {
|
|
@@ -37,7 +37,7 @@ const J = {
|
|
|
37
37
|
return `${U(t.nameKey)}: ${s.value ? s.value : (o == null ? void 0 : o.type) ?? ""}${r}`;
|
|
38
38
|
}
|
|
39
39
|
return t.type === "http" ? `${U(t.nameKey)}: ${t.scheme}${r}` : `${e}${r}`;
|
|
40
|
-
},
|
|
40
|
+
}, m = (t, r, e) => {
|
|
41
41
|
H(t, r, e, T, c.persistAuth);
|
|
42
42
|
};
|
|
43
43
|
q(() => {
|
|
@@ -85,7 +85,7 @@ const J = {
|
|
|
85
85
|
class: g(["text-c-2 flex items-center pl-3", t.layout === "reference" && "border-b"])
|
|
86
86
|
}, {
|
|
87
87
|
default: n(() => [
|
|
88
|
-
|
|
88
|
+
V(_(O(e)), 1)
|
|
89
89
|
]),
|
|
90
90
|
_: 2
|
|
91
91
|
}, 1032, ["class"])
|
|
@@ -112,15 +112,15 @@ const J = {
|
|
|
112
112
|
(e == null ? void 0 : e.type) === "http" ? (l(), i(p, { key: 2 }, [
|
|
113
113
|
e.scheme === "bearer" ? (l(), S(d(f), { key: 0 }, {
|
|
114
114
|
default: n(() => [
|
|
115
|
-
u(w,
|
|
115
|
+
u(w, k({ ref_for: !0 }, b, {
|
|
116
116
|
containerClass: t.layout === "reference" && "border-t",
|
|
117
117
|
modelValue: e.token,
|
|
118
118
|
placeholder: "Token",
|
|
119
119
|
type: "password",
|
|
120
|
-
"onUpdate:modelValue": (o) =>
|
|
120
|
+
"onUpdate:modelValue": (o) => m(e.uid, "token", o)
|
|
121
121
|
}), {
|
|
122
122
|
default: n(() => r[0] || (r[0] = [
|
|
123
|
-
|
|
123
|
+
V(" Bearer Token ")
|
|
124
124
|
])),
|
|
125
125
|
_: 2
|
|
126
126
|
}, 1040, ["containerClass", "modelValue", "onUpdate:modelValue"])
|
|
@@ -129,16 +129,16 @@ const J = {
|
|
|
129
129
|
}, 1024)) : (e == null ? void 0 : e.scheme) === "basic" ? (l(), i(p, { key: 1 }, [
|
|
130
130
|
u(d(f), null, {
|
|
131
131
|
default: n(() => [
|
|
132
|
-
u(w,
|
|
132
|
+
u(w, k({ ref_for: !0 }, b, {
|
|
133
133
|
class: "text-c-2",
|
|
134
134
|
containerClass: t.layout === "reference" && "auth-blend-required border-t",
|
|
135
135
|
modelValue: e.username,
|
|
136
136
|
placeholder: "janedoe",
|
|
137
137
|
required: "",
|
|
138
|
-
"onUpdate:modelValue": (o) =>
|
|
138
|
+
"onUpdate:modelValue": (o) => m(e.uid, "username", o)
|
|
139
139
|
}), {
|
|
140
140
|
default: n(() => r[1] || (r[1] = [
|
|
141
|
-
|
|
141
|
+
V(" Username ")
|
|
142
142
|
])),
|
|
143
143
|
_: 2
|
|
144
144
|
}, 1040, ["containerClass", "modelValue", "onUpdate:modelValue"])
|
|
@@ -147,14 +147,14 @@ const J = {
|
|
|
147
147
|
}, 1024),
|
|
148
148
|
u(d(f), null, {
|
|
149
149
|
default: n(() => [
|
|
150
|
-
u(w,
|
|
150
|
+
u(w, k({ ref_for: !0 }, b, {
|
|
151
151
|
modelValue: e.password,
|
|
152
152
|
placeholder: "********",
|
|
153
153
|
type: "password",
|
|
154
|
-
"onUpdate:modelValue": (o) =>
|
|
154
|
+
"onUpdate:modelValue": (o) => m(e.uid, "password", o)
|
|
155
155
|
}), {
|
|
156
156
|
default: n(() => r[2] || (r[2] = [
|
|
157
|
-
|
|
157
|
+
V(" Password ")
|
|
158
158
|
])),
|
|
159
159
|
_: 2
|
|
160
160
|
}, 1040, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -165,14 +165,14 @@ const J = {
|
|
|
165
165
|
], 64)) : (e == null ? void 0 : e.type) === "apiKey" ? (l(), i(p, { key: 3 }, [
|
|
166
166
|
u(d(f), null, {
|
|
167
167
|
default: n(() => [
|
|
168
|
-
u(w,
|
|
168
|
+
u(w, k({ ref_for: !0 }, b, {
|
|
169
169
|
containerClass: t.layout === "reference" && "border-t",
|
|
170
170
|
modelValue: e.name,
|
|
171
171
|
placeholder: "api-key",
|
|
172
|
-
"onUpdate:modelValue": (o) =>
|
|
172
|
+
"onUpdate:modelValue": (o) => m(e.uid, "name", o)
|
|
173
173
|
}), {
|
|
174
174
|
default: n(() => r[3] || (r[3] = [
|
|
175
|
-
|
|
175
|
+
V(" Name ")
|
|
176
176
|
])),
|
|
177
177
|
_: 2
|
|
178
178
|
}, 1040, ["containerClass", "modelValue", "onUpdate:modelValue"])
|
|
@@ -181,14 +181,14 @@ const J = {
|
|
|
181
181
|
}, 1024),
|
|
182
182
|
u(d(f), null, {
|
|
183
183
|
default: n(() => [
|
|
184
|
-
u(w,
|
|
184
|
+
u(w, k({ ref_for: !0 }, b, {
|
|
185
185
|
modelValue: e.value,
|
|
186
186
|
placeholder: "QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
|
|
187
187
|
type: "password",
|
|
188
|
-
"onUpdate:modelValue": (o) =>
|
|
188
|
+
"onUpdate:modelValue": (o) => m(e.uid, "value", o)
|
|
189
189
|
}), {
|
|
190
190
|
default: n(() => r[4] || (r[4] = [
|
|
191
|
-
|
|
191
|
+
V(" Value ")
|
|
192
192
|
])),
|
|
193
193
|
_: 2
|
|
194
194
|
}, 1040, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -202,7 +202,7 @@ const J = {
|
|
|
202
202
|
A("div", Y, [
|
|
203
203
|
(l(!0), i(p, null, C(e == null ? void 0 : e.flows, (o, a, y) => (l(), i("button", {
|
|
204
204
|
key: a,
|
|
205
|
-
class: g(["floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-
|
|
205
|
+
class: g(["floating-bg text-c-3 relative cursor-pointer border-b-[1px] border-transparent py-1 text-base font-medium", {
|
|
206
206
|
"!text-c-1 !rounded-none border-b-[1px] !border-current": t.layout !== "reference" && (s.value === a || y === 0 && !s.value),
|
|
207
207
|
"!text-c-1 !rounded-none border-b-[1px] !border-current opacity-100": t.layout === "reference" && (s.value === a || y === 0 && !s.value)
|
|
208
208
|
}]),
|
|
@@ -217,7 +217,7 @@ const J = {
|
|
|
217
217
|
_: 2
|
|
218
218
|
}, 1024),
|
|
219
219
|
(l(!0), i(p, null, C(e == null ? void 0 : e.flows, (o, a, y) => (l(), i(p, { key: a }, [
|
|
220
|
-
s.value === a || y === 0 && !s.value ? (l(), S(Q,
|
|
220
|
+
s.value === a || y === 0 && !s.value ? (l(), S(Q, k({
|
|
221
221
|
key: 0,
|
|
222
222
|
ref_for: !0
|
|
223
223
|
}, b, {
|
|
@@ -231,7 +231,7 @@ const J = {
|
|
|
231
231
|
], 64))), 128))
|
|
232
232
|
], 64)) : (e == null ? void 0 : e.type) === "openIdConnect" ? (l(), i("div", {
|
|
233
233
|
key: 5,
|
|
234
|
-
class: g(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-
|
|
234
|
+
class: g(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-base", { "rounded-b-lg": t.layout === "reference" }])
|
|
235
235
|
}, " Coming soon ", 2)) : v("", !0)
|
|
236
236
|
], 64))), 128));
|
|
237
237
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBody.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-49d6ce0d"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestCodeExample.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const r = /* @__PURE__ */
|
|
3
|
+
import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9e7d5436"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5831422d"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA+rBA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAU7C,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAIzE,KAAK,WAAW,GAAG;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAA;IAC3C,oEAAoE;IACpE,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAC;AA4VF,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA+rBA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EAAY,QAAQ,EAAO,MAAM,KAAK,CAAA;AAU7C,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAIzE,KAAK,WAAW,GAAG;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAA;IAC3C,oEAAoE;IACpE,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAC;AA4VF,iBAAS,cAAc;WA+tBT,OAAO,IAA6B;;oBAziCpC,IAAI;;oBAAJ,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAjElB,KA5oBmB;;;;;;;oCA4oBnB,KAxoBO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqyBM,GAAG,8CACgB,GAAG,yBAC7B,GAAH,6DACe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+8BpB;AAqCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const d = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4dedda07"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
d as default
|
|
8
8
|
};
|
|
@@ -10,7 +10,7 @@ import { PathId as $ } from "../../routes.js";
|
|
|
10
10
|
import Ce from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
11
11
|
import { getModifiers as Re } from "../../libs/hot-keys.js";
|
|
12
12
|
import { useWorkspace as Ie } from "../../store/store.js";
|
|
13
|
-
const Te = { class: "line-clamp-1 w-full pl-2
|
|
13
|
+
const Te = { class: "line-clamp-1 w-full pl-2 break-all" }, Me = { class: "flex flex-row items-center gap-1" }, $e = { class: "relative" }, ze = { class: "flex items-start" }, Ee = { class: "flex flex-1 flex-row justify-between font-medium" }, Se = { class: "line-clamp-1 w-full text-left break-all" }, je = { class: "relative flex h-fit justify-end" }, Be = {
|
|
14
14
|
class: "flex items-center justify-center",
|
|
15
15
|
type: "button"
|
|
16
16
|
}, We = ["aria-expanded"], Ae = { class: "flex h-5 max-w-[14px] items-center justify-center" }, Ne = { class: "flex flex-1 flex-row justify-between" }, Oe = { class: "line-clamp-1 w-full text-left font-medium break-all" }, Pe = { class: "relative flex h-fit justify-end" }, Ve = {
|
|
@@ -28,8 +28,8 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
28
28
|
emits: ["onDragEnd", "newTab", "openMenu"],
|
|
29
29
|
setup(l, { emit: ne }) {
|
|
30
30
|
ve((e) => ({
|
|
31
|
-
|
|
32
|
-
"
|
|
31
|
+
eae2c57a: ae.value,
|
|
32
|
+
"7c91ad9b": re.value
|
|
33
33
|
}));
|
|
34
34
|
const oe = ne, { activeCollection: le, activeRequest: P, activeRouterParams: se, activeWorkspace: U } = De(), {
|
|
35
35
|
collections: C,
|
|
@@ -59,7 +59,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
59
59
|
[$.Collection]: e.uid
|
|
60
60
|
}
|
|
61
61
|
} : void 0,
|
|
62
|
-
warning: "This cannot be undone. You
|
|
62
|
+
warning: "This cannot be undone. You're about to delete the collection and all folders and requests inside it.",
|
|
63
63
|
edit: (k, X) => {
|
|
64
64
|
S.edit(e.uid, "info.title", k), X && S.edit(e.uid, "x-scalar-icon", X);
|
|
65
65
|
},
|
|
@@ -71,7 +71,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
71
71
|
entity: t,
|
|
72
72
|
resourceTitle: "Tag",
|
|
73
73
|
children: t.children,
|
|
74
|
-
warning: "This cannot be undone. You
|
|
74
|
+
warning: "This cannot be undone. You're about to delete the tag and all requests inside it",
|
|
75
75
|
edit: (k) => V.edit(t.uid, "name", k),
|
|
76
76
|
delete: () => l.parentUids[0] && V.delete(t, l.parentUids[0])
|
|
77
77
|
} : r ? {
|
|
@@ -86,7 +86,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
86
86
|
method: r.method,
|
|
87
87
|
entity: r,
|
|
88
88
|
resourceTitle: "Request",
|
|
89
|
-
warning: "This cannot be undone. You
|
|
89
|
+
warning: "This cannot be undone. You're about to delete the request.",
|
|
90
90
|
children: r.examples.slice(1),
|
|
91
91
|
edit: (k) => j.edit(r.uid, "summary", k),
|
|
92
92
|
delete: () => l.parentUids[0] && j.delete(r, l.parentUids[0])
|
|
@@ -103,7 +103,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
103
103
|
method: (Q = z[a.requestUid]) == null ? void 0 : Q.method,
|
|
104
104
|
entity: a,
|
|
105
105
|
resourceTitle: "Example",
|
|
106
|
-
warning: "This cannot be undone. You
|
|
106
|
+
warning: "This cannot be undone. You're about to delete the example from the request.",
|
|
107
107
|
children: [],
|
|
108
108
|
edit: (k) => F.edit(a.uid, "name", k),
|
|
109
109
|
delete: () => F.delete(a)
|
|
@@ -178,7 +178,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
178
178
|
ref_key: "draggableRef",
|
|
179
179
|
ref: B,
|
|
180
180
|
ceiling: L.value.ceiling,
|
|
181
|
-
class: "gap-1/2 flex flex-1 flex-col text-
|
|
181
|
+
class: "gap-1/2 flex flex-1 flex-col text-base",
|
|
182
182
|
floor: L.value.floor,
|
|
183
183
|
isDraggable: e.isDraggable,
|
|
184
184
|
isDroppable: e.isDroppable,
|
|
@@ -203,7 +203,7 @@ const Te = { class: "line-clamp-1 w-full pl-2 font-medium break-all" }, Me = { c
|
|
|
203
203
|
s("div", {
|
|
204
204
|
class: y(["relative flex min-h-8 w-full cursor-pointer flex-row items-start justify-between gap-0.5 rounded py-1.5 pr-2", [
|
|
205
205
|
O,
|
|
206
|
-
o || de.value ? "bg-sidebar-b-active text-sidebar-c-active transition-none" : "text-sidebar-c-2"
|
|
206
|
+
o || de.value ? "bg-sidebar-b-active text-sidebar-c-active font-medium transition-none" : "text-sidebar-c-2"
|
|
207
207
|
]])
|
|
208
208
|
}, [
|
|
209
209
|
s("span", Te, A(i.value.title || "Untitled"), 1),
|