@scalar/api-client 2.1.10 → 2.1.12

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 (113) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBarServer.vue.js +18 -18
  4. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +2 -0
  5. package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
  6. package/dist/components/CommandPalette/CommandActionForm.vue.js +1 -1
  7. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -0
  8. package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
  9. package/dist/components/CommandPalette/CommandActionInput.vue.js +27 -23
  10. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -0
  11. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  12. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +32 -31
  13. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -0
  14. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +43 -42
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -0
  17. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +26 -25
  19. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -0
  20. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +31 -30
  22. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -0
  23. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +35 -34
  25. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -0
  26. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  27. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +28 -27
  28. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -0
  29. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +18 -17
  31. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +14 -0
  32. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  33. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  34. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +112 -103
  35. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  36. package/dist/components/ImportCollection/DropEventListener.vue.d.ts +7 -0
  37. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -0
  38. package/dist/components/ImportCollection/DropEventListener.vue.js +75 -0
  39. package/dist/components/ImportCollection/DropEventListener.vue2.js +4 -0
  40. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +12 -0
  41. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -0
  42. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +30 -0
  43. package/dist/components/ImportCollection/ImportCollectionListener.vue2.js +4 -0
  44. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +20 -0
  45. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -0
  46. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +101 -0
  47. package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +4 -0
  48. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +22 -0
  49. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -0
  50. package/dist/components/ImportCollection/ImportNowButton.vue.js +85 -0
  51. package/dist/components/ImportCollection/ImportNowButton.vue2.js +4 -0
  52. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +16 -0
  53. package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -0
  54. package/dist/components/ImportCollection/OperationBadge.vue.d.ts +19 -0
  55. package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +1 -0
  56. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +7 -0
  57. package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -0
  58. package/dist/components/ImportCollection/PasteEventListener.vue.js +24 -0
  59. package/dist/components/ImportCollection/PasteEventListener.vue2.js +4 -0
  60. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +7 -0
  61. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -0
  62. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +15 -0
  63. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue2.js +4 -0
  64. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +28 -0
  65. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -0
  66. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +55 -0
  67. package/dist/components/ImportCollection/index.d.ts +2 -0
  68. package/dist/components/ImportCollection/index.d.ts.map +1 -0
  69. package/dist/components/ImportCollection/index.js +4 -0
  70. package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts +5 -0
  71. package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.d.ts.map +1 -0
  72. package/dist/components/ImportCollection/utils/getOpenApiDocumentVersion.js +20 -0
  73. package/dist/components/ImportCollection/utils/isDocument.d.ts +3 -0
  74. package/dist/components/ImportCollection/utils/isDocument.d.ts.map +1 -0
  75. package/dist/components/ImportCollection/utils/isDocument.js +7 -0
  76. package/dist/components/ImportCollection/utils/isUrl.d.ts +3 -0
  77. package/dist/components/ImportCollection/utils/isUrl.d.ts.map +1 -0
  78. package/dist/components/ImportCollection/utils/isUrl.js +6 -0
  79. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +1 -1
  80. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  81. package/dist/layouts/App/create-api-client-app.d.ts +129 -2
  82. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  83. package/dist/layouts/Modal/create-api-client-modal.d.ts +258 -4
  84. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  85. package/dist/libs/create-client.d.ts +130 -2
  86. package/dist/libs/create-client.d.ts.map +1 -1
  87. package/dist/libs/create-client.js +54 -41
  88. package/dist/libs/send-request.d.ts +37 -1
  89. package/dist/libs/send-request.d.ts.map +1 -1
  90. package/dist/libs/send-request.js +24 -19
  91. package/dist/router.js +1 -1
  92. package/dist/store/import-spec.d.ts +128 -2
  93. package/dist/store/import-spec.d.ts.map +1 -1
  94. package/dist/store/import-spec.js +24 -23
  95. package/dist/store/store.d.ts +256 -4
  96. package/dist/store/store.d.ts.map +1 -1
  97. package/dist/style.css +1 -1
  98. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  99. package/dist/views/Request/Request.vue.js +1 -1
  100. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  101. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  102. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +82 -88
  103. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  104. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  105. package/dist/views/Request/RequestSidebar.vue2.js +106 -97
  106. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  107. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  108. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +26 -26
  109. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  110. package/dist/views/Request/components/WorkspaceDropdown.vue.js +39 -39
  111. package/package.json +13 -8
  112. package/dist/views/Components/Schemas/Schemas.vue.d.ts +0 -3
  113. package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseEmpty.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-54db086c"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-43fc1968"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,50 +1,50 @@
