@scalar/api-client 2.0.24 → 2.0.26
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 +39 -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 +79 -83
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +38 -38
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +43 -38
- package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
- package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeVariableWidget.js +124 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.js +4 -0
- package/dist/components/ContextBar.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -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 +36 -49
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +26 -23
- package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +5 -5
- package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +14 -12
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +31 -28
- package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +16 -15
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
- package/dist/constants.d.ts +13 -7
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -16
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
- package/dist/layouts/App/ApiClientApp.vue.js +72 -0
- package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
- package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
- package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
- package/dist/layouts/App/index.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
- package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +1 -1
- package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/api-client-modal.js +42 -42
- package/dist/layouts/Modal/index.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.d.ts +14 -0
- package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.js +5 -0
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +19 -19
- package/dist/router.d.ts +5 -10
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +23 -19
- package/dist/store/topNav.d.ts +94 -82
- package/dist/store/topNav.d.ts.map +1 -1
- package/dist/store/topNav.js +21 -20
- package/dist/store/workspace.d.ts +348 -94
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +314 -221
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +27 -30
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +22 -25
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +130 -109
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -4
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +19 -19
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
- 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 +78 -81
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +60 -42
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +6 -5
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/components/OAuth2.vue.js +2 -0
- package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
- package/dist/views/Request/components/index.d.ts +1 -0
- package/dist/views/Request/components/index.d.ts.map +1 -1
- package/dist/views/Request/components/index.js +4 -2
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +12 -15
- package/package.json +22 -18
- package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
- package/dist/App/ApiClientApp.vue.js +0 -56
- package/dist/App/createApiClientApp.d.ts.map +0 -1
- package/dist/App/index.d.ts.map +0 -1
- package/dist/App.vue.d.ts.map +0 -1
- package/dist/App.vue.js +0 -77
- package/dist/App.vue3.js +0 -5
- package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
- package/dist/Modal/api-client-modal.d.ts.map +0 -1
- package/dist/Modal/index.d.ts.map +0 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +0 -113
- package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -185
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
- /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
- /package/dist/{App → layouts/App}/index.d.ts +0 -0
- /package/dist/{App → layouts/App}/index.js +0 -0
- /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
- /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
- /package/dist/{Modal → layouts/Modal}/index.js +0 -0
|
@@ -1,98 +1,114 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { useWorkspace as
|
|
10
|
-
import
|
|
1
|
+
import { defineComponent as W, ref as j, onMounted as F, onBeforeUnmount as A, openBlock as f, createElementBlock as w, Fragment as O, createElementVNode as c, normalizeClass as b, createVNode as r, unref as e, createCommentVNode as _, withCtx as m, withDirectives as H, createSlots as P, withModifiers as R, renderList as J, createBlock as k, createTextVNode as K, vShow as Q } from "vue";
|
|
2
|
+
import G from "../../components/AddressBar/AddressBar.vue.js";
|
|
3
|
+
import X from "../../components/Search/SearchButton.vue.js";
|
|
4
|
+
import Y from "../../components/Search/SearchModal.vue.js";
|
|
5
|
+
import Z from "../../components/Sidebar/SidebarButton.vue.js";
|
|
6
|
+
import ee from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
7
|
+
import te from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
8
|
+
import { commandPaletteBus as oe } from "../../libs/eventBusses/command-palette.js";
|
|
9
|
+
import { useWorkspace as re } from "../../store/workspace.js";
|
|
10
|
+
import se from "./RequestSection/RequestSection.vue.js";
|
|
11
11
|
/* empty css */
|
|
12
|
-
import
|
|
13
|
-
import { useModal as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
12
|
+
import ae from "./ResponseSection/ResponseSection.vue.js";
|
|
13
|
+
import { useModal as ne, ScalarIcon as y } from "@scalar/components";
|
|
14
|
+
import { REQUEST_METHODS as le } from "@scalar/oas-utils/helpers";
|
|
15
|
+
import { isMacOS as B } from "@scalar/use-tooltip";
|
|
16
|
+
import { useMagicKeys as ie, useEventListener as ue } from "@vueuse/core";
|
|
17
|
+
import ce from "./RequestSidebarItem.vue.js";
|
|
18
|
+
import me from "../../components/Sidebar/Sidebar.vue.js";
|
|
18
19
|
/* empty css */
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
20
|
+
import de from "./components/WorkspaceDropdown.vue.js";
|
|
21
|
+
import { useSidebar as pe } from "../../hooks/useSidebar.js";
|
|
22
|
+
import { sendRequest as fe } from "../../libs/sendRequest.js";
|
|
23
|
+
import { executeRequestBus as D } from "../../libs/eventBusses/executeRequestBus.js";
|
|
24
|
+
const ve = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, ge = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, he = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, je = /* @__PURE__ */ W({
|
|
23
25
|
__name: "Request",
|
|
24
|
-
setup(
|
|
25
|
-
var
|
|
26
|
+
setup(xe) {
|
|
27
|
+
var C;
|
|
26
28
|
const {
|
|
27
|
-
activeExample:
|
|
28
|
-
activeRequest:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
activeWorkspace:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
activeExample: h,
|
|
30
|
+
activeRequest: n,
|
|
31
|
+
activeSecurityScheme: E,
|
|
32
|
+
activeWorkspaceServers: q,
|
|
33
|
+
activeWorkspace: i,
|
|
34
|
+
environments: M,
|
|
35
|
+
requestMutators: $,
|
|
36
|
+
activeWorkspaceCollections: I,
|
|
37
|
+
modalState: N
|
|
38
|
+
} = re(), { collapsedSidebarFolders: V } = pe(), v = ne(), l = j(!((C = i.value) != null && C.isReadOnly)), S = async () => {
|
|
39
|
+
var g;
|
|
40
|
+
if (!n.value || !h.value) {
|
|
37
41
|
console.warn(
|
|
38
42
|
"There is no request active at the moment. Please select one then try again."
|
|
39
43
|
);
|
|
40
44
|
return;
|
|
41
45
|
}
|
|
42
|
-
let s =
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
46
|
+
let s = h.value.url;
|
|
47
|
+
const o = Object.values(M).reduce(
|
|
48
|
+
(d, p) => {
|
|
49
|
+
try {
|
|
50
|
+
return { ...d, ...JSON.parse(p.raw) };
|
|
51
|
+
} catch {
|
|
52
|
+
return d;
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{}
|
|
56
|
+
), t = /\{\{(.*?)\}\}/g;
|
|
57
|
+
s = s.replace(t, (d, p) => (q.value.forEach((U) => {
|
|
58
|
+
if (U.url === p)
|
|
59
|
+
return p;
|
|
60
|
+
}), o[p] || p));
|
|
61
|
+
const { request: a, response: u } = await fe(
|
|
62
|
+
n.value,
|
|
63
|
+
h.value,
|
|
54
64
|
s,
|
|
55
|
-
|
|
56
|
-
(g =
|
|
65
|
+
E.value,
|
|
66
|
+
(g = i.value) == null ? void 0 : g.proxyUrl
|
|
57
67
|
);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
a && u ? $.edit(n.value.uid, "history", [
|
|
69
|
+
...n.value.history,
|
|
70
|
+
{
|
|
71
|
+
request: a,
|
|
72
|
+
response: u,
|
|
73
|
+
timestamp: Date.now()
|
|
74
|
+
}
|
|
75
|
+
]) : console.warn("No response or request was returned");
|
|
76
|
+
};
|
|
77
|
+
F(() => D.on(S)), A(() => D.off(S));
|
|
78
|
+
const z = (s, o, t, a) => {
|
|
79
|
+
}, L = () => oe.emit(), x = ie();
|
|
80
|
+
ue(document, "keydown", (s) => {
|
|
81
|
+
(B() ? x.meta.value : x.ctrl.value) && s.key === "b" && (l.value = !l.value), (B() ? x.meta.value : x.ctrl.value) && s.key === "k" && (v.open ? v.hide() : v.show());
|
|
82
|
+
});
|
|
83
|
+
const T = () => {
|
|
84
|
+
if (!n.value) return "";
|
|
85
|
+
const { method: s } = n.value;
|
|
86
|
+
return le[s].backgroundColor;
|
|
63
87
|
};
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}, h = me();
|
|
72
|
-
return pe(document, "keydown", (s) => {
|
|
73
|
-
(V() ? h.meta.value : h.ctrl.value) && s.key === "b" && (a.value = !a.value), (V() ? h.meta.value : h.ctrl.value) && s.key === "k" && (f.open ? f.hide() : f.show());
|
|
74
|
-
}), (s, o) => (p(), w(M, null, [
|
|
75
|
-
d("div", he, [
|
|
76
|
-
d("div", ye, [
|
|
77
|
-
d("div", be, [
|
|
78
|
-
d("button", {
|
|
88
|
+
return (s, o) => (f(), w(O, null, [
|
|
89
|
+
c("div", {
|
|
90
|
+
class: b(["flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color", T()])
|
|
91
|
+
}, [
|
|
92
|
+
c("div", ve, [
|
|
93
|
+
c("div", ge, [
|
|
94
|
+
c("button", {
|
|
79
95
|
class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
|
|
80
96
|
type: "button",
|
|
81
|
-
onClick: o[0] || (o[0] = (t) =>
|
|
97
|
+
onClick: o[0] || (o[0] = (t) => l.value = !l.value)
|
|
82
98
|
}, [
|
|
83
99
|
r(e(y), {
|
|
84
|
-
icon:
|
|
100
|
+
icon: l.value ? "SideBarOpen" : "SideBarClosed",
|
|
85
101
|
size: "sm"
|
|
86
102
|
}, null, 8, ["icon"])
|
|
87
103
|
])
|
|
88
104
|
]),
|
|
89
|
-
r(
|
|
90
|
-
|
|
91
|
-
e(
|
|
105
|
+
r(G),
|
|
106
|
+
c("div", he, [
|
|
107
|
+
e(i).isReadOnly ? (f(), w("button", {
|
|
92
108
|
key: 0,
|
|
93
109
|
class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
|
|
94
110
|
type: "button",
|
|
95
|
-
onClick: o[1] || (o[1] = (t) => e(
|
|
111
|
+
onClick: o[1] || (o[1] = (t) => e(N).hide())
|
|
96
112
|
}, [
|
|
97
113
|
r(e(y), {
|
|
98
114
|
icon: "Close",
|
|
@@ -102,42 +118,40 @@ const he = { class: "bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none round
|
|
|
102
118
|
])) : _("", !0)
|
|
103
119
|
])
|
|
104
120
|
]),
|
|
105
|
-
r(
|
|
121
|
+
r(ee, null, {
|
|
106
122
|
default: m(() => [
|
|
107
|
-
|
|
108
|
-
class:
|
|
109
|
-
}, {
|
|
110
|
-
title: m(() => [
|
|
111
|
-
$(Z(e(u).name), 1)
|
|
112
|
-
]),
|
|
123
|
+
H(r(e(me), {
|
|
124
|
+
class: b([l.value ? "sidebar-active-width" : ""])
|
|
125
|
+
}, P({
|
|
113
126
|
content: m(() => [
|
|
114
|
-
r(
|
|
115
|
-
onOpenSearchModal: o[2] || (o[2] = (t) => e(
|
|
127
|
+
r(X, {
|
|
128
|
+
onOpenSearchModal: o[2] || (o[2] = (t) => e(v).show())
|
|
116
129
|
}),
|
|
117
|
-
|
|
130
|
+
c("div", {
|
|
118
131
|
class: "custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",
|
|
119
|
-
onDragenter: o[3] || (o[3] =
|
|
132
|
+
onDragenter: o[3] || (o[3] = R(() => {
|
|
120
133
|
}, ["prevent"])),
|
|
121
|
-
onDragover: o[4] || (o[4] =
|
|
134
|
+
onDragover: o[4] || (o[4] = R(() => {
|
|
122
135
|
}, ["prevent"]))
|
|
123
136
|
}, [
|
|
124
|
-
(
|
|
137
|
+
(f(!0), w(O, null, J(e(I), (t, a) => (f(), k(ce, {
|
|
125
138
|
key: t.uid,
|
|
126
|
-
isDraggable: !e(
|
|
127
|
-
isDroppable: !e(
|
|
139
|
+
isDraggable: !e(i).isReadOnly,
|
|
140
|
+
isDroppable: !e(i).isReadOnly,
|
|
128
141
|
item: t,
|
|
129
142
|
parentUids: [],
|
|
130
|
-
onOnDragEnd: (...
|
|
143
|
+
onOnDragEnd: (...u) => z(t, a, ...u)
|
|
131
144
|
}, {
|
|
132
145
|
leftIcon: m(() => [
|
|
133
146
|
r(e(y), {
|
|
134
147
|
class: "text-sidebar-c-2 text-sm group-hover:hidden",
|
|
135
148
|
icon: "CodeFolder",
|
|
136
|
-
size: "sm"
|
|
149
|
+
size: "sm",
|
|
150
|
+
thickness: "2"
|
|
137
151
|
}),
|
|
138
|
-
|
|
139
|
-
class:
|
|
140
|
-
"rotate-90": e(
|
|
152
|
+
c("div", {
|
|
153
|
+
class: b({
|
|
154
|
+
"rotate-90": e(V)[t.uid]
|
|
141
155
|
})
|
|
142
156
|
}, [
|
|
143
157
|
r(e(y), {
|
|
@@ -152,44 +166,51 @@ const he = { class: "bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none round
|
|
|
152
166
|
], 32)
|
|
153
167
|
]),
|
|
154
168
|
button: m(() => [
|
|
155
|
-
e(
|
|
169
|
+
e(i).isReadOnly ? _("", !0) : (f(), k(Z, {
|
|
156
170
|
key: 0,
|
|
157
|
-
click:
|
|
171
|
+
click: L
|
|
158
172
|
}, {
|
|
159
173
|
title: m(() => [
|
|
160
|
-
|
|
174
|
+
K("Add Item")
|
|
161
175
|
]),
|
|
162
176
|
_: 1
|
|
163
177
|
}))
|
|
164
178
|
]),
|
|
165
|
-
_:
|
|
166
|
-
},
|
|
167
|
-
|
|
179
|
+
_: 2
|
|
180
|
+
}, [
|
|
181
|
+
e(i).isReadOnly ? void 0 : {
|
|
182
|
+
name: "header",
|
|
183
|
+
fn: m(() => [
|
|
184
|
+
r(e(de))
|
|
185
|
+
]),
|
|
186
|
+
key: "0"
|
|
187
|
+
}
|
|
188
|
+
]), 1032, ["class"]), [
|
|
189
|
+
[Q, l.value]
|
|
168
190
|
]),
|
|
169
|
-
e(
|
|
191
|
+
e(h) ? (f(), k(te, {
|
|
170
192
|
key: 0,
|
|
171
|
-
class:
|
|
193
|
+
class: b(["flex-1", [l.value ? "sidebar-active-hide-layout" : ""]])
|
|
172
194
|
}, {
|
|
173
195
|
default: m(() => {
|
|
174
|
-
var t,
|
|
196
|
+
var t, a, u, g, d;
|
|
175
197
|
return [
|
|
176
|
-
r(
|
|
177
|
-
r(
|
|
178
|
-
response: (
|
|
198
|
+
r(se),
|
|
199
|
+
r(ae, {
|
|
200
|
+
response: (d = (g = (t = e(n)) == null ? void 0 : t.history) == null ? void 0 : g[((u = (a = e(n)) == null ? void 0 : a.history) == null ? void 0 : u.length) - 1]) == null ? void 0 : d.response
|
|
179
201
|
}, null, 8, ["response"])
|
|
180
202
|
];
|
|
181
203
|
}),
|
|
182
204
|
_: 1
|
|
183
|
-
}, 8, ["class"])) : _("", !0)
|
|
184
|
-
r(se, { state: e(C) }, null, 8, ["state"])
|
|
205
|
+
}, 8, ["class"])) : _("", !0)
|
|
185
206
|
]),
|
|
186
207
|
_: 1
|
|
187
208
|
})
|
|
188
|
-
]),
|
|
189
|
-
r(
|
|
209
|
+
], 2),
|
|
210
|
+
r(Y, { modalState: e(v) }, null, 8, ["modalState"])
|
|
190
211
|
], 64));
|
|
191
212
|
}
|
|
192
213
|
});
|
|
193
214
|
export {
|
|
194
|
-
|
|
215
|
+
je as default
|
|
195
216
|
};
|
|
@@ -33,8 +33,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
|
|
|
33
33
|
onInputFocus?: (() => any) | undefined;
|
|
34
34
|
onInputBlur?: (() => any) | undefined;
|
|
35
35
|
}, {
|
|
36
|
-
readOnly: boolean;
|
|
37
36
|
required: boolean;
|
|
37
|
+
readOnly: boolean;
|
|
38
38
|
}, {}>;
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
40
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAFP,OAAO;cAEP,OAAO;MA2IpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":";AA+WA,wBAKG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, computed as v, ref as x, watch as A, openBlock as S, createBlock as
|
|
1
|
+
import { defineComponent as y, computed as v, ref as x, watch as A, openBlock as S, createBlock as k, withCtx as _, createVNode as l, unref as n, createElementVNode as r, createTextVNode as q, toDisplayString as B, withDirectives as o, vShow as a } from "vue";
|
|
2
2
|
import R from "../../../components/ContextBar.vue.js";
|
|
3
3
|
import C from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
4
|
import { useWorkspace as E } from "../../../store/workspace.js";
|
|
@@ -26,17 +26,18 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
|
|
|
26
26
|
), e = x("All");
|
|
27
27
|
return A(i, (t) => {
|
|
28
28
|
e.value === "Body" && !c.includes(t.method) && (e.value = "All");
|
|
29
|
-
}), (t, f) => (S(),
|
|
29
|
+
}), (t, f) => (S(), k(C, null, {
|
|
30
30
|
title: _(() => {
|
|
31
31
|
var s;
|
|
32
32
|
return [
|
|
33
33
|
l(n(O), {
|
|
34
34
|
class: "text-c-3 mr-2",
|
|
35
35
|
icon: "ExternalLink",
|
|
36
|
-
size: "sm"
|
|
36
|
+
size: "sm",
|
|
37
|
+
thickness: "2.5"
|
|
37
38
|
}),
|
|
38
39
|
r("div", P, [
|
|
39
|
-
|
|
40
|
+
q(" Request "),
|
|
40
41
|
r("span", T, B((s = n(i)) == null ? void 0 : s.summary), 1)
|
|
41
42
|
])
|
|
42
43
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;YAQ5E,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;YAHlB,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;qBADR,OAAO;sBACN,OAAO;;AA8b9B,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -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-92212893"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as F, openBlock as u, createBlock as
|
|
1
|
+
import { defineComponent as F, openBlock as u, createBlock as r, unref as m, withCtx as d, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
|
|
2
2
|
import k from "../../../components/CodeInput/CodeInput.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import N from "../../../components/DataTable/DataTable.vue.js";
|
|
4
4
|
import f from "../../../components/DataTable/DataTableCell.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
|
|
6
6
|
import D from "../../../components/DataTable/DataTableRow.vue.js";
|
|
7
7
|
import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
|
|
8
8
|
import A from "./RequestTableTooltip.vue.js";
|
|
9
|
-
const M = (s) => (E("data-v-
|
|
9
|
+
const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
|
|
10
10
|
__name: "RequestTable",
|
|
11
11
|
props: {
|
|
12
12
|
items: {},
|
|
@@ -29,20 +29,20 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
29
29
|
}
|
|
30
30
|
return !1;
|
|
31
31
|
}), R = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default;
|
|
32
|
-
return (e, n) => (u(),
|
|
32
|
+
return (e, n) => (u(), r(N, {
|
|
33
33
|
class: "flex-1",
|
|
34
34
|
columns: m(B)
|
|
35
35
|
}, {
|
|
36
|
-
default:
|
|
37
|
-
(u(!0), y(w, null, I(e.items, (l, a) => (u(),
|
|
38
|
-
default:
|
|
39
|
-
e.isEnabledHidden ? c("", !0) : (u(),
|
|
36
|
+
default: d(() => [
|
|
37
|
+
(u(!0), y(w, null, I(e.items, (l, a) => (u(), r(D, { key: a }, {
|
|
38
|
+
default: d(() => [
|
|
39
|
+
e.isEnabledHidden ? c("", !0) : (u(), r(q, {
|
|
40
40
|
key: 0,
|
|
41
|
-
modelValue:
|
|
41
|
+
modelValue: l.enabled,
|
|
42
42
|
"onUpdate:modelValue": (o) => t("toggleRow", a, o)
|
|
43
43
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])),
|
|
44
44
|
i(f, null, {
|
|
45
|
-
default:
|
|
45
|
+
default: d(() => [
|
|
46
46
|
i(k, {
|
|
47
47
|
disableCloseBrackets: "",
|
|
48
48
|
disableEnter: "",
|
|
@@ -60,7 +60,7 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
60
60
|
_: 2
|
|
61
61
|
}, 1024),
|
|
62
62
|
i(f, null, {
|
|
63
|
-
default:
|
|
63
|
+
default: d(() => [
|
|
64
64
|
i(k, {
|
|
65
65
|
disableCloseBrackets: "",
|
|
66
66
|
disableEnter: "",
|
|
@@ -78,8 +78,8 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
78
78
|
onSelectVariable: (o) => b(a, "value", o),
|
|
79
79
|
"onUpdate:modelValue": (o) => t("updateRow", a, "value", o)
|
|
80
80
|
}, C({
|
|
81
|
-
icon:
|
|
82
|
-
$(l) ? (u(),
|
|
81
|
+
icon: d(() => [
|
|
82
|
+
$(l) ? (u(), r(A, {
|
|
83
83
|
key: 0,
|
|
84
84
|
item: { ...l, default: R(l) }
|
|
85
85
|
}, null, 8, ["item"])) : c("", !0)
|
|
@@ -88,7 +88,7 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
88
88
|
}, [
|
|
89
89
|
v(l).value ? {
|
|
90
90
|
name: "warning",
|
|
91
|
-
fn:
|
|
91
|
+
fn: d(() => [
|
|
92
92
|
U(V(v(l).value), 1)
|
|
93
93
|
]),
|
|
94
94
|
key: "0"
|
|
@@ -97,11 +97,11 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
97
97
|
]),
|
|
98
98
|
_: 2
|
|
99
99
|
}, 1024),
|
|
100
|
-
e.showUploadButton ? (u(),
|
|
100
|
+
e.showUploadButton ? (u(), r(f, {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
104
|
+
default: d(() => {
|
|
105
105
|
var o;
|
|
106
106
|
return [
|
|
107
107
|
l.file ? (u(), y(w, { key: 0 }, [
|
|
@@ -113,14 +113,14 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
|
|
|
113
113
|
type: "button",
|
|
114
114
|
onClick: (S) => t("removeFile", a)
|
|
115
115
|
}, " Delete ", 8, j)
|
|
116
|
-
], 64)) : (u(),
|
|
116
|
+
], 64)) : (u(), r(m(H), {
|
|
117
117
|
key: 1,
|
|
118
118
|
class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
|
|
119
119
|
size: "sm",
|
|
120
120
|
variant: "outlined",
|
|
121
121
|
onClick: (S) => _(a)
|
|
122
122
|
}, {
|
|
123
|
-
default:
|
|
123
|
+
default: d(() => [
|
|
124
124
|
K,
|
|
125
125
|
i(m(z), {
|
|
126
126
|
class: "ml-1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -6,10 +6,10 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
6
6
|
}, g = {
|
|
7
7
|
key: 2,
|
|
8
8
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
9
|
-
},
|
|
9
|
+
}, k = {
|
|
10
10
|
key: 3,
|
|
11
11
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
12
|
-
},
|
|
12
|
+
}, x = {
|
|
13
13
|
key: 4,
|
|
14
14
|
class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
|
|
15
15
|
}, _ = {
|
|
@@ -33,7 +33,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
33
33
|
l(i(f), {
|
|
34
34
|
class: "ml-1 text-c-3 group-hover/info:text-c-1",
|
|
35
35
|
icon: "Info",
|
|
36
|
-
size: "sm"
|
|
36
|
+
size: "sm",
|
|
37
|
+
thickness: "1.5"
|
|
37
38
|
})
|
|
38
39
|
]),
|
|
39
40
|
content: r(() => [
|
|
@@ -42,8 +43,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
|
|
|
42
43
|
e.item.type ? (t(), o("span", h, s(e.item.type), 1)) : n("", !0),
|
|
43
44
|
e.item.format ? (t(), o("span", b, s(e.item.format), 1)) : n("", !0),
|
|
44
45
|
e.item.minimum ? (t(), o("span", g, "min: " + s(e.item.minimum), 1)) : n("", !0),
|
|
45
|
-
e.item.maximum ? (t(), o("span",
|
|
46
|
-
e.item.default ? (t(), o("span",
|
|
46
|
+
e.item.maximum ? (t(), o("span", k, "max: " + s(e.item.maximum), 1)) : n("", !0),
|
|
47
|
+
e.item.default ? (t(), o("span", x, "default: " + s(e.item.default), 1)) : n("", !0)
|
|
47
48
|
]),
|
|
48
49
|
e.item.description ? (t(), o("span", _, s(e.item.description), 1)) : n("", !0)
|
|
49
50
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA0PA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AACzE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;AAwHlD,iBAAS,cAAc;gBArFT,IAAI;;gBAAJ,IAAI;EA8WjB;AACD,QAAA,MAAM,eAAe;IAzYjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;;;;;;;IAdpD;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;;;;;;;iBATtC,OAAO;iBAMP,OAAO;MAqYvB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,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 p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18928cac"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|