@scalar/api-client 2.1.45 → 2.1.47
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 +66 -58
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +8 -8
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +40 -39
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +7 -7
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +32 -26
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +14 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +15 -10
- package/dist/components/ContextBar.vue.d.ts +1 -1
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +30 -19
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +17 -17
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +10 -10
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -18
- package/dist/components/Form/Form.vue.js +15 -15
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +2 -2
- package/dist/components/ImportCollection/DropEventListener.vue.js +6 -6
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -21
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -0
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +87 -74
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +14 -13
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +2 -2
- package/dist/components/ImportCollection/PasteEventListener.vue.js +5 -5
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -2
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +10 -5
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +43 -33
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +1 -0
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +31 -21
- package/dist/components/Search/useSearch.d.ts +2 -0
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +25 -24
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts +3 -0
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -0
- package/dist/components/SideNav/DownloadAppButton.vue.js +7 -0
- package/dist/components/SideNav/DownloadAppButton.vue2.js +33 -0
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideHelp.vue.js +55 -53
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +82 -5
- package/dist/components/SideNav/SideNav.vue2.js +2 -72
- package/dist/components/{SubpageHeader.vue.d.ts → SideNav/SideNavGroup.vue.d.ts} +3 -3
- package/dist/components/SideNav/SideNavGroup.vue.d.ts.map +1 -0
- package/dist/components/SideNav/SideNavGroup.vue.js +16 -0
- package/dist/components/SideNav/SideNavGroup.vue2.js +4 -0
- package/dist/components/SideNav/SideNavLink.vue.d.ts +5 -5
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +31 -34
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +25 -0
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -0
- package/dist/components/SideNav/SideNavRouterLink.vue.js +29 -0
- package/dist/components/SideNav/SideNavRouterLink.vue2.js +4 -0
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +1 -4
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +17 -17
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +16 -15
- 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 +14 -14
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +31 -31
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +13 -21
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -4
- package/dist/hooks/useLayout.d.ts +13 -0
- package/dist/hooks/useLayout.d.ts.map +1 -0
- package/dist/hooks/useLayout.js +7 -0
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +37 -37
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +21 -13
- package/dist/layouts/App/create-api-client-app.d.ts +28 -28
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +10 -8
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +3 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/ApiClientModal.vue2.js +37 -25
- package/dist/layouts/Modal/create-api-client-modal.d.ts +56 -56
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +8 -7
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +30 -30
- package/dist/layouts/Web/create-api-client-web.d.ts +28 -28
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +9 -7
- package/dist/libs/create-client.d.ts +35 -29
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +55 -42
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/router.d.ts +4 -41
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +18 -149
- package/dist/routes.d.ts +150 -0
- package/dist/routes.d.ts.map +1 -0
- package/dist/routes.js +182 -0
- package/dist/store/collections.d.ts +4 -4
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/router-params.js +1 -1
- package/dist/store/security-schemes.d.ts +4 -4
- package/dist/store/store.d.ts +56 -56
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +90 -90
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +10 -10
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +52 -53
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +79 -80
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +20 -15
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +146 -108
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -52
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +102 -97
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +44 -40
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +152 -134
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +2 -2
- 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 +129 -115
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +6 -6
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +36 -34
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +13 -10
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +0 -2
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +8 -8
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +32 -33
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +61 -55
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +32 -25
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +102 -70
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +60 -50
- package/dist/views/Request/types/sidebar-item.d.ts +2 -1
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +12 -7
- package/package.json +10 -8
- package/dist/components/SubpageHeader.vue.d.ts.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +0 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +0 -7
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +0 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as W, ref as c, computed as x, openBlock as C, createBlock as h, withCtx as u, createElementVNode as f, createVNode as i, unref as n, normalizeClass as q, toDisplayString as V, createCommentVNode as j, createTextVNode as E } from "vue";
|
|
2
|
+
import H from "../HttpMethod/HttpMethod.vue.js";
|
|
3
3
|
import { ScalarListbox as D, ScalarButton as k, ScalarIcon as w } from "@scalar/components";
|
|
4
|
-
import { useToasts as
|
|
5
|
-
import { useRouter as
|
|
4
|
+
import { useToasts as I } from "@scalar/use-toasts";
|
|
5
|
+
import { useRouter as $ } from "vue-router";
|
|
6
6
|
import L from "./CommandActionForm.vue.js";
|
|
7
7
|
import O from "./CommandActionInput.vue.js";
|
|
8
8
|
import { isHTTPMethod as A } from "../HttpMethod/helpers.js";
|
|
9
9
|
import { useWorkspace as F } from "../../store/store.js";
|
|
10
|
-
const G = { class: "flex gap-2" }, le = /* @__PURE__ */
|
|
10
|
+
const G = { class: "flex gap-2" }, le = /* @__PURE__ */ W({
|
|
11
11
|
__name: "CommandPaletteRequest",
|
|
12
12
|
props: {
|
|
13
13
|
metaData: {}
|
|
14
14
|
},
|
|
15
15
|
emits: ["close", "back"],
|
|
16
16
|
setup(S, { emit: _ }) {
|
|
17
|
-
const r = S, b = _, { push: M } =
|
|
17
|
+
const r = S, b = _, { push: M } = $(), { toast: N } = I(), {
|
|
18
18
|
activeCollection: R,
|
|
19
19
|
activeWorkspace: U,
|
|
20
20
|
activeWorkspaceCollections: g,
|
|
21
21
|
requestMutators: T,
|
|
22
22
|
activeRequest: y,
|
|
23
|
-
tags:
|
|
24
|
-
} = F(), o = c(""), d = c("get"),
|
|
23
|
+
tags: z
|
|
24
|
+
} = F(), o = c(""), d = c("get"), p = x(
|
|
25
25
|
() => g.value.map((t) => {
|
|
26
26
|
var e;
|
|
27
27
|
return {
|
|
@@ -34,23 +34,23 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
34
34
|
(t) => {
|
|
35
35
|
var e;
|
|
36
36
|
return t.uid === ((e = l.value) == null ? void 0 : e.id) ? t.tags.flatMap((a) => {
|
|
37
|
-
const
|
|
38
|
-
return
|
|
37
|
+
const v = z[a];
|
|
38
|
+
return v ? [
|
|
39
39
|
{
|
|
40
|
-
id:
|
|
41
|
-
label:
|
|
40
|
+
id: v.uid,
|
|
41
|
+
label: v.name
|
|
42
42
|
}
|
|
43
43
|
] : [];
|
|
44
44
|
}) : [];
|
|
45
45
|
}
|
|
46
46
|
)
|
|
47
47
|
), l = c(
|
|
48
|
-
r.metaData ?
|
|
48
|
+
r.metaData ? p.value.find(
|
|
49
49
|
(t) => {
|
|
50
50
|
var e, a;
|
|
51
51
|
return t.id === ((e = r.metaData) == null ? void 0 : e.itemUid) || t.id === ((a = r.metaData) == null ? void 0 : a.parentUid);
|
|
52
52
|
}
|
|
53
|
-
) :
|
|
53
|
+
) : p.value.find(
|
|
54
54
|
(t) => {
|
|
55
55
|
var e;
|
|
56
56
|
return t.id === ((e = R.value) == null ? void 0 : e.uid);
|
|
@@ -64,7 +64,7 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
64
64
|
var e, a;
|
|
65
65
|
return t.label === ((a = (e = y.value) == null ? void 0 : e.tags) == null ? void 0 : a[0]);
|
|
66
66
|
})
|
|
67
|
-
),
|
|
67
|
+
), B = (t) => d.value = t, P = () => {
|
|
68
68
|
var e;
|
|
69
69
|
if (!o.value.trim()) {
|
|
70
70
|
N("Please enter a name before creating a request.", "error");
|
|
@@ -83,24 +83,30 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
83
83
|
},
|
|
84
84
|
l.value.id
|
|
85
85
|
);
|
|
86
|
-
t && M(
|
|
86
|
+
t && M({
|
|
87
|
+
name: "request",
|
|
88
|
+
params: {
|
|
89
|
+
workspace: U.value.uid,
|
|
90
|
+
request: t.uid
|
|
91
|
+
}
|
|
92
|
+
}), b("close");
|
|
87
93
|
};
|
|
88
94
|
return (t, e) => (C(), h(L, {
|
|
89
95
|
disabled: !o.value.trim(),
|
|
90
|
-
onSubmit:
|
|
96
|
+
onSubmit: P
|
|
91
97
|
}, {
|
|
92
98
|
options: u(() => [
|
|
93
99
|
f("div", G, [
|
|
94
|
-
i(
|
|
100
|
+
i(H, {
|
|
95
101
|
isEditable: !0,
|
|
96
102
|
isSquare: "",
|
|
97
103
|
method: d.value,
|
|
98
|
-
onChange:
|
|
104
|
+
onChange: B
|
|
99
105
|
}, null, 8, ["method"]),
|
|
100
106
|
i(n(D), {
|
|
101
107
|
modelValue: l.value,
|
|
102
108
|
"onUpdate:modelValue": e[2] || (e[2] = (a) => l.value = a),
|
|
103
|
-
options:
|
|
109
|
+
options: p.value
|
|
104
110
|
}, {
|
|
105
111
|
default: u(() => [
|
|
106
112
|
i(n(k), {
|
|
@@ -109,8 +115,8 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
109
115
|
}, {
|
|
110
116
|
default: u(() => [
|
|
111
117
|
f("span", {
|
|
112
|
-
class:
|
|
113
|
-
},
|
|
118
|
+
class: q(l.value ? "text-c-1" : "text-c-3")
|
|
119
|
+
}, V(l.value ? l.value.label : "Select Collection"), 3),
|
|
114
120
|
i(n(w), {
|
|
115
121
|
class: "text-c-3",
|
|
116
122
|
icon: "ChevronDown",
|
|
@@ -135,8 +141,8 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
135
141
|
}, {
|
|
136
142
|
default: u(() => [
|
|
137
143
|
f("span", {
|
|
138
|
-
class:
|
|
139
|
-
},
|
|
144
|
+
class: q(s.value ? "text-c-1" : "text-c-3")
|
|
145
|
+
}, V(s.value ? s.value.label : "Select Tag"), 3),
|
|
140
146
|
i(n(w), {
|
|
141
147
|
class: "text-c-3",
|
|
142
148
|
icon: "ChevronDown",
|
|
@@ -147,11 +153,11 @@ const G = { class: "flex gap-2" }, le = /* @__PURE__ */ P({
|
|
|
147
153
|
})
|
|
148
154
|
]),
|
|
149
155
|
_: 1
|
|
150
|
-
}, 8, ["modelValue", "options"])) :
|
|
156
|
+
}, 8, ["modelValue", "options"])) : j("", !0)
|
|
151
157
|
])
|
|
152
158
|
]),
|
|
153
159
|
submit: u(() => e[4] || (e[4] = [
|
|
154
|
-
|
|
160
|
+
E("Create Request")
|
|
155
161
|
])),
|
|
156
162
|
default: u(() => [
|
|
157
163
|
i(O, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteWorkspace.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteWorkspace.vue"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"CommandPaletteWorkspace.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteWorkspace.vue"],"names":[],"mappings":";;;;;;;AAsMA,wBAOG"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useToasts as
|
|
3
|
-
import { useRouter as
|
|
1
|
+
import { defineComponent as c, ref as i, openBlock as d, createBlock as f, withCtx as s, createTextVNode as k, createVNode as b } from "vue";
|
|
2
|
+
import { useToasts as w } from "@scalar/use-toasts";
|
|
3
|
+
import { useRouter as _ } from "vue-router";
|
|
4
4
|
import v from "./CommandActionForm.vue.js";
|
|
5
5
|
import N from "./CommandActionInput.vue.js";
|
|
6
6
|
import { useWorkspace as V } from "../../store/store.js";
|
|
7
|
-
const
|
|
7
|
+
const $ = /* @__PURE__ */ c({
|
|
8
8
|
__name: "CommandPaletteWorkspace",
|
|
9
9
|
emits: ["close", "back"],
|
|
10
10
|
setup(W, { emit: m }) {
|
|
11
|
-
const
|
|
11
|
+
const t = m, { push: n } = _(), { toast: l } = w(), { workspaceMutators: p } = V(), o = i(""), u = () => {
|
|
12
12
|
if (!o.value.trim()) {
|
|
13
13
|
l("Please enter a name before creating a workspace.", "error");
|
|
14
14
|
return;
|
|
@@ -16,7 +16,12 @@ const T = /* @__PURE__ */ i({
|
|
|
16
16
|
const r = p.add({
|
|
17
17
|
name: o.value
|
|
18
18
|
});
|
|
19
|
-
n(
|
|
19
|
+
n({
|
|
20
|
+
name: "workspace",
|
|
21
|
+
params: {
|
|
22
|
+
workspace: r.uid
|
|
23
|
+
}
|
|
24
|
+
}), t("close");
|
|
20
25
|
};
|
|
21
26
|
return (r, e) => (d(), f(v, {
|
|
22
27
|
disabled: !o.value.trim(),
|
|
@@ -28,10 +33,10 @@ const T = /* @__PURE__ */ i({
|
|
|
28
33
|
default: s(() => [
|
|
29
34
|
b(N, {
|
|
30
35
|
modelValue: o.value,
|
|
31
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
36
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => o.value = a),
|
|
32
37
|
label: "Workspace Name",
|
|
33
38
|
placeholder: "Workspace Name",
|
|
34
|
-
onOnDelete: e[1] || (e[1] = (
|
|
39
|
+
onOnDelete: e[1] || (e[1] = (a) => t("back", a))
|
|
35
40
|
}, null, 8, ["modelValue"])
|
|
36
41
|
]),
|
|
37
42
|
_: 1
|
|
@@ -39,5 +44,5 @@ const T = /* @__PURE__ */ i({
|
|
|
39
44
|
}
|
|
40
45
|
});
|
|
41
46
|
export {
|
|
42
|
-
|
|
47
|
+
$ as default
|
|
43
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA8YA;;;;GAIG;;AACH,wBA+dI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import o from "./TheCommandPalette.vue2.js";
|
|
2
|
-
import { PaletteComponents as
|
|
2
|
+
import { PaletteComponents as f } from "./TheCommandPalette.vue2.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8de4d9e3"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
f as PaletteComponents,
|
|
8
|
+
a as default
|
|
9
9
|
};
|
|
@@ -73,12 +73,12 @@ const ve = {
|
|
|
73
73
|
{
|
|
74
74
|
name: "Add Environment",
|
|
75
75
|
icon: "Brackets",
|
|
76
|
-
path: "
|
|
76
|
+
path: "environment"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
name: "Add Cookie",
|
|
80
80
|
icon: "Cookie",
|
|
81
|
-
path: "
|
|
81
|
+
path: "cookies"
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
84
|
},
|
|
@@ -87,10 +87,10 @@ const ve = {
|
|
|
87
87
|
commands: se.map((e) => ({
|
|
88
88
|
name: e.prettyName,
|
|
89
89
|
icon: e.icon,
|
|
90
|
-
path:
|
|
90
|
+
path: `${e.name}.default`
|
|
91
91
|
}))
|
|
92
92
|
}
|
|
93
|
-
], d = oe(), { push: W } = le(), { activeWorkspace: H, events: f } = fe(), x = i(), l = i(""), s = i(null), c = i(-1),
|
|
93
|
+
], d = oe(), { push: W } = le(), { activeWorkspace: H, events: f } = fe(), x = i(), l = i(""), s = i(null), c = i(-1), D = i([]), v = T(
|
|
94
94
|
() => P.reduce((e, o) => {
|
|
95
95
|
const t = o.commands.filter(
|
|
96
96
|
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
@@ -104,8 +104,13 @@ const ve = {
|
|
|
104
104
|
var o;
|
|
105
105
|
return (o = _.value) == null ? void 0 : o.focus();
|
|
106
106
|
});
|
|
107
|
-
},
|
|
108
|
-
"path" in e ? (W(
|
|
107
|
+
}, $ = (e) => {
|
|
108
|
+
"path" in e ? (W({
|
|
109
|
+
name: e.path,
|
|
110
|
+
params: {
|
|
111
|
+
workspace: H.value.uid
|
|
112
|
+
}
|
|
113
|
+
}), h()) : s.value = e.name;
|
|
109
114
|
}, _ = i(), I = ({
|
|
110
115
|
commandName: e,
|
|
111
116
|
metaData: o
|
|
@@ -123,14 +128,14 @@ const ve = {
|
|
|
123
128
|
if (!d.open) return;
|
|
124
129
|
o.preventDefault();
|
|
125
130
|
const t = e === "up" ? -1 : 1, n = v.value.length;
|
|
126
|
-
c.value = (c.value + t + n) % n, (C =
|
|
131
|
+
c.value = (c.value + t + n) % n, (C = D.value[c.value]) == null || C.scrollIntoView({
|
|
127
132
|
behavior: "smooth",
|
|
128
133
|
block: "nearest"
|
|
129
134
|
});
|
|
130
135
|
}, k = T(
|
|
131
136
|
() => v.value[c.value]
|
|
132
137
|
), U = (e) => {
|
|
133
|
-
!k.value || s.value || (e.preventDefault(), e.stopPropagation(),
|
|
138
|
+
!k.value || s.value || (e.preventDefault(), e.stopPropagation(), $(k.value));
|
|
134
139
|
}, L = (e) => {
|
|
135
140
|
d.open && e != null && e.closeModal && h();
|
|
136
141
|
};
|
|
@@ -216,12 +221,12 @@ const ve = {
|
|
|
216
221
|
key: n.name,
|
|
217
222
|
ref_for: !0,
|
|
218
223
|
ref: (b) => {
|
|
219
|
-
b && (
|
|
224
|
+
b && (D.value[C] = b);
|
|
220
225
|
},
|
|
221
226
|
class: X(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
|
|
222
227
|
"bg-b-2": n.name === ((E = k.value) == null ? void 0 : E.name)
|
|
223
228
|
}]),
|
|
224
|
-
onClick: (b) =>
|
|
229
|
+
onClick: (b) => $(n)
|
|
225
230
|
}, [
|
|
226
231
|
p(r(A), {
|
|
227
232
|
class: "text-c-2 mr-2.5",
|
|
@@ -6,6 +6,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
6
6
|
setActiveSection: (value: string) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onSetActiveSection?: ((value: string) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=ContextBar.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":"AAmJA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAC;;;;;;AAwKF,wBAQG"}
|
|
@@ -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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3015ddb3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,27 +1,38 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, useId as x, 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
|
+
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-6 top-1/2 -translate-y-1/2" }, N = { class: "mr-1.5 context-bar-group-hover:hidden" }, D = /* @__PURE__ */ f({
|
|
4
4
|
__name: "ContextBar",
|
|
5
5
|
props: {
|
|
6
6
|
sections: {},
|
|
7
7
|
activeSection: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["setActiveSection"],
|
|
10
|
-
setup(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
setup(c, { emit: d }) {
|
|
11
|
+
const u = c, p = d, m = x(), t = h({
|
|
12
|
+
get: () => u.activeSection,
|
|
13
|
+
set: (s) => p("setActiveSection", s)
|
|
14
|
+
});
|
|
15
|
+
return (s, o) => (r(), i("fieldset", q, [
|
|
16
|
+
o[1] || (o[1] = e("legend", { class: "sr-only" }, "Filter Sections", -1)),
|
|
17
|
+
e("div", B, [
|
|
18
|
+
(r(!0), i(g, null, _(s.sections, (n) => (r(), i("label", {
|
|
19
|
+
key: n,
|
|
20
|
+
class: b(["filter-hover-item flex items-center hover:bg-b-2 rounded p-1 px-2 cursor-pointer text-center font-medium w-fit whitespace-nowrap has-[:focus-visible]:outline", [t.value === n ? "text-c-1 pointer-events-none" : ""]])
|
|
21
|
+
}, [
|
|
22
|
+
y(l(n) + " ", 1),
|
|
23
|
+
S(e("input", {
|
|
24
|
+
"onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
|
|
25
|
+
class: "sr-only",
|
|
26
|
+
name: a(m),
|
|
27
|
+
type: "radio",
|
|
28
|
+
value: n
|
|
29
|
+
}, null, 8, C), [
|
|
30
|
+
[w, t.value]
|
|
31
|
+
])
|
|
32
|
+
], 2))), 128)),
|
|
33
|
+
e("div", F, [
|
|
34
|
+
e("span", N, l(t.value), 1),
|
|
35
|
+
k(a(V), {
|
|
25
36
|
icon: "FilterList",
|
|
26
37
|
size: "md",
|
|
27
38
|
thickness: "2"
|
|
@@ -32,5 +43,5 @@ const m = { class: "hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[
|
|
|
32
43
|
}
|
|
33
44
|
});
|
|
34
45
|
export {
|
|
35
|
-
|
|
46
|
+
D as default
|
|
36
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCheckbox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTableCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCheckbox.vue"],"names":[],"mappings":"AA0DA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC1B,CAAC;;;;;;WADQ,MAAM,GAAG,QAAQ;;AAsH7B,wBASG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import { cva as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as s, openBlock as n, createBlock as i, withCtx as c, createElementVNode as o, normalizeClass as d, unref as a, createVNode as p } from "vue";
|
|
2
|
+
import { ScalarIcon as u } from "@scalar/components";
|
|
3
|
+
import { cva as m } from "cva";
|
|
4
|
+
import f from "./DataTableCell.vue.js";
|
|
5
|
+
const b = ["checked", "disabled"], x = /* @__PURE__ */ s({
|
|
6
6
|
__name: "DataTableCheckbox",
|
|
7
7
|
props: {
|
|
8
8
|
modelValue: { type: Boolean },
|
|
@@ -11,8 +11,8 @@ const u = ["checked", "disabled"], v = /* @__PURE__ */ n({
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(h) {
|
|
14
|
-
const
|
|
15
|
-
base: "w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-2 pointer-events-none absolute
|
|
14
|
+
const l = m({
|
|
15
|
+
base: "w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-2 pointer-events-none absolute",
|
|
16
16
|
variants: {
|
|
17
17
|
align: {
|
|
18
18
|
left: "left-0",
|
|
@@ -20,20 +20,20 @@ const u = ["checked", "disabled"], v = /* @__PURE__ */ n({
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
|
-
return (e,
|
|
24
|
-
default:
|
|
25
|
-
|
|
23
|
+
return (e, t) => (n(), i(f, { class: "group/cell relative flex min-w-8" }, {
|
|
24
|
+
default: c(() => [
|
|
25
|
+
o("input", {
|
|
26
26
|
checked: e.modelValue,
|
|
27
27
|
class: "peer absolute inset-0 opacity-0 cursor-pointer",
|
|
28
28
|
disabled: e.disabled,
|
|
29
|
-
tabindex: "-1",
|
|
30
29
|
type: "checkbox",
|
|
31
|
-
onChange:
|
|
32
|
-
}, null, 40,
|
|
33
|
-
|
|
34
|
-
class: d(
|
|
30
|
+
onChange: t[0] || (t[0] = (r) => e.$emit("update:modelValue", r.target.checked))
|
|
31
|
+
}, null, 40, b),
|
|
32
|
+
o("div", {
|
|
33
|
+
class: d(a(l)({ align: e.align }))
|
|
35
34
|
}, [
|
|
36
|
-
|
|
35
|
+
t[1] || (t[1] = o("div", { class: "absolute opacity-0 group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100 group-has-[:focus-visible]/cell:border-c-accent border-[1px] rounded size-3/4 m-auto" }, null, -1)),
|
|
36
|
+
p(a(u), {
|
|
37
37
|
icon: "Checkmark",
|
|
38
38
|
size: "xs",
|
|
39
39
|
thickness: "2.5"
|
|
@@ -45,5 +45,5 @@ const u = ["checked", "disabled"], v = /* @__PURE__ */ n({
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
x as default
|
|
49
49
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAsLA,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAqDJ,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAsLA,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAqDJ,iBAAS,cAAc;WA4OT,OAAO,IAA6B;;yBAVrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;EAa7B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cAjUN,OAAO;2BAGM,OAAO;cACpB,OAAO;6EAqUpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./DataTableInput.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-8574d822"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as V, ref as i, computed as
|
|
1
|
+
import { defineComponent as V, ref as i, computed as b, openBlock as l, createBlock as u, normalizeClass as k, withCtx as g, createElementBlock as r, renderSlot as p, createCommentVNode as d, createElementVNode as C, Fragment as B, mergeProps as f, unref as $ } from "vue";
|
|
2
2
|
import h from "../CodeInput/CodeInput.vue.js";
|
|
3
3
|
import { ScalarIconButton as x } from "@scalar/components";
|
|
4
4
|
import O from "./DataTableCell.vue.js";
|
|
@@ -8,7 +8,7 @@ const A = {
|
|
|
8
8
|
class: "text-c-1 flex min-w-[94px] items-center pl-2 pr-0"
|
|
9
9
|
}, I = { class: "row-1 overflow-x-auto" }, E = ["id", "readOnly", "type", "value"], F = {
|
|
10
10
|
key: 2,
|
|
11
|
-
class: "absolute centered-y right-
|
|
11
|
+
class: "absolute centered-y right-2 pt-px text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[:focus-visible]:opacity-0"
|
|
12
12
|
}, S = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "absolute centered-y right-7 text-orange text-xs"
|
|
@@ -28,16 +28,16 @@ const A = {
|
|
|
28
28
|
max: {}
|
|
29
29
|
},
|
|
30
30
|
emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
|
|
31
|
-
setup(
|
|
32
|
-
const o =
|
|
31
|
+
setup(y, { emit: c }) {
|
|
32
|
+
const o = y, s = c, n = i(!0);
|
|
33
33
|
i("");
|
|
34
34
|
const v = i(!1), w = () => {
|
|
35
35
|
v.value || s("inputBlur");
|
|
36
|
-
}, m =
|
|
36
|
+
}, m = b(
|
|
37
37
|
() => o.type === "password" ? n.value ? "password" : "text" : o.type ?? "text"
|
|
38
38
|
);
|
|
39
39
|
return (e, t) => (l(), u(O, {
|
|
40
|
-
class:
|
|
40
|
+
class: k(["relative row", e.containerClass])
|
|
41
41
|
}, {
|
|
42
42
|
default: g(() => [
|
|
43
43
|
e.$slots.default ? (l(), r("div", A, [
|
|
@@ -51,10 +51,10 @@ const A = {
|
|
|
51
51
|
value: o.enum,
|
|
52
52
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => s("update:modelValue", a))
|
|
53
53
|
}, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (l(), r(B, { key: 1 }, [
|
|
54
|
-
n.value && e.type === "password" ? (l(), r("input",
|
|
54
|
+
n.value && e.type === "password" ? (l(), r("input", f({ key: 0 }, e.$attrs, {
|
|
55
55
|
id: e.id,
|
|
56
56
|
autocomplete: "off",
|
|
57
|
-
class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.25 outline-
|
|
57
|
+
class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.25 -outline-offset-2",
|
|
58
58
|
"data-1p-ignore": "",
|
|
59
59
|
readOnly: e.readOnly,
|
|
60
60
|
spellcheck: "false",
|
|
@@ -64,9 +64,9 @@ const A = {
|
|
|
64
64
|
"update:modelValue",
|
|
65
65
|
a.target.value ?? ""
|
|
66
66
|
))
|
|
67
|
-
}), null, 16, E)) : (l(), u(h,
|
|
67
|
+
}), null, 16, E)) : (l(), u(h, f({ key: 1 }, e.$attrs, {
|
|
68
68
|
id: e.id,
|
|
69
|
-
class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer
|
|
69
|
+
class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer",
|
|
70
70
|
disableCloseBrackets: "",
|
|
71
71
|
disableTabIndent: "",
|
|
72
72
|
max: e.max,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AAkZA,wBAMG"}
|