@scalar/api-client 2.0.38 → 2.0.40

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 (86) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  3. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  4. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +84 -80
  5. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  6. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  7. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  8. package/dist/components/DataTable/DataTableInput.vue2.js +1 -1
  9. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  10. package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
  11. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -0
  12. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
  13. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +18 -14
  14. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  15. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +5 -40
  16. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +48 -2
  17. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -0
  18. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  19. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  20. package/dist/components/Sidebar/SidebarListElement.vue2.js +24 -22
  21. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  22. package/dist/components/Sidebar/SidebarListElementActions.vue.js +26 -25
  23. package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
  24. package/dist/components/SubpageHeader.vue.js +5 -29
  25. package/dist/components/SubpageHeader.vue2.js +31 -2
  26. package/dist/layouts/App/create-api-client-app.d.ts +20 -20
  27. package/dist/layouts/Modal/create-api-client-modal.d.ts +40 -40
  28. package/dist/libs/create-client.d.ts +20 -20
  29. package/dist/libs/sendRequest.d.ts.map +1 -1
  30. package/dist/libs/sendRequest.js +87 -70
  31. package/dist/store/workspace.d.ts +64 -64
  32. package/dist/store/workspace.d.ts.map +1 -1
  33. package/dist/store/workspace.js +129 -132
  34. package/dist/style.css +1 -1
  35. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  36. package/dist/views/Cookies/Cookies.vue2.js +46 -36
  37. package/dist/views/Environment/Environment.vue2.js +26 -26
  38. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  39. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +37 -34
  40. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  41. package/dist/views/Request/Request.vue.js +2 -2
  42. package/dist/views/Request/Request.vue2.js +196 -142
  43. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
  44. package/dist/views/Request/RequestSection/RequestAuth.vue.js +5 -311
  45. package/dist/views/Request/RequestSection/RequestAuth.vue2.js +312 -2
  46. package/dist/views/Request/RequestSection/RequestSection.vue.js +19 -19
  47. package/dist/views/Request/RequestSidebarItem.vue.d.ts +4 -4
  48. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  49. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  50. package/dist/views/Request/RequestSidebarItem.vue2.js +108 -87
  51. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  52. package/dist/views/Request/RequestSidebarItemMenu.vue.js +5 -162
  53. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +166 -2
  54. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +3 -17
  55. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  56. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +89 -5
  57. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +2 -37
  58. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +18 -0
  59. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -0
  60. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +34 -0
  61. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue2.js +4 -0
  62. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +12 -0
  63. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -0
  64. package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.js +14 -0
  65. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +23 -0
  66. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -0
  67. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +7 -0
  68. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +65 -0
  69. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +19 -0
  70. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -0
  71. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +7 -0
  72. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +29 -0
  73. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +20 -0
  74. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -0
  75. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.js +25 -0
  76. package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue2.js +4 -0
  77. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  78. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +61 -63
  79. package/dist/views/Request/consts/index.d.ts +2 -0
  80. package/dist/views/Request/consts/index.d.ts.map +1 -1
  81. package/dist/views/Request/consts/index.js +6 -3
  82. package/dist/views/Request/consts/mediaTypes.d.ts +16 -0
  83. package/dist/views/Request/consts/mediaTypes.d.ts.map +1 -0
  84. package/dist/views/Request/consts/mediaTypes.js +108 -0
  85. package/dist/views/Servers/Servers.vue2.js +17 -17
  86. package/package.json +8 -6
@@ -1,22 +1,22 @@
1
- import { defineComponent as S, computed as f, ref as A, watch as k, openBlock as q, createBlock as R, withCtx as h, createVNode as l, unref as o, createElementVNode as u, createTextVNode as B, toDisplayString as C, withDirectives as i, vShow as a } from "vue";
1
+ import { defineComponent as A, computed as f, ref as S, watch as q, openBlock as k, createBlock as R, withCtx as h, createVNode as l, unref as o, createElementVNode as u, createTextVNode as B, toDisplayString as C, withDirectives as i, vShow as a } from "vue";
2
2
  import E from "../../../components/ContextBar.vue.js";
