@scalar/api-client 2.1.6 → 2.1.8
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 +25 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +48 -21
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/IconSelector.vue.d.ts +35 -0
- package/dist/components/IconSelector.vue.d.ts.map +1 -0
- package/dist/components/IconSelector.vue.js +73 -0
- package/dist/components/IconSelector.vue2.js +4 -0
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +24 -0
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -0
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +58 -0
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue2.js +4 -0
- package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.d.ts → EditSidebarListElement.vue.d.ts} +3 -3
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -0
- package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.js → EditSidebarListElement.vue.js} +9 -9
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue2.js +4 -0
- package/dist/layouts/App/create-api-client-app.d.ts +32 -20
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +64 -40
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +32 -20
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/environment-parser.js +8 -8
- package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
- package/dist/store/collections.d.ts +14 -4
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +2 -2
- package/dist/store/requests.d.ts +2 -2
- package/dist/store/security-schemes.d.ts +4 -4
- package/dist/store/store.d.ts +64 -40
- package/dist/store/store.d.ts.map +1 -1
- 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/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +19 -18
- 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 +73 -74
- 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 +94 -91
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +93 -79
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +109 -95
- package/dist/views/Request/types/sidebar-item.d.ts +2 -1
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/package.json +8 -7
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +0 -1
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +0 -4
|
@@ -4,12 +4,12 @@ import K from "../../components/Sidebar/Sidebar.vue.js";
|
|
|
4
4
|
import M from "../../components/Sidebar/SidebarButton.vue.js";
|
|
5
5
|
import T from "../../components/Sidebar/SidebarList.vue.js";
|
|
6
6
|
import U from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { environmentSchema as
|
|
12
|
-
import { nanoid as
|
|
7
|
+
import j from "../../components/SubpageHeader.vue.js";
|
|
8
|
+
import F from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
9
|
+
import H from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
10
|
+
import J from "../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
11
|
+
import { environmentSchema as O } from "@scalar/oas-utils/entities/environment";
|
|
12
|
+
import { nanoid as W } from "nanoid";
|
|
13
13
|
import { useRouter as q } from "vue-router";
|
|
14
14
|
import z from "./EnvironmentColors.vue.js";
|
|
15
15
|
import { useWorkspace as G } from "../../store/store.js";
|
|
@@ -18,9 +18,9 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
18
18
|
setup(Y) {
|
|
19
19
|
const v = q(), { environments: l, environmentMutators: i } = G(), e = c(null), p = c(null), m = c(!1);
|
|
20
20
|
function y() {
|
|
21
|
-
const t =
|
|
21
|
+
const t = O.parse({
|
|
22
22
|
name: "New Environment",
|
|
23
|
-
uid:
|
|
23
|
+
uid: W(),
|
|
24
24
|
color: "grey",
|
|
25
25
|
raw: JSON.stringify({ exampleKey: "exampleValue" }, null, 2),
|
|
26
26
|
parsed: [],
|
|
@@ -28,12 +28,12 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
28
28
|
});
|
|
29
29
|
i.add(t), e.value = t.uid, v.push(e.value);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function g(t) {
|
|
32
32
|
e.value && i.edit(e.value, "value", t);
|
|
33
33
|
}
|
|
34
|
-
const
|
|
34
|
+
const E = (t) => {
|
|
35
35
|
i.delete(t), e.value === t && (e.value = null);
|
|
36
|
-
},
|
|
36
|
+
}, k = (t) => e.value && i.edit(e.value, "color", t), x = () => {
|
|
37
37
|
v.currentRoute.value.params.environment === "default" && (e.value = l.default.uid);
|
|
38
38
|
}, b = () => {
|
|
39
39
|
e.value && !l[e.value].isDefault && (m.value = !0, R(() => {
|
|
@@ -44,9 +44,9 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
44
44
|
const n = t.target.value;
|
|
45
45
|
e.value && !l[e.value].isDefault && i.edit(e.value, "name", n);
|
|
46
46
|
};
|
|
47
|
-
return S(x), (t, s) => (r(), d(
|
|
47
|
+
return S(x), (t, s) => (r(), d(j, null, {
|
|
48
48
|
default: o(() => [
|
|
49
|
-
a(
|
|
49
|
+
a(F, null, {
|
|
50
50
|
default: o(() => [
|
|
51
51
|
a(K, { title: "Environment" }, {
|
|
52
52
|
content: o(() => [
|
|
@@ -64,7 +64,7 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
64
64
|
},
|
|
65
65
|
warningMessage: "Are you sure you want to delete this environment?",
|
|
66
66
|
onClick: (N) => e.value = n.uid,
|
|
67
|
-
onDelete: (N) =>
|
|
67
|
+
onDelete: (N) => E(n.uid)
|
|
68
68
|
}, null, 8, ["variable", "onClick", "onDelete"]))), 128))
|
|
69
69
|
]),
|
|
70
70
|
_: 1
|
|
@@ -81,16 +81,17 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
81
81
|
]),
|
|
82
82
|
_: 1
|
|
83
83
|
}),
|
|
84
|
-
a(
|
|
84
|
+
a(H, { class: "flex-1" }, {
|
|
85
85
|
default: o(() => [
|
|
86
|
-
a(
|
|
86
|
+
a(J, null, I({
|
|
87
87
|
default: o(() => [
|
|
88
88
|
e.value ? (r(), d(A, {
|
|
89
89
|
key: 0,
|
|
90
90
|
class: "pl-px pr-2 md:px-2 py-2.5",
|
|
91
|
+
language: "json",
|
|
91
92
|
lineNumbers: "",
|
|
92
93
|
modelValue: u(l)[e.value].value,
|
|
93
|
-
"onUpdate:modelValue":
|
|
94
|
+
"onUpdate:modelValue": g
|
|
94
95
|
}, null, 8, ["modelValue"])) : $("", !0)
|
|
95
96
|
]),
|
|
96
97
|
_: 2
|
|
@@ -116,7 +117,7 @@ const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, v
|
|
|
116
117
|
_("div", X, [
|
|
117
118
|
a(z, {
|
|
118
119
|
activeColor: u(l)[e.value].color,
|
|
119
|
-
onSelect:
|
|
120
|
+
onSelect: k
|
|
120
121
|
}, null, 8, ["activeColor"])
|
|
121
122
|
])
|
|
122
123
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"RequestSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebar.vue"],"names":[],"mappings":";iBA8Oe,OAAO;gBACR,OAAO;;;;cAMkB,MAAM;aAAO,MAAM;;;iBAP3C,OAAO;gBACR,OAAO;;;cAMkB,MAAM;aAAO,MAAM;;;;AA4gB1D,wBAOG;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestSidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1d999da"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as G, reactive as J, watch as Q, onMounted as X, onBeforeUnmount as Y, openBlock as s, createElementBlock as c, Fragment as b, withDirectives as Z, createVNode as l, unref as t, normalizeClass as f, createSlots as _, withCtx as a, createElementVNode as h, isRef as ee, withKeys as S, withModifiers as u, createBlock as m, renderList as C, createTextVNode as D, toDisplayString as te, createCommentVNode as $, vShow as oe } from "vue";
|
|
2
2
|
import re from "../../components/HttpMethod/HttpMethod.vue.js";
|
|
3
|
-
import { useSearch as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { dragHandlerFactory as
|
|
7
|
-
import { ScalarSearchInput as
|
|
8
|
-
import pe from "
|
|
9
|
-
import fe from "
|
|
10
|
-
import ce from "
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
3
|
+
import { useSearch as se } from "../../components/Search/useSearch.js";
|
|
4
|
+
import ae from "../../components/Sidebar/SidebarButton.vue.js";
|
|
5
|
+
import ne from "./RequestSidebarItemMenu.vue.js";
|
|
6
|
+
import { dragHandlerFactory as ie } from "./handle-drag.js";
|
|
7
|
+
import { ScalarSearchInput as le, ScalarSearchResultList as de, ScalarSearchResultItem as ue, ScalarIcon as me } from "@scalar/components";
|
|
8
|
+
import { LibraryIcon as pe } from "@scalar/icons";
|
|
9
|
+
import fe from "./RequestSidebarItem.vue.js";
|
|
10
|
+
import ce from "../../components/Sidebar/Sidebar.vue.js";
|
|
11
|
+
import be from "./components/WorkspaceDropdown.vue.js";
|
|
12
|
+
import { useSidebar as he } from "../../hooks/useSidebar.js";
|
|
13
|
+
import { useWorkspace as Se } from "../../store/store.js";
|
|
14
|
+
import { hotKeyBus as x } from "../../libs/event-busses/hot-keys-bus.js";
|
|
15
|
+
import { commandPaletteBus as B } from "../../libs/event-busses/command-palette-bus.js";
|
|
16
|
+
const ve = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, Me = /* @__PURE__ */ G({
|
|
16
17
|
__name: "RequestSidebar",
|
|
17
18
|
props: {
|
|
18
19
|
showSidebar: { type: Boolean },
|
|
19
20
|
isReadonly: { type: Boolean }
|
|
20
21
|
},
|
|
21
22
|
emits: ["update:showSidebar", "newTab"],
|
|
22
|
-
setup(
|
|
23
|
-
const E =
|
|
24
|
-
activeWorkspaceCollections:
|
|
25
|
-
activeRequest:
|
|
26
|
-
activeWorkspaceRequests:
|
|
27
|
-
findRequestParents:
|
|
28
|
-
isReadOnly:
|
|
29
|
-
} = R, { handleDragEnd:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
(
|
|
33
|
-
|
|
34
|
-
(e) =>
|
|
23
|
+
setup(V, { emit: q }) {
|
|
24
|
+
const E = V, v = q, R = Se(), {
|
|
25
|
+
activeWorkspaceCollections: F,
|
|
26
|
+
activeRequest: M,
|
|
27
|
+
activeWorkspaceRequests: N,
|
|
28
|
+
findRequestParents: O,
|
|
29
|
+
isReadOnly: P
|
|
30
|
+
} = R, { handleDragEnd: T, isDroppable: z } = ie(R), { collapsedSidebarFolders: K, setCollapsedSidebarFolder: U } = he(), d = J({ open: !1 });
|
|
31
|
+
Q(
|
|
32
|
+
M,
|
|
33
|
+
(r) => {
|
|
34
|
+
r && O(r).forEach(
|
|
35
|
+
(e) => U(e, !0)
|
|
35
36
|
);
|
|
36
37
|
},
|
|
37
38
|
{ immediate: !0 }
|
|
@@ -40,63 +41,63 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
|
|
|
40
41
|
searchText: p,
|
|
41
42
|
searchResultsWithPlaceholderResults: w,
|
|
42
43
|
selectedSearchResult: g,
|
|
43
|
-
onSearchResultClick:
|
|
44
|
-
fuseSearch:
|
|
44
|
+
onSearchResultClick: W,
|
|
45
|
+
fuseSearch: H,
|
|
45
46
|
searchInputRef: k,
|
|
46
|
-
searchResultRefs:
|
|
47
|
+
searchResultRefs: L,
|
|
47
48
|
navigateSearchResults: y,
|
|
48
|
-
selectSearchResult:
|
|
49
|
-
} =
|
|
49
|
+
selectSearchResult: j
|
|
50
|
+
} = se(), I = (r) => {
|
|
50
51
|
var e;
|
|
51
|
-
|
|
52
|
+
r.toggleSidebar && v("update:showSidebar", E.showSidebar), r.openCommandPalette && (r.openCommandPalette.preventDefault(), B.emit()), r.focusRequestSearch && ((e = k.value) == null || e.focus());
|
|
52
53
|
};
|
|
53
|
-
return
|
|
54
|
-
|
|
55
|
-
}), (
|
|
56
|
-
|
|
57
|
-
class: f([
|
|
58
|
-
showSidebar:
|
|
59
|
-
"onUpdate:showSidebar": e[8] || (e[8] = (o) =>
|
|
60
|
-
},
|
|
54
|
+
return X(() => x.on(I)), Y(() => {
|
|
55
|
+
x.off(I);
|
|
56
|
+
}), (r, e) => (s(), c(b, null, [
|
|
57
|
+
Z(l(t(ce), {
|
|
58
|
+
class: f([r.showSidebar ? "sidebar-active-width" : ""]),
|
|
59
|
+
showSidebar: r.showSidebar,
|
|
60
|
+
"onUpdate:showSidebar": e[8] || (e[8] = (o) => r.$emit("update:showSidebar", o))
|
|
61
|
+
}, _({
|
|
61
62
|
content: a(() => [
|
|
62
|
-
h("div",
|
|
63
|
-
l(t(
|
|
63
|
+
h("div", ve, [
|
|
64
|
+
l(t(le), {
|
|
64
65
|
ref_key: "searchInputRef",
|
|
65
66
|
ref: k,
|
|
66
67
|
modelValue: t(p),
|
|
67
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
|
68
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => ee(p) ? p.value = o : null),
|
|
68
69
|
sidebar: "",
|
|
69
|
-
onInput: t(
|
|
70
|
+
onInput: t(H),
|
|
70
71
|
onKeydown: [
|
|
71
72
|
e[1] || (e[1] = S(u((o) => t(y)("down"), ["stop"]), ["down"])),
|
|
72
|
-
e[2] || (e[2] = S(u((o) => t(
|
|
73
|
+
e[2] || (e[2] = S(u((o) => t(j)(), ["stop"]), ["enter"])),
|
|
73
74
|
e[3] || (e[3] = S(u((o) => t(y)("up"), ["stop"]), ["up"]))
|
|
74
75
|
]
|
|
75
76
|
}, null, 8, ["modelValue", "onInput"])
|
|
76
77
|
]),
|
|
77
78
|
h("div", {
|
|
78
79
|
class: f(["custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0", {
|
|
79
|
-
"pb-14": !
|
|
80
|
+
"pb-14": !r.isReadonly
|
|
80
81
|
}]),
|
|
81
82
|
onDragenter: e[6] || (e[6] = u(() => {
|
|
82
83
|
}, ["prevent"])),
|
|
83
84
|
onDragover: e[7] || (e[7] = u(() => {
|
|
84
85
|
}, ["prevent"]))
|
|
85
86
|
}, [
|
|
86
|
-
t(p) ? (
|
|
87
|
+
t(p) ? (s(), m(t(de), {
|
|
87
88
|
key: 0,
|
|
88
89
|
class: "gap-px custom-scroll",
|
|
89
90
|
noResults: !t(w).length
|
|
90
91
|
}, {
|
|
91
92
|
default: a(() => [
|
|
92
|
-
(
|
|
93
|
+
(s(!0), c(b, null, C(t(w), (o, i) => (s(), m(t(ue), {
|
|
93
94
|
id: `#search-input-${o.item.id}`,
|
|
94
95
|
key: o.refIndex,
|
|
95
96
|
ref_for: !0,
|
|
96
|
-
ref: (n) => t(
|
|
97
|
+
ref: (n) => t(L)[i] = n,
|
|
97
98
|
active: t(g) === i,
|
|
98
99
|
class: "px-2",
|
|
99
|
-
onClick: (n) => t(
|
|
100
|
+
onClick: (n) => t(W)(o),
|
|
100
101
|
onFocus: (n) => g.value = i
|
|
101
102
|
}, {
|
|
102
103
|
addon: a(() => [
|
|
@@ -106,38 +107,36 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
|
|
|
106
107
|
}, null, 8, ["method"])
|
|
107
108
|
]),
|
|
108
109
|
default: a(() => [
|
|
109
|
-
D(
|
|
110
|
+
D(te(o.item.title) + " ", 1)
|
|
110
111
|
]),
|
|
111
112
|
_: 2
|
|
112
113
|
}, 1032, ["id", "active", "onClick", "onFocus"]))), 128))
|
|
113
114
|
]),
|
|
114
115
|
_: 1
|
|
115
|
-
}, 8, ["noResults"])) : (
|
|
116
|
+
}, 8, ["noResults"])) : (s(!0), c(b, { key: 1 }, C(t(F), (o) => {
|
|
116
117
|
var i;
|
|
117
|
-
return
|
|
118
|
+
return s(), m(fe, {
|
|
118
119
|
key: o.uid,
|
|
119
|
-
isDraggable: !
|
|
120
|
-
isDroppable: t(
|
|
120
|
+
isDraggable: !r.isReadonly && ((i = o.info) == null ? void 0 : i.title) !== "Drafts",
|
|
121
|
+
isDroppable: t(z),
|
|
121
122
|
menuItem: d,
|
|
122
123
|
parentUids: [],
|
|
123
124
|
uid: o.uid,
|
|
124
|
-
onNewTab: e[4] || (e[4] = (n,
|
|
125
|
-
onOnDragEnd: t(
|
|
125
|
+
onNewTab: e[4] || (e[4] = (n, A) => v("newTab", { name: n, uid: A })),
|
|
126
|
+
onOnDragEnd: t(T),
|
|
126
127
|
onOpenMenu: e[5] || (e[5] = (n) => Object.assign(d, n))
|
|
127
128
|
}, {
|
|
128
129
|
leftIcon: a(() => [
|
|
129
|
-
l(t(
|
|
130
|
-
class: "text-sidebar-c-2
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
thickness: "2"
|
|
134
|
-
}),
|
|
130
|
+
l(t(pe), {
|
|
131
|
+
class: "text-sidebar-c-2 size-3.5 group-hover:hidden",
|
|
132
|
+
src: o["x-scalar-icon"] || "interface-content-folder"
|
|
133
|
+
}, null, 8, ["src"]),
|
|
135
134
|
h("div", {
|
|
136
135
|
class: f({
|
|
137
|
-
"rotate-90": t(
|
|
136
|
+
"rotate-90": t(K)[o.uid]
|
|
138
137
|
})
|
|
139
138
|
}, [
|
|
140
|
-
l(t(
|
|
139
|
+
l(t(me), {
|
|
141
140
|
class: "text-c-3 hidden text-sm group-hover:block",
|
|
142
141
|
icon: "ChevronRight",
|
|
143
142
|
size: "sm"
|
|
@@ -150,12 +149,12 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
|
|
|
150
149
|
], 34)
|
|
151
150
|
]),
|
|
152
151
|
button: a(() => [
|
|
153
|
-
|
|
152
|
+
r.isReadonly ? $("", !0) : (s(), m(ae, {
|
|
154
153
|
key: 0,
|
|
155
154
|
class: f({
|
|
156
|
-
"empty-sidebar-item": t(
|
|
155
|
+
"empty-sidebar-item": t(N).length === 1
|
|
157
156
|
}),
|
|
158
|
-
click: t(
|
|
157
|
+
click: t(B).emit
|
|
159
158
|
}, {
|
|
160
159
|
title: a(() => [
|
|
161
160
|
D("Add Item")
|
|
@@ -165,17 +164,17 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
|
|
|
165
164
|
]),
|
|
166
165
|
_: 2
|
|
167
166
|
}, [
|
|
168
|
-
|
|
167
|
+
r.isReadonly ? void 0 : {
|
|
169
168
|
name: "header",
|
|
170
169
|
fn: a(() => [
|
|
171
|
-
l(t(
|
|
170
|
+
l(t(be))
|
|
172
171
|
]),
|
|
173
172
|
key: "0"
|
|
174
173
|
}
|
|
175
174
|
]), 1032, ["class", "showSidebar"]), [
|
|
176
|
-
[
|
|
175
|
+
[oe, r.showSidebar]
|
|
177
176
|
]),
|
|
178
|
-
!t(
|
|
177
|
+
!t(P) && d ? (s(), m(ne, {
|
|
179
178
|
key: 0,
|
|
180
179
|
menuItem: d,
|
|
181
180
|
onCloseMenu: e[9] || (e[9] = (o) => d.open = !1)
|
|
@@ -184,5 +183,5 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
|
|
|
184
183
|
}
|
|
185
184
|
});
|
|
186
185
|
export {
|
|
187
|
-
|
|
186
|
+
Me as default
|
|
188
187
|
};
|
|
@@ -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":"AA2bA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEzE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAwO1B,iBAAS,cAAc;gBAjMT,IAAI;;gBAAJ,IAAI;EA8vBjB;AACD,QAAA,MAAM,eAAe;IA9xBjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;IAjBzB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;;iBAZX,OAAO;MAgyBvB,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-d3581d0d"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
p as default
|
|
8
8
|
};
|