@scalar/api-client 2.3.26 → 2.3.28
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 +41 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +4 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +76 -72
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +48 -45
- package/dist/components/CodeInput/index.d.ts +2 -0
- package/dist/components/CodeInput/index.d.ts.map +1 -0
- package/dist/components/CodeInput/index.js +4 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts +8 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +46 -43
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +82 -92
- package/dist/components/Form/Form.vue.d.ts +2 -2
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +17 -14
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +2 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +30 -30
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +16 -0
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +3 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +76 -54
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +5 -4
- package/dist/components/ViewLayout/index.d.ts +2 -0
- package/dist/components/ViewLayout/index.d.ts.map +1 -0
- package/dist/components/ViewLayout/index.js +4 -0
- package/dist/hooks/useClientConfig.d.ts +6 -6
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +13 -13
- package/dist/layouts/Modal/create-api-client-modal.d.ts +26 -26
- package/dist/layouts/Web/create-api-client-web.d.ts +13 -13
- package/dist/libs/create-client.d.ts +13 -13
- package/dist/libs/env-helpers.d.ts +10 -2
- package/dist/libs/env-helpers.d.ts.map +1 -1
- package/dist/libs/env-helpers.js +4 -2
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +9 -9
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/libs/string-template.js +35 -21
- package/dist/routes.d.ts +10 -10
- package/dist/store/active-entities.js +34 -34
- package/dist/store/environment.js +1 -1
- package/dist/store/security-schemes.d.ts +10 -10
- package/dist/store/store.d.ts +13 -13
- package/dist/store/workspace.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionCookies.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionOverview.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionScripts.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.js +39 -34
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionServers.vue2.js +58 -78
- package/dist/views/Collection/CollectionSync.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +208 -188
- package/dist/views/Environment/EnvironmentColors.vue.js +5 -5
- package/dist/views/Environment/EnvironmentModal.vue.js +21 -21
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
- package/dist/views/Environment/handle-drag.d.ts +13 -0
- package/dist/views/Environment/handle-drag.d.ts.map +1 -0
- package/dist/views/Environment/handle-drag.js +32 -0
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +23 -22
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +111 -88
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +1 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +62 -56
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +42 -47
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +10 -10
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/package.json +24 -14
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import { useRouter as
|
|
1
|
+
import { defineComponent as w, openBlock as r, createElementBlock as n, normalizeClass as d, unref as e, createVNode as t, withCtx as a, createElementVNode as c, Fragment as k, renderList as b, createTextVNode as u, toDisplayString as y, createCommentVNode as C } from "vue";
|
|
2
|
+
import { ScalarIcon as S } from "@scalar/components";
|
|
3
|
+
import { useRouter as L } from "vue-router";
|
|
4
4
|
import { ROUTES as B } from "../../constants.js";
|
|
5
5
|
import { PathId as _ } from "../../routes.js";
|
|
6
6
|
import E from "./DownloadAppButton.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import N from "./SideHelp.vue.js";
|
|
8
8
|
import g from "./SideNavGroup.vue.js";
|
|
9
|
-
import
|
|
9
|
+
import v from "./SideNavRouterLink.vue.js";
|
|
10
10
|
import { useActiveEntities as V } from "../../store/active-entities.js";
|
|
11
11
|
import { useLayout as j } from "../../hooks/useLayout.js";
|
|
12
12
|
const A = { class: "flex items-center" }, R = { class: "flex items-center" }, W = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "hidden items-center justify-center sm:ml-1.5 sm:flex"
|
|
15
|
-
}, K = /* @__PURE__ */
|
|
15
|
+
}, K = /* @__PURE__ */ w({
|
|
16
16
|
__name: "SideNav",
|
|
17
17
|
setup($) {
|
|
18
|
-
const { currentRoute:
|
|
19
|
-
return (z,
|
|
18
|
+
const { currentRoute: s } = L(), { layout: i } = j(), { activeWorkspace: l } = V();
|
|
19
|
+
return (z, p) => (r(), n("nav", {
|
|
20
20
|
"aria-label": "App Navigation",
|
|
21
21
|
class: d([
|
|
22
22
|
"app-drag-region flex items-center justify-center gap-1.5 pt-2 sm:justify-between",
|
|
@@ -25,36 +25,36 @@ const A = { class: "flex items-center" }, R = { class: "flex items-center" }, W
|
|
|
25
25
|
role: "navigation"
|
|
26
26
|
}, [
|
|
27
27
|
t(g, { class: "app-no-drag-region" }, {
|
|
28
|
-
default:
|
|
29
|
-
|
|
28
|
+
default: a(() => [
|
|
29
|
+
c("a", {
|
|
30
30
|
class: d(["ml-1 mr-3 hidden items-center", {
|
|
31
31
|
"sm:flex": e(i) === "web"
|
|
32
32
|
}]),
|
|
33
33
|
href: "https://www.scalar.com",
|
|
34
34
|
target: "_blank"
|
|
35
35
|
}, [
|
|
36
|
-
t(e(
|
|
36
|
+
t(e(S), {
|
|
37
37
|
icon: "Logo",
|
|
38
38
|
size: "xl"
|
|
39
39
|
})
|
|
40
40
|
], 2),
|
|
41
|
-
(r(!0),
|
|
41
|
+
(r(!0), n(k, null, b(e(B).filter(
|
|
42
42
|
(o) => o.to.name !== "settings.default"
|
|
43
|
-
), ({ icon: o, to:
|
|
43
|
+
), ({ icon: o, to: x, displayName: m }, h) => {
|
|
44
44
|
var f;
|
|
45
|
-
return r(),
|
|
46
|
-
t(
|
|
47
|
-
active: e(
|
|
45
|
+
return r(), n("li", { key: h }, [
|
|
46
|
+
t(v, {
|
|
47
|
+
active: e(s).name === m.toLowerCase() || m.toLowerCase() === "environment" && e(s).name === "environment.collection",
|
|
48
48
|
icon: o,
|
|
49
49
|
to: {
|
|
50
|
-
...
|
|
50
|
+
...x,
|
|
51
51
|
params: {
|
|
52
|
-
[e(_).Workspace]: ((f = e(
|
|
52
|
+
[e(_).Workspace]: ((f = e(l)) == null ? void 0 : f.uid) ?? "default"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
u(y(
|
|
56
|
+
default: a(() => [
|
|
57
|
+
u(y(m), 1)
|
|
58
58
|
]),
|
|
59
59
|
_: 2
|
|
60
60
|
}, 1032, ["active", "icon", "to"])
|
|
@@ -64,32 +64,32 @@ const A = { class: "flex items-center" }, R = { class: "flex items-center" }, W
|
|
|
64
64
|
_: 1
|
|
65
65
|
}),
|
|
66
66
|
t(g, { class: "app-no-drag-region" }, {
|
|
67
|
-
default:
|
|
67
|
+
default: a(() => {
|
|
68
68
|
var o;
|
|
69
69
|
return [
|
|
70
|
-
|
|
71
|
-
t(
|
|
72
|
-
active: e(
|
|
70
|
+
c("li", A, [
|
|
71
|
+
t(v, {
|
|
72
|
+
active: e(s).name === "settings",
|
|
73
73
|
icon: "Settings",
|
|
74
74
|
to: {
|
|
75
75
|
name: "settings.default",
|
|
76
76
|
params: {
|
|
77
|
-
[e(_).Workspace]: (o = e(
|
|
77
|
+
[e(_).Workspace]: (o = e(l)) == null ? void 0 : o.uid
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}, {
|
|
81
|
-
default:
|
|
81
|
+
default: a(() => p[0] || (p[0] = [
|
|
82
82
|
u(" Settings ")
|
|
83
83
|
])),
|
|
84
84
|
_: 1
|
|
85
85
|
}, 8, ["active", "to"])
|
|
86
86
|
]),
|
|
87
|
-
|
|
88
|
-
t(
|
|
87
|
+
c("li", R, [
|
|
88
|
+
t(N)
|
|
89
89
|
]),
|
|
90
|
-
e(i) !== "desktop" ? (r(),
|
|
90
|
+
e(i) !== "desktop" ? (r(), n("li", W, [
|
|
91
91
|
t(E)
|
|
92
|
-
])) :
|
|
92
|
+
])) : C("", !0)
|
|
93
93
|
];
|
|
94
94
|
}),
|
|
95
95
|
_: 1
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Icon } from '@scalar/components';
|
|
2
|
+
import { type DraggableProps, type DraggingItem, type HoveredItem } from '@scalar/draggable';
|
|
2
3
|
import { type RouteLocationRaw } from 'vue-router';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
variable: {
|
|
@@ -13,13 +14,28 @@ type __VLS_Props = {
|
|
|
13
14
|
isDeletable?: boolean;
|
|
14
15
|
isCopyable?: boolean;
|
|
15
16
|
isRenameable?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Toggle dragging on and off
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
isDraggable?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Prevents items from being hovered and dropped into
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
isDroppable?: DraggableProps['isDroppable'];
|
|
29
|
+
collectionId?: string;
|
|
16
30
|
};
|
|
17
31
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
32
|
delete: (id: string) => any;
|
|
33
|
+
onDragEnd: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => any;
|
|
19
34
|
rename: (id: string) => any;
|
|
20
35
|
colorModal: (id: string) => any;
|
|
21
36
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
37
|
onDelete?: (id: string) => any;
|
|
38
|
+
onOnDragEnd?: (draggingItem: DraggingItem, hoveredItem: HoveredItem) => any;
|
|
23
39
|
onRename?: (id: string) => any;
|
|
24
40
|
onColorModal?: (id: string) => any;
|
|
25
41
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElement.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarListElement.vue"],"names":[],"mappings":"AAmJA,OAAO,EAAc,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAa,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAM7D,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,IAAI,CAAC,EAAE,IAAI,CAAA;QACX,SAAS,CAAC,EAAE,OAAO,CAAA;KACpB,CAAA;IACD,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,EAAE,EAAE,gBAAgB,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAA;IAC3C,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;;;;;;;AAgPF,wBAQG"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import t from "./SidebarListElement.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
+
/* empty css */
|
|
3
4
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
5
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6742391f"]]);
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
p as default
|
|
7
8
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { defineComponent as C, ref as B, computed as h, resolveComponent as w, openBlock as n, createElementBlock as b, createVNode as r, unref as p, withCtx as d, normalizeClass as R, withModifiers as M, createElementVNode as m, normalizeStyle as E, createCommentVNode as g, createBlock as I, toDisplayString as N } from "vue";
|
|
2
|
+
import { ScalarIcon as S } from "@scalar/components";
|
|
3
|
+
import { Draggable as z } from "@scalar/draggable";
|
|
4
|
+
import { useRouter as V } from "vue-router";
|
|
5
|
+
import $ from "./SidebarListElementActions.vue.js";
|
|
6
|
+
const O = { class: "empty-variable-name line-clamp-1 break-all text-sm group-hover:pr-5" }, q = /* @__PURE__ */ C({
|
|
6
7
|
__name: "SidebarListElement",
|
|
7
8
|
props: {
|
|
8
9
|
variable: {},
|
|
@@ -10,63 +11,84 @@ const E = { class: "empty-variable-name line-clamp-1 break-all text-sm group-hov
|
|
|
10
11
|
to: {},
|
|
11
12
|
isDeletable: { type: Boolean },
|
|
12
13
|
isCopyable: { type: Boolean },
|
|
13
|
-
isRenameable: { type: Boolean }
|
|
14
|
+
isRenameable: { type: Boolean },
|
|
15
|
+
isDraggable: { type: Boolean, default: !1 },
|
|
16
|
+
isDroppable: { type: [Boolean, Function], default: !1 },
|
|
17
|
+
collectionId: {}
|
|
14
18
|
},
|
|
15
|
-
emits: ["delete", "colorModal", "rename"],
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
e.metaKey ? window.open(
|
|
19
|
-
},
|
|
20
|
-
|
|
19
|
+
emits: ["delete", "colorModal", "rename", "onDragEnd"],
|
|
20
|
+
setup(i, { emit: u }) {
|
|
21
|
+
const o = u, t = V(), f = (e) => {
|
|
22
|
+
e.metaKey ? window.open(t.resolve(i.to).href, "_blank") : t.push(i.to);
|
|
23
|
+
}, c = (e) => {
|
|
24
|
+
o("delete", e);
|
|
21
25
|
}, v = (e) => {
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
o("colorModal", e);
|
|
27
|
+
}, D = (e) => {
|
|
28
|
+
o("rename", e);
|
|
29
|
+
}, y = B(null), s = h(() => ({
|
|
30
|
+
ceiling: 0.5,
|
|
31
|
+
floor: 0.5
|
|
32
|
+
}));
|
|
33
|
+
return (e, l) => {
|
|
34
|
+
const k = w("router-link");
|
|
35
|
+
return n(), b("li", null, [
|
|
36
|
+
r(p(z), {
|
|
37
|
+
id: e.variable.uid,
|
|
38
|
+
ref_key: "draggableRef",
|
|
39
|
+
ref: y,
|
|
40
|
+
ceiling: s.value.ceiling,
|
|
41
|
+
floor: s.value.floor,
|
|
42
|
+
isDraggable: e.isDraggable,
|
|
43
|
+
isDroppable: e.isDroppable,
|
|
44
|
+
parentIds: e.collectionId ? [e.collectionId] : [],
|
|
45
|
+
onOnDragEnd: l[2] || (l[2] = (...a) => e.$emit("onDragEnd", ...a))
|
|
35
46
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
default: d(() => [
|
|
48
|
+
r(k, {
|
|
49
|
+
class: R(["text-c-2 hover:bg-b-2 group relative flex h-8 items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline", [e.variable.color ? "pl-5" : "pl-1.5"]]),
|
|
50
|
+
exactActiveClass: "bg-b-2 !text-c-1",
|
|
51
|
+
role: "button",
|
|
52
|
+
to: e.to,
|
|
53
|
+
onClick: l[1] || (l[1] = M((a) => f(a), ["prevent"]))
|
|
54
|
+
}, {
|
|
55
|
+
default: d(() => [
|
|
56
|
+
e.variable.color ? (n(), b("button", {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: "hover:bg-b-3 rounded p-1.5",
|
|
59
|
+
type: "button",
|
|
60
|
+
onClick: l[0] || (l[0] = (a) => v(e.variable.uid))
|
|
61
|
+
}, [
|
|
62
|
+
m("div", {
|
|
63
|
+
class: "h-2.5 w-2.5 rounded-xl",
|
|
64
|
+
style: E({ backgroundColor: e.variable.color })
|
|
65
|
+
}, null, 4)
|
|
66
|
+
])) : g("", !0),
|
|
67
|
+
e.variable.icon ? (n(), I(p(S), {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: "text-sidebar-c-2 size-3.5 stroke-[2.25]",
|
|
70
|
+
icon: e.variable.icon
|
|
71
|
+
}, null, 8, ["icon"])) : g("", !0),
|
|
72
|
+
m("span", O, N(e.variable.name), 1),
|
|
73
|
+
r($, {
|
|
74
|
+
isCopyable: !!e.isCopyable,
|
|
75
|
+
isDeletable: !!e.isDeletable,
|
|
76
|
+
isRenameable: !!e.isRenameable,
|
|
77
|
+
variable: { ...e.variable, isDefault: e.variable.isDefault ?? !1 },
|
|
78
|
+
warningMessage: e.warningMessage,
|
|
79
|
+
onDelete: c,
|
|
80
|
+
onRename: D
|
|
81
|
+
}, null, 8, ["isCopyable", "isDeletable", "isRenameable", "variable", "warningMessage"])
|
|
82
|
+
]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["class", "to"])
|
|
63
85
|
]),
|
|
64
86
|
_: 1
|
|
65
|
-
}, 8, ["
|
|
87
|
+
}, 8, ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"])
|
|
66
88
|
]);
|
|
67
89
|
};
|
|
68
90
|
}
|
|
69
91
|
});
|
|
70
92
|
export {
|
|
71
|
-
|
|
93
|
+
q as default
|
|
72
94
|
};
|
|
@@ -5,10 +5,10 @@ declare function __VLS_template(): {
|
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
7
|
refs: {};
|
|
8
|
-
rootEl:
|
|
8
|
+
rootEl: any;
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AAoCA,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;uBATvB,GAAG;yBACD,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as t, createElementBlock as o, normalizeProps as l, guardReactiveProps as i, unref as c, renderSlot as r, createCommentVNode as m } from "vue";
|
|
2
|
-
import { useBindCx as
|
|
3
|
-
const
|
|
2
|
+
import { useBindCx as a } from "@scalar/components";
|
|
3
|
+
const u = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "request-response-header bg-b-1 z-1 sticky top-0 flex min-h-11 items-center border-b px-2.5 text-sm font-medium xl:rounded-none"
|
|
6
6
|
}, _ = /* @__PURE__ */ n({
|
|
7
|
+
inheritAttrs: !1,
|
|
7
8
|
__name: "ViewLayoutSection",
|
|
8
9
|
setup(d) {
|
|
9
|
-
const { cx: s } =
|
|
10
|
+
const { cx: s } = a();
|
|
10
11
|
return (e, f) => (t(), o("section", l(i(
|
|
11
12
|
c(s)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0")
|
|
12
13
|
)), [
|
|
13
|
-
e.$slots.title ? (t(), o("div",
|
|
14
|
+
e.$slots.title ? (t(), o("div", u, [
|
|
14
15
|
r(e.$slots, "title")
|
|
15
16
|
])) : m("", !0),
|
|
16
17
|
r(e.$slots, "default")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
|
@@ -19,9 +19,9 @@ export declare const useClientConfig: () => Ref<{
|
|
|
19
19
|
authentication?: any;
|
|
20
20
|
baseServerURL?: string | undefined;
|
|
21
21
|
proxyUrl?: string | undefined;
|
|
22
|
-
searchHotKey?: "
|
|
22
|
+
searchHotKey?: "o" | "n" | "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
23
23
|
servers?: any[] | undefined;
|
|
24
|
-
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "vue" | null | undefined;
|
|
24
|
+
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
25
25
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
hideClientButton: boolean;
|
|
@@ -40,9 +40,9 @@ export declare const useClientConfig: () => Ref<{
|
|
|
40
40
|
authentication?: any;
|
|
41
41
|
baseServerURL?: string | undefined;
|
|
42
42
|
proxyUrl?: string | undefined;
|
|
43
|
-
searchHotKey?: "
|
|
43
|
+
searchHotKey?: "o" | "n" | "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
44
44
|
servers?: any[] | undefined;
|
|
45
|
-
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "vue" | null | undefined;
|
|
45
|
+
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
46
46
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
47
47
|
} | {
|
|
48
48
|
hideClientButton: boolean;
|
|
@@ -61,9 +61,9 @@ export declare const useClientConfig: () => Ref<{
|
|
|
61
61
|
authentication?: any;
|
|
62
62
|
baseServerURL?: string | undefined;
|
|
63
63
|
proxyUrl?: string | undefined;
|
|
64
|
-
searchHotKey?: "
|
|
64
|
+
searchHotKey?: "o" | "n" | "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
65
65
|
servers?: any[] | undefined;
|
|
66
|
-
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "vue" | null | undefined;
|
|
66
|
+
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
67
67
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
68
68
|
}>;
|
|
69
69
|
//# sourceMappingURL=useClientConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;+
|
|
1
|
+
{"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,KAAK,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;+CACogP,GAAG;;;;;mDAA8N,GAAG;;;;;;;;;;sCAA2wB,GAAI;;;;;;+CAAn/B,GAAG;;;;WAAoJ,CAAC;eAAqC,CAAC,mCAAmC,GAAG;aAA0E,CAAC;YAAkC,CAAC;;;;;;;;sCAA6pB,GAAI;;;;;;+CAAn/B,GAAG;;;;;mDAA8N,GAAG;;;;;;;;;;sCAA2wB,GAAI;EAD95Q,CAAA"}
|