@scalar/api-client 2.4.4 → 2.5.0
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 +34 -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 +94 -96
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +3 -3
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +6 -6
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -22
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- 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 +15 -15
- package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
- package/dist/components/DataTable/DataTableText.vue.js +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +1 -1
- package/dist/components/Form/Form.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +5 -5
- package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
- package/dist/components/ScalarHotkey.vue.js +7 -7
- package/dist/components/SectionFilter.vue.js +2 -2
- package/dist/components/SectionFilter.vue2.js +1 -1
- package/dist/components/SectionFilterButton.vue.js +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +3 -3
- package/dist/components/Server/ServerSelector.vue.js +13 -13
- package/dist/components/Server/ServerVariablesForm.vue.js +1 -1
- package/dist/components/SideNav/SideNav.vue.js +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +2 -2
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +3 -3
- package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -15
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +4 -4
- package/dist/layouts/App/create-api-client-app.d.ts +16 -16
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -2
- package/dist/layouts/Modal/ApiClientModal.vue2.js +3 -3
- package/dist/layouts/Modal/create-api-client-modal.d.ts +32 -32
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +16 -16
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +16 -16
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +13 -13
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts +5 -3
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/store.d.ts +16 -16
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue2.js +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
- package/dist/views/Collection/CollectionInfoForm.vue2.js +2 -2
- package/dist/views/Collection/CollectionNavigation.vue.js +2 -2
- package/dist/views/Collection/CollectionServers.vue2.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue.js +1 -1
- package/dist/views/Collection/CollectionSettings.vue2.js +4 -4
- package/dist/views/Collection/components/MarkdownInput.vue.js +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue2.js +7 -7
- package/dist/views/Environment/Environment.vue2.js +3 -3
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +3 -3
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +1 -1
- package/dist/views/Request/RequestRoot.vue.js +2 -2
- package/dist/views/Request/RequestRoot.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +3 -3
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +5 -5
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +15 -17
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +2 -2
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +4 -4
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +8 -8
- package/dist/views/Request/RequestSubpageHeader.vue.js +2 -2
- package/dist/views/Request/RequestSubpageHeader.vue2.js +2 -2
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +15 -15
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +2 -2
- package/dist/views/Settings/components/SettingsAppearance.vue.js +1 -1
- package/package.json +15 -17
- package/dist/tailwind/desktop-variants.d.ts +0 -18
- package/dist/tailwind/desktop-variants.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1e87feb: refactor!: use dereferenced documents as a content source
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 0113b84: fix(api-reference): add id prefix for useId
|
|
12
|
+
- cad6277: feat(themes)!: migrate to tailwind v4
|
|
13
|
+
- ffa93fa: feat(themes): use .scalar-app as the base class for all tailwind styles
|
|
14
|
+
- Updated dependencies [1e87feb]
|
|
15
|
+
- Updated dependencies [785939b]
|
|
16
|
+
- Updated dependencies [1e87feb]
|
|
17
|
+
- Updated dependencies [cad6277]
|
|
18
|
+
- Updated dependencies [ffa93fa]
|
|
19
|
+
- Updated dependencies [cedca9b]
|
|
20
|
+
- @scalar/openapi-parser@0.13.0
|
|
21
|
+
- @scalar/components@0.14.3
|
|
22
|
+
- @scalar/oas-utils@0.4.0
|
|
23
|
+
- @scalar/themes@0.13.0
|
|
24
|
+
- @scalar/use-hooks@0.2.2
|
|
25
|
+
- @scalar/icons@0.4.2
|
|
26
|
+
- @scalar/draggable@0.2.0
|
|
27
|
+
- @scalar/import@0.4.4
|
|
28
|
+
- @scalar/object-utils@1.2.1
|
|
29
|
+
- @scalar/openapi-types@0.3.1
|
|
30
|
+
- @scalar/postman-to-openapi@0.3.3
|
|
31
|
+
- @scalar/snippetz@0.3.0
|
|
32
|
+
- @scalar/types@0.2.1
|
|
33
|
+
- @scalar/use-codemirror@0.12.4
|
|
34
|
+
- @scalar/use-toasts@0.8.0
|
|
35
|
+
- @scalar/use-tooltip@1.1.0
|
|
36
|
+
|
|
3
37
|
## 2.4.4
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAmXA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AA+bJ,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AddressBar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2ba26325"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as z, useId as I, ref as i, watch as L, createElementBlock as U, openBlock as k, unref as r, createElementVNode as
|
|
1
|
+
import { defineComponent as z, useId as I, ref as i, watch as L, createElementBlock as U, openBlock as k, unref as r, createElementVNode as l, createVNode as u, normalizeStyle as A, normalizeClass as M, createBlock as $, createCommentVNode as H, withCtx as N, toDisplayString as b } from "vue";
|
|
2
2
|
import { ScalarButton as T, ScalarIcon as D } from "@scalar/components";
|
|
3
3
|
import { REQUEST_METHODS as O } from "@scalar/oas-utils/helpers";
|
|
4
4
|
import P from "../CodeInput/CodeInput.vue.js";
|
|
@@ -7,10 +7,10 @@ import Q from "./AddressBarHistory.vue.js";
|
|
|
7
7
|
import W from "../Server/ServerDropdown.vue.js";
|
|
8
8
|
import { useWorkspace as j } from "../../store/store.js";
|
|
9
9
|
import { useLayout as F } from "../../hooks/useLayout.js";
|
|
10
|
-
const G = ["id"], J = { class: "
|
|
10
|
+
const G = ["id"], J = { class: "address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]" }, X = { class: "pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border" }, Y = { class: "z-context-plus flex gap-1" }, Z = { class: "scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full bg-blend-normal" }, _ = {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
12
|
class: "inline-flex items-center gap-1"
|
|
13
|
-
},
|
|
13
|
+
}, ee = { class: "sr-only" }, ue = /* @__PURE__ */ z({
|
|
14
14
|
__name: "AddressBar",
|
|
15
15
|
props: {
|
|
16
16
|
collection: {},
|
|
@@ -22,8 +22,8 @@ const G = ["id"], J = { class: "m-auto flex flex-row items-center" }, X = { clas
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["importCurl"],
|
|
24
24
|
setup(n) {
|
|
25
|
-
const
|
|
26
|
-
n.operation.path !== e &&
|
|
25
|
+
const p = I(), { requestMutators: m, events: f } = j(), { layout: v } = F(), h = i(null), w = i(null), B = (e) => {
|
|
26
|
+
n.operation.path !== e && m.edit(n.operation.uid, "path", e);
|
|
27
27
|
};
|
|
28
28
|
L(
|
|
29
29
|
() => n.operation.path,
|
|
@@ -31,131 +31,129 @@ const G = ["id"], J = { class: "m-auto flex flex-row items-center" }, X = { clas
|
|
|
31
31
|
e && B(e);
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
|
-
const
|
|
34
|
+
const t = i(100), x = i(0), a = i(!1), s = i();
|
|
35
35
|
function C() {
|
|
36
|
-
a.value ?
|
|
36
|
+
a.value ? t.value -= (t.value - 15) / 60 : t.value -= x.value / 20, t.value <= 0 && (clearInterval(s.value), s.value = void 0, t.value = 100, a.value = !1);
|
|
37
37
|
}
|
|
38
38
|
function y() {
|
|
39
39
|
s.value || (a.value = !0, s.value = setInterval(C, 20));
|
|
40
40
|
}
|
|
41
41
|
function R() {
|
|
42
|
-
|
|
42
|
+
x.value = t.value, a.value = !1;
|
|
43
43
|
}
|
|
44
44
|
function q() {
|
|
45
|
-
clearInterval(s.value), s.value = void 0,
|
|
45
|
+
clearInterval(s.value), s.value = void 0, t.value = 100, a.value = !1;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
f.requestStatus.on((e) => {
|
|
48
48
|
e === "start" && y(), e === "stop" && R(), e === "abort" && q();
|
|
49
|
-
}),
|
|
49
|
+
}), f.focusAddressBar.on(() => {
|
|
50
50
|
var e, o, d;
|
|
51
|
-
v === "modal" ? (o = (e =
|
|
51
|
+
v === "modal" ? (o = (e = w.value) == null ? void 0 : e.$el) == null || o.focus() : (d = h.value) == null || d.focus();
|
|
52
52
|
});
|
|
53
53
|
function S(e) {
|
|
54
|
-
|
|
54
|
+
m.edit(n.operation.uid, "method", e);
|
|
55
55
|
}
|
|
56
56
|
function E() {
|
|
57
57
|
const { method: e } = n.operation;
|
|
58
58
|
return O[e].backgroundColor;
|
|
59
59
|
}
|
|
60
60
|
function g() {
|
|
61
|
-
a.value || (a.value = !0,
|
|
61
|
+
a.value || (a.value = !0, f.executeRequest.emit({ requestUid: n.operation.uid }));
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
f.hotKeys.on((e) => {
|
|
64
64
|
var o;
|
|
65
65
|
e != null && e.focusAddressBar && ((o = h.value) == null || o.focus()), e != null && e.executeRequest && g();
|
|
66
66
|
});
|
|
67
67
|
function V(e) {
|
|
68
|
-
|
|
68
|
+
m.edit(n.operation.uid, "path", e);
|
|
69
69
|
}
|
|
70
70
|
return (e, o) => {
|
|
71
71
|
var d;
|
|
72
72
|
return k(), U("div", {
|
|
73
|
-
id: r(
|
|
74
|
-
class: "scalar-address-bar order-last h-
|
|
73
|
+
id: r(p),
|
|
74
|
+
class: "scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"
|
|
75
75
|
}, [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
layout: "client",
|
|
98
|
-
operation: e.operation,
|
|
99
|
-
server: e.server,
|
|
100
|
-
target: r(m)
|
|
101
|
-
}, null, 8, ["collection", "operation", "server", "target"])) : H("", !0),
|
|
102
|
-
o[1] || (o[1] = t("div", { class: "fade-left" }, null, -1)),
|
|
103
|
-
u(P, {
|
|
104
|
-
ref_key: "addressBarRef",
|
|
105
|
-
ref: h,
|
|
106
|
-
"aria-label": "Path",
|
|
107
|
-
class: "min-w-fit outline-none",
|
|
108
|
-
disableCloseBrackets: "",
|
|
109
|
-
disabled: r(v) === "modal",
|
|
110
|
-
disableEnter: "",
|
|
111
|
-
disableTabIndent: "",
|
|
112
|
-
emitOnBlur: !1,
|
|
113
|
-
envVariables: e.envVariables,
|
|
114
|
-
environment: e.environment,
|
|
115
|
-
importCurl: "",
|
|
116
|
-
modelValue: e.operation.path,
|
|
117
|
-
placeholder: (d = e.server) != null && d.uid && e.collection.servers.includes(e.server.uid) ? "" : "Enter a URL or cURL command",
|
|
118
|
-
server: "",
|
|
119
|
-
workspace: e.workspace,
|
|
120
|
-
onCurl: o[0] || (o[0] = (f) => e.$emit("importCurl", f)),
|
|
121
|
-
onSubmit: g,
|
|
122
|
-
"onUpdate:modelValue": V
|
|
123
|
-
}, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder", "workspace"]),
|
|
124
|
-
o[2] || (o[2] = t("div", { class: "fade-right" }, null, -1))
|
|
125
|
-
]),
|
|
126
|
-
u(Q, {
|
|
76
|
+
l("div", J, [
|
|
77
|
+
l("div", X, [
|
|
78
|
+
l("div", {
|
|
79
|
+
class: M(["absolute top-0 left-0 z-[1002] h-full w-full", E()]),
|
|
80
|
+
style: A({ transform: `translate3d(-${t.value}%,0,0)` })
|
|
81
|
+
}, null, 6)
|
|
82
|
+
]),
|
|
83
|
+
l("div", Y, [
|
|
84
|
+
u(K, {
|
|
85
|
+
isEditable: r(v) !== "modal",
|
|
86
|
+
isSquare: "",
|
|
87
|
+
method: e.operation.method,
|
|
88
|
+
teleport: "",
|
|
89
|
+
onChange: S
|
|
90
|
+
}, null, 8, ["isEditable", "method"])
|
|
91
|
+
]),
|
|
92
|
+
l("div", Z, [
|
|
93
|
+
e.collection.servers.length ? (k(), $(r(W), {
|
|
94
|
+
key: 0,
|
|
95
|
+
collection: e.collection,
|
|
96
|
+
layout: "client",
|
|
127
97
|
operation: e.operation,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}, 8, ["disabled"])
|
|
153
|
-
|
|
98
|
+
server: e.server,
|
|
99
|
+
target: r(p)
|
|
100
|
+
}, null, 8, ["collection", "operation", "server", "target"])) : H("", !0),
|
|
101
|
+
o[1] || (o[1] = l("div", { class: "fade-left" }, null, -1)),
|
|
102
|
+
u(P, {
|
|
103
|
+
ref_key: "addressBarRef",
|
|
104
|
+
ref: h,
|
|
105
|
+
"aria-label": "Path",
|
|
106
|
+
class: "min-w-fit outline-none",
|
|
107
|
+
disableCloseBrackets: "",
|
|
108
|
+
disabled: r(v) === "modal",
|
|
109
|
+
disableEnter: "",
|
|
110
|
+
disableTabIndent: "",
|
|
111
|
+
emitOnBlur: !1,
|
|
112
|
+
envVariables: e.envVariables,
|
|
113
|
+
environment: e.environment,
|
|
114
|
+
importCurl: "",
|
|
115
|
+
modelValue: e.operation.path,
|
|
116
|
+
placeholder: (d = e.server) != null && d.uid && e.collection.servers.includes(e.server.uid) ? "" : "Enter a URL or cURL command",
|
|
117
|
+
server: "",
|
|
118
|
+
workspace: e.workspace,
|
|
119
|
+
onCurl: o[0] || (o[0] = (c) => e.$emit("importCurl", c)),
|
|
120
|
+
onSubmit: g,
|
|
121
|
+
"onUpdate:modelValue": V
|
|
122
|
+
}, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder", "workspace"]),
|
|
123
|
+
o[2] || (o[2] = l("div", { class: "fade-right" }, null, -1))
|
|
124
|
+
]),
|
|
125
|
+
u(Q, {
|
|
126
|
+
operation: e.operation,
|
|
127
|
+
target: r(p)
|
|
128
|
+
}, null, 8, ["operation", "target"]),
|
|
129
|
+
u(r(T), {
|
|
130
|
+
ref_key: "sendButtonRef",
|
|
131
|
+
ref: w,
|
|
132
|
+
class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
|
|
133
|
+
disabled: a.value,
|
|
134
|
+
onClick: g
|
|
135
|
+
}, {
|
|
136
|
+
default: N(() => {
|
|
137
|
+
var c;
|
|
138
|
+
return [
|
|
139
|
+
l("span", _, [
|
|
140
|
+
u(r(D), {
|
|
141
|
+
class: "relative shrink-0 fill-current",
|
|
142
|
+
icon: "Play",
|
|
143
|
+
size: "xs"
|
|
144
|
+
}),
|
|
145
|
+
o[3] || (o[3] = l("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
|
|
146
|
+
]),
|
|
147
|
+
l("span", ee, " Send " + b(e.operation.method) + " request to " + b(((c = e.server) == null ? void 0 : c.url) ?? "") + b(e.operation.path), 1)
|
|
148
|
+
];
|
|
149
|
+
}),
|
|
150
|
+
_: 1
|
|
151
|
+
}, 8, ["disabled"])
|
|
154
152
|
])
|
|
155
153
|
], 8, G);
|
|
156
154
|
};
|
|
157
155
|
}
|
|
158
156
|
});
|
|
159
157
|
export {
|
|
160
|
-
|
|
158
|
+
ue as default
|
|
161
159
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AddressBarHistory.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6a545fa1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -54,7 +54,7 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
54
54
|
name: "floating",
|
|
55
55
|
fn: o(({ width: n }) => [
|
|
56
56
|
l(e(w), {
|
|
57
|
-
class: "custom-scroll
|
|
57
|
+
class: "custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center border-t p-0.75",
|
|
58
58
|
static: "",
|
|
59
59
|
style: C({ width: n })
|
|
60
60
|
}, {
|
|
@@ -62,7 +62,7 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
62
62
|
(a(!0), S(b, null, H(d.value, (t, k) => (a(), i(e(z), {
|
|
63
63
|
key: t.timestamp,
|
|
64
64
|
as: "button",
|
|
65
|
-
class: "font-code
|
|
65
|
+
class: "font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",
|
|
66
66
|
value: k,
|
|
67
67
|
onClick: (c) => g(t)
|
|
68
68
|
}, {
|
|
@@ -89,7 +89,7 @@ const L = { class: "min-w-0" }, U = { class: "text-c-1 min-w-0 truncate" }, Q =
|
|
|
89
89
|
]),
|
|
90
90
|
_: 2
|
|
91
91
|
}, 1032, ["style"]),
|
|
92
|
-
l(e(N), { class: "-top-
|
|
92
|
+
l(e(N), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
|
|
93
93
|
]),
|
|
94
94
|
key: "0"
|
|
95
95
|
} : void 0
|
|
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bd8ced90"]]);
|
|
6
6
|
export {
|
|
7
7
|
e as default
|
|
8
8
|
};
|
|
@@ -13,17 +13,17 @@ const me = { class: "whitespace-nowrap" }, ce = ["id"], be = {
|
|
|
13
13
|
class: "scalar-code-copy z-context"
|
|
14
14
|
}, ye = {
|
|
15
15
|
key: 1,
|
|
16
|
-
class: "z-context text-c-2 absolute
|
|
16
|
+
class: "z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",
|
|
17
17
|
role: "alert"
|
|
18
18
|
}, ge = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "centered-y text-orange absolute right-7 text-xs"
|
|
21
21
|
}, ve = {
|
|
22
22
|
key: 6,
|
|
23
|
-
class: "centered-y
|
|
23
|
+
class: "centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"
|
|
24
24
|
}, he = {
|
|
25
25
|
key: 7,
|
|
26
|
-
class: "required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pr-2
|
|
26
|
+
class: "required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"
|
|
27
27
|
}, we = {
|
|
28
28
|
inheritAttrs: !1
|
|
29
29
|
}, Fe = /* @__PURE__ */ Q({
|
|
@@ -151,7 +151,7 @@ const me = { class: "whitespace-nowrap" }, ce = ["id"], be = {
|
|
|
151
151
|
return n(), s(Y, null, [
|
|
152
152
|
e.disabled ? (n(), s("div", {
|
|
153
153
|
key: 0,
|
|
154
|
-
class: Z(["text-c-2 flex cursor-default items-center justify-center", p(w) === "modal" ? "font-code pl-1
|
|
154
|
+
class: Z(["text-c-2 flex cursor-default items-center justify-center", p(w) === "modal" ? "font-code pr-2 pl-1 text-sm" : "px-2"]),
|
|
155
155
|
"data-testid": "code-input-disabled"
|
|
156
156
|
}, [
|
|
157
157
|
c("span", me, _(e.modelValue), 1)
|
|
@@ -180,8 +180,8 @@ const me = { class: "whitespace-nowrap" }, ce = ["id"], be = {
|
|
|
180
180
|
}, e.$attrs, {
|
|
181
181
|
ref_key: "codeMirrorRef",
|
|
182
182
|
ref: F,
|
|
183
|
-
class: ["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden
|
|
184
|
-
"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:
|
|
183
|
+
class: ["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline", {
|
|
184
|
+
"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1": e.lineWrapping,
|
|
185
185
|
"flow-code-input--error": e.error
|
|
186
186
|
}],
|
|
187
187
|
onKeydown: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA0eA;;;;GAIG;;AACH,wBAmjBI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;mBAnlB9B,CAvTqC;qBAuTrC,CAtTY;;;;;;;mBAsTZ,CAvTqC;qBAuTrC,CAtTY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA0eA;;;;GAIG;;AACH,wBAmjBI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;mBAnlB9B,CAvTqC;qBAuTrC,CAtTY;;;;;;;mBAsTZ,CAvTqC;qBAuTrC,CAtTY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAiuB4F,CAAA;;;;;;;;;;;;;;;+BAQzB,CAAC;4BAAuC,CAAA;2BAAsC,CAAC;8BAA6B,CAAC;4BAC5J,CAAA;6BAAiD,CAAA;+BAA8B,CAAC;qCAA+C,CAAC;;0BAC7I,CAAC;2BAA0B,CAAC;yBAAwB,CAAC;2BAG7D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAb4F,CAAA;;;;;;;;;;;;;;;+BAQzB,CAAC;4BAAuC,CAAA;2BAAsC,CAAC;8BAA6B,CAAC;4BAC5J,CAAA;6BAAiD,CAAA;+BAA8B,CAAC;qCAA+C,CAAC;;0BAC7I,CAAC;2BAA0B,CAAC;yBAAwB,CAAC;2BAG7D,CAAC;;;;;;;;;;;;;;;;;;;;CAoKF,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"}
|
|
@@ -2,8 +2,8 @@ import o from "./TheCommandPalette.vue2.js";
|
|
|
2
2
|
import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b0ea498c"]]);
|
|
6
6
|
export {
|
|
7
7
|
s as PaletteComponents,
|
|
8
|
-
|
|
8
|
+
r as default
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as oe, ref as f, computed as U, watch as te, onMounted as ne, onBeforeUnmount as ae, createBlock as W, openBlock as l, unref as c, withCtx as A, createElementVNode as v, createVNode as k, createElementBlock as u, createTextVNode as V, createCommentVNode as le, withKeys as S, withModifiers as T, Fragment as D, renderList as O, withDirectives as se, toDisplayString as F, vShow as re, normalizeClass as me, resolveDynamicComponent as ie, mergeProps as ce, nextTick as
|
|
1
|
+
import { defineComponent as oe, ref as f, computed as U, watch as te, onMounted as ne, onBeforeUnmount as ae, createBlock as W, openBlock as l, unref as c, withCtx as A, createElementVNode as v, createVNode as k, createElementBlock as u, createTextVNode as V, createCommentVNode as le, withKeys as S, withModifiers as T, Fragment as D, renderList as O, withDirectives as se, toDisplayString as F, vShow as re, normalizeClass as me, resolveDynamicComponent as ie, mergeProps as ce, nextTick as b } from "vue";
|
|
2
2
|
import { Dialog as ue, DialogPanel as de, DialogTitle as pe } from "@headlessui/vue";
|
|
3
3
|
import { useModal as fe, ScalarIcon as L } from "@scalar/components";
|
|
4
4
|
import { useRouter as ve } from "vue-router";
|
|
@@ -7,9 +7,9 @@ import { importCurlCommand as he } from "../../libs/importers/curl.js";
|
|
|
7
7
|
import { PathId as xe } from "../../routes.js";
|
|
8
8
|
import { useActiveEntities as ke } from "../../store/active-entities.js";
|
|
9
9
|
import ye from "./CommandPaletteCollection.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
10
|
+
import ge from "./CommandPaletteExample.vue.js";
|
|
11
|
+
import _e from "./CommandPaletteImport.vue.js";
|
|
12
|
+
import be from "./CommandPaletteImportCurl.vue.js";
|
|
13
13
|
import we from "./CommandPaletteServer.vue.js";
|
|
14
14
|
import Pe from "./CommandPaletteTag.vue.js";
|
|
15
15
|
import Ie from "./CommandPaletteWorkspace.vue.js";
|
|
@@ -17,7 +17,7 @@ import { useWorkspace as Re } from "../../store/store.js";
|
|
|
17
17
|
const Ae = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "custom-scroll max-h-[50dvh] min-h-0 flex-1 rounded-lg p-1.5"
|
|
20
|
-
}, Se = { class: "bg-b-2 focus-within:bg-b-1
|
|
20
|
+
}, Se = { class: "bg-b-2 focus-within:bg-b-1 sticky top-0 flex items-center rounded-md border border-transparent pl-2 shadow-[0_-8px_0_8px_var(--scalar-background-1),0_0_8px_8px_var(--scalar-background-1)] focus-within:border-(--scalar-background-3)" }, Te = { for: "commandmenu" }, De = ["value", "onKeydown"], Le = ["onClick"], Ee = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "text-c-3 p-2 pt-3 text-center text-sm"
|
|
23
23
|
}, Be = {
|
|
@@ -26,14 +26,14 @@ const Ae = {
|
|
|
26
26
|
}, He = {
|
|
27
27
|
name: "TheCommandPalette"
|
|
28
28
|
}, Ke = {
|
|
29
|
-
"Import from OpenAPI/Swagger/Postman/cURL":
|
|
29
|
+
"Import from OpenAPI/Swagger/Postman/cURL": _e,
|
|
30
30
|
"Create Request": "",
|
|
31
31
|
"Create Workspace": Ie,
|
|
32
32
|
"Add Tag": Pe,
|
|
33
33
|
"Add Server": we,
|
|
34
34
|
"Create Collection": ye,
|
|
35
|
-
"Add Example":
|
|
36
|
-
"Import from cURL":
|
|
35
|
+
"Add Example": ge,
|
|
36
|
+
"Import from cURL": be
|
|
37
37
|
}, eo = /* @__PURE__ */ oe({
|
|
38
38
|
...He,
|
|
39
39
|
setup($e) {
|
|
@@ -112,9 +112,9 @@ const Ae = {
|
|
|
112
112
|
), p = () => {
|
|
113
113
|
C.hide(), s.value = "", r.value = null, m.value = -1;
|
|
114
114
|
}, J = (o) => {
|
|
115
|
-
s.value !== "" && (o == null || o.preventDefault()), r.value = null,
|
|
115
|
+
s.value !== "" && (o == null || o.preventDefault()), r.value = null, b(() => {
|
|
116
116
|
var e;
|
|
117
|
-
return (e =
|
|
117
|
+
return (e = g.value) == null ? void 0 : e.focus();
|
|
118
118
|
});
|
|
119
119
|
}, H = (o) => {
|
|
120
120
|
var e;
|
|
@@ -135,7 +135,7 @@ const Ae = {
|
|
|
135
135
|
workspace: (e = y.value) == null ? void 0 : e.uid,
|
|
136
136
|
request: n.uid
|
|
137
137
|
}
|
|
138
|
-
}), p(),
|
|
138
|
+
}), p(), b(() => {
|
|
139
139
|
d.hotKeys.emit({
|
|
140
140
|
focusAddressBar: new KeyboardEvent("keydown", { key: "l" })
|
|
141
141
|
});
|
|
@@ -144,13 +144,13 @@ const Ae = {
|
|
|
144
144
|
p();
|
|
145
145
|
} else
|
|
146
146
|
r.value = o.name;
|
|
147
|
-
},
|
|
147
|
+
}, g = f(), K = ({
|
|
148
148
|
commandName: o,
|
|
149
149
|
metaData: e
|
|
150
150
|
} = {}) => {
|
|
151
|
-
r.value = o ?? null, P.value = e, C.show(),
|
|
151
|
+
r.value = o ?? null, P.value = e, C.show(), b(() => {
|
|
152
152
|
var t;
|
|
153
|
-
return (t =
|
|
153
|
+
return (t = g.value) == null ? void 0 : t.focus();
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
156
|
te(s, (o) => {
|
|
@@ -160,9 +160,9 @@ const Ae = {
|
|
|
160
160
|
if (!C.open) return;
|
|
161
161
|
e.preventDefault();
|
|
162
162
|
const t = o === "up" ? -1 : 1, n = h.value.length;
|
|
163
|
-
m.value = (m.value + t + n) % n,
|
|
163
|
+
m.value = (m.value + t + n) % n, b(() => {
|
|
164
164
|
var z, N;
|
|
165
|
-
const a = (z =
|
|
165
|
+
const a = (z = g.value) == null ? void 0 : z.closest(".custom-scroll");
|
|
166
166
|
if (!a) return;
|
|
167
167
|
if (m.value === 0) {
|
|
168
168
|
a.scrollTop = 0;
|
|
@@ -170,8 +170,8 @@ const Ae = {
|
|
|
170
170
|
}
|
|
171
171
|
const i = B.value[m.value];
|
|
172
172
|
if (!i) return;
|
|
173
|
-
const x = (((N = a.querySelector(".sticky")) == null ? void 0 : N.clientHeight) || 0) + 16,
|
|
174
|
-
R < Z ? a.scrollTop = R - x : M > ee && (a.scrollTop = M - a.clientHeight +
|
|
173
|
+
const x = (((N = a.querySelector(".sticky")) == null ? void 0 : N.clientHeight) || 0) + 16, _ = 6, R = i.offsetTop, M = R + i.clientHeight, Z = a.scrollTop + x, ee = a.scrollTop + a.clientHeight - _;
|
|
174
|
+
R < Z ? a.scrollTop = R - x : M > ee && (a.scrollTop = M - a.clientHeight + _);
|
|
175
175
|
});
|
|
176
176
|
}, I = U(
|
|
177
177
|
() => h.value[m.value]
|
|
@@ -213,7 +213,7 @@ const Ae = {
|
|
|
213
213
|
}),
|
|
214
214
|
r.value ? (l(), u("div", Be, [
|
|
215
215
|
v("button", {
|
|
216
|
-
class: "hover:bg-b-3 text-c-3 active:text-c-1 z-1 my-1.25
|
|
216
|
+
class: "hover:bg-b-3 text-c-3 active:text-c-1 absolute z-1 my-1.25 mr-1.5 rounded p-0.75",
|
|
217
217
|
type: "button",
|
|
218
218
|
onClick: e[3] || (e[3] = (t) => r.value = null)
|
|
219
219
|
}, [
|
|
@@ -240,7 +240,7 @@ const Ae = {
|
|
|
240
240
|
v("input", {
|
|
241
241
|
id: "commandmenu",
|
|
242
242
|
ref_key: "commandInputRef",
|
|
243
|
-
ref:
|
|
243
|
+
ref: g,
|
|
244
244
|
autocomplete: "off",
|
|
245
245
|
autofocus: "",
|
|
246
246
|
class: "w-full rounded border-none bg-none py-1.5 text-sm focus:outline-none",
|
|
@@ -258,7 +258,7 @@ const Ae = {
|
|
|
258
258
|
(l(), u(D, null, O(E, (t) => (l(), u(D, {
|
|
259
259
|
key: t.label
|
|
260
260
|
}, [
|
|
261
|
-
se(v("div", { class: "text-c-3 mb-1
|
|
261
|
+
se(v("div", { class: "text-c-3 mt-2 mb-1 px-2 text-xs font-medium" }, F(t.label), 513), [
|
|
262
262
|
[
|
|
263
263
|
re,
|
|
264
264
|
t.commands.filter(
|
|
@@ -276,7 +276,7 @@ const Ae = {
|
|
|
276
276
|
ref: (i) => {
|
|
277
277
|
if (i) {
|
|
278
278
|
const x = h.value.findIndex(
|
|
279
|
-
(
|
|
279
|
+
(_) => _.name === n.name
|
|
280
280
|
);
|
|
281
281
|
x !== -1 && (B.value[x] = i);
|
|
282
282
|
}
|
|
@@ -13,7 +13,7 @@ const N = /* @__PURE__ */ c({
|
|
|
13
13
|
set: (e) => l("update:modelValue", e)
|
|
14
14
|
});
|
|
15
15
|
return (e, t) => (f(), i("label", {
|
|
16
|
-
class: a(["text-c-2 flex
|
|
16
|
+
class: a(["text-c-2 flex items-center gap-2 rounded p-3 py-1.5 text-sm select-none", e.disabled ? "cursor-default" : "cursor-pointer"]),
|
|
17
17
|
for: "watch-toggle"
|
|
18
18
|
}, [
|
|
19
19
|
V("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,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;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAqMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,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;IACZ,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB,CAAC;AAsDJ,iBAAS,cAAc;WA6OT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkEgtI,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EApDn2I;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA1UN,OAAO;cAIP,OAAO;kBAQH,OAAO;2BATE,OAAO;6EA+UjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,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 a from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ a(t, [["__scopeId", "data-v-a8683fd7"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|