3
3
  import O from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
- import { useWorkspace as $ } from "../../../store/workspace.js";
5
- import g from "./RequestAuth.vue.js";
6
- import H from "./RequestBody.vue.js";
4
+ import { useWorkspace as g } from "../../../store/workspace.js";
5
+ import H from "./RequestAuth.vue.js";
6
+ import P from "./RequestBody.vue.js";
7
7
  import r from "./RequestParams.vue.js";
8
- import P from "./RequestPathParams.vue.js";
9
- import { ScalarIcon as T } from "@scalar/components";
10
- const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" }, W = /* @__PURE__ */ S({
8
+ import T from "./RequestPathParams.vue.js";
9
+ import { ScalarIcon as $ } from "@scalar/components";
10
+ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" }, W = /* @__PURE__ */ A({
11
11
  __name: "RequestSection",
12
12
  setup(V) {
13
13
  const {
14
14
  activeRequest: s,
15
- activeSecuritySchemes: _,
15
+ activeSecuritySchemes: y,
16
16
  activeExample: m,
17
17
  activeSecurityRequirements: d,
18
- isReadOnly: y
19
- } = $(), n = ["POST", "PUT", "PATCH", "DELETE"], x = f(() => {
18
+ isReadOnly: _
19
+ } = g(), n = ["POST", "PUT", "PATCH", "DELETE"], x = f(() => {
20
20
  const t = [
21
21
  "All",
22
22
  "Auth",
@@ -28,15 +28,15 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
28
28
  ];
29
29
  return m.value.parameters.path.length || t.splice(t.indexOf("Request"), 1), n.includes(s.value.method) || t.splice(t.indexOf("Body"), 1), p.value && t.splice(t.indexOf("Auth"), 1), t;
30
30
  }), p = f(
31
- () => y.value && (d.value.length === 0 || JSON.stringify(d.value) === "[{}]")
32
- ), e = A("All");
33
- return k(s, (t) => {
31
+ () => _.value && (d.value.length === 0 || JSON.stringify(d.value) === "[{}]")
32
+ ), e = S("All");
33
+ return q(s, (t) => {
34
34
  e.value === "Body" && !n.includes(t.method) && (e.value = "All");
35
- }), (t, v) => (q(), R(O, null, {
35
+ }), (t, v) => (k(), R(O, null, {
36
36
  title: h(() => {
37
37
  var c;
38
38
  return [
39
- l(o(T), {
39
+ l(o($), {
40
40
  class: "text-c-3 mr-2",
41
41
  icon: "ExternalLink",
42
42
  size: "sm",
@@ -55,9 +55,9 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
55
55
  sections: x.value,
56
56
  onSetActiveSection: v[0] || (v[0] = (c) => e.value = c)
57
57
  }, null, 8, ["activeSection", "sections"]),
58
- i(l(g, {
58
+ i(l(H, {
59
59
  index: 0,
60
- securityScheme: o(_)[0],
60
+ securityScheme: o(y)[0],
61
61
  title: "Authentication"
62
62
  }, null, 8, ["securityScheme"]), [
63
63
  [
@@ -65,7 +65,7 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
65
65
  !p.value && (e.value === "All" || e.value === "Auth")
66
66
  ]
67
67
  ]),
68
- i(l(P, {
68
+ i(l(T, {
69
69
  paramKey: "path",
70
70
  title: "Path Variables"
71
71
  }, null, 512), [
@@ -92,7 +92,7 @@ const w = { class: "flex-1" }, K = { class: "text-c-3 pl-1" }, N = { class: "req
92
92
  }, null, 512), [
93
93
  [a, e.value === "All" || e.value === "Query"]
94
94
  ]),
95
- i(l(H, {
95
+ i(l(P, {
96
96
  body: "foo",
97
97
  title: "Body"
98
98
  }, null, 512), [
@@ -1,4 +1,4 @@
1
- import { type DraggingItem, type HoveredItem } from '@scalar/draggable';
1
+ import { type DraggableProps, type DraggingItem, type HoveredItem } from '@scalar/draggable';
2
2
  import type { Collection } from '@scalar/oas-utils/entities/workspace/collection';
3
3
  import type { Folder } from '@scalar/oas-utils/entities/workspace/folder';
4
4
  import type { Request, RequestExample } from '@scalar/oas-utils/entities/workspace/spec';
@@ -19,7 +19,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
19
19
  *
20
20
  * @default false
21
21
  */
22
- isDroppable?: boolean;
22
+ isDroppable?: DraggableProps["isDroppable"];
23
23
  /** Both inidicate the level and provide a way to traverse upwards */
24
24
  parentUids: string[];
25
25
  item: Collection | Folder | Request | RequestExample;
@@ -41,7 +41,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
41
41
  *
42
42
  * @default false
43
43
  */
44
- isDroppable?: boolean;
44
+ isDroppable?: DraggableProps["isDroppable"];
45
45
  /** Both inidicate the level and provide a way to traverse upwards */
46
46
  parentUids: string[];
47
47
  item: Collection | Folder | Request | RequestExample;
@@ -52,8 +52,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
52
52
  }>>> & {
53
53
  onOnDragEnd?: ((draggingItem: DraggingItem, hoveredItem: HoveredItem) => any) | undefined;
54
54
  }, {
55
+ isDroppable: boolean | ((draggingItem: DraggingItem, hoveredItem: HoveredItem) => boolean);
55
56
  isDraggable: boolean;
56
- isDroppable: boolean;
57
57
  }, {}>;
58
58
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
59
59
  export default _default;
@@ -1 +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AI,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 p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-5acf078c"]]);
5
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0285aba2"]]);
6
6
  export {
7
7
  p as default
8
8
  };
@@ -1,110 +1,124 @@
1
- import { defineComponent as P, useCssVars as T, computed as o, resolveComponent as W, openBlock as r, createElementBlock as u, normalizeClass as p, unref as i, createVNode as c, withCtx as k, createBlock as m, createElementVNode as n, toDisplayString as w, createCommentVNode as f, createTextVNode as q, renderSlot as A, withDirectives as G, Fragment as H, renderList as J, vShow as K } from "vue";
2
- import { PathId as M } from "../../router.js";
3
- import { useWorkspace as Q } from "../../store/workspace.js";
4
- import { ScalarIcon as X } from "@scalar/components";
5
- import { Draggable as Y } from "@scalar/draggable";
6
- import { RouterLink as Z } from "vue-router";
7
- import $ from "./RequestSidebarItemMenu.vue.js";
8
- import _ from "../../components/HttpMethod/HttpMethod.vue.js";
9
- import { useSidebar as ee } from "../../hooks/useSidebar.js";
10
- const te = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }, ie = { class: "flex flex-row gap-1" }, se = { class: "flex" }, re = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, ne = { class: "flex flex-1 flex-row justify-between" }, ae = { class: "z-10 font-medium" }, le = { key: 2 }, x = "hover:bg-sidebar-active-b indent-padding-left", he = /* @__PURE__ */ P({
1
+ import { defineComponent as G, useCssVars as H, computed as l, ref as J, resolveComponent as K, openBlock as o, createElementBlock as m, normalizeClass as d, unref as i, createVNode as U, withCtx as C, createBlock as c, createElementVNode as s, toDisplayString as I, createCommentVNode as b, createTextVNode as E, renderSlot as Q, withDirectives as X, Fragment as Y, renderList as Z, vShow as ee, pushScopeId as te, popScopeId as ie } from "vue";
2
+ import { PathId as re } from "../../router.js";
3
+ import { useWorkspace as se } from "../../store/workspace.js";
4
+ import { ScalarIcon as ae } from "@scalar/components";
5
+ import { Draggable as le } from "@scalar/draggable";
6
+ import { RouterLink as ne } from "vue-router";
7
+ import z from "./RequestSidebarItemMenu.vue.js";
8
+ import oe from "../../components/HttpMethod/HttpMethod.vue.js";
9
+ import { useSidebar as de } from "../../hooks/useSidebar.js";
10
+ const ue = (u) => (te("data-v-0285aba2"), u = u(), ie(), u), pe = { class: "flex flex-row gap-1 items-center" }, fe = { class: "relative" }, me = { class: "flex" }, ce = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, be = { class: "flex flex-1 flex-row justify-between editable-sidebar-hover" }, ge = { class: "relative flex h-fit" }, ve = /* @__PURE__ */ ue(() => /* @__PURE__ */ s("span", null, " ", -1)), he = { key: 2 }, O = "hover:bg-sidebar-active-b indent-padding-left", $e = /* @__PURE__ */ G({
11
11
  __name: "RequestSidebarItem",
12
12
  props: {
13
13
  isDraggable: { type: Boolean, default: !1 },
14
- isDroppable: { type: Boolean, default: !1 },
14
+ isDroppable: { type: [Boolean, Function], default: !1 },
15
15
  parentUids: {},
16
16
  item: {}
17
17
  },
18
18
  emits: ["onDragEnd"],
19
- setup(C) {
20
- T((e) => ({
21
- "2005dcd1": z.value,
22
- "06c2c966": B.value
19
+ setup(u) {
20
+ H((e) => ({
21
+ "6aa00981": F.value,
22
+ efd61ec6: N.value
23
23
  }));
24
- const t = C, {
25
- activeRequest: b,
26
- activeRouterParams: S,
24
+ const t = u, {
25
+ activeRequest: w,
26
+ activeRouterParams: _,
27
27
  activeWorkspace: g,
28
- folders: R,
28
+ collections: D,
29
+ folders: B,
29
30
  isReadOnly: a,
30
- requests: h,
31
- requestExamples: E
32
- } = Q(), { collapsedSidebarFolders: v, toggleSidebarFolder: I } = ee(), U = o(() => "childUids" in t.item), z = o(() => t.parentUids.length ? a.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "12px"), B = o(() => t.parentUids.length ? a.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "0px"), D = (e) => {
33
- var s;
34
- return "spec" in e ? (s = e.spec.info) == null ? void 0 : s.title : "summary" in e ? e.summary || e.path : "name" in e ? e.name : "";
35
- }, O = o(() => ("requestUid" in t.item ? h[t.item.requestUid] : t.item).method), V = o(
31
+ requests: k,
32
+ requestExamples: v
33
+ } = se(), { collapsedSidebarFolders: y, toggleSidebarFolder: V } = de(), j = l(() => "childUids" in t.item), q = l(() => "spec" in t.item), x = l(() => "summary" in t.item), F = l(() => t.parentUids.length ? a.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "12px"), N = l(() => t.parentUids.length ? a.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "0px"), R = (e) => {
34
+ var r;
35
+ return "spec" in e ? (r = e.spec.info) == null ? void 0 : r.title : "summary" in e ? e.summary || e.path : "name" in e ? e.name : "";
36
+ }, L = l(() => ("requestUid" in t.item ? k[t.item.requestUid] : t.item).method), P = l(
36
37
  () => {
37
38
  var e;
38
- return v[t.item.uid] || ((e = b.value) == null ? void 0 : e.uid) === t.item.uid && t.item.childUids.length > 1;
39
+ return y[t.item.uid] || ((e = w.value) == null ? void 0 : e.uid) === t.item.uid && t.item.childUids.length > 1;
39
40
  }
40
- ), j = () => "requestUid" in t.item ? `/workspace/${g.value.uid}/request/${t.item.requestUid}/examples/${t.item.uid}` : `/workspace/${g.value.uid}/request/${t.item.uid}`, N = o(
41
- () => S.value[M.Request] === "default" && b.value.uid === t.item.uid
42
- );
43
- return (e, s) => {
44
- const F = W("RequestSidebarItem", !0);
45
- return r(), u("div", {
46
- class: p(["relative flex flex-row", [
41
+ ), T = () => "requestUid" in t.item ? `/workspace/${g.value.uid}/request/${t.item.requestUid}/examples/${t.item.uid}` : `/workspace/${g.value.uid}/request/${t.item.uid}`, W = l(
42
+ () => _.value[re.Request] === "default" && w.value.uid === t.item.uid
43
+ ), h = J(null), S = l(() => {
44
+ let e = 0.5, r = 0.5;
45
+ if (!h.value) return { ceiling: e, floor: r };
46
+ const { draggingItem: p } = h.value;
47
+ return !D[p == null ? void 0 : p.id] && q.value ? (e = 1, r = 0) : j.value && !x.value && !q.value && (e = 0.8, r = 0.2), { ceiling: e, floor: r };
48
+ }), A = (e, r) => !(g.value.isReadOnly || v[r.id] || D[e.id]);
49
+ return (e, r) => {
50
+ const p = K("RequestSidebarItem", !0);
51
+ return o(), m("div", {
52
+ class: d(["relative flex flex-row", [
47
53
  i(a) && e.parentUids.length > 1 || !i(a) && 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-px mb-[.5px] last:mb-0 indent-border-line-offset" : ""
48
54
  ]])
49
55
  }, [
50
- c(i(Y), {
56
+ U(i(le), {
51
57
  id: e.item.uid,
52
- ceiling: U.value ? 0.8 : 0.5,
58
+ ref_key: "draggableRef",
59
+ ref: h,
60
+ ceiling: S.value.ceiling,
53
61
  class: "flex flex-1 flex-col gap-[.5px] text-sm",
54
- floor: U.value ? 0.2 : 0.5,
55
- isDraggable: e.parentUids.length > 0 && e.isDraggable,
62
+ floor: S.value.floor,
63
+ isDraggable: e.isDraggable,
56
64
  isDroppable: e.isDroppable,
57
65
  parentIds: e.parentUids,
58
- onOnDragEnd: s[2] || (s[2] = (...d) => e.$emit("onDragEnd", ...d))
66
+ onOnDragEnd: r[2] || (r[2] = (...f) => e.$emit("onDragEnd", ...f))
59
67
  }, {
60
- default: k(() => {
61
- var d, y;
68
+ default: C(() => {
69
+ var f, $;
62
70
  return [
63
- "summary" in e.item || "requestUid" in e.item ? (r(), m(i(Z), {
71
+ "summary" in e.item || "requestUid" in e.item ? (o(), c(i(ne), {
64
72
  key: 0,
65
73
  class: "no-underline",
66
- to: j()
74
+ to: T()
67
75
  }, {
68
- default: k(({ isExactActive: l }) => [
69
- n("div", {
70
- class: p(["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", [
71
- x,
72
- l || N.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
76
+ default: C(({ isExactActive: n }) => [
77
+ s("div", {
78
+ class: d(["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", [
79
+ O,
80
+ n || W.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
73
81
  ]]),
74
82
  tabindex: "0"
75
83
  }, [
76
- n("span", te, w(D(e.item)), 1),
77
- n("div", ie, [
78
- i(a) ? f("", !0) : (r(), m($, {
79
- key: 0,
80
- item: e.item,
81
- parentUids: e.parentUids
82
- }, null, 8, ["item", "parentUids"])),
83
- n("span", se, [
84
- q("   "),
85
- c(i(_), {
84
+ s("span", {
85
+ class: d(["z-10 font-medium w-full pl-2 word-break-break-word", {
86
+ "editable-sidebar-hover-item": !i(a)
87
+ }])
88
+ }, I(R(e.item)), 3),
89
+ s("div", pe, [
90
+ s("div", fe, [
91
+ i(a) ? b("", !0) : (o(), c(z, {
92
+ key: 0,
93
+ item: e.item,
94
+ parentUids: e.parentUids
95
+ }, null, 8, ["item", "parentUids"]))
96
+ ]),
97
+ s("span", me, [
98
+ E("   "),
99
+ U(i(oe), {
86
100
  class: "font-bold",
87
- method: O.value
101
+ method: L.value
88
102
  }, null, 8, ["method"])
89
103
  ])
90
104
  ])
91
105
  ], 2)
92
106
  ]),
93
107
  _: 1
94
- }, 8, ["to"])) : !i(a) || e.parentUids.length ? (r(), u("button", {
108
+ }, 8, ["to"])) : !i(a) || e.parentUids.length ? (o(), m("button", {
95
109
  key: 1,
96
- class: p(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", x]),
110
+ class: d(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", O]),
97
111
  type: "button",
98
- onClick: s[0] || (s[0] = (l) => i(I)(e.item.uid))
112
+ onClick: r[0] || (r[0] = (n) => i(V)(e.item.uid))
99
113
  }, [
100
- n("span", re, [
101
- A(e.$slots, "leftIcon", {}, () => [
102
- n("div", {
103
- class: p({
104
- "rotate-90": i(v)[e.item.uid]
114
+ s("span", ce, [
115
+ Q(e.$slots, "leftIcon", {}, () => [
116
+ s("div", {
117
+ class: d({
118
+ "rotate-90": i(y)[e.item.uid]
105
119
  })
106
120
  }, [
107
- c(i(X), {
121
+ U(i(ae), {
108
122
  class: "text-c-3 text-sm",
109
123
  icon: "ChevronRight",
110
124
  size: "sm",
@@ -112,29 +126,36 @@ const te = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }
112
126
  })
113
127
  ], 2)
114
128
  ], !0),
115
- q("   ")
129
+ E("   ")
116
130
  ]),
117
- n("div", ne, [
118
- n("span", ae, w(D(e.item)), 1),
119
- !i(a) && ((y = (d = e.item.spec) == null ? void 0 : d.info) == null ? void 0 : y.title) !== "Drafts" ? (r(), m($, {
120
- key: 0,
121
- item: e.item,
122
- parentUids: e.parentUids
123
- }, null, 8, ["item", "parentUids"])) : f("", !0)
131
+ s("div", be, [
132
+ s("span", {
133
+ class: d(["z-10 font-medium text-left w-full word-break-break-word", {
134
+ "editable-sidebar-hover-item": !i(a)
135
+ }])
136
+ }, I(R(e.item)), 3),
137
+ s("div", ge, [
138
+ !i(a) && (($ = (f = e.item.spec) == null ? void 0 : f.info) == null ? void 0 : $.title) !== "Drafts" ? (o(), c(z, {
139
+ key: 0,
140
+ item: e.item,
141
+ parentUids: e.parentUids
142
+ }, null, 8, ["item", "parentUids"])) : b("", !0),
143
+ ve
144
+ ])
124
145
  ])
125
- ])) : f("", !0),
126
- "childUids" in e.item ? G((r(), u("div", le, [
127
- (r(!0), u(H, null, J("summary" in e.item ? e.item.childUids.slice(1) : e.item.childUids, (l) => (r(), m(F, {
128
- key: l,
129
- isDraggable: e.isDraggable,
130
- isDroppable: e.isDroppable,
131
- item: i(R)[l] || i(h)[l] || i(E)[l],
146
+ ])) : b("", !0),
147
+ "childUids" in e.item ? X((o(), m("div", he, [
148
+ (o(!0), m(Y, null, Z(x.value ? e.item.childUids.slice(1) : e.item.childUids, (n) => (o(), c(p, {
149
+ key: n,
150
+ isDraggable: !i(v)[n],
151
+ isDroppable: A,
152
+ item: i(B)[n] || i(k)[n] || i(v)[n],
132
153
  parentUids: [...e.parentUids, e.item.uid],
133
- onOnDragEnd: s[1] || (s[1] = (...L) => e.$emit("onDragEnd", ...L))
134
- }, null, 8, ["isDraggable", "isDroppable", "item", "parentUids"]))), 128))
154
+ onOnDragEnd: r[1] || (r[1] = (...M) => e.$emit("onDragEnd", ...M))
155
+ }, null, 8, ["isDraggable", "item", "parentUids"]))), 128))
135
156
  ], 512)), [
136
- [K, V.value]
137
- ]) : f("", !0)
157
+ [ee, P.value]
158
+ ]) : b("", !0)
138
159
  ];
139
160
  }),
140
161
  _: 3
@@ -144,5 +165,5 @@ const te = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }
144
165
  }
145
166
  });
146
167
  export {
147
- he as default
168
+ $e as default
148
169
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"AAkPA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AACzE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;;IAOhD,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;IAFpD,qEAAq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AC,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,164 +1,7 @@
1
- import { defineComponent as V, computed as p, ref as I, openBlock as M, createElementBlock as B, Fragment as A, createVNode as l, unref as t, withCtx as a, createBlock as F, createCommentVNode as P, withKeys as T, withModifiers as K, createElementVNode as u, createTextVNode as b } from "vue";
2
- import W from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
3
- import { commandPaletteBus as j } from "../../libs/eventBusses/command-palette.js";
4
- import { PathId as E } from "../../router.js";
5
- import { useWorkspace as G } from "../../store/workspace.js";
6
- import { useModal as R, ScalarDropdown as H, ScalarDropdownItem as f, ScalarIcon as r, ScalarButton as v, ScalarModal as N, ScalarTextField as J } from "@scalar/components";
7
- import { useRouter as L } from "vue-router";
8
- const O = /* @__PURE__ */ u("span", null, "Add Example", -1), Q = /* @__PURE__ */ u("span", null, "Rename", -1), X = /* @__PURE__ */ u("span", null, "Delete", -1), Y = { class: "flex gap-3" }, se = /* @__PURE__ */ V({
9
- __name: "RequestSidebarItemMenu",
10
- props: {
11
- parentUids: {},
12
- item: {}
13
- },
14
- setup(S) {
15
- const e = S, {
16
- activeWorkspace: x,
17
- activeRouterParams: h,
18
- collectionMutators: k,
19
- folderMutators: _,
20
- requestMutators: C,
21
- requestExampleMutators: y
22
- } = G(), { replace: g } = L(), U = () => j.emit({
23
- commandName: "Add Example",
24
- metaData: e.item.uid
25
- }), $ = () => {
26
- "requestUid" in e.item ? (y.delete(e.item), h.value[E.Examples] === e.item.uid && g(`/workspace/${x.value}/request/default`)) : "summary" in e.item ? (C.delete(
27
- e.item,
28
- e.parentUids[e.parentUids.length - 1]
29
- ), h.value[E.Request] === e.item.uid && g(`/workspace/${x.value.uid}/request/default`)) : "spec" in e.item ? k.delete(e.item) : "name" in e.item && _.delete(
30
- e.item,
31
- e.parentUids[e.parentUids.length - 1]
32
- );
33
- }, z = p(() => "summary" in e.item), w = p(() => {
34
- var c;
35
- return "summary" in e.item ? e.item.summary || "" : "name" in e.item ? e.item.name || "" : "spec" in e.item && ((c = e.item.spec.info) == null ? void 0 : c.title) || "";
36
- }), n = I(""), q = () => {
37
- "summary" in e.item ? C.edit(e.item.uid, "summary", n.value) : "requestUid" in e.item ? y.edit(e.item.uid, "name", n.value) : "spec" in e.item ? k.edit(e.item.uid, "spec.info.title", n.value) : _.edit(e.item.uid, "name", n.value), m.hide();
38
- }, m = R(), d = R(), D = () => {
39
- n.value = w.value, m.show();
40
- }, o = p(() => "requestUid" in e.item ? "Example" : "summary" in e.item ? "Request" : "spec" in e.item ? "Collection" : "Folder");
41
- return (c, i) => (M(), B(A, null, [
42
- l(t(H), { teleport: "#scalar-client" }, {
43
- items: a(() => [
44
- z.value ? (M(), F(t(f), {
45
- key: 0,
46
- class: "flex !gap-2",
47
- onClick: U
48
- }, {
49
- default: a(() => [
50
- l(t(r), {
51
- class: "inline-flex",
52
- icon: "Add",
53
- size: "sm"
54
- }),
55
- O
56
- ]),
57
- _: 1
58
- })) : P("", !0),
59
- l(t(f), {
60
- class: "flex !gap-2",
61
- onClick: D
62
- }, {
63
- default: a(() => [
64
- l(t(r), {
65
- class: "inline-flex",
66
- icon: "Edit",
67
- size: "sm"
68
- }),
69
- Q
70
- ]),
71
- _: 1
72
- }),
73
- l(t(f), {
74
- class: "flex !gap-2",
75
- onClick: i[1] || (i[1] = (s) => t(d).show())
76
- }, {
77
- default: a(() => [
78
- l(t(r), {
79
- class: "inline-flex",
80
- icon: "Trash",
81
- size: "sm"
82
- }),
83
- X
84
- ]),
85
- _: 1
86
- })
87
- ]),
88
- default: a(() => [
89
- l(t(v), {
90
- class: "px-1 py-0 z-10 hover:bg-b-3 hidden group-hover:flex ui-open:flex",
91
- size: "sm",
92
- variant: "ghost",
93
- onClick: i[0] || (i[0] = (s) => {
94
- (o.value === "Collection" || o.value === "Folder") && s.stopPropagation();
95
- })
96
- }, {
97
- default: a(() => [
98
- l(t(r), {
99
- icon: "Ellipses",
100
- size: "sm"
101
- })
102
- ]),
103
- _: 1
104
- })
105
- ]),
106
- _: 1
107
- }),
108
- l(t(N), {
109
- size: "sm",
110
- state: t(d),
111
- title: `Delete ${o.value}`
112
- }, {
113
- default: a(() => [
114
- l(W, {
115
- variableName: w.value,
116
- onClose: i[2] || (i[2] = (s) => t(d).hide()),
117
- onDelete: $
118
- }, null, 8, ["variableName"])
119
- ]),
120
- _: 1
121
- }, 8, ["state", "title"]),
122
- l(t(N), {
123
- state: t(m),
124
- title: `Rename ${o.value}`
125
- }, {
126
- default: a(() => [
127
- l(t(J), {
128
- modelValue: n.value,
129
- "onUpdate:modelValue": i[3] || (i[3] = (s) => n.value = s),
130
- label: o.value,
131
- labelShadowColor: "var(--scalar-background-1)",
132
- onKeydown: T(K(q, ["prevent"]), ["enter"])
133
- }, null, 8, ["modelValue", "label", "onKeydown"]),
134
- u("div", Y, [
135
- l(t(v), {
136
- class: "flex-1",
137
- variant: "outlined",
138
- onClick: i[4] || (i[4] = (s) => t(m).hide())
139
- }, {
140
- default: a(() => [
141
- b(" Cancel ")
142
- ]),
143
- _: 1
144
- }),
145
- l(t(v), {
146
- class: "flex-1",
147
- type: "submit",
148
- onClick: q
149
- }, {
150
- default: a(() => [
151
- b(" Save ")
152
- ]),
153
- _: 1
154
- })
155
- ])
156
- ]),
157
- _: 1
158
- }, 8, ["state", "title"])
159
- ], 64));
160
- }
161
- });
1
+ import t from "./RequestSidebarItemMenu.vue2.js";
2
+ /* empty css */
3
+ import e from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ e(t, [["__scopeId", "data-v-b4adf477"]]);
162
5
  export {
163
- se as default
6
+ m as default
164
7
  };