@scalar/api-client 2.0.53 → 2.0.55

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.0.55
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [8bde837]
8
+ - Updated dependencies [910b1c2]
9
+ - @scalar/components@0.12.36
10
+ - @scalar/types@0.0.2
11
+ - @scalar/oas-utils@0.2.35
12
+
13
+ ## 2.0.54
14
+
15
+ ### Patch Changes
16
+
17
+ - 2db9eb8: feat: topnav context menu
18
+ - Updated dependencies [7aa26fb]
19
+ - Updated dependencies [2db9eb8]
20
+ - @scalar/components@0.12.35
21
+
3
22
  ## 2.0.53
4
23
 
5
24
  ### Patch Changes
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
7
7
  isDisable: boolean;
8
8
  isEditable: boolean;
9
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: (value: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS") => void;
10
+ change: (value: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE") => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
12
  isSquare?: boolean;
13
13
  method: string;
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  isDisable: boolean;
18
18
  isEditable: boolean;
19
19
  }>>> & {
20
- onChange?: ((value: "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "TRACE" | "CONNECT" | "DELETE" | "OPTIONS") => any) | undefined;
20
+ onChange?: ((value: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE") => any) | undefined;
21
21
  }, {
22
22
  isSquare: boolean;
23
23
  isEditable: boolean;
@@ -9,7 +9,7 @@ const P = /* @__PURE__ */ l({
9
9
  },
10
10
  emits: ["hotkeyPressed"],
11
11
  setup(n, { emit: a }) {
12
- const o = n, i = a, p = t(() => r() ? "⌘" : "⌃"), s = t(() => h().get(o.hotkey)), c = t(() => `${p.value}${o.hotkey}`), m = f({
12
+ const o = n, i = a, p = t(() => r() ? "⌘" : "⌃"), s = t(() => h().get(o.hotkey)), c = t(() => `${p.value} ${o.hotkey}`), m = f({
13
13
  passive: !1,
14
14
  onEventFired(e) {
15
15
  !r() && e.ctrlKey && e.key === s.value && (e.preventDefault(), e.stopPropagation());
@@ -17,7 +17,7 @@ const P = /* @__PURE__ */ l({
17
17
  });
18
18
  return v(m[`${r() ? "meta" : "control"}_${o.hotkey}`], () => {
19
19
  i("hotkeyPressed", s.value || "");
20
- }), (e, b) => (d(), y("div", k(e.$attrs, { class: "bg-c-btn border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase" }), u(c.value), 17));
20
+ }), (e, b) => (d(), y("div", k(e.$attrs, { class: "bg-b-1 border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase" }), u(c.value), 17));
21
21
  }
22
22
  });
23
23
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AAmaA,wBAKG"}
1
+ {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AAkfA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./TopNav.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-91b3e5a4"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dca235f9"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,84 +1,93 @@
1
- import { defineComponent as T, reactive as x, ref as S, watch as C, computed as j, onMounted as B, onBeforeUnmount as R, openBlock as u, createElementBlock as p, createElementVNode as s, createVNode as b, unref as _, toDisplayString as w, Fragment as A, renderList as L, createBlock as M, pushScopeId as z, popScopeId as E } from "vue";
1
+ import { defineComponent as w, reactive as S, ref as U, watch as R, computed as j, onMounted as B, onBeforeUnmount as L, openBlock as s, createElementBlock as v, createElementVNode as u, createVNode as _, unref as g, toDisplayString as A, Fragment as M, renderList as O, createBlock as $, pushScopeId as z, popScopeId as E } from "vue";
2
2
  import { ROUTES as V } from "../../constants.js";
3
- import { ScalarIcon as g } from "@scalar/components";
4
- import { capitalize as q } from "@scalar/oas-utils/helpers";
5
- import K from "./TopNavItem.vue.js";
6
- import { useWorkspace as U } from "../../store/workspace.js";
7
- import { hotKeyBus as k } from "../../libs/event-busses/hot-keys-bus.js";
8
- const $ = (i) => (z("data-v-91b3e5a4"), i = i(), E(), i), D = { class: "flex h-10 t-app__top-nav" }, F = /* @__PURE__ */ $(() => /* @__PURE__ */ s("div", { class: "t-app__top-nav-draggable" }, null, -1)), H = { class: "flex h-10 flex-1 items-center justify-center gap-1.5 text-sm font-medium relative" }, O = {
3
+ import { useClipboard as q } from "../../hooks/useClipboard.js";
4
+ import { ScalarIcon as T } from "@scalar/components";
5
+ import { capitalize as K } from "@scalar/oas-utils/helpers";
6
+ import D from "./TopNavItem.vue.js";
7
+ import { useWorkspace as F } from "../../store/workspace.js";
8
+ import { hotKeyBus as y } from "../../libs/event-busses/hot-keys-bus.js";
9
+ const H = (i) => (z("data-v-dca235f9"), i = i(), E(), i), W = { class: "flex h-10 t-app__top-nav" }, G = /* @__PURE__ */ H(() => /* @__PURE__ */ u("div", { class: "t-app__top-nav-draggable" }, null, -1)), J = { class: "flex h-10 flex-1 items-center justify-center gap-1.5 text-sm font-medium relative" }, P = {
9
10
  key: 0,
10
11
  class: "flex items-center gap-1 w-full justify-center"
11
- }, Z = /* @__PURE__ */ T({
12
+ }, ne = /* @__PURE__ */ w({
12
13
  __name: "TopNav",
13
14
  setup(i) {
14
- const { activeRequest: N, router: n } = U(), t = x([{ label: "", path: "", icon: "Add" }]), a = S(0);
15
- function m() {
16
- var o;
17
- const e = V.find((r) => n.currentRoute.value.name == r.name);
18
- e && ((e == null ? void 0 : e.name) === "request" ? t[a.value] = {
19
- label: ((o = N.value) == null ? void 0 : o.summary) || "",
20
- path: n.currentRoute.value.path,
15
+ const { activeRequest: N, router: l } = F(), { copyToClipboard: k } = q(), t = S([{ label: "", path: "", icon: "Add" }]), o = U(0);
16
+ function d() {
17
+ var a;
18
+ const e = V.find((r) => l.currentRoute.value.name == r.name);
19
+ e && ((e == null ? void 0 : e.name) === "request" ? t[o.value] = {
20
+ label: ((a = N.value) == null ? void 0 : a.summary) || "",
21
+ path: l.currentRoute.value.path,
21
22
  icon: e.icon
22
- } : t[a.value] = {
23
- label: q(e == null ? void 0 : e.name) || "",
24
- path: n.currentRoute.value.path,
23
+ } : t[o.value] = {
24
+ label: K(e == null ? void 0 : e.name) || "",
25
+ path: l.currentRoute.value.path,
25
26
  icon: e.icon
26
27
  });
27
28
  }
28
- function v() {
29
- n.push(t[a.value].path);
29
+ function p() {
30
+ l.push(t[o.value].path);
30
31
  }
31
- function d() {
32
- t.push({ label: "", path: "", icon: "Add" }), a.value = t.length - 1, m();
32
+ function m() {
33
+ t.push({ label: "", path: "", icon: "Add" }), o.value = t.length - 1, d();
33
34
  }
34
- function l(e) {
35
- a.value = e, v();
35
+ function c(e) {
36
+ o.value = e, p();
36
37
  }
37
- C(
38
- () => n.currentRoute.value.path,
38
+ R(
39
+ () => l.currentRoute.value.path,
39
40
  () => {
40
- m();
41
+ d();
41
42
  },
42
43
  { immediate: !0 }
43
44
  );
44
45
  function f(e) {
45
- t.splice(e, 1), a.value = Math.min(
46
- a.value,
46
+ t.splice(e, 1), o.value = Math.min(
47
+ o.value,
47
48
  t.length - 1
48
- ), v();
49
+ ), p();
49
50
  }
50
- const I = j(() => a.value), h = (e) => {
51
- if (e.addTopNav && d(), e.closeTopNav && f(a.value), e.navigateTopNavLeft && l(Math.max(a.value - 1, 0)), e.navigateTopNavRight && l(Math.min(a.value + 1, t.length - 1)), e.jumpToTab) {
52
- const o = Number(e.jumpToTab.key) - 1;
53
- o >= 0 && o < t.length && l(o);
51
+ const I = (e) => {
52
+ const a = new URL(window.location.href);
53
+ a.pathname = t[e].path, k(a.toString());
54
+ }, C = (e) => {
55
+ t.splice(0, e), t.splice(1), o.value = 0, p();
56
+ }, x = j(() => o.value), b = (e) => {
57
+ if (e.addTopNav && m(), e.closeTopNav && f(o.value), e.navigateTopNavLeft && c(Math.max(o.value - 1, 0)), e.navigateTopNavRight && c(Math.min(o.value + 1, t.length - 1)), e.jumpToTab) {
58
+ const a = Number(e.jumpToTab.key) - 1;
59
+ a >= 0 && a < t.length && c(a);
54
60
  }
55
- e.jumpToLastTab && l(t.length - 1);
61
+ e.jumpToLastTab && c(t.length - 1);
56
62
  };
57
- return B(() => k.on(h)), R(() => k.off(h)), (e, o) => (u(), p("nav", D, [
58
- F,
59
- s("div", H, [
60
- t.length === 1 ? (u(), p("div", O, [
61
- b(_(g), {
63
+ return B(() => y.on(b)), L(() => y.off(b)), (e, a) => (s(), v("nav", W, [
64
+ G,
65
+ u("div", J, [
66
+ t.length === 1 ? (s(), v("div", P, [
67
+ _(g(T), {
62
68
  icon: t[0].icon,
63
69
  size: "xs",
64
70
  thickness: "2.5"
65
71
  }, null, 8, ["icon"]),
66
- s("div", null, w(t[0].label), 1)
67
- ])) : (u(!0), p(A, { key: 1 }, L(t, (r, c) => (u(), M(K, {
68
- key: c,
69
- active: c === I.value,
70
- hotkey: (c + 1).toString(),
72
+ u("div", null, A(t[0].label), 1)
73
+ ])) : (s(!0), v(M, { key: 1 }, O(t, (r, n) => (s(), $(D, {
74
+ key: n,
75
+ active: n === x.value,
76
+ hotkey: (n + 1).toString(),
71
77
  icon: r.icon,
72
78
  label: r.label,
73
- onClick: (y) => l(c),
74
- onClose: (y) => f(c)
75
- }, null, 8, ["active", "hotkey", "icon", "label", "onClick", "onClose"]))), 128)),
76
- s("button", {
79
+ onClick: (h) => c(n),
80
+ onClose: (h) => f(n),
81
+ onCloseOtherTabs: (h) => C(n),
82
+ onCopyUrl: (h) => I(n),
83
+ onNewTab: m
84
+ }, null, 8, ["active", "hotkey", "icon", "label", "onClick", "onClose", "onCloseOtherTabs", "onCopyUrl"]))), 128)),
85
+ u("button", {
77
86
  class: "text-c-3 hover:bg-b-3 p-1.5 rounded-lg webkit-app-no-drag",
78
87
  type: "button",
79
- onClick: d
88
+ onClick: m
80
89
  }, [
81
- b(_(g), {
90
+ _(g(T), {
82
91
  icon: "Add",
83
92
  size: "xs",
84
93
  thickness: "2.5"
@@ -89,5 +98,5 @@ const $ = (i) => (z("data-v-91b3e5a4"), i = i(), E(), i), D = { class: "flex h-1
89
98
  }
90
99
  });
91
100
  export {
92
- Z as default
101
+ ne as default
93
102
  };
@@ -7,6 +7,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
7
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  click: () => void;
9
9
  close: () => void;
10
+ newTab: () => void;
11
+ copyUrl: () => void;
12
+ closeOtherTabs: () => void;
10
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
11
14
  hotkey?: string;
12
15
  active: boolean;
@@ -15,6 +18,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
15
18
  }>>> & {
16
19
  onClick?: (() => any) | undefined;
17
20
  onClose?: (() => any) | undefined;
21
+ onNewTab?: (() => any) | undefined;
22
+ onCopyUrl?: (() => any) | undefined;
23
+ onCloseOtherTabs?: (() => any) | undefined;
18
24
  }, {}, {}>;
19
25
  export default _default;
20
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1 +1 @@
1
- {"version":3,"file":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"AAqIA,OAAO,EAAE,KAAK,IAAI,EAA6B,MAAM,oBAAoB,CAAA;;aAK9D,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;aAHD,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;AAyJZ,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":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"AAwMA,OAAO,EACL,KAAK,IAAI,EAOV,MAAM,oBAAoB,CAAA;;aAKhB,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;;;;aAHD,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;;;;AAiaZ,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 "./TopNavItem.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ffc99777"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dff6dda5"]]);
5
5
  export {
6
- r as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as m, openBlock as i, createBlock as s, unref as n, withCtx as a, createElementVNode as o, normalizeClass as p, createVNode as l, toDisplayString as k, createCommentVNode as f } from "vue";
2
- import v from "../ScalarHotkey.vue.js";
3
- import { ScalarTooltip as y, ScalarIcon as c } from "@scalar/components";
4
- const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, u = { class: "nav-item-copy text-xs" }, g = /* @__PURE__ */ m({
1
+ import { defineComponent as d, openBlock as p, createBlock as k, unref as t, withCtx as i, createVNode as e, createElementVNode as a, normalizeClass as f, toDisplayString as b, createCommentVNode as u, createTextVNode as r } from "vue";
2
+ import m from "../ScalarHotkey.vue.js";
3
+ import { ScalarContextMenu as C, ScalarTooltip as g, ScalarIcon as n, ScalarDropdown as v, ScalarDropdownItem as c, ScalarDropdownDivider as y } from "@scalar/components";
4
+ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, $ = { class: "nav-item-copy text-xs" }, N = /* @__PURE__ */ d({
5
5
  __name: "TopNavItem",
6
6
  props: {
7
7
  hotkey: {},
@@ -9,49 +9,130 @@ const d = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
9
9
  label: {},
10
10
  icon: {}
11
11
  },
12
- emits: ["click", "close"],
13
- setup(h) {
14
- return (e, t) => (i(), s(n(y), {
15
- class: "scalar-client",
16
- delay: 500,
17
- resize: "",
18
- sideOffset: 4
19
- }, {
20
- trigger: a(() => [
21
- o("div", {
22
- class: p(["nav-item webkit-app-no-drag", { "nav-item__active": e.active }]),
23
- onClick: t[1] || (t[1] = (r) => e.$emit("click"))
24
- }, [
25
- o("div", d, [
26
- l(n(c), {
27
- icon: e.icon,
28
- size: "xs",
29
- thickness: "2.5"
30
- }, null, 8, ["icon"]),
31
- o("span", u, k(e.label), 1)
12
+ emits: ["click", "close", "newTab", "copyUrl", "closeOtherTabs"],
13
+ setup(w) {
14
+ return (o, s) => (p(), k(t(C), { triggerClass: "w-full" }, {
15
+ trigger: i(() => [
16
+ e(t(g), {
17
+ class: "scalar-client",
18
+ delay: 500,
19
+ disableClosingTrigger: !0,
20
+ resize: "",
21
+ sideOffset: 4
22
+ }, {
23
+ trigger: i(() => [
24
+ a("div", {
25
+ class: f(["nav-item webkit-app-no-drag", { "nav-item__active": o.active }]),
26
+ onClick: s[1] || (s[1] = (l) => o.$emit("click"))
27
+ }, [
28
+ a("div", T, [
29
+ e(t(n), {
30
+ icon: o.icon,
31
+ size: "xs",
32
+ thickness: "2.5"
33
+ }, null, 8, ["icon"]),
34
+ a("span", $, b(o.label), 1)
35
+ ]),
36
+ a("button", {
37
+ class: "nav-item-close",
38
+ type: "button",
39
+ onClick: s[0] || (s[0] = (l) => o.$emit("close"))
40
+ }, [
41
+ e(t(n), {
42
+ icon: "Close",
43
+ thickness: "1.75"
44
+ })
45
+ ])
46
+ ], 2)
32
47
  ]),
33
- o("button", {
34
- class: "nav-item-close",
35
- type: "button",
36
- onClick: t[0] || (t[0] = (r) => e.$emit("close"))
37
- }, [
38
- l(n(c), {
39
- icon: "Close",
40
- thickness: "1.75"
41
- })
42
- ])
43
- ], 2)
48
+ content: i(() => [
49
+ o.hotkey ? (p(), k(m, {
50
+ key: 0,
51
+ hotkey: o.hotkey
52
+ }, null, 8, ["hotkey"])) : u("", !0)
53
+ ]),
54
+ _: 1
55
+ })
44
56
  ]),
45
- content: a(() => [
46
- e.hotkey ? (i(), s(v, {
47
- key: 0,
48
- hotkey: e.hotkey
49
- }, null, 8, ["hotkey"])) : f("", !0)
57
+ content: i(() => [
58
+ e(t(v), {
59
+ class: "scalar-client",
60
+ static: ""
61
+ }, {
62
+ items: i(() => [
63
+ e(t(c), {
64
+ class: "flex items-center gap-1.5",
65
+ onClick: s[2] || (s[2] = (l) => o.$emit("newTab"))
66
+ }, {
67
+ default: i(() => [
68
+ e(t(n), {
69
+ icon: "AddTab",
70
+ size: "sm",
71
+ thickness: "1.5"
72
+ }),
73
+ r(" New Tab "),
74
+ e(m, {
75
+ class: "bg-b-2 ml-auto",
76
+ hotkey: "T"
77
+ })
78
+ ]),
79
+ _: 1
80
+ }),
81
+ e(t(c), {
82
+ class: "flex items-center gap-1.5",
83
+ onClick: s[3] || (s[3] = (l) => o.$emit("copyUrl"))
84
+ }, {
85
+ default: i(() => [
86
+ e(t(n), {
87
+ icon: "Link",
88
+ size: "sm",
89
+ thickness: "1.5"
90
+ }),
91
+ r(" Copy URL ")
92
+ ]),
93
+ _: 1
94
+ }),
95
+ e(t(y)),
96
+ e(t(c), {
97
+ class: "flex items-center gap-1.5",
98
+ onClick: s[4] || (s[4] = (l) => o.$emit("close"))
99
+ }, {
100
+ default: i(() => [
101
+ e(t(n), {
102
+ icon: "CloseTab",
103
+ size: "sm",
104
+ thickness: "1.5"
105
+ }),
106
+ r(" Close Tab "),
107
+ e(m, {
108
+ class: "bg-b-2 ml-auto",
109
+ hotkey: "W"
110
+ })
111
+ ]),
112
+ _: 1
113
+ }),
114
+ e(t(c), {
115
+ class: "flex items-center gap-1.5",
116
+ onClick: s[5] || (s[5] = (l) => o.$emit("closeOtherTabs"))
117
+ }, {
118
+ default: i(() => [
119
+ e(t(n), {
120
+ icon: "CloseTabs",
121
+ size: "sm",
122
+ thickness: "1.5"
123
+ }),
124
+ r(" Close Other Tabs ")
125
+ ]),
126
+ _: 1
127
+ })
128
+ ]),
129
+ _: 1
130
+ })
50
131
  ]),
51
132
  _: 1
52
133
  }));
53
134
  }
54
135
  });
55
136
  export {
56
- g as default
137
+ N as default
57
138
  };