@scalar/api-client 2.1.7 → 2.1.9

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.
Files changed (112) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/assets/rabbit.ascii.js +11 -0
  3. package/dist/assets/rabbitjump.ascii.js +11 -0
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  5. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  6. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  7. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +48 -21
  8. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  9. package/dist/components/ContextBar.vue.js +2 -2
  10. package/dist/components/ContextBar.vue2.js +22 -13
  11. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +1 -1
  12. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  13. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  14. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  15. package/dist/components/IconSelector.vue.d.ts +35 -0
  16. package/dist/components/IconSelector.vue.d.ts.map +1 -0
  17. package/dist/components/IconSelector.vue.js +74 -0
  18. package/dist/components/IconSelector.vue2.js +4 -0
  19. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  20. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  21. package/dist/components/ScalarAsciiArt.vue2.js +10 -10
  22. package/dist/components/SideNav/SideHelp.vue.js +1 -1
  23. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  24. package/dist/components/SideNav/SideNav.vue.js +2 -2
  25. package/dist/components/SideNav/SideNav.vue2.js +19 -22
  26. package/dist/components/SideNav/SideNavLink.vue.d.ts +0 -2
  27. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  28. package/dist/components/SideNav/SideNavLink.vue.js +19 -21
  29. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +24 -0
  30. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -0
  31. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +58 -0
  32. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue2.js +4 -0
  33. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.d.ts → EditSidebarListElement.vue.d.ts} +3 -3
  34. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -0
  35. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.js → EditSidebarListElement.vue.js} +9 -9
  36. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue2.js +4 -0
  37. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  38. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  39. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  40. package/dist/components/Sidebar/SidebarButton.vue.js +24 -26
  41. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
  42. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  43. package/dist/layouts/App/ApiClientApp.vue.js +4 -4
  44. package/dist/layouts/App/create-api-client-app.d.ts +34 -22
  45. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  46. package/dist/layouts/Modal/create-api-client-modal.d.ts +68 -44
  47. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  48. package/dist/layouts/Modal/create-api-client-modal.js +19 -17
  49. package/dist/libs/create-client.d.ts +39 -38
  50. package/dist/libs/create-client.d.ts.map +1 -1
  51. package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
  52. package/dist/store/collections.d.ts +14 -4
  53. package/dist/store/collections.d.ts.map +1 -1
  54. package/dist/store/import-spec.d.ts +3 -2
  55. package/dist/store/import-spec.d.ts.map +1 -1
  56. package/dist/store/import-spec.js +34 -26
  57. package/dist/store/request-example.d.ts +2 -2
  58. package/dist/store/requests.d.ts +2 -2
  59. package/dist/store/security-schemes.d.ts +4 -4
  60. package/dist/store/store.d.ts +68 -44
  61. package/dist/store/store.d.ts.map +1 -1
  62. package/dist/store/tags.d.ts +4 -4
  63. package/dist/store/workspace.d.ts +4 -4
  64. package/dist/style.css +1 -1
  65. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  66. package/dist/views/Cookies/Cookies.vue2.js +74 -80
  67. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  68. package/dist/views/Environment/Environment.vue2.js +86 -92
  69. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  70. package/dist/views/Request/Request.vue.js +1 -1
  71. package/dist/views/Request/Request.vue2.js +26 -26
  72. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  73. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  74. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +88 -80
  75. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  76. package/dist/views/Request/RequestSection/RequestSection.vue.js +45 -45
  77. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  78. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  79. package/dist/views/Request/RequestSidebar.vue2.js +135 -113
  80. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  81. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  82. package/dist/views/Request/RequestSidebarItem.vue2.js +94 -91
  83. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  84. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  85. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +93 -79
  86. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  87. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  88. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +8 -5
  89. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  90. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +33 -33
  91. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  92. package/dist/views/Request/components/WorkspaceDropdown.vue.js +109 -95
  93. package/dist/views/Request/types/sidebar-item.d.ts +2 -1
  94. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  95. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  96. package/dist/views/Servers/Servers.vue2.js +48 -54
  97. package/package.json +9 -12
  98. package/dist/components/Search/SearchButton.vue.d.ts +0 -7
  99. package/dist/components/Search/SearchButton.vue.d.ts.map +0 -1
  100. package/dist/components/Search/SearchModal.vue.d.ts +0 -17
  101. package/dist/components/Search/SearchModal.vue.d.ts.map +0 -1
  102. package/dist/components/Search/SearchModal.vue.js +0 -7
  103. package/dist/components/Search/SearchModal.vue2.js +0 -142
  104. package/dist/components/Search/index.d.ts +0 -3
  105. package/dist/components/Search/index.d.ts.map +0 -1
  106. package/dist/components/Search/index.js +0 -4
  107. package/dist/components/SideNav/WorkspaceProfileIcon.vue.js +0 -31
  108. package/dist/components/SideNav/WorkspaceProfileIcon.vue3.js +0 -5
  109. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +0 -1
  110. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +0 -4
  111. package/dist/components/SubpageHeader.vue.js +0 -7
  112. package/dist/components/SubpageHeader.vue2.js +0 -34