1
- import { defineComponent as x, onMounted as y, onBeforeUnmount as k, openBlock as a, createElementBlock as c, createElementVNode as e, unref as o, createTextVNode as s, createCommentVNode as p, createVNode as n, pushScopeId as R, popScopeId as v } from "vue";
2
- import b from "../../../assets/computer.ascii.js";
3
- import C from "../../../components/ScalarAsciiArt.vue.js";
1
+ import { defineComponent as y, onMounted as k, onBeforeUnmount as R, openBlock as a, createElementBlock as c, createElementVNode as e, unref as t, createTextVNode as s, toDisplayString as v, createCommentVNode as p, createVNode as n, pushScopeId as g, popScopeId as b } from "vue";
2
+ import C from "../../../assets/computer.ascii.js";
3
+ import B from "../../../components/ScalarAsciiArt.vue.js";
4
4
  import u from "../../../components/ScalarHotkey.vue.js";
5
- import { useWorkspace as g } from "../../../store/store.js";
5
+ import { useWorkspace as N } from "../../../store/store.js";
6
6
  import { hotKeyBus as d } from "../../../libs/event-busses/hot-keys-bus.js";
7
- import { executeRequestBus as N } from "../../../libs/event-busses/execute-request-bus.js";
7
+ import { executeRequestBus as S } from "../../../libs/event-busses/execute-request-bus.js";
8
8
  import { commandPaletteBus as q } from "../../../libs/event-busses/command-palette-bus.js";
9
- const f = (t) => (R("data-v-54db086c"), t = t(), v(), t), B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, S = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" }, V = {
9
+ const f = (o) => (g("data-v-43fc1968"), o = o(), b(), o), V = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, w = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" }, E = {
10
10
  key: 0,
11
11
  class: "scalar-version-number"
12
- }, w = /* @__PURE__ */ f(() => /* @__PURE__ */ e("b", null, "Alpha", -1)), A = /* @__PURE__ */ f(() => /* @__PURE__ */ e("div", { class: "mt-1" }, [
12
+ }, I = /* @__PURE__ */ f(() => /* @__PURE__ */ e("b", null, "Beta", -1)), P = /* @__PURE__ */ f(() => /* @__PURE__ */ e("div", { class: "mt-1" }, [
13
13
  /* @__PURE__ */ e("a", {
14
14
  href: "https://github.com/scalar/scalar/issues/2669",
15
15
  target: "_blank"
16
- }, "Roadmap")
17
- ], -1)), E = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, M = /* @__PURE__ */ x({
16
+ }, " Roadmap ")
17
+ ], -1)), A = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" }, T = /* @__PURE__ */ y({
18
18
  __name: "ResponseEmpty",
