@scalar/api-client 2.1.7 → 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.
Files changed (51) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  3. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +48 -21
  4. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  5. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  6. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  7. package/dist/components/IconSelector.vue.d.ts +35 -0
  8. package/dist/components/IconSelector.vue.d.ts.map +1 -0
  9. package/dist/components/IconSelector.vue.js +73 -0
  10. package/dist/components/IconSelector.vue2.js +4 -0
  11. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +24 -0
  12. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -0
  13. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +58 -0
  14. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue2.js +4 -0
  15. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.d.ts → EditSidebarListElement.vue.d.ts} +3 -3
  16. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -0
  17. package/dist/components/Sidebar/Actions/{RenameSidebarListElement.vue.js → EditSidebarListElement.vue.js} +9 -9
  18. package/dist/components/Sidebar/Actions/EditSidebarListElement.vue2.js +4 -0
  19. package/dist/layouts/App/create-api-client-app.d.ts +32 -20
  20. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  21. package/dist/layouts/Modal/create-api-client-modal.d.ts +64 -40
  22. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  23. package/dist/libs/create-client.d.ts +32 -20
  24. package/dist/libs/create-client.d.ts.map +1 -1
  25. package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
  26. package/dist/store/collections.d.ts +14 -4
  27. package/dist/store/collections.d.ts.map +1 -1
  28. package/dist/store/request-example.d.ts +2 -2
  29. package/dist/store/requests.d.ts +2 -2
  30. package/dist/store/security-schemes.d.ts +4 -4
  31. package/dist/store/store.d.ts +64 -40
  32. package/dist/store/store.d.ts.map +1 -1
  33. package/dist/store/tags.d.ts +4 -4
  34. package/dist/store/workspace.d.ts +4 -4
  35. package/dist/style.css +1 -1
  36. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  37. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  38. package/dist/views/Request/RequestSidebar.vue2.js +73 -74
  39. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  40. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  41. package/dist/views/Request/RequestSidebarItem.vue2.js +94 -91
  42. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  43. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  44. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +93 -79
  45. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  46. package/dist/views/Request/components/WorkspaceDropdown.vue.js +109 -95
  47. package/dist/views/Request/types/sidebar-item.d.ts +2 -1
  48. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  49. package/package.json +9 -8
  50. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +0 -1
  51. package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +0 -4