@@ -1,143 +1,148 @@
1
- import { defineComponent as J, reactive as Q, watch as X, onMounted as Y, onBeforeUnmount as Z, openBlock as r, createElementBlock as c, Fragment as b, withDirectives as _, createVNode as l, unref as t, normalizeClass as f, createSlots as ee, withCtx as a, createElementVNode as h, isRef as te, withKeys as S, withModifiers as u, createBlock as m, renderList as I, createTextVNode as D, toDisplayString as oe, createCommentVNode as $, vShow as se } from "vue";
2
- import re from "../../components/HttpMethod/HttpMethod.vue.js";
3
- import { useSearch as ae } from "../../components/Search/useSearch.js";
4
- import ne from "../../components/Sidebar/SidebarButton.vue.js";
5
- import ie from "./RequestSidebarItemMenu.vue.js";
6
- import { dragHandlerFactory as le } from "./handle-drag.js";
7
- import { ScalarSearchInput as de, ScalarSearchResultList as ue, ScalarSearchResultItem as me, ScalarIcon as x } from "@scalar/components";
8
- import pe from "./RequestSidebarItem.vue.js";
9
- import fe from "../../components/Sidebar/Sidebar.vue.js";
10
- import ce from "./components/WorkspaceDropdown.vue.js";
11
- import { useSidebar as be } from "../../hooks/useSidebar.js";
12
- import { useWorkspace as he } from "../../store/store.js";
13
- import { hotKeyBus as B } from "../../libs/event-busses/hot-keys-bus.js";
14
- import { commandPaletteBus as V } from "../../libs/event-busses/command-palette-bus.js";
15
- const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /* @__PURE__ */ J({
1
+ import { defineComponent as J, reactive as Q, watch as X, onMounted as Y, onBeforeUnmount as Z, openBlock as a, createElementBlock as h, Fragment as S, withDirectives as _, createVNode as i, unref as e, normalizeClass as b, createSlots as ee, withCtx as n, createElementVNode as s, isRef as te, withKeys as v, withModifiers as u, createBlock as c, renderList as D, createTextVNode as $, toDisplayString as oe, createCommentVNode as B, vShow as re, pushScopeId as se, popScopeId as ae } from "vue";
2
+ import ie from "../../assets/rabbit.ascii.js";
3
+ import ne from "../../assets/rabbitjump.ascii.js";
4
+ import le from "../../components/HttpMethod/HttpMethod.vue.js";
5
+ import V from "../../components/ScalarAsciiArt.vue.js";
6
+ import { useSearch as de } from "../../components/Search/useSearch.js";
7
+ import me from "../../components/Sidebar/SidebarButton.vue.js";
8
+ import pe from "./RequestSidebarItemMenu.vue.js";
9
+ import { dragHandlerFactory as ue } from "./handle-drag.js";
10
+ import { ScalarSearchInput as ce, ScalarSearchResultList as fe, ScalarSearchResultItem as be, ScalarIcon as he } from "@scalar/components";
11
+ import { LibraryIcon as Se } from "@scalar/icons";
12
+ import ve from "./RequestSidebarItem.vue.js";
13
+ import Re from "../../components/Sidebar/Sidebar.vue.js";
14
+ import we from "./components/WorkspaceDropdown.vue.js";
15
+ import { useSidebar as ye } from "../../hooks/useSidebar.js";
16
+ import { useWorkspace as ge } from "../../store/store.js";
17
+ import { hotKeyBus as q } from "../../libs/event-busses/hot-keys-bus.js";
18
+ import { commandPaletteBus as P } from "../../libs/event-busses/command-palette-bus.js";
19
+ const ke = (m) => (se("data-v-07523d65"), m = m(), ae(), m), Ie = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, xe = { class: "empty-sidebar-item-content px-2.5 py-2.5" }, Ce = { class: "w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative" }, De = /* @__PURE__ */ ke(() => /* @__PURE__ */ s("div", { class: "text-center text-balance text-sm mb-2 mt-2" }, [
20
+ /* @__PURE__ */ s("b", { class: "font-medium" }, "Let's Get Started"),
21
+ /* @__PURE__ */ s("p", { class: "mt-2" }, " Create request, folder, collection or import OpenAPI, Postman or Insomnia ")
22
+ ], -1)), je = /* @__PURE__ */ J({
16
23
  __name: "RequestSidebar",
17
24
  props: {
18
25
  showSidebar: { type: Boolean },
19
26
  isReadonly: { type: Boolean }
20
27
  },
21
28
  emits: ["update:showSidebar", "newTab"],
22
- setup(F, { emit: q }) {
23
- const E = F, v = q, R = he(), {
29
+ setup(m, { emit: E }) {
30
+ const F = m, R = E, w = ge(), {
24
31
  activeWorkspaceCollections: M,
25
- activeRequest: N,
26
- activeWorkspaceRequests: O,
27
- findRequestParents: P,
28
- isReadOnly: T
29
- } = R, { handleDragEnd: z, isDroppable: K } = le(R), { collapsedSidebarFolders: U, setCollapsedSidebarFolder: W } = be(), d = Q({ open: !1 });
32
+ activeRequest: O,
33
+ activeWorkspaceRequests: y,
34
+ findRequestParents: z,
35
+ isReadOnly: N
36
+ } = w, { handleDragEnd: T, isDroppable: A } = ue(w), { collapsedSidebarFolders: K, setCollapsedSidebarFolder: L } = ye(), p = Q({ open: !1 });
30
37
  X(
31
- N,
32
- (s) => {
33
- s && P(s).forEach(
34
- (e) => W(e, !0)
38
+ O,
39
+ (r) => {
40
+ r && z(r).forEach(
41
+ (t) => L(t, !0)
35
42
  );
36
43
  },
37
44
  { immediate: !0 }
38
45
  );
39
46
  const {
40
- searchText: p,
41
- searchResultsWithPlaceholderResults: w,
42
- selectedSearchResult: g,
43
- onSearchResultClick: H,
44
- fuseSearch: L,
45
- searchInputRef: k,
46
- searchResultRefs: j,
47
- navigateSearchResults: y,
48
- selectSearchResult: A
49
- } = ae(), C = (s) => {
50
- var e;
51
- s.toggleSidebar && v("update:showSidebar", E.showSidebar), s.openCommandPalette && (s.openCommandPalette.preventDefault(), V.emit()), s.focusRequestSearch && ((e = k.value) == null || e.focus());
47
+ searchText: f,
48
+ searchResultsWithPlaceholderResults: g,
49
+ selectedSearchResult: k,
50
+ onSearchResultClick: U,
51
+ fuseSearch: W,
52
+ searchInputRef: I,
53
+ searchResultRefs: H,
54
+ navigateSearchResults: x,
55
+ selectSearchResult: j
56
+ } = de(), C = (r) => {
57
+ var t;
58
+ r.toggleSidebar && R("update:showSidebar", F.showSidebar), r.openCommandPalette && (r.openCommandPalette.preventDefault(), P.emit()), r.focusRequestSearch && ((t = I.value) == null || t.focus());
52
59
  };
53
- return Y(() => B.on(C)), Z(() => {
54
- B.off(C);
55
- }), (s, e) => (r(), c(b, null, [
56
- _(l(t(fe), {
57
- class: f([s.showSidebar ? "sidebar-active-width" : ""]),
58
- showSidebar: s.showSidebar,
59
- "onUpdate:showSidebar": e[8] || (e[8] = (o) => s.$emit("update:showSidebar", o))
60
+ return Y(() => q.on(C)), Z(() => {
61
+ q.off(C);
62
+ }), (r, t) => (a(), h(S, null, [
63
+ _(i(e(Re), {
64
+ class: b([r.showSidebar ? "sidebar-active-width" : ""]),
65
+ showSidebar: r.showSidebar,
66
+ "onUpdate:showSidebar": t[8] || (t[8] = (o) => r.$emit("update:showSidebar", o))
60
67
  }, ee({
61
- content: a(() => [
62
- h("div", Se, [
63
- l(t(de), {
68
+ content: n(() => [
69
+ s("div", Ie, [
70
+ i(e(ce), {
64
71
  ref_key: "searchInputRef",
65
- ref: k,
66
- modelValue: t(p),
67
- "onUpdate:modelValue": e[0] || (e[0] = (o) => te(p) ? p.value = o : null),
72
+ ref: I,
73
+ modelValue: e(f),
74
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => te(f) ? f.value = o : null),
68
75
  sidebar: "",
69
- onInput: t(L),
76
+ onInput: e(W),
70
77
  onKeydown: [
71
- e[1] || (e[1] = S(u((o) => t(y)("down"), ["stop"]), ["down"])),
72
- e[2] || (e[2] = S(u((o) => t(A)(), ["stop"]), ["enter"])),
73
- e[3] || (e[3] = S(u((o) => t(y)("up"), ["stop"]), ["up"]))
78
+ t[1] || (t[1] = v(u((o) => e(x)("down"), ["stop"]), ["down"])),
79
+ t[2] || (t[2] = v(u((o) => e(j)(), ["stop"]), ["enter"])),
80
+ t[3] || (t[3] = v(u((o) => e(x)("up"), ["stop"]), ["up"]))
74
81
  ]
75
82
  }, null, 8, ["modelValue", "onInput"])
76
83
  ]),
77
- h("div", {
78
- class: f(["custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0", {
79
- "pb-14": !s.isReadonly
84
+ s("div", {
85
+ class: b(["custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0", {
86
+ "pb-14": !r.isReadonly
80
87
  }]),
81
- onDragenter: e[6] || (e[6] = u(() => {
88
+ onDragenter: t[6] || (t[6] = u(() => {
82
89
  }, ["prevent"])),
83
- onDragover: e[7] || (e[7] = u(() => {
90
+ onDragover: t[7] || (t[7] = u(() => {
84
91
  }, ["prevent"]))
85
92
  }, [
86
- t(p) ? (r(), m(t(ue), {
93
+ e(f) ? (a(), c(e(fe), {
87
94
  key: 0,
88
95
  class: "gap-px custom-scroll",
89
- noResults: !t(w).length
96
+ noResults: !e(g).length
90
97
  }, {
91
- default: a(() => [
92
- (r(!0), c(b, null, I(t(w), (o, i) => (r(), m(t(me), {
98
+ default: n(() => [
99
+ (a(!0), h(S, null, D(e(g), (o, d) => (a(), c(e(be), {
93
100
  id: `#search-input-${o.item.id}`,
94
101
  key: o.refIndex,
95
102
  ref_for: !0,
96
- ref: (n) => t(j)[i] = n,
97
- active: t(g) === i,
103
+ ref: (l) => e(H)[d] = l,
104
+ active: e(k) === d,
98
105
  class: "px-2",
99
- onClick: (n) => t(H)(o),
100
- onFocus: (n) => g.value = i
106
+ onClick: (l) => e(U)(o),
107
+ onFocus: (l) => k.value = d
101
108
  }, {
102
- addon: a(() => [
103
- l(re, {
109
+ addon: n(() => [
110
+ i(le, {
104
111
  class: "font-bold",
105
112
  method: o.item.httpVerb ?? "get"
106
113
  }, null, 8, ["method"])
107
114
  ]),
108
- default: a(() => [
109
- D(oe(o.item.title) + " ", 1)
115
+ default: n(() => [
116
+ $(oe(o.item.title) + " ", 1)
110
117
  ]),
111
118
  _: 2
112
119
  }, 1032, ["id", "active", "onClick", "onFocus"]))), 128))
113
120
  ]),
114
121
  _: 1
115
- }, 8, ["noResults"])) : (r(!0), c(b, { key: 1 }, I(t(M), (o) => {
116
- var i;
117
- return r(), m(pe, {
122
+ }, 8, ["noResults"])) : (a(!0), h(S, { key: 1 }, D(e(M), (o) => {
123
+ var d;
124
+ return a(), c(ve, {
118
125
  key: o.uid,
119
- isDraggable: !s.isReadonly && ((i = o.info) == null ? void 0 : i.title) !== "Drafts",
120
- isDroppable: t(K),
121
- menuItem: d,
126
+ isDraggable: !r.isReadonly && ((d = o.info) == null ? void 0 : d.title) !== "Drafts",
127
+ isDroppable: e(A),
128
+ menuItem: p,
122
129
  parentUids: [],
123
130
  uid: o.uid,
124
- onNewTab: e[4] || (e[4] = (n, G) => v("newTab", { name: n, uid: G })),
125
- onOnDragEnd: t(z),
126
- onOpenMenu: e[5] || (e[5] = (n) => Object.assign(d, n))
131
+ onNewTab: t[4] || (t[4] = (l, G) => R("newTab", { name: l, uid: G })),
132
+ onOnDragEnd: e(T),
133
+ onOpenMenu: t[5] || (t[5] = (l) => Object.assign(p, l))
127
134
  }, {
128
- leftIcon: a(() => [
129
- l(t(x), {
130
- class: "text-sidebar-c-2 text-sm group-hover:hidden",
131
- icon: "CodeFolder",
132
- size: "sm",
133
- thickness: "2"
134
- }),
135
- h("div", {
136
- class: f({
137
- "rotate-90": t(U)[o.uid]
135
+ leftIcon: n(() => [
136
+ i(e(Se), {
137
+ class: "text-sidebar-c-2 size-3.5 stroke-[2.5] group-hover:hidden",
138
+ src: o["x-scalar-icon"] || "interface-content-folder"
139
+ }, null, 8, ["src"]),
140
+ s("div", {
141
+ class: b({
142
+ "rotate-90": e(K)[o.uid]
138
143
  })
139
144
  }, [
140
- l(t(x), {
145
+ i(e(he), {
141
146
  class: "text-c-3 hidden text-sm group-hover:block",
142
147
  icon: "ChevronRight",
143
148
  size: "sm"
@@ -149,40 +154,57 @@ const Se = { class: "search-button-fade sticky px-3 py-2.5 top-0 z-50" }, qe = /
149
154
  }), 128))
150
155
  ], 34)
151
156
  ]),
152
- button: a(() => [
153
- s.isReadonly ? $("", !0) : (r(), m(ne, {
154
- key: 0,
155
- class: f({
156
- "empty-sidebar-item": t(O).length === 1
157
- }),
158
- click: t(V).emit
159
- }, {
160
- title: a(() => [
161
- D("Add Item")
157
+ button: n(() => [
158
+ s("div", {
159
+ class: b(["relative z-10 pt-0 md:px-2.5 md:pb-2.5 -translate-y-full w-[inherit]", {
160
+ "empty-sidebar-item": e(y).length <= 1,
161
+ "border-t-1/2": e(y).length <= 1
162
+ }])
163
+ }, [
164
+ s("div", xe, [
165
+ s("div", Ce, [
166
+ i(V, {
167
+ art: e(ie),
168
+ class: "font-bold rabbitsit"
169
+ }, null, 8, ["art"]),
170
+ i(V, {
171
+ art: e(ne),
172
+ class: "font-bold absolute top-0 left-0 rabbitjump"
173
+ }, null, 8, ["art"])
174
+ ]),
175
+ De
162
176
  ]),
163
- _: 1
164
- }, 8, ["class", "click"]))
177
+ r.isReadonly ? B("", !0) : (a(), c(me, {
178
+ key: 0,
179
+ click: e(P).emit
180
+ }, {
181
+ title: n(() => [
182
+ $("Add Item")
183
+ ]),
184
+ _: 1
185
+ }, 8, ["click"]))
186
+ ], 2)
165
187
  ]),
166
188
  _: 2
167
189
  }, [
168
- s.isReadonly ? void 0 : {
190
+ r.isReadonly ? void 0 : {
169
191
  name: "header",
170
- fn: a(() => [
171
- l(t(ce))
192
+ fn: n(() => [
193
+ i(e(we))
172
194
  ]),
173
195
  key: "0"
174
196
  }
175
197
  ]), 1032, ["class", "showSidebar"]), [
176
- [se, s.showSidebar]
198
+ [re, r.showSidebar]
177
199
  ]),
178
- !t(T) && d ? (r(), m(ie, {
200
+ !e(N) && p ? (a(), c(pe, {
179
201
  key: 0,
180
- menuItem: d,
181
- onCloseMenu: e[9] || (e[9] = (o) => d.open = !1)
182
- }, null, 8, ["menuItem"])) : $("", !0)
202
+ menuItem: p,
203
+ onCloseMenu: t[9] || (t[9] = (o) => p.open = !1)
204
+ }, null, 8, ["menuItem"])) : B("", !0)
183
205
  ], 64));
184
206
  }
185
207
  });
186
208
  export {
187
- qe as default
209
+ je as default
188
210
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AAybA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEzE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAqO1B,iBAAS,cAAc;gBA9LT,IAAI;;gBAAJ,IAAI;EA2vBjB;AACD,QAAA,MAAM,eAAe;IA3xBjB;;;;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;;;;OAI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AC,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 d = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4a6dd4d2"]]);
5
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-d3581d0d"]]);
6
6
  export {
7
- d as default
7
+ p as default
8
8
  };