19
- setup(t) {
20
- const { isReadOnly: _, activeWorkspace: h } = g(), r = () => {
19
+ setup(o) {
20
+ const { isReadOnly: _, activeWorkspace: h } = N(), r = () => {
21
21
  q.emit({ commandName: "Create Request" });
22
- }, l = (m) => {
23
- m.openCommandPaletteRequest && r();
24
- };
25
- return y(() => d.on(l)), k(() => d.off(l)), (m, i) => (a(), c("div", B, [
26
- e("div", S, [
27
- o(h).isReadOnly ? p("", !0) : (a(), c("div", V, [
28
- s(" Scalar V1.0.6 "),
29
- w,
22
+ }, i = (l) => {
23
+ l.openCommandPaletteRequest && r();
24
+ }, x = "2.1.12";
25
+ return k(() => d.on(i)), R(() => d.off(i)), (l, m) => (a(), c("div", V, [
26
+ e("div", w, [
27
+ t(h).isReadOnly ? p("", !0) : (a(), c("div", E, [
28
+ s(" Scalar V" + v(t(x)) + " ", 1),
29
+ I,
30
30
  s(" Release "),
31
- A
31
+ P
32
32
  ])),
33
- n(C, {
34
- art: o(b),
33
+ n(B, {
34
+ art: t(C),
35
35
  class: "text-c-3"
36
36
  }, null, 8, ["art"])
37
37
  ]),
38
- e("div", E, [
38
+ e("div", A, [
39
39
  e("button", {
40
40
  class: "flex items-center gap-1.5",
41
41
  type: "button",
42
- onClick: i[0] || (i[0] = (I) => o(N).emit())
42
+ onClick: m[0] || (m[0] = (K) => t(S).emit())
43
43
  }, [
44
44
  s(" Send Request "),
45
45
  n(u, { hotkey: "↵" })
46
46
  ]),
47
- o(_) ? p("", !0) : (a(), c("button", {
47
+ t(_) ? p("", !0) : (a(), c("button", {
48
48
  key: 0,
49
49
  class: "flex items-center gap-1.5",
50
50
  type: "button",
@@ -58,5 +58,5 @@ const f = (t) => (R("data-v-54db086c"), t = t(), v(), t), B = { class: "relative
58
58
  }
59
59
  });
60
60
  export {
61
- M as default
61
+ T as default
62
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AA67BA,wBAKG"}
1
+ {"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AA07BA,wBAKG"}
@@ -1,43 +1,43 @@
1
- import { defineComponent as O, computed as A, ref as M, openBlock as u, createElementBlock as W, Fragment as z, createElementVNode as o, createVNode as t, unref as e, withCtx as s, renderList as I, createBlock as k, withModifiers as c, normalizeClass as L, toDisplayString as C } from "vue";
1
+ import { defineComponent as R, computed as O, ref as M, openBlock as u, createElementBlock as W, createElementVNode as o, createVNode as t, unref as e, withCtx as s, Fragment as A, renderList as I, createBlock as x, withModifiers as r, normalizeClass as L, toDisplayString as z } from "vue";
2
2
  import U from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
3
3
  import V from "../../../components/Sidebar/Actions/EditSidebarListElement.vue.js";
4
- import { useModal as $, ScalarDropdown as S, ScalarDropdownItem as m, ScalarIcon as i, ScalarTooltip as q, ScalarButton as N, ScalarDropdownDivider as F, ScalarModal as T } from "@scalar/components";
4
+ import { useModal as C, ScalarDropdown as $, ScalarDropdownItem as m, ScalarIcon as i, ScalarTooltip as q, ScalarButton as S, ScalarDropdownDivider as F, ScalarModal as N } from "@scalar/components";
5
5
  import { useRouter as P } from "vue-router";
6
6
  import { useWorkspace as Y } from "../../../store/store.js";
7
7
  import { commandPaletteBus as G } from "../../../libs/event-busses/command-palette-bus.js";
8
- const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/2 px-2.5 text-sm w-[inherit]" }, J = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, K = { class: "line-clamp-1 text-left w-[calc(100%-10px)]" }, Q = { class: "text-ellipsis overflow-hidden" }, X = /* @__PURE__ */ o("span", null, "Rename", -1), Z = /* @__PURE__ */ o("span", null, "Delete", -1), ee = /* @__PURE__ */ o("div", { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, [
8
+ const H = { class: "flex items-center text-sm w-[inherit]" }, J = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, K = { class: "line-clamp-1 text-left w-[calc(100%-10px)]" }, Q = { class: "text-ellipsis overflow-hidden" }, X = /* @__PURE__ */ o("span", null, "Rename", -1), Z = /* @__PURE__ */ o("span", null, "Delete", -1), ee = /* @__PURE__ */ o("div", { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1" }, [
9
9
  /* @__PURE__ */ o("div", { class: "flex items-center text-c-2" }, [
10
10
  /* @__PURE__ */ o("span", null, "Only workspace cannot be deleted.")
11
11
  ])
12
- ], -1), te = /* @__PURE__ */ o("span", null, "Delete", -1), se = { class: "flex items-center justify-center h-4 w-4" }, ne = /* @__PURE__ */ o("span", null, "Create Workspace", -1), ue = /* @__PURE__ */ O({
12
+ ], -1), te = /* @__PURE__ */ o("span", null, "Delete", -1), se = { class: "flex items-center justify-center h-4 w-4" }, ne = /* @__PURE__ */ o("span", null, "Create Workspace", -1), ue = /* @__PURE__ */ R({
13
13
  __name: "WorkspaceDropdown",
14
14
  setup(oe) {
15
- const { activeWorkspace: f, workspaces: d, workspaceMutators: _ } = Y(), { push: g } = P(), E = (n) => {
15
+ const { activeWorkspace: f, workspaces: d, workspaceMutators: _ } = Y(), { push: g } = P(), T = (n) => {
16
16
  n !== f.value.uid && g(`/workspace/${n}`);
17
- }, b = A(() => Object.keys(d).length === 1), j = () => G.emit({ commandName: "Create Workspace" }), h = M(""), r = M(""), v = $(), x = $(), y = (n) => {
18
- h.value = d[n].name, r.value = n, v.show();
19
- }, B = (n) => {
20
- n.trim() && (_.edit(r.value, "name", n.trim()), v.hide());
17
+ }, b = O(() => Object.keys(d).length === 1), E = () => G.emit({ commandName: "Create Workspace" }), h = M(""), c = M(""), v = C(), w = C(), y = (n) => {
18
+ h.value = d[n].name, c.value = n, v.show();
19
+ }, j = (n) => {
20
+ n.trim() && (_.edit(c.value, "name", n.trim()), v.hide());
21
21
  }, D = (n) => {
22
- h.value = d[n].name, r.value = n, x.show();
23
- }, R = async () => {
22
+ h.value = d[n].name, c.value = n, w.show();
23
+ }, B = async () => {
24
24
  if (!b.value) {
25
- const n = f.value.uid === r.value, a = { ...d };
26
- if (delete a[r.value], _.delete(r.value), n) {
25
+ const n = f.value.uid === c.value, a = { ...d };
26
+ if (delete a[c.value], _.delete(c.value), n) {
27
27
  const p = Object.keys(a)[0];
28
28
  await g(`/workspace/${p}/`);
29
29
  }
30
30
  }
31
- x.hide();
31
+ w.hide();
32
32
  };
33
- return (n, a) => (u(), W(z, null, [
33
+ return (n, a) => (u(), W("div", null, [
34
34
  o("div", H, [
35
- t(e(S), null, {
35
+ t(e($), null, {
36
36
  items: s(() => [
37
- (u(!0), W(z, null, I(e(d), (p, l) => (u(), k(e(m), {
37
+ (u(!0), W(A, null, I(e(d), (p, l) => (u(), x(e(m), {
38
38
  key: l,
39
39
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
40
- onClick: c((w) => E(l), ["stop"])
40
+ onClick: r((k) => T(l), ["stop"])
41
41
  }, {
42
42
  default: s(() => [
43
43
  o("div", {
@@ -52,13 +52,13 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
52
52
  thickness: "3.5"
53
53
  })
54
54
  ], 2),
55
- o("span", Q, C(p.name), 1),
56
- t(e(S), { teleport: ".scalar-client" }, {
55
+ o("span", Q, z(p.name), 1),
56
+ t(e($), { teleport: ".scalar-client" }, {
57
57
  items: s(() => [
58
58
  t(e(m), {
59
59
  class: "flex gap-2",
60
- onMousedown: (w) => y(l),
61
- onTouchend: c((w) => y(l), ["prevent"])
60
+ onMousedown: (k) => y(l),
61
+ onTouchend: r((k) => y(l), ["prevent"])
62
62
  }, {
63
63
  default: s(() => [
64
64
  t(e(i), {
@@ -71,7 +71,7 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
71
71
  ]),
72
72
  _: 2
73
73
  }, 1032, ["onMousedown", "onTouchend"]),
74
- b.value ? (u(), k(e(q), {
74
+ b.value ? (u(), x(e(q), {
75
75
  key: 0,
76
76
  class: "z-10",
77
77
  side: "bottom"
@@ -80,9 +80,9 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
80
80
  t(e(m), {
81
81
  class: "flex gap-2 w-full",
82
82
  disabled: "",
83
- onMousedown: a[0] || (a[0] = c(() => {
83
+ onMousedown: a[0] || (a[0] = r(() => {
84
84
  }, ["prevent"])),
85
- onTouchend: a[1] || (a[1] = c(() => {
85
+ onTouchend: a[1] || (a[1] = r(() => {
86
86
  }, ["prevent"]))
87
87
  }, {
88
88
  default: s(() => [
@@ -101,11 +101,11 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
101
101
  ee
102
102
  ]),
103
103
  _: 1
104
- })) : (u(), k(e(m), {
104
+ })) : (u(), x(e(m), {
105
105
  key: 1,
106
106
  class: "flex !gap-2",
107
- onMousedown: c((w) => D(l), ["prevent"]),
108
- onTouchend: c((w) => D(l), ["prevent"])
107
+ onMousedown: r((k) => D(l), ["prevent"]),
108
+ onTouchend: r((k) => D(l), ["prevent"])
109
109
  }, {
110
110
  default: s(() => [
111
111
  t(e(i), {
@@ -120,7 +120,7 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
120
120
  }, 1032, ["onMousedown", "onTouchend"]))
121
121
  ]),
122
122
  default: s(() => [
123
- t(e(N), {
123
+ t(e(S), {
124
124
  class: "px-0.5 py-0 hover:bg-b-3 group-hover/item:flex aspect-square ml-auto -mr-1 h-fit",
125
125
  size: "sm",
126
126
  type: "button",
@@ -143,7 +143,7 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
143
143
  t(e(F)),
144
144
  t(e(m), {
145
145
  class: "flex items-center gap-1.5",
146
- onClick: j
146
+ onClick: E
147
147
  }, {
148
148
  default: s(() => [
149
149
  o("div", se, [
@@ -159,14 +159,14 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
159
159
  })
160
160
  ]),
161
161
  default: s(() => [
162
- t(e(N), {
162
+ t(e(S), {
163
163
  class: "font-normal h-full justify-start line-clamp-1 py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
164
164
  fullWidth: "",
165
165
  variant: "ghost"
166
166
  }, {
167
167
  default: s(() => [
168
168
  o("div", J, [
169
- o("h2", K, C(e(f).name), 1),
169
+ o("h2", K, z(e(f).name), 1),
170
170
  t(e(i), {
171
171
  class: "size-2.5",
172
172
  icon: "ChevronDown",
@@ -180,22 +180,22 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
180
180
  _: 1
181
181
  })
182
182
  ]),
183
- t(e(T), {
183
+ t(e(N), {
184
184
  size: "xxs",
185
- state: e(x),
185
+ state: e(w),
186
186
  title: "Delete workspace"
187
187
  }, {
188
188
  default: s(() => [
189
189
  t(U, {
190
190
  variableName: h.value,
191
191
  warningMessage: "This cannot be undone. You’re about to delete the workspace and everything inside it.",
192
- onClose: a[2] || (a[2] = (p) => e(x).hide()),
193
- onDelete: R
192
+ onClose: a[2] || (a[2] = (p) => e(w).hide()),
193
+ onDelete: B
194
194
  }, null, 8, ["variableName"])
195
195
  ]),
196
196
  _: 1
197
197
  }, 8, ["state"]),
198
- t(e(T), {
198
+ t(e(N), {
199
199
  size: "xxs",
200
200
  state: e(v),
201
201
  title: "Rename Workspace"
@@ -204,12 +204,12 @@ const H = { class: "xl:min-h-header xl:py-2.5 py-1 flex items-center border-b-1/
204
204
  t(V, {
205
205
  name: h.value,
206
206
  onClose: a[3] || (a[3] = (p) => e(v).hide()),
207
- onEdit: B
207
+ onEdit: j
208
208
  }, null, 8, ["name"])
209
209
  ]),
210
210
  _: 1
211
211
  }, 8, ["state"])
212
- ], 64));
212
+ ]));
213
213
  }
214
214
  });
215
215
  export {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.1.10",
21
+ "version": "2.1.12",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -77,6 +77,10 @@
77
77
  "import": "./dist/components/Sidebar/index.js",
78
78
  "types": "./dist/components/Sidebar/index.d.ts"
79
79
  },
80
+ "./components/ImportCollection": {
81
+ "import": "./dist/components/ImportCollection/index.js",
82
+ "types": "./dist/components/ImportCollection/index.d.ts"
83
+ },
80
84
  "./components/HttpMethod": {
81
85
  "import": "./dist/components/HttpMethod/index.js",
82
86
  "types": "./dist/components/HttpMethod/index.d.ts"
@@ -124,17 +128,18 @@
124
128
  "vue": "^3.4.29",
125
129
  "vue-router": "^4.3.0",
126
130
  "whatwg-mimetype": "^4.0.0",
131
+ "yaml": "^2.4.5",
127
132
  "zod": "^3.23.8",
128
- "@scalar/components": "0.12.48",
133
+ "@scalar/components": "0.12.50",
129
134
  "@scalar/draggable": "0.1.5",
130
135
  "@scalar/icons": "0.1.0",
131
- "@scalar/oas-utils": "0.2.49",
132
- "@scalar/object-utils": "1.1.9",
133
- "@scalar/openapi-parser": "0.8.4",
136
+ "@scalar/oas-utils": "0.2.51",
134
137
  "@scalar/openapi-types": "0.1.1",
135
- "@scalar/themes": "0.9.32",
136
- "@scalar/types": "0.0.11",
137
- "@scalar/use-codemirror": "0.11.14",
138
+ "@scalar/object-utils": "1.1.9",
139
+ "@scalar/openapi-parser": "0.8.5",
140
+ "@scalar/themes": "0.9.33",
141
+ "@scalar/types": "0.0.12",
142
+ "@scalar/use-codemirror": "0.11.16",
138
143
  "@scalar/use-toasts": "0.7.6",
139
144
  "@scalar/use-tooltip": "1.0.2"
140
145
  },
@@ -1,3 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
3
- //# sourceMappingURL=Schemas.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schemas.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/Schemas/Schemas.vue"],"names":[],"mappings":";AA0DA,wBAKG"}