@scalar/api-client 2.2.29 → 2.2.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 +33 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +81 -87
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +3 -3
- package/dist/components/DataTable/index.js +16 -16
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +5 -5
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/hooks/useLayout.js +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +11 -11
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +22 -22
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +11 -11
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +21 -21
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +53 -0
- package/dist/libs/find-request.d.ts.map +1 -0
- package/dist/libs/find-request.js +22 -0
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts.map +1 -1
- package/dist/libs/hot-keys.js +3 -2
- package/dist/libs/importers/index.d.ts +1 -1
- package/dist/libs/importers/index.d.ts.map +1 -1
- package/dist/libs/index.d.ts +1 -0
- package/dist/libs/index.d.ts.map +1 -1
- package/dist/libs/index.js +31 -29
- package/dist/libs/parse-curl.d.ts +4 -1
- package/dist/libs/parse-curl.d.ts.map +1 -1
- package/dist/libs/parse-curl.js +55 -69
- package/dist/libs/send-request/send-request.js +1 -1
- package/dist/store/active-entities.d.ts +19 -15
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +30 -27
- package/dist/store/events.d.ts +1 -1
- package/dist/store/store.d.ts +11 -11
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/workspace.d.ts +10 -10
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +67 -66
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +100 -60
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +1 -1
- package/dist/views/Request/RequestSection/index.d.ts +2 -0
- package/dist/views/Request/RequestSection/index.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/index.js +4 -0
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +4 -4
- package/dist/views/Request/RequestSidebar.vue2.js +123 -121
- package/dist/views/Request/RequestSubpageHeader.vue.js +2 -2
- package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +9 -9
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/index.d.ts +2 -0
- package/dist/views/Request/ResponseSection/index.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/index.js +4 -0
- package/package.json +19 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.2.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 731b037: Fix uploading file in multipart form overwrites key already set
|
|
8
|
+
- 5b26c75: fix: updates parse curl query parameters extraction
|
|
9
|
+
- eb50f99: fix: fixtures layout and utility usages
|
|
10
|
+
- b92b160: Fixed UI breaking when response body is too above threshold
|
|
11
|
+
- e77e959: fix: allows enabled empty query params and omits disabled ones
|
|
12
|
+
- 30ae0df: fix: displays request params clear button if params only
|
|
13
|
+
- ff3bdca: feat: extracts tooltip display condition in function
|
|
14
|
+
- 197b7e1: fix: prevents displaying watch toast on drafts and item deletion
|
|
15
|
+
- ee22e40: fix: ctrl enter key on linux
|
|
16
|
+
- Updated dependencies [e17ac68]
|
|
17
|
+
- Updated dependencies [cf0e7b1]
|
|
18
|
+
- Updated dependencies [8dce84f]
|
|
19
|
+
- Updated dependencies [7b4ab2c]
|
|
20
|
+
- @scalar/components@0.13.13
|
|
21
|
+
- @scalar/oas-utils@0.2.96
|
|
22
|
+
- @scalar/openapi-parser@0.10.3
|
|
23
|
+
- @scalar/themes@0.9.59
|
|
24
|
+
- @scalar/use-codemirror@0.11.57
|
|
25
|
+
- @scalar/import@0.2.16
|
|
26
|
+
- @scalar/postman-to-openapi@0.1.19
|
|
27
|
+
- @scalar/types@0.0.25
|
|
28
|
+
- @scalar/use-hooks@0.1.13
|
|
29
|
+
|
|
30
|
+
## 2.2.30
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- 1785304: feat: export extra packages and add findRequest lib
|
|
35
|
+
|
|
3
36
|
## 2.2.29
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAmwBA,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AddressBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7ae62052"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,144 +1,138 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useActiveEntities as
|
|
4
|
-
import { Listbox as
|
|
5
|
-
import { ScalarButton as
|
|
6
|
-
import { REQUEST_METHODS as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
import { useWorkspace as ue } from "../../store/store.js";
|
|
13
|
-
const de = {
|
|
1
|
+
import { defineComponent as T, ref as n, watch as $, unref as a, openBlock as _, createElementBlock as P, createElementVNode as r, createVNode as u, withCtx as y, normalizeClass as B, normalizeStyle as D, createBlock as K, createCommentVNode as E } from "vue";
|
|
2
|
+
import Q from "../CodeInput/CodeInput.vue.js";
|
|
3
|
+
import { useActiveEntities as W } from "../../store/active-entities.js";
|
|
4
|
+
import { Listbox as j } from "@headlessui/vue";
|
|
5
|
+
import { ScalarButton as F, ScalarIcon as G } from "@scalar/components";
|
|
6
|
+
import { REQUEST_METHODS as J } from "@scalar/oas-utils/helpers";
|
|
7
|
+
import X from "../HttpMethod/HttpMethod.vue.js";
|
|
8
|
+
import Y from "./AddressBarHistory.vue.js";
|
|
9
|
+
import Z from "./AddressBarServer.vue.js";
|
|
10
|
+
import { useWorkspace as ee } from "../../store/store.js";
|
|
11
|
+
const le = {
|
|
14
12
|
key: 0,
|
|
15
13
|
class: "scalar-address-bar order-last lg:order-none lg:w-auto w-full"
|
|
16
|
-
},
|
|
14
|
+
}, te = { class: "m-auto flex flex-row items-center" }, ae = { class: "pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden" }, re = { class: "flex gap-1" }, oe = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, se = {
|
|
17
15
|
"aria-hidden": "true",
|
|
18
16
|
class: "inline-flex gap-1 items-center"
|
|
19
|
-
},
|
|
17
|
+
}, be = /* @__PURE__ */ T({
|
|
20
18
|
__name: "AddressBar",
|
|
21
19
|
emits: ["importCurl"],
|
|
22
|
-
setup(
|
|
23
|
-
const { activeRequest:
|
|
24
|
-
|
|
25
|
-
);
|
|
26
|
-
ae(U, () => d.executeRequest.emit());
|
|
27
|
-
const H = (e) => {
|
|
28
|
-
!l.value || l.value.path === e || c.edit(l.value.uid, "path", e);
|
|
20
|
+
setup(ie) {
|
|
21
|
+
const { activeRequest: t, activeExample: S, activeServer: v, activeCollection: p } = W(), { isReadOnly: x, requestMutators: f, requestHistory: V, events: c } = ee(), h = n(V[0]), b = n(null), I = (e) => {
|
|
22
|
+
!t.value || t.value.path === e || f.edit(t.value.uid, "path", e);
|
|
29
23
|
};
|
|
30
|
-
|
|
24
|
+
$(
|
|
31
25
|
() => {
|
|
32
26
|
var e;
|
|
33
|
-
return (e =
|
|
27
|
+
return (e = t.value) == null ? void 0 : e.path;
|
|
34
28
|
},
|
|
35
29
|
(e) => {
|
|
36
|
-
!
|
|
30
|
+
!t.value || !e || I(e);
|
|
37
31
|
}
|
|
38
32
|
);
|
|
39
|
-
const
|
|
40
|
-
function K() {
|
|
41
|
-
s.value ? a.value -= (a.value - 15) / 60 : a.value -= g.value / 20, a.value <= 0 && (clearInterval(n.value), n.value = void 0, a.value = 100, s.value = !1);
|
|
42
|
-
}
|
|
33
|
+
const o = n(100), g = n(0), s = n(!1), i = n();
|
|
43
34
|
function L() {
|
|
44
|
-
|
|
35
|
+
s.value ? o.value -= (o.value - 15) / 60 : o.value -= g.value / 20, o.value <= 0 && (clearInterval(i.value), i.value = void 0, o.value = 100, s.value = !1);
|
|
36
|
+
}
|
|
37
|
+
function U() {
|
|
38
|
+
i.value || (s.value = !0, i.value = setInterval(L, 20));
|
|
45
39
|
}
|
|
46
40
|
function z() {
|
|
47
|
-
g.value =
|
|
41
|
+
g.value = o.value, s.value = !1;
|
|
48
42
|
}
|
|
49
43
|
function A() {
|
|
50
|
-
clearInterval(
|
|
44
|
+
clearInterval(i.value), i.value = void 0, o.value = 100, s.value = !1;
|
|
51
45
|
}
|
|
52
|
-
|
|
53
|
-
e === "start" &&
|
|
46
|
+
c.requestStatus.on((e) => {
|
|
47
|
+
e === "start" && U(), e === "stop" && z(), e === "abort" && A();
|
|
54
48
|
});
|
|
55
|
-
function
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
function N() {
|
|
59
|
-
if (!l.value) return;
|
|
60
|
-
const { method: e } = l.value;
|
|
61
|
-
return le[e].backgroundColor;
|
|
49
|
+
function H(e) {
|
|
50
|
+
t.value && f.edit(t.value.uid, "method", e);
|
|
62
51
|
}
|
|
63
|
-
function
|
|
64
|
-
|
|
52
|
+
function M() {
|
|
53
|
+
if (!t.value) return;
|
|
54
|
+
const { method: e } = t.value;
|
|
55
|
+
return J[e].backgroundColor;
|
|
65
56
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
57
|
+
function m() {
|
|
58
|
+
s.value || (s.value = !0, c.executeRequest.emit());
|
|
68
59
|
}
|
|
69
|
-
|
|
70
|
-
var
|
|
71
|
-
e != null && e.focusAddressBar && ((
|
|
60
|
+
c.hotKeys.on((e) => {
|
|
61
|
+
var l;
|
|
62
|
+
e != null && e.focusAddressBar && ((l = b.value) == null || l.focus()), e != null && e.executeRequest && m();
|
|
63
|
+
});
|
|
64
|
+
function N(e) {
|
|
65
|
+
t.value && f.edit(t.value.uid, "path", e);
|
|
72
66
|
}
|
|
73
|
-
return
|
|
74
|
-
r("div",
|
|
75
|
-
u(
|
|
76
|
-
modelValue:
|
|
77
|
-
"onUpdate:modelValue":
|
|
67
|
+
return (e, l) => a(t) && a(S) ? (_(), P("div", le, [
|
|
68
|
+
r("div", te, [
|
|
69
|
+
u(a(j), {
|
|
70
|
+
modelValue: h.value,
|
|
71
|
+
"onUpdate:modelValue": l[1] || (l[1] = (d) => h.value = d)
|
|
78
72
|
}, {
|
|
79
|
-
default:
|
|
80
|
-
var C, k,
|
|
73
|
+
default: y(({ open: d }) => {
|
|
74
|
+
var w, C, k, R, q;
|
|
81
75
|
return [
|
|
82
76
|
r("div", {
|
|
83
|
-
class:
|
|
77
|
+
class: B([
|
|
84
78
|
"addressbar-bg-states text-xxs relative flex w-full xl:min-w-[720px] xl:max-w-[720px] lg:min-w-[580px] lg:max-w-[580px] order-last overflow-hidden lg:order-none flex-1 flex-row items-stretch rounded-lg border-1/2 p-[3px]",
|
|
85
|
-
{ "border-transparent overflow-visible rounded-b-none":
|
|
79
|
+
{ "border-transparent overflow-visible rounded-b-none": d }
|
|
86
80
|
])
|
|
87
81
|
}, [
|
|
88
|
-
r("div",
|
|
82
|
+
r("div", ae, [
|
|
89
83
|
r("div", {
|
|
90
|
-
class:
|
|
91
|
-
style:
|
|
84
|
+
class: B(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context", M()]),
|
|
85
|
+
style: D({ transform: `translate3d(-${o.value}%,0,0)` })
|
|
92
86
|
}, null, 6)
|
|
93
87
|
]),
|
|
94
|
-
r("div",
|
|
95
|
-
u(
|
|
96
|
-
isEditable: !
|
|
88
|
+
r("div", re, [
|
|
89
|
+
u(X, {
|
|
90
|
+
isEditable: !a(x),
|
|
97
91
|
isSquare: "",
|
|
98
|
-
method:
|
|
92
|
+
method: a(t).method,
|
|
99
93
|
teleport: "",
|
|
100
|
-
onChange:
|
|
94
|
+
onChange: H
|
|
101
95
|
}, null, 8, ["isEditable", "method"])
|
|
102
96
|
]),
|
|
103
|
-
r("div",
|
|
104
|
-
|
|
105
|
-
(
|
|
106
|
-
u(
|
|
97
|
+
r("div", oe, [
|
|
98
|
+
l[2] || (l[2] = r("div", { class: "fade-left" }, null, -1)),
|
|
99
|
+
(C = (w = a(p)) == null ? void 0 : w.servers) != null && C.length ? (_(), K(Z, { key: 0 })) : E("", !0),
|
|
100
|
+
u(Q, {
|
|
107
101
|
ref_key: "addressBarRef",
|
|
108
|
-
ref:
|
|
102
|
+
ref: b,
|
|
109
103
|
"aria-label": "Path",
|
|
110
104
|
class: "outline-none",
|
|
111
105
|
disableCloseBrackets: "",
|
|
112
|
-
disabled:
|
|
106
|
+
disabled: a(x),
|
|
113
107
|
disableEnter: "",
|
|
114
108
|
disableTabIndent: "",
|
|
115
109
|
emitOnBlur: !1,
|
|
116
110
|
importCurl: "",
|
|
117
|
-
modelValue:
|
|
118
|
-
placeholder: (
|
|
111
|
+
modelValue: a(t).path,
|
|
112
|
+
placeholder: (k = a(v)) != null && k.uid && ((q = (R = a(p)) == null ? void 0 : R.servers) != null && q.includes(a(v).uid)) ? "" : "Enter a URL or cURL command",
|
|
119
113
|
server: "",
|
|
120
|
-
onCurl:
|
|
121
|
-
onSubmit:
|
|
122
|
-
"onUpdate:modelValue":
|
|
114
|
+
onCurl: l[0] || (l[0] = (O) => e.$emit("importCurl", O)),
|
|
115
|
+
onSubmit: m,
|
|
116
|
+
"onUpdate:modelValue": N
|
|
123
117
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
124
|
-
|
|
118
|
+
l[3] || (l[3] = r("div", { class: "fade-right" }, null, -1))
|
|
125
119
|
]),
|
|
126
|
-
u(
|
|
127
|
-
u(
|
|
120
|
+
u(Y, { open: d }, null, 8, ["open"]),
|
|
121
|
+
u(a(F), {
|
|
128
122
|
class: "relative h-auto shrink-0 overflow-hidden !pl-2 !pr-2.5 !py-1 font-bold",
|
|
129
123
|
disabled: s.value,
|
|
130
|
-
onClick:
|
|
124
|
+
onClick: m
|
|
131
125
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
r("span",
|
|
134
|
-
u(
|
|
126
|
+
default: y(() => [
|
|
127
|
+
r("span", se, [
|
|
128
|
+
u(a(G), {
|
|
135
129
|
class: "relative shrink-0 fill-current",
|
|
136
130
|
icon: "Play",
|
|
137
131
|
size: "xs"
|
|
138
132
|
}),
|
|
139
|
-
|
|
133
|
+
l[4] || (l[4] = r("span", { class: "text-xxs lg:flex hidden" }, "Send", -1))
|
|
140
134
|
]),
|
|
141
|
-
|
|
135
|
+
l[5] || (l[5] = r("span", { class: "sr-only" }, " Send Request ", -1))
|
|
142
136
|
]),
|
|
143
137
|
_: 1
|
|
144
138
|
}, 8, ["disabled"])
|
|
@@ -148,9 +142,9 @@ const de = {
|
|
|
148
142
|
_: 1
|
|
149
143
|
}, 8, ["modelValue"])
|
|
150
144
|
])
|
|
151
|
-
])) :
|
|
145
|
+
])) : E("", !0);
|
|
152
146
|
}
|
|
153
147
|
});
|
|
154
148
|
export {
|
|
155
|
-
|
|
149
|
+
be as default
|
|
156
150
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ContextBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cf482b83"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, useId as f, computed as h, openBlock as r, createElementBlock as i, createElementVNode as e, Fragment as g, renderList as _, normalizeClass as b, createTextVNode as y, toDisplayString as l, withDirectives as S, unref as a, vModelRadio as w, createVNode as k } from "vue";
|
|
2
2
|
import { ScalarIcon as V } from "@scalar/components";
|
|
3
|
-
const q = { class: "hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[120px]" }, B = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2" }, C = ["name", "value"], F = { class: "flex items-center context-bar-group-hover:text-c-1 absolute -right-
|
|
3
|
+
const q = { class: "hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[120px]" }, B = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2" }, C = ["name", "value"], F = { class: "flex items-center context-bar-group-hover:text-c-1 absolute -right-[30px] top-1/2 -translate-y-1/2" }, N = { class: "mr-1.5 context-bar-group-hover:hidden" }, D = /* @__PURE__ */ x({
|
|
4
4
|
__name: "ContextBar",
|
|
5
5
|
props: {
|
|
6
6
|
sections: {},
|
|
@@ -8,7 +8,7 @@ const q = { class: "hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["setActiveSection"],
|
|
10
10
|
setup(c, { emit: d }) {
|
|
11
|
-
const u = c, p = d, m =
|
|
11
|
+
const u = c, p = d, m = f(), t = h({
|
|
12
12
|
get: () => u.activeSection,
|
|
13
13
|
set: (s) => p("setActiveSection", s)
|
|
14
14
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { default as t } from "./
|
|
2
|
-
import { default as o } from "./
|
|
3
|
-
import { default as f } from "./
|
|
4
|
-
import { default as u } from "./
|
|
5
|
-
import { default as b } from "./
|
|
6
|
-
import { default as T } from "./
|
|
7
|
-
import { default as s } from "./
|
|
8
|
-
import { default as c } from "./
|
|
1
|
+
import { default as t } from "./DataTableInput.vue.js";
|
|
2
|
+
import { default as o } from "./DataTableRow.vue.js";
|
|
3
|
+
import { default as f } from "./DataTable.vue.js";
|
|
4
|
+
import { default as u } from "./DataTableCell.vue.js";
|
|
5
|
+
import { default as b } from "./DataTableCheckbox.vue.js";
|
|
6
|
+
import { default as T } from "./DataTableHeader.vue.js";
|
|
7
|
+
import { default as s } from "./DataTableInputSelect.vue.js";
|
|
8
|
+
import { default as c } from "./DataTableText.vue.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
f as DataTable,
|
|
11
|
+
u as DataTableCell,
|
|
12
|
+
b as DataTableCheckbox,
|
|
13
|
+
T as DataTableHeader,
|
|
14
|
+
t as DataTableInput,
|
|
15
|
+
s as DataTableInputSelect,
|
|
16
|
+
o as DataTableRow,
|
|
17
|
+
c as DataTableText
|
|
18
18
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as I, computed as f, watch as B, onMounted as D, openBlock as c, createElementBlock as x, createVNode as s, unref as n, withCtx as l, Fragment as j, renderList as M, createBlock as h, withModifiers as w, createTextVNode as E, toDisplayString as k, createElementVNode as u, normalizeClass as V, createCommentVNode as z } from "vue";
|
|
2
2
|
import { useActiveEntities as W } from "../../store/active-entities.js";
|
|
3
3
|
import { ScalarDropdown as L, ScalarDropdownItem as v, ScalarListboxCheckbox as O, ScalarIcon as g, ScalarDropdownDivider as R, ScalarButton as $ } from "@scalar/components";
|
|
4
4
|
import { useRouter as A } from "vue-router";
|
|
5
5
|
import { useWorkspace as F } from "../../store/store.js";
|
|
6
|
-
const T = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap" }, q = { class: "flex items-center justify-center h-4 w-4" }, U = /* @__PURE__ */
|
|
6
|
+
const T = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap" }, q = { class: "flex items-center justify-center h-4 w-4" }, U = /* @__PURE__ */ I({
|
|
7
7
|
__name: "EnvironmentSelector",
|
|
8
8
|
setup(G) {
|
|
9
9
|
const { activeCollection: a, activeWorkspace: i, activeEnvironment: m } = W(), { isReadOnly: _, collectionMutators: b } = F(), C = A(), d = (e) => {
|
|
@@ -22,8 +22,8 @@ const T = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
|
|
|
22
22
|
});
|
|
23
23
|
}, y = f(() => {
|
|
24
24
|
const { value: e } = m, { value: t } = a;
|
|
25
|
-
return (e == null ? void 0 : e.uid) || (t == null ? void 0 : t["x-scalar-active-environment"]) || "Environment";
|
|
26
|
-
}),
|
|
25
|
+
return (e == null ? void 0 : e.uid) || (t == null ? void 0 : t["x-scalar-active-environment"]) || "No Environment";
|
|
26
|
+
}), N = f(() => {
|
|
27
27
|
const { value: e } = a, t = e == null ? void 0 : e["x-scalar-environments"];
|
|
28
28
|
return t ? Object.entries(t).map(([o, r]) => ({
|
|
29
29
|
...r,
|
|
@@ -42,7 +42,7 @@ const T = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
|
|
|
42
42
|
}), (e, t) => (c(), x("div", null, [
|
|
43
43
|
s(n(L), { placement: "bottom-end" }, {
|
|
44
44
|
items: l(() => [
|
|
45
|
-
(c(!0), x(j, null, M(
|
|
45
|
+
(c(!0), x(j, null, M(N.value, (o) => (c(), h(n(v), {
|
|
46
46
|
key: o.uid,
|
|
47
47
|
class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
|
|
48
48
|
onClick: w((r) => d(o.uid), ["stop"])
|
|
@@ -3,7 +3,7 @@ import { Disclosure as h, DisclosureButton as x, DisclosurePanel as b } from "@h
|
|
|
3
3
|
import { ScalarIcon as y } from "@scalar/components";
|
|
4
4
|
const g = { class: "bg-b-2 flex items-center" }, v = { class: "flex flex-1 items-center gap-1.5 text-c-1" }, C = {
|
|
5
5
|
key: 0,
|
|
6
|
-
class: "bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold border
|
|
6
|
+
class: "bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold border"
|
|
7
7
|
}, _ = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "ui-not-open:invisible flex items-center gap-2 pr-1.5"
|
|
@@ -17,7 +17,7 @@ const g = { class: "bg-b-2 flex items-center" }, v = { class: "flex flex-1 items
|
|
|
17
17
|
setup(k) {
|
|
18
18
|
return (e, w) => (o(), i(s(h), {
|
|
19
19
|
as: "div",
|
|
20
|
-
class: "focus-within:text-c-1 text-c-2 request-item border-b
|
|
20
|
+
class: "focus-within:text-c-1 text-c-2 request-item border-b",
|
|
21
21
|
defaultOpen: e.defaultOpen,
|
|
22
22
|
static: e.layout === "reference"
|
|
23
23
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as o, createElementBlock as l, createElementVNode as s, renderSlot as t } from "vue";
|
|
2
2
|
import n from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
const c = {}, r = { class: "flex xl:h-full xl:min-w-0 flex-1 flex-col xl:custom-scroll bg-b-1" }, i = { class: "min-h-11 flex items-center border-b-1/2 px-
|
|
3
|
+
const c = {}, r = { class: "flex xl:h-full xl:min-w-0 flex-1 flex-col xl:custom-scroll bg-b-1" }, i = { class: "min-h-11 flex items-center border-b-1/2 px-2.5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none z-1" };
|
|
4
4
|
function f(e, m) {
|
|
5
5
|
return o(), l("section", r, [
|
|
6
6
|
s("div", i, [
|
package/dist/hooks/useLayout.js
CHANGED
|
@@ -34,7 +34,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
34
34
|
hotKeyConfig?: {
|
|
35
35
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
36
36
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
37
|
-
event: "closeModal" | "
|
|
37
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
38
38
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
39
39
|
}>> | undefined;
|
|
40
40
|
} | undefined;
|
|
@@ -356,7 +356,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
356
356
|
cancelRequest: import("../../libs/index.js").EventBus<any>;
|
|
357
357
|
requestStatus: import("../../libs/index.js").EventBus<import("../../libs/index.js").RequestStatus>;
|
|
358
358
|
commandPalette: import("../../libs/index.js").EventBus<import("../../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
359
|
-
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "
|
|
359
|
+
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar", KeyboardEvent>>>;
|
|
360
360
|
};
|
|
361
361
|
sidebarWidth: import("vue").Ref<string, string>;
|
|
362
362
|
setSidebarWidth: (width: string) => void;
|
|
@@ -3412,7 +3412,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3412
3412
|
hotKeyConfig?: {
|
|
3413
3413
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3414
3414
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3415
|
-
event: "closeModal" | "
|
|
3415
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3416
3416
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3417
3417
|
}>> | undefined;
|
|
3418
3418
|
} | undefined;
|
|
@@ -3430,7 +3430,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3430
3430
|
hotKeyConfig?: {
|
|
3431
3431
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3432
3432
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3433
|
-
event: "closeModal" | "
|
|
3433
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3434
3434
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3435
3435
|
}>> | undefined;
|
|
3436
3436
|
} | undefined;
|
|
@@ -3449,7 +3449,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3449
3449
|
hotKeyConfig?: {
|
|
3450
3450
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3451
3451
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3452
|
-
event: "closeModal" | "
|
|
3452
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3453
3453
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3454
3454
|
}>> | undefined;
|
|
3455
3455
|
} | undefined;
|
|
@@ -3467,7 +3467,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3467
3467
|
hotKeyConfig?: {
|
|
3468
3468
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3469
3469
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3470
|
-
event: "closeModal" | "
|
|
3470
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3471
3471
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3472
3472
|
}>> | undefined;
|
|
3473
3473
|
} | undefined;
|
|
@@ -3484,7 +3484,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3484
3484
|
hotKeyConfig?: {
|
|
3485
3485
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3486
3486
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3487
|
-
event: "closeModal" | "
|
|
3487
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3488
3488
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3489
3489
|
}>> | undefined;
|
|
3490
3490
|
} | undefined;
|
|
@@ -3501,7 +3501,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3501
3501
|
hotKeyConfig?: {
|
|
3502
3502
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3503
3503
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3504
|
-
event: "closeModal" | "
|
|
3504
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3505
3505
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3506
3506
|
}>> | undefined;
|
|
3507
3507
|
} | undefined;
|
|
@@ -3519,7 +3519,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3519
3519
|
hotKeyConfig?: {
|
|
3520
3520
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3521
3521
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3522
|
-
event: "closeModal" | "
|
|
3522
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3523
3523
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3524
3524
|
}>> | undefined;
|
|
3525
3525
|
} | undefined;
|
|
@@ -3536,7 +3536,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3536
3536
|
hotKeyConfig?: {
|
|
3537
3537
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3538
3538
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3539
|
-
event: "closeModal" | "
|
|
3539
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3540
3540
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3541
3541
|
}>> | undefined;
|
|
3542
3542
|
} | undefined;
|
|
@@ -3553,7 +3553,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3553
3553
|
hotKeyConfig?: {
|
|
3554
3554
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3555
3555
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3556
|
-
event: "closeModal" | "
|
|
3556
|
+
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3557
3557
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3558
3558
|
}>> | undefined;
|
|
3559
3559
|
} | undefined;
|