@@ -1,37 +1,38 @@
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";
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 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({
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(F, { emit: q }) {
23
- const E = F, v = q, R = he(), {
24
- 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 });
30
- X(
31
- N,
32
- (s) => {
33
- s && P(s).forEach(
34
- (e) => W(e, !0)
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: H,
44
- fuseSearch: L,
44
+ onSearchResultClick: W,
45
+ fuseSearch: H,
45
46
  searchInputRef: k,
46
- searchResultRefs: j,
47
+ searchResultRefs: L,
47
48
  navigateSearchResults: y,
48
- selectSearchResult: A
49
- } = ae(), C = (s) => {
49
+ selectSearchResult: j
50
+ } = se(), I = (r) => {
50
51
  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());
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 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
- }, ee({
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", Se, [
63
- l(t(de), {
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) => te(p) ? p.value = o : null),
68
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => ee(p) ? p.value = o : null),
68
69
  sidebar: "",
69
- onInput: t(L),
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(A)(), ["stop"]), ["enter"])),
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": !s.isReadonly
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) ? (r(), m(t(ue), {
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
- (r(!0), c(b, null, I(t(w), (o, i) => (r(), m(t(me), {
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(j)[i] = n,
97
+ ref: (n) => t(L)[i] = n,
97
98
  active: t(g) === i,
98
99
  class: "px-2",
99
- onClick: (n) => t(H)(o),
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(oe(o.item.title) + " ", 1)
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"])) : (r(!0), c(b, { key: 1 }, I(t(M), (o) => {
116
+ }, 8, ["noResults"])) : (s(!0), c(b, { key: 1 }, C(t(F), (o) => {
116
117
  var i;
117
- return r(), m(pe, {
118
+ return s(), m(fe, {
118
119
  key: o.uid,
119
- isDraggable: !s.isReadonly && ((i = o.info) == null ? void 0 : i.title) !== "Drafts",
120
- isDroppable: t(K),
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, G) => v("newTab", { name: n, uid: G })),
125
- onOnDragEnd: t(z),
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(x), {
130
- class: "text-sidebar-c-2 text-sm group-hover:hidden",
131
- icon: "CodeFolder",
132
- size: "sm",
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(U)[o.uid]
136
+ "rotate-90": t(K)[o.uid]
138
137
  })
139
138
  }, [
140
- l(t(x), {
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
- s.isReadonly ? $("", !0) : (r(), m(ne, {
152
+ r.isReadonly ? $("", !0) : (s(), m(ae, {
154
153
  key: 0,
155
154
  class: f({
156
- "empty-sidebar-item": t(O).length === 1
155
+ "empty-sidebar-item": t(N).length === 1
157
156
  }),
158
- click: t(V).emit
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
- s.isReadonly ? void 0 : {
167
+ r.isReadonly ? void 0 : {
169
168
  name: "header",
170
169
  fn: a(() => [
171
- l(t(ce))
170
+ l(t(be))
172
171
  ]),
173
172
  key: "0"
174
173
  }
175
174
  ]), 1032, ["class", "showSidebar"]), [
176
- [se, s.showSidebar]
175
+ [oe, r.showSidebar]
177
176
  ]),
178
- !t(T) && d ? (r(), m(ie, {
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
- qe as default
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":"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;;;;OAIG;kBACW,cAAc,CAAC,aAAa,CAAC;IAC3C,oEAAoE;gBACxD,MAAM,EAAE;IACpB,0DAA0D;SACrD,MAAM;IACX,2CAA2C;cACjC,eAAe;;;;;;;;;;;iBAZX,OAAO;MA6xBvB,CAAC;wBACkB,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AEN,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
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as te, useCssVars as ie, computed as c, ref as ne, resolveComponent as re, openBlock as p, createElementBlock as k, normalizeClass as m, unref as n, createVNode as h, withCtx as y, createBlock as b, withModifiers as C, createElementVNode as u, toDisplayString as O, createCommentVNode as g, createTextVNode as B, renderSlot as le, Fragment as se, renderList as ae, pushScopeId as oe, popScopeId as ue } from "vue";
2
- import { PathId as de } from "../../router.js";
3
- import { ScalarButton as I, ScalarIcon as w } from "@scalar/components";
1
+ import { defineComponent as te, useCssVars as ie, computed as c, ref as ne, resolveComponent as re, openBlock as p, createElementBlock as w, normalizeClass as m, unref as n, createVNode as h, withCtx as y, createBlock as b, withModifiers as R, createElementVNode as d, toDisplayString as B, createCommentVNode as g, createTextVNode as j, renderSlot as le, Fragment as se, renderList as ae, pushScopeId as oe, popScopeId as de } from "vue";
2
+ import { PathId as ue } from "../../router.js";
3
+ import { ScalarButton as $, ScalarIcon as q } from "@scalar/components";
4
4
  import { Draggable as pe } from "@scalar/draggable";
5
5
  import { RouterLink as fe } from "vue-router";
6
6
  import me from "../../components/HttpMethod/HttpMethod.vue.js";
@@ -8,7 +8,7 @@ import { useSidebar as ce } from "../../hooks/useSidebar.js";
8
8
  import { getModifiers as be } from "../../libs/event-busses/hot-keys-bus.js";
9
9
  import { useWorkspace as ge } from "../../store/store.js";
10
10
  import { commandPaletteBus as ve } from "../../libs/event-busses/command-palette-bus.js";
11
- const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex flex-row gap-1 items-center" }, ye = { class: "relative" }, xe = { class: "flex items-start" }, ke = { class: "z-10 flex h-5 items-center justify-center max-w-[14px]" }, we = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, qe = { class: "relative flex h-fit" }, Ue = /* @__PURE__ */ P(() => /* @__PURE__ */ u("span", null, " ", -1)), De = { key: 2 }, Ce = /* @__PURE__ */ P(() => /* @__PURE__ */ u("span", null, "Add Request", -1)), j = "hover:bg-sidebar-active-b indent-padding-left", Be = /* @__PURE__ */ te({
11
+ const V = (v) => (oe("data-v-d3581d0d"), v = v(), de(), v), he = { class: "flex flex-row gap-1 items-center" }, ye = { class: "relative" }, xe = { class: "flex items-start" }, ke = { class: "z-10 flex h-5 items-center justify-center max-w-[14px]" }, we = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, qe = { class: "relative flex h-fit" }, Ue = /* @__PURE__ */ V(() => /* @__PURE__ */ d("span", null, " ", -1)), De = { key: 2 }, Ce = /* @__PURE__ */ V(() => /* @__PURE__ */ d("span", null, "Add Request", -1)), P = "hover:bg-sidebar-active-b indent-padding-left", Be = /* @__PURE__ */ te({
12
12
  __name: "RequestSidebarItem",
13
13
  props: {
14
14
  isDraggable: { type: Boolean, default: !1 },
@@ -18,44 +18,47 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
18
18
  menuItem: {}
19
19
  },
20
20
  emits: ["onDragEnd", "newTab", "openMenu"],
21
- setup(v, { emit: V }) {
21
+ setup(v, { emit: F }) {
22
22
  ie((e) => ({
23
- "2d4187ae": G.value,
24
- "33fcdcf5": J.value
23
+ "30e2fca9": J.value,
24
+ "711b4c75": K.value
25
25
  }));
26
- const r = v, F = V, {
27
- activeRequest: R,
28
- activeRouterParams: Y,
26
+ const r = v, Y = F, {
27
+ activeRequest: T,
28
+ activeRouterParams: A,
29
29
  activeWorkspace: x,
30
- collections: q,
31
- tags: A,
30
+ collections: U,
31
+ tags: L,
32
32
  isReadOnly: f,
33
- requests: $,
34
- requestExamples: U,
35
- collectionMutators: T,
36
- tagMutators: M,
37
- requestMutators: z,
38
- requestExampleMutators: E,
39
- router: L
40
- } = ge(), { collapsedSidebarFolders: S, toggleSidebarFolder: W } = ce(), i = c(() => {
41
- var s, d;
42
- const e = q[r.uid], t = A[r.uid], l = $[r.uid], a = U[r.uid];
33
+ requests: M,
34
+ requestExamples: D,
35
+ collectionMutators: C,
36
+ tagMutators: z,
37
+ requestMutators: E,
38
+ requestExampleMutators: S,
39
+ router: W
40
+ } = ge(), { collapsedSidebarFolders: N, toggleSidebarFolder: H } = ce(), i = c(() => {
41
+ var s, u;
42
+ const e = U[r.uid], t = L[r.uid], l = M[r.uid], a = D[r.uid];
43
43
  return e ? {
44
44
  title: ((s = e.info) == null ? void 0 : s.title) ?? "Unknown title",
45
45
  entity: e,
46
46
  resourceTitle: "Collection",
47
47
  children: e.children,
48
- warning: "This cannot be undone. You’re about to delete the collection and all folders andrequests inside it.",
49
- rename: (o) => T.edit(e.uid, "info.title", o),
50
- delete: () => T.delete(e, x.value)
48
+ icon: e["x-scalar-icon"],
49
+ warning: "This cannot be undone. You’re about to delete the collection and all folders and requests inside it.",
50
+ edit: (o, k) => {
51
+ C.edit(e.uid, "info.title", o), k && C.edit(e.uid, "x-scalar-icon", k);
52
+ },
53
+ delete: () => C.delete(e, x.value)
51
54
  } : t ? {
52
55
  title: t.name,
53
56
  entity: t,
54
57
  resourceTitle: "Tag",
55
58
  children: t.children,
56
59
  warning: "This cannot be undone. You’re about to delete the tag and all requests inside it",
57
- rename: (o) => M.edit(t.uid, "name", o),
58
- delete: () => M.delete(t, r.parentUids[0])
60
+ edit: (o) => z.edit(t.uid, "name", o),
61
+ delete: () => z.delete(t, r.parentUids[0])
59
62
  } : l ? {
60
63
  title: l.summary ?? [l.method, l.path].join(" - "),
61
64
  link: `/workspace/${x.value.uid}/request/${l.uid}`,
@@ -64,40 +67,40 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
64
67
  resourceTitle: "Request",
65
68
  warning: "This cannot be undone. You’re about to delete the request.",
66
69
  children: l.examples,
67
- rename: (o) => z.edit(l.uid, "summary", o),
68
- delete: () => z.delete(l, r.parentUids[0])
70
+ edit: (o) => E.edit(l.uid, "summary", o),
71
+ delete: () => E.delete(l, r.parentUids[0])
69
72
  } : {
70
73
  title: a.name,
71
74
  link: `/workspace/${x.value.uid}/request/${a.requestUid}/examples/${a.uid}`,
72
- method: (d = $[a.requestUid]) == null ? void 0 : d.method,
75
+ method: (u = M[a.requestUid]) == null ? void 0 : u.method,
73
76
  entity: a,
74
77
  resourceTitle: "Example",
75
78
  warning: "This cannot be undone. You’re about to delete the example from the request.",
76
79
  children: [],
77
- rename: (o) => E.edit(a.uid, "name", o),
78
- delete: () => E.delete(a)
80
+ edit: (o) => S.edit(a.uid, "name", o),
81
+ delete: () => S.delete(a)
79
82
  };
80
- }), H = c(
83
+ }), G = c(
81
84
  () => i.value.entity.type === "collection" && i.value.title === "Drafts"
82
- ), G = c(() => r.parentUids.length ? f.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "12px"), J = c(() => r.parentUids.length ? f.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "0px"), K = c(
85
+ ), J = c(() => r.parentUids.length ? f.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "12px"), K = c(() => r.parentUids.length ? f.value ? `${(r.parentUids.length - 1) * 12}px` : `${r.parentUids.length * 12}px` : "0px"), Q = c(
83
86
  () => {
84
87
  var e;
85
- return S[r.uid] || ((e = R.value) == null ? void 0 : e.uid) === r.uid && i.value.entity.examples.length > 1;
88
+ return N[r.uid] || ((e = T.value) == null ? void 0 : e.uid) === r.uid && i.value.entity.examples.length > 1;
86
89
  }
87
- ), Q = c(
90
+ ), X = c(
88
91
  () => {
89
92
  var e;
90
- return Y.value[de.Request] === "default" && ((e = R.value) == null ? void 0 : e.uid) === r.uid;
93
+ return A.value[ue.Request] === "default" && ((e = T.value) == null ? void 0 : e.uid) === r.uid;
91
94
  }
92
- ), D = ne(null), N = c(() => {
95
+ ), I = ne(null), O = c(() => {
93
96
  let e = 0.5, t = 0.5;
94
- if (!D.value) return { ceiling: e, floor: t };
95
- const { draggingItem: l } = D.value;
96
- return !q[l == null ? void 0 : l.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
97
- }), X = (e, t) => !(x.value.isReadOnly || U[t.id] || q[e.id]), Z = (e, t) => {
98
- e && (be(["default"]).some((s) => e[s]) ? F("newTab", t.title || "", t.entity.uid) : t.link && L.push(t.link));
97
+ if (!I.value) return { ceiling: e, floor: t };
98
+ const { draggingItem: l } = I.value;
99
+ return !U[l == null ? void 0 : l.id] && i.value.entity.type === "collection" ? (e = 1, t = 0) : i.value.entity.type === "tag" && (e = 0.8, t = 0.2), { ceiling: e, floor: t };
100
+ }), Z = (e, t) => !(x.value.isReadOnly || D[t.id] || U[e.id]), _ = (e, t) => {
101
+ e && (be(["default"]).some((s) => e[s]) ? Y("newTab", t.title || "", t.entity.uid) : t.link && W.push(t.link));
99
102
  };
100
- function _() {
103
+ function ee() {
101
104
  ve.emit({
102
105
  commandName: "Create Request",
103
106
  metaData: {
@@ -108,7 +111,7 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
108
111
  }
109
112
  return (e, t) => {
110
113
  const l = re("RequestSidebarItem", !0);
111
- return p(), k("div", {
114
+ return p(), w("div", {
112
115
  class: m(["relative flex flex-row", [
113
116
  n(f) && e.parentUids.length > 1 || !n(f) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset" : ""
114
117
  ]])
@@ -116,10 +119,10 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
116
119
  h(n(pe), {
117
120
  id: i.value.entity.uid,
118
121
  ref_key: "draggableRef",
119
- ref: D,
120
- ceiling: N.value.ceiling,
122
+ ref: I,
123
+ ceiling: O.value.ceiling,
121
124
  class: "flex flex-1 flex-col gap-[.5px] text-sm",
122
- floor: N.value.floor,
125
+ floor: O.value.floor,
123
126
  isDraggable: e.isDraggable,
124
127
  isDroppable: e.isDroppable,
125
128
  parentIds: e.parentUids,
@@ -132,48 +135,48 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
132
135
  key: 0,
133
136
  class: "no-underline",
134
137
  to: i.value.link,
135
- onClick: t[1] || (t[1] = C(
136
- (s) => Z(s, i.value),
138
+ onClick: t[1] || (t[1] = R(
139
+ (s) => _(s, i.value),
137
140
  ["prevent"]
138
141
  ))
139
142
  }, {
140
143
  default: y(({ isExactActive: s }) => {
141
- var d, o;
144
+ var u, o;
142
145
  return [
143
- u("div", {
146
+ d("div", {
144
147
  class: m(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover w-full", [
145
- j,
146
- s || Q.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
148
+ P,
149
+ s || X.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
147
150
  ]]),
148
151
  tabindex: "0"
149
152
  }, [
150
- u("span", {
153
+ d("span", {
151
154
  class: m(["line-clamp-3 z-10 font-medium w-full pl-2 word-break-break-word", {
152
155
  "editable-sidebar-hover-item": !n(f)
153
156
  }])
154
- }, O(i.value.title), 3),
155
- u("div", he, [
156
- u("div", ye, [
157
- n(f) ? g("", !0) : (p(), b(n(I), {
157
+ }, B(i.value.title), 3),
158
+ d("div", he, [
159
+ d("div", ye, [
160
+ n(f) ? g("", !0) : (p(), b(n($), {
158
161
  key: 0,
159
162
  class: m(["px-0.5 py-0 z-10 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
160
- flex: ((o = (d = e.menuItem) == null ? void 0 : d.item) == null ? void 0 : o.entity.uid) === i.value.entity.uid && e.menuItem.open
163
+ flex: ((o = (u = e.menuItem) == null ? void 0 : u.item) == null ? void 0 : o.entity.uid) === i.value.entity.uid && e.menuItem.open
161
164
  }]),
162
165
  size: "sm",
163
166
  type: "button",
164
167
  variant: "ghost",
165
- onClick: t[0] || (t[0] = C(
166
- (ee) => e.$emit("openMenu", {
168
+ onClick: t[0] || (t[0] = R(
169
+ (k) => e.$emit("openMenu", {
167
170
  item: i.value,
168
171
  parentUids: e.parentUids,
169
- targetRef: ee.currentTarget.parentNode,
172
+ targetRef: k.currentTarget.parentNode,
170
173
  open: !0
171
174
  }),
172
175
  ["stop", "prevent"]
173
176
  ))
174
177
  }, {
175
178
  default: y(() => [
176
- h(n(w), {
179
+ h(n(q), {
177
180
  icon: "Ellipses",
178
181
  size: "sm"
179
182
  })
@@ -181,8 +184,8 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
181
184
  _: 1
182
185
  }, 8, ["class"]))
183
186
  ]),
184
- u("span", xe, [
185
- B("   "),
187
+ d("span", xe, [
188
+ j("   "),
186
189
  i.value.method ? (p(), b(n(me), {
187
190
  key: 0,
188
191
  class: "font-bold",
@@ -194,20 +197,20 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
194
197
  ];
195
198
  }),
196
199
  _: 1
197
- }, 8, ["to"])) : !n(f) || e.parentUids.length ? (p(), k("button", {
200
+ }, 8, ["to"])) : !n(f) || e.parentUids.length ? (p(), w("button", {
198
201
  key: 1,
199
- class: m(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", j]),
202
+ class: m(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", P]),
200
203
  type: "button",
201
- onClick: t[3] || (t[3] = (s) => n(W)(i.value.entity.uid))
204
+ onClick: t[3] || (t[3] = (s) => n(H)(i.value.entity.uid))
202
205
  }, [
203
- u("span", ke, [
206
+ d("span", ke, [
204
207
  le(e.$slots, "leftIcon", {}, () => [
205
- u("div", {
208
+ d("div", {
206
209
  class: m({
207
- "rotate-90": n(S)[i.value.entity.uid]
210
+ "rotate-90": n(N)[i.value.entity.uid]
208
211
  })
209
212
  }, [
210
- h(n(w), {
213
+ h(n(q), {
211
214
  class: "text-c-3 text-sm",
212
215
  icon: "ChevronRight",
213
216
  size: "sm",
@@ -215,23 +218,23 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
215
218
  })
216
219
  ], 2)
217
220
  ], !0),
218
- B("   ")
221
+ j("   ")
219
222
  ]),
220
- u("div", we, [
221
- u("span", {
223
+ d("div", we, [
224
+ d("span", {
222
225
  class: m(["line-clamp-3 z-10 font-medium text-left w-full word-break-break-word", {
223
226
  "editable-sidebar-hover-item": !n(f)
224
227
  }])
225
- }, O(i.value.title), 3),
226
- u("div", qe, [
227
- !n(f) && !H.value ? (p(), b(n(I), {
228
+ }, B(i.value.title), 3),
229
+ d("div", qe, [
230
+ !n(f) && !G.value ? (p(), b(n($), {
228
231
  key: 0,
229
232
  class: m(["px-0.5 py-0 z-10 hover:bg-b-3 hidden group-hover:flex absolute -translate-y-1/2 right-0 aspect-square inset-y-2/4 h-fit", {
230
233
  flex: ((a = e.menuItem.item) == null ? void 0 : a.entity.uid) === i.value.entity.uid && e.menuItem.open
231
234
  }]),
232
235
  size: "sm",
233
236
  variant: "ghost",
234
- onClick: t[2] || (t[2] = C(
237
+ onClick: t[2] || (t[2] = R(
235
238
  (s) => e.$emit("openMenu", {
236
239
  item: i.value,
237
240
  parentUids: e.parentUids,
@@ -242,7 +245,7 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
242
245
  ))
243
246
  }, {
244
247
  default: y(() => [
245
- h(n(w), {
248
+ h(n(q), {
246
249
  icon: "Ellipses",
247
250
  size: "sm"
248
251
  })
@@ -253,26 +256,26 @@ const P = (v) => (oe("data-v-4a6dd4d2"), v = v(), ue(), v), he = { class: "flex
253
256
  ])
254
257
  ])
255
258
  ])) : g("", !0),
256
- K.value ? (p(), k("div", De, [
257
- (p(!0), k(se, null, ae(i.value.children, (s) => (p(), b(l, {
259
+ Q.value ? (p(), w("div", De, [
260
+ (p(!0), w(se, null, ae(i.value.children, (s) => (p(), b(l, {
258
261
  key: s,
259
- isDraggable: !n(U)[s],
260
- isDroppable: X,
262
+ isDraggable: !n(D)[s],
263
+ isDroppable: Z,
261
264
  menuItem: e.menuItem,
262
265
  parentUids: [...e.parentUids, e.uid],
263
266
  uid: s,
264
- onNewTab: t[4] || (t[4] = (d, o) => e.$emit("newTab", d, o)),
265
- onOnDragEnd: t[5] || (t[5] = (...d) => e.$emit("onDragEnd", ...d)),
266
- onOpenMenu: t[6] || (t[6] = (d) => e.$emit("openMenu", d))
267
+ onNewTab: t[4] || (t[4] = (u, o) => e.$emit("newTab", u, o)),
268
+ onOnDragEnd: t[5] || (t[5] = (...u) => e.$emit("onDragEnd", ...u)),
269
+ onOpenMenu: t[6] || (t[6] = (u) => e.$emit("openMenu", u))
267
270
  }, null, 8, ["isDraggable", "menuItem", "parentUids", "uid"]))), 128)),
268
- i.value.children.length === 0 ? (p(), b(n(I), {
271
+ i.value.children.length === 0 ? (p(), b(n($), {
269
272
  key: 0,
270
273
  class: m(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2", e.parentUids.length ? "pl-9" : ""]),
271
274
  variant: "ghost",
272
- onClick: t[7] || (t[7] = (s) => _())
275
+ onClick: t[7] || (t[7] = (s) => ee())
273
276
  }, {
274
277
  default: y(() => [
275
- h(n(w), {
278
+ h(n(q), {
276
279
  class: "ml-0.5 h-2.5 w-2.5",
277
280
  icon: "Add",
278
281
  thickness: "3"
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"AA8KA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;;cAa1B,eAAe;;;;cAAf,eAAe;;;;AAiZjD,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
+ {"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","source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