@scalar/api-client 2.1.19 → 2.1.20

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 (103) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/AddressBar/AddressBar.vue2.js +77 -79
  5. package/dist/components/AddressBar/AddressBarServer.vue.js +23 -23
  6. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  7. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +62 -45
  8. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +6 -0
  9. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  11. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +89 -91
  12. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  13. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +29 -32
  14. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  15. package/dist/components/TopNav/TopNav.vue.js +3 -3
  16. package/dist/components/TopNav/TopNav.vue2.js +41 -40
  17. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  18. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
  19. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  20. package/dist/layouts/App/ApiClientApp.vue.js +38 -38
  21. package/dist/layouts/App/create-api-client-app.d.ts +33 -26
  22. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  23. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  24. package/dist/layouts/Modal/ApiClientModal.vue2.js +15 -15
  25. package/dist/layouts/Modal/create-api-client-modal.d.ts +66 -52
  26. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  27. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  28. package/dist/layouts/Web/ApiClientWeb.vue.js +30 -30
  29. package/dist/layouts/Web/create-api-client-web.d.ts +33 -26
  30. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  31. package/dist/libs/create-client.d.ts +33 -26
  32. package/dist/libs/create-client.d.ts.map +1 -1
  33. package/dist/libs/event-bus.d.ts +41 -0
  34. package/dist/libs/event-bus.d.ts.map +1 -0
  35. package/dist/libs/event-bus.js +32 -0
  36. package/dist/libs/{event-busses/hot-keys-bus.d.ts → hot-keys.d.ts} +6 -7
  37. package/dist/libs/hot-keys.d.ts.map +1 -0
  38. package/dist/libs/hot-keys.js +45 -0
  39. package/dist/libs/index.d.ts +3 -1
  40. package/dist/libs/index.d.ts.map +1 -1
  41. package/dist/libs/index.js +31 -33
  42. package/dist/libs/send-request.d.ts +4 -1
  43. package/dist/libs/send-request.d.ts.map +1 -1
  44. package/dist/libs/send-request.js +103 -103
  45. package/dist/store/collections.d.ts +4 -4
  46. package/dist/store/events.d.ts +29 -0
  47. package/dist/store/events.d.ts.map +1 -0
  48. package/dist/store/events.js +31 -0
  49. package/dist/store/request-example.d.ts +2 -2
  50. package/dist/store/requests.d.ts +4 -4
  51. package/dist/store/security-schemes.d.ts +4 -4
  52. package/dist/store/servers.d.ts +4 -4
  53. package/dist/store/store.d.ts +66 -52
  54. package/dist/store/store.d.ts.map +1 -1
  55. package/dist/store/store.js +75 -73
  56. package/dist/store/tags.d.ts +4 -4
  57. package/dist/store/workspace.d.ts +4 -4
  58. package/dist/style.css +1 -1
  59. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  60. package/dist/views/Request/Request.vue.js +1 -1
  61. package/dist/views/Request/Request.vue2.js +63 -63
  62. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  63. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  64. package/dist/views/Request/RequestSidebar.vue2.js +101 -102
  65. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  66. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  67. package/dist/views/Request/RequestSidebarItem.vue2.js +76 -76
  68. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  69. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  70. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +33 -34
  71. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +16 -0
  72. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -0
  73. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +31 -0
  74. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +5 -0
  75. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  76. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  77. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +30 -33
  78. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  79. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +3 -3
  80. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +17 -18
  81. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  82. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +20 -20
  83. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  84. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +68 -56
  85. package/dist/views/Request/components/WorkspaceDropdown.vue.js +29 -30
  86. package/package.json +5 -5
  87. package/dist/libs/event-busses/cancel-request-bus.d.ts +0 -2
  88. package/dist/libs/event-busses/cancel-request-bus.d.ts.map +0 -1
  89. package/dist/libs/event-busses/cancel-request-bus.js +0 -5
  90. package/dist/libs/event-busses/command-palette-bus.d.ts +0 -14
  91. package/dist/libs/event-busses/command-palette-bus.d.ts.map +0 -1
  92. package/dist/libs/event-busses/command-palette-bus.js +0 -5
  93. package/dist/libs/event-busses/execute-request-bus.d.ts +0 -2
  94. package/dist/libs/event-busses/execute-request-bus.d.ts.map +0 -1
  95. package/dist/libs/event-busses/execute-request-bus.js +0 -5
  96. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +0 -1
  97. package/dist/libs/event-busses/hot-keys-bus.js +0 -47
  98. package/dist/libs/event-busses/index.d.ts +0 -6
  99. package/dist/libs/event-busses/index.d.ts.map +0 -1
  100. package/dist/libs/event-busses/index.js +0 -15
  101. package/dist/libs/event-busses/request-status-bus.d.ts +0 -5
  102. package/dist/libs/event-busses/request-status-bus.d.ts.map +0 -1
  103. package/dist/libs/event-busses/request-status-bus.js +0 -5
@@ -1,33 +1,31 @@
1
- import { defineComponent as F, ref as u, computed as I, watch as U, onMounted as G, onBeforeUnmount as Q, openBlock as a, createElementBlock as r, Fragment as d, withDirectives as h, createElementVNode as m, vShow as w, unref as f, createVNode as y, withKeys as g, withModifiers as $, vModelText as j, renderList as P, toDisplayString as K, normalizeClass as J, createTextVNode as O, createCommentVNode as X, createBlock as Y, resolveDynamicComponent as Z, mergeProps as ee, nextTick as M } from "vue";
2
- import { useModal as oe, ScalarIcon as S } from "@scalar/components";
3
- import { useRouter as te } from "vue-router";
4
- import ne from "./CommandPaletteCollection.vue.js";
5
- import ae from "./CommandPaletteExample.vue.js";
6
- import le from "./CommandPaletteImport.vue.js";
7
- import se from "./CommandPaletteRequest.vue.js";
8
- import re from "./CommandPaletteServer.vue.js";
9
- import me from "./CommandPaletteTag.vue.js";
10
- import ce from "./CommandPaletteWorkspace.vue.js";
11
- import { commandPaletteBus as T } from "../../libs/event-busses/command-palette-bus.js";
12
- import { useWorkspace as ie } from "../../store/store.js";
13
- import { hotKeyBus as V } from "../../libs/event-busses/hot-keys-bus.js";
14
- const ue = { class: "commandmenu z-overlay custom-scroll" }, de = { class: "bg-b-2 flex items-center rounded-md mb-2.5 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, fe = { for: "commandmenu" }, pe = ["onKeydown"], ve = ["onClick"], Ce = {
1
+ import { defineComponent as q, ref as u, computed as K, watch as F, onMounted as U, onBeforeUnmount as G, openBlock as a, createElementBlock as r, Fragment as d, withDirectives as k, createElementVNode as m, vShow as y, unref as f, createVNode as g, withKeys as $, withModifiers as S, vModelText as Q, renderList as B, toDisplayString as M, normalizeClass as j, createTextVNode as J, createCommentVNode as O, createBlock as X, resolveDynamicComponent as Y, mergeProps as Z, nextTick as T } from "vue";
2
+ import { useModal as ee, ScalarIcon as A } from "@scalar/components";
3
+ import { useRouter as oe } from "vue-router";
4
+ import te from "./CommandPaletteCollection.vue.js";
5
+ import ne from "./CommandPaletteExample.vue.js";
6
+ import ae from "./CommandPaletteImport.vue.js";
7
+ import le from "./CommandPaletteRequest.vue.js";
8
+ import se from "./CommandPaletteServer.vue.js";
9
+ import re from "./CommandPaletteTag.vue.js";
10
+ import me from "./CommandPaletteWorkspace.vue.js";
11
+ import { useWorkspace as ce } from "../../store/store.js";
12
+ const ie = { class: "commandmenu z-overlay custom-scroll" }, ue = { class: "bg-b-2 flex items-center rounded-md mb-2.5 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, de = { for: "commandmenu" }, fe = ["onKeydown"], pe = ["onClick"], ve = {
15
13
  key: 0,
16
14
  class: "text-c-3 text-center text-sm p-2 pt-3"
17
- }, he = {
15
+ }, Ce = {
18
16
  name: "TheCommandPalette"
19
- }, ke = {
20
- "Import Collection": le,
21
- "Create Request": se,
22
- "Create Workspace": ce,
23
- "Add Tag": me,
24
- "Add Server": re,
25
- "Create Collection": ne,
26
- "Add Example": ae
27
- }, Ee = /* @__PURE__ */ F({
28
- ...he,
29
- setup(be) {
30
- const A = [
17
+ }, he = {
18
+ "Import Collection": ae,
19
+ "Create Request": le,
20
+ "Create Workspace": me,
21
+ "Add Tag": re,
22
+ "Add Server": se,
23
+ "Create Collection": te,
24
+ "Add Example": ne
25
+ }, Re = /* @__PURE__ */ q({
26
+ ...Ce,
27
+ setup(ke) {
28
+ const D = [
31
29
  {
32
30
  label: "",
33
31
  commands: [
@@ -76,92 +74,92 @@ const ue = { class: "commandmenu z-overlay custom-scroll" }, de = { class: "bg-b
76
74
  }
77
75
  ]
78
76
  }
79
- ], c = oe(), { push: W } = te(), { activeWorkspace: N } = ie(), k = u(), l = u(""), s = u(null), i = u(-1), D = u([]), p = I(
80
- () => A.reduce((e, o) => {
77
+ ], c = ee(), { push: V } = oe(), { activeWorkspace: W, events: p } = ce(), b = u(), l = u(""), s = u(null), i = u(-1), L = u([]), v = K(
78
+ () => D.reduce((e, o) => {
81
79
  const t = o.commands.filter(
82
80
  (n) => n.name.toLowerCase().includes(l.value.toLowerCase())
83
81
  );
84
82
  return [...e, ...t];
85
83
  }, [])
86
- ), v = () => {
84
+ ), C = () => {
87
85
  c.hide(), l.value = "", s.value = null, i.value = -1;
88
- }, H = (e) => {
89
- l.value !== "" && (e == null || e.preventDefault()), s.value = null, M(() => {
86
+ }, N = (e) => {
87
+ l.value !== "" && (e == null || e.preventDefault()), s.value = null, T(() => {
90
88
  var o;
91
- return (o = b.value) == null ? void 0 : o.focus();
89
+ return (o = x.value) == null ? void 0 : o.focus();
92
90
  });
93
- }, L = (e) => {
94
- "path" in e ? (W(`/workspace/${N.value.uid}${e.path}`), v()) : s.value = e.name;
95
- }, b = u(), R = ({
91
+ }, R = (e) => {
92
+ "path" in e ? (V(`/workspace/${W.value.uid}${e.path}`), C()) : s.value = e.name;
93
+ }, x = u(), P = ({
96
94
  commandName: e,
97
95
  metaData: o
98
96
  } = {}) => {
99
- s.value = e ?? null, k.value = o, c.show(), M(() => {
97
+ s.value = e ?? null, b.value = o, c.show(), T(() => {
100
98
  var t;
101
- return (t = b.value) == null ? void 0 : t.focus();
99
+ return (t = x.value) == null ? void 0 : t.focus();
102
100
  });
103
101
  };
104
- U(l, (e) => {
105
- e && p.value.length > 0 && (i.value = 0);
102
+ F(l, (e) => {
103
+ e && v.value.length > 0 && (i.value = 0);
106
104
  });
107
- const B = (e, o) => {
108
- var C;
105
+ const z = (e, o) => {
106
+ var h;
109
107
  if (!c.open) return;
110
108
  o.preventDefault();
111
- const t = e === "up" ? -1 : 1, n = p.value.length;
112
- i.value = (i.value + t + n) % n, (C = D.value[i.value]) == null || C.scrollIntoView({
109
+ const t = e === "up" ? -1 : 1, n = v.value.length;
110
+ i.value = (i.value + t + n) % n, (h = L.value[i.value]) == null || h.scrollIntoView({
113
111
  behavior: "smooth",
114
112
  block: "nearest"
115
113
  });
116
- }, x = I(
117
- () => p.value[i.value]
118
- ), q = (e) => {
119
- !x.value || s.value || (e.preventDefault(), e.stopPropagation(), L(x.value));
120
- }, z = (e) => {
121
- c.open && e.closeModal && v();
114
+ }, _ = K(
115
+ () => v.value[i.value]
116
+ ), H = (e) => {
117
+ !_.value || s.value || (e.preventDefault(), e.stopPropagation(), R(_.value));
118
+ }, E = (e) => {
119
+ c.open && e != null && e.closeModal && C();
122
120
  };
123
- return G(() => {
124
- T.on(R), V.on(z);
125
- }), Q(() => {
126
- T.off(R), V.off(z);
121
+ return U(() => {
122
+ p.commandPalette.on(P), p.hotKeys.on(E);
123
+ }), G(() => {
124
+ p.commandPalette.off(P), p.hotKeys.off(E);
127
125
  }), (e, o) => (a(), r(d, null, [
128
- h(m("div", {
126
+ k(m("div", {
129
127
  class: "commandmenu-clickout z-overlay",
130
- onClick: o[0] || (o[0] = (t) => v())
128
+ onClick: o[0] || (o[0] = (t) => C())
131
129
  }, null, 512), [
132
- [w, f(c).open]
130
+ [y, f(c).open]
133
131
  ]),
134
- h(m("div", ue, [
132
+ k(m("div", ie, [
135
133
  s.value ? (a(), r(d, { key: 1 }, [
136
134
  m("button", {
137
- class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.5 z-1",
135
+ class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.25 z-1",
138
136
  type: "button",
139
137
  onClick: o[4] || (o[4] = (t) => s.value = null)
140
138
  }, [
141
- y(f(S), {
139
+ g(f(A), {
142
140
  icon: "ChevronLeft",
143
141
  size: "md",
144
142
  thickness: "1.5"
145
143
  })
146
144
  ]),
147
- (a(), Y(Z(ke[s.value]), ee(k.value ? { metaData: k.value } : {}, {
148
- onBack: o[5] || (o[5] = (t) => H(t)),
149
- onClose: v
145
+ (a(), X(Y(he[s.value]), Z(b.value ? { metaData: b.value } : {}, {
146
+ onBack: o[5] || (o[5] = (t) => N(t)),
147
+ onClose: C
150
148
  }), null, 16))
151
149
  ], 64)) : (a(), r(d, { key: 0 }, [
152
- m("div", de, [
153
- m("label", fe, [
154
- y(f(S), {
150
+ m("div", ue, [
151
+ m("label", de, [
152
+ g(f(A), {
155
153
  class: "text-c-2 mr-2.5",
156
154
  icon: "Search",
157
155
  size: "md",
158
156
  thickness: "1.5"
159
157
  })
160
158
  ]),
161
- h(m("input", {
159
+ k(m("input", {
162
160
  id: "commandmenu",
163
161
  ref_key: "commandInputRef",
164
- ref: b,
162
+ ref: x,
165
163
  "onUpdate:modelValue": o[1] || (o[1] = (t) => l.value = t),
166
164
  autocomplete: "off",
167
165
  autofocus: "",
@@ -169,59 +167,59 @@ const ue = { class: "commandmenu z-overlay custom-scroll" }, de = { class: "bg-b
169
167
  placeholder: "Search commands...",
170
168
  type: "text",
171
169
  onKeydown: [
172
- o[2] || (o[2] = g($((t) => B("down", t), ["stop"]), ["down"])),
173
- g($(q, ["stop"]), ["enter"]),
174
- o[3] || (o[3] = g($((t) => B("up", t), ["stop"]), ["up"]))
170
+ o[2] || (o[2] = $(S((t) => z("down", t), ["stop"]), ["down"])),
171
+ $(S(H, ["stop"]), ["enter"]),
172
+ o[3] || (o[3] = $(S((t) => z("up", t), ["stop"]), ["up"]))
175
173
  ]
176
- }, null, 40, pe), [
177
- [j, l.value]
174
+ }, null, 40, fe), [
175
+ [Q, l.value]
178
176
  ])
179
177
  ]),
180
- (a(), r(d, null, P(A, (t) => (a(), r(d, {
178
+ (a(), r(d, null, B(D, (t) => (a(), r(d, {
181
179
  key: t.label
182
180
  }, [
183
- h(m("div", { class: "text-c-3 font-medium text-xs px-2 mb-1 mt-2" }, K(t.label), 513), [
181
+ k(m("div", { class: "text-c-3 font-medium text-xs px-2 mb-1 mt-2" }, M(t.label), 513), [
184
182
  [
185
- w,
183
+ y,
186
184
  t.commands.filter(
187
185
  (n) => n.name.toLowerCase().includes(l.value.toLowerCase())
188
186
  ).length > 0
189
187
  ]
190
188
  ]),
191
- (a(!0), r(d, null, P(t.commands.filter(
189
+ (a(!0), r(d, null, B(t.commands.filter(
192
190
  (n) => n.name.toLowerCase().includes(l.value.toLowerCase())
193
- ), (n, C) => {
194
- var E;
191
+ ), (n, h) => {
192
+ var I;
195
193
  return a(), r("div", {
196
194
  key: n.name,
197
195
  ref_for: !0,
198
- ref: (_) => {
199
- _ && (D.value[C] = _);
196
+ ref: (w) => {
197
+ w && (L.value[h] = w);
200
198
  },
201
- class: J(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
202
- "bg-b-2": n.name === ((E = x.value) == null ? void 0 : E.name)
199
+ class: j(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
200
+ "bg-b-2": n.name === ((I = _.value) == null ? void 0 : I.name)
203
201
  }]),
204
- onClick: (_) => L(n)
202
+ onClick: (w) => R(n)
205
203
  }, [
206
- y(f(S), {
204
+ g(f(A), {
207
205
  class: "text-c-2 mr-2.5",
208
206
  icon: n.icon,
209
207
  size: "md",
210
208
  thickness: "1.5"
211
209
  }, null, 8, ["icon"]),
212
- O(" " + K(n.name), 1)
213
- ], 10, ve);
210
+ J(" " + M(n.name), 1)
211
+ ], 10, pe);
214
212
  }), 128))
215
213
  ], 64))), 64)),
216
- p.value.length ? X("", !0) : (a(), r("div", Ce, " No commands found "))
214
+ v.value.length ? O("", !0) : (a(), r("div", ve, " No commands found "))
217
215
  ], 64))
218
216
  ], 512), [
219
- [w, f(c).open]
217
+ [y, f(c).open]
220
218
  ])
221
219
  ], 64));
222
220
  }
223
221
  });
224
222
  export {
225
- ke as PaletteComponents,
226
- Ee as default
223
+ he as PaletteComponents,
224
+ Re as default
227
225
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":";YAyKU,MAAM,GAAG,IAAI;;;;YAAb,MAAM,GAAG,IAAI;;;;AAwQvB,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":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":";YAqKU,MAAM,GAAG,IAAI;;;;YAAb,MAAM,GAAG,IAAI;;;;AAsQvB,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,72 +1,69 @@
1
- import { defineComponent as w, computed as d, watch as C, openBlock as l, createBlock as S, unref as o, withCtx as B, createElementVNode as t, toDisplayString as f, createVNode as i, createElementBlock as m, Fragment as I, createCommentVNode as h } from "vue";
2
- import { useUrlPrefetcher as z } from "./hooks/useUrlPrefetcher.js";
1
+ import { defineComponent as C, computed as d, watch as S, openBlock as l, createBlock as I, unref as o, withCtx as z, createElementVNode as t, toDisplayString as f, createVNode as i, createElementBlock as a, Fragment as B, createCommentVNode as h } from "vue";
2
+ import { useUrlPrefetcher as D } from "./hooks/useUrlPrefetcher.js";
3
3
  import { getOpenApiDocumentVersion as _ } from "./utils/getOpenApiDocumentVersion.js";
4
- import { isDocument as D } from "./utils/isDocument.js";
5
- import { isUrl as E } from "./utils/isUrl.js";
6
- import { useModal as F, ScalarModal as U, ScalarIcon as x, ScalarCodeBlock as V } from "@scalar/components";
7
- import { normalize as A } from "@scalar/openapi-parser";
8
- import M from "./ImportNowButton.vue.js";
9
- import N from "../../views/Request/components/WorkspaceDropdown.vue.js";
10
- import { useWorkspace as $ } from "../../store/store.js";
11
- import { hotKeyBus as O } from "../../libs/event-busses/hot-keys-bus.js";
4
+ import { isDocument as E } from "./utils/isDocument.js";
5
+ import { isUrl as F } from "./utils/isUrl.js";
6
+ import { useModal as U, ScalarModal as V, ScalarIcon as x, ScalarCodeBlock as A } from "@scalar/components";
7
+ import { normalize as M } from "@scalar/openapi-parser";
8
+ import N from "./ImportNowButton.vue.js";
9
+ import $ from "../../views/Request/components/WorkspaceDropdown.vue.js";
10
+ import { useWorkspace as O } from "../../store/store.js";
12
11
  const P = { class: "flex gap-5 flex-col my-24" }, W = { class: "text-center text-xl font-medium" }, j = { class: "flex justify-center" }, K = { class: "inline-block bg-b-2 py-1 px-4 rounded" }, R = {
13
12
  key: 0,
14
13
  class: "flex gap-2 items-center p-3 font-code text-sm border rounded break-words"
15
14
  }, T = { class: "break-all" }, q = { class: "flex gap-2 items-center p-3 font-code text-sm border rounded" }, G = /* @__PURE__ */ t("div", null, "This doesn’t look like a valid OpenAPI/Swagger document.", -1), H = { class: "bg-b-2 h-48 border rounded custom-scroll" }, J = {
16
15
  key: 2,
17
16
  class: "inline-flex flex-col gap-2 items-center mt-2"
18
- }, ie = /* @__PURE__ */ w({
17
+ }, ne = /* @__PURE__ */ C({
19
18
  __name: "ImportCollectionModal",
20
19
  props: {
21
20
  source: {}
22
21
  },
23
22
  emits: ["importFinished"],
24
23
  setup(v) {
25
- const c = v, { activeWorkspace: k } = $(), { prefetchResult: r, prefetchUrl: g } = z(), s = F();
26
- O.on(() => {
27
- s.hide();
28
- });
29
- const b = d(() => {
24
+ const c = v, { activeWorkspace: k, events: g } = O(), { prefetchResult: r, prefetchUrl: b } = D(), s = U();
25
+ g.hotKeys.on(() => s.hide());
26
+ const y = d(() => {
30
27
  try {
31
- return A(
28
+ return M(
32
29
  r.content || c.source || ""
33
30
  );
34
31
  } catch {
35
32
  return;
36
33
  }
37
- }), y = d(() => {
34
+ }), w = d(() => {
38
35
  var e, n;
39
- return (n = (e = b.value) == null ? void 0 : e.info) == null ? void 0 : n.title;
40
- }), a = d(
36
+ return (n = (e = y.value) == null ? void 0 : e.info) == null ? void 0 : n.title;
37
+ }), m = d(
41
38
  () => _(r.content || c.source || "")
42
39
  );
43
- return C(
40
+ return S(
44
41
  () => c.source,
45
42
  (e) => {
46
- g(e, k.value.proxyUrl), e && (E(e) || D(e) && _(e)) ? s.show() : s.hide();
43
+ b(e, k.value.proxyUrl), e && (F(e) || E(e) && _(e)) ? s.show() : s.hide();
47
44
  }
48
- ), (e, n) => (l(), S(o(U), {
45
+ ), (e, n) => (l(), I(o(V), {
49
46
  size: "md",
50
47
  state: o(s)
51
48
  }, {
52
- default: B(() => {
49
+ default: z(() => {
53
50
  var p, u;
54
51
  return [
55
52
  t("div", P, [
56
- t("div", W, f(y.value ?? "Import Collection"), 1),
53
+ t("div", W, f(w.value ?? "Import Collection"), 1),
57
54
  t("div", j, [
58
55
  t("div", K, [
59
- i(o(N))
56
+ i(o($))
60
57
  ])
61
58
  ]),
62
- o(r).state !== "loading" && o(r).error ? (l(), m("div", R, [
59
+ o(r).state !== "loading" && o(r).error ? (l(), a("div", R, [
63
60
  i(o(x), {
64
61
  class: "text-red flex-shrink-0",
65
62
  icon: "Error",
66
63
  size: "sm"
67
64
  }),
68
65
  t("div", T, f(o(r).error), 1)
69
- ])) : a.value ? h("", !0) : (l(), m(I, { key: 1 }, [
66
+ ])) : m.value ? h("", !0) : (l(), a(B, { key: 1 }, [
70
67
  t("div", q, [
71
68
  i(o(x), {
72
69
  class: "text-red",
@@ -76,14 +73,14 @@ const P = { class: "flex gap-5 flex-col my-24" }, W = { class: "text-center text
76
73
  G
77
74
  ]),
78
75
  t("div", H, [
79
- i(o(V), {
76
+ i(o(A), {
80
77
  content: ((p = o(r).content) == null ? void 0 : p.trim()) || ((u = c.source) == null ? void 0 : u.trim()) || "",
81
78
  copy: !1
82
79
  }, null, 8, ["content"])
83
80
  ])
84
81
  ], 64)),
85
- a.value ? (l(), m("div", J, [
86
- i(M, {
82
+ m.value ? (l(), a("div", J, [
83
+ i(N, {
87
84
  source: e.source,
88
85
  variant: "button",
89
86
  onImportFinished: n[0] || (n[0] = () => e.$emit("importFinished"))
@@ -97,5 +94,5 @@ const P = { class: "flex gap-5 flex-col my-24" }, W = { class: "text-center text
97
94
  }
98
95
  });
99
96
  export {
100
- ie as default
97
+ ne as default
101
98
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/T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,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 "./TopNav.vue2.js";
2
2
  /* empty css */
3
- import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-33584718"]]);
3
+ import f from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ f(o, [["__scopeId", "data-v-f3ff8743"]]);
5
5
  export {
6
- m as default
6
+ a as default
7
7
  };
@@ -1,23 +1,22 @@
1
- import { defineComponent as z, reactive as A, ref as B, computed as M, watch as y, onMounted as j, onBeforeUnmount as E, openBlock as d, createElementBlock as g, createElementVNode as f, createVNode as n, unref as l, withCtx as u, toDisplayString as O, createTextVNode as C, Fragment as V, renderList as D, createBlock as q, pushScopeId as K, popScopeId as F } from "vue";
1
+ import { defineComponent as z, reactive as A, ref as M, computed as j, watch as C, onMounted as B, onBeforeUnmount as E, openBlock as d, createElementBlock as g, createElementVNode as h, createVNode as n, unref as l, withCtx as u, toDisplayString as O, createTextVNode as x, Fragment as V, renderList as D, createBlock as K, pushScopeId as q, popScopeId as F } from "vue";
2
2
  import H from "../ScalarHotkey.vue.js";
3
3
  import { ROUTES as W } from "../../constants.js";
4
4
  import { useClipboard as G } from "../../hooks/useClipboard.js";
5
- import { ScalarContextMenu as J, ScalarIcon as h, ScalarDropdown as P, ScalarDropdownItem as x } from "@scalar/components";
5
+ import { ScalarContextMenu as J, ScalarIcon as f, ScalarDropdown as P, ScalarDropdownItem as I } from "@scalar/components";
6
6
  import { capitalize as Q } from "@scalar/oas-utils/helpers";
7
7
  import X from "./TopNavItem.vue.js";
8
8
  import { useWorkspace as Y } from "../../store/store.js";
9
- import { hotKeyBus as I } from "../../libs/event-busses/hot-keys-bus.js";
10
- const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-10 t-app__top-nav" }, te = /* @__PURE__ */ Z(() => /* @__PURE__ */ f("div", { class: "t-app__top-nav-draggable" }, null, -1)), oe = { class: "flex h-10 flex-1 items-center gap-1.5 text-sm font-medium pr-1 relative overflow-hidden" }, ae = {
9
+ const Z = (c) => (q("data-v-f3ff8743"), c = c(), F(), c), ee = { class: "flex h-10 t-app__top-nav" }, te = /* @__PURE__ */ Z(() => /* @__PURE__ */ h("div", { class: "t-app__top-nav-draggable" }, null, -1)), oe = { class: "flex h-10 flex-1 items-center gap-1.5 text-sm font-medium pr-1 relative overflow-hidden" }, ae = {
11
10
  key: 0,
12
11
  class: "h-full w-full overflow-hidden"
13
- }, de = /* @__PURE__ */ z({
12
+ }, me = /* @__PURE__ */ z({
14
13
  __name: "TopNav",
15
14
  props: {
16
15
  openNewTab: {}
17
16
  },
18
- setup(s) {
19
- const S = s, { activeRequest: L, router: i } = Y(), { copyToClipboard: U } = G(), t = A([{ label: "", path: "", icon: "Add" }]), o = B(0), T = M(() => o.value);
20
- function k() {
17
+ setup(c) {
18
+ const S = c, { activeRequest: L, router: i, events: T } = Y(), { copyToClipboard: U } = G(), t = A([{ label: "", path: "", icon: "Add" }]), o = M(0), k = j(() => o.value);
19
+ function _() {
21
20
  var a;
22
21
  const e = W.find((p) => i.currentRoute.value.name == p.name);
23
22
  e && ((e == null ? void 0 : e.name) === "request" ? t[o.value] = {
@@ -34,35 +33,37 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
34
33
  i.push(t[o.value].path);
35
34
  }
36
35
  function m() {
37
- t.push({ label: "", path: "", icon: "Add" }), o.value = t.length - 1, k();
36
+ t.push({ label: "", path: "", icon: "Add" }), o.value = t.length - 1, _();
38
37
  }
39
38
  function r(e) {
40
39
  o.value = e, v();
41
40
  }
42
- y(
41
+ C(
43
42
  () => i.currentRoute.value.path,
44
43
  () => {
45
- k();
44
+ _();
46
45
  },
47
46
  { immediate: !0 }
48
47
  );
49
- function _(e) {
48
+ function N(e) {
50
49
  t.splice(e, 1), o.value = Math.min(
51
50
  o.value,
52
51
  t.length - 1
53
52
  ), v();
54
53
  }
55
- const N = (e) => {
54
+ const y = (e) => {
56
55
  const a = new URL(window.location.href);
57
56
  a.pathname = t[e].path, U(a.toString());
58
57
  }, R = (e) => {
59
58
  t.splice(0, e), t.splice(1), o.value = 0, v();
60
59
  }, w = (e) => {
61
- if (e.addTopNav && m(), e.closeTopNav && _(o.value), e.navigateTopNavLeft && r(Math.max(o.value - 1, 0)), e.navigateTopNavRight && r(Math.min(o.value + 1, t.length - 1)), e.jumpToTab) {
62
- const a = Number(e.jumpToTab.key) - 1;
63
- a >= 0 && a < t.length && r(a);
60
+ if (e) {
61
+ if (e.addTopNav && m(), e.closeTopNav && N(o.value), e.navigateTopNavLeft && r(Math.max(o.value - 1, 0)), e.navigateTopNavRight && r(Math.min(o.value + 1, t.length - 1)), e.jumpToTab) {
62
+ const a = Number(e.jumpToTab.key) - 1;
63
+ a >= 0 && a < t.length && r(a);
64
+ }
65
+ e.jumpToLastTab && r(t.length - 1);
64
66
  }
65
- e.jumpToLastTab && r(t.length - 1);
66
67
  }, $ = (e) => {
67
68
  t.push({
68
69
  label: e.name,
@@ -70,24 +71,24 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
70
71
  icon: "ExternalLink"
71
72
  });
72
73
  };
73
- return y(
74
+ return C(
74
75
  () => S.openNewTab,
75
76
  (e) => {
76
77
  e && $(e);
77
78
  },
78
79
  { immediate: !0 }
79
- ), j(() => I.on(w)), E(() => I.off(w)), (e, a) => (d(), g("nav", ee, [
80
+ ), B(() => T.hotKeys.on(w)), E(() => T.hotKeys.off(w)), (e, a) => (d(), g("nav", ee, [
80
81
  te,
81
- f("div", oe, [
82
+ h("div", oe, [
82
83
  t.length === 1 ? (d(), g("div", ae, [
83
84
  n(l(J), { triggerClass: "flex custom-scroll gap-1.5 h-full items-center justify-center w-full whitespace-nowrap" }, {
84
85
  trigger: u(() => [
85
- n(l(h), {
86
+ n(l(f), {
86
87
  icon: t[0].icon,
87
88
  size: "xs",
88
89
  thickness: "2.5"
89
90
  }, null, 8, ["icon"]),
90
- f("span", null, O(t[0].label), 1)
91
+ h("span", null, O(t[0].label), 1)
91
92
  ]),
92
93
  content: u(() => [
93
94
  n(l(P), {
@@ -95,17 +96,17 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
95
96
  static: ""
96
97
  }, {
97
98
  items: u(() => [
98
- n(l(x), {
99
+ n(l(I), {
99
100
  class: "flex items-center gap-1.5",
100
101
  onClick: m
101
102
  }, {
102
103
  default: u(() => [
103
- n(l(h), {
104
+ n(l(f), {
104
105
  icon: "AddTab",
105
106
  size: "sm",
106
107
  thickness: "1.5"
107
108
  }),
108
- C(" New Tab "),
109
+ x(" New Tab "),
109
110
  n(H, {
110
111
  class: "bg-b-2 ml-auto",
111
112
  hotkey: "T"
@@ -113,17 +114,17 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
113
114
  ]),
114
115
  _: 1
115
116
  }),
116
- n(l(x), {
117
+ n(l(I), {
117
118
  class: "flex items-center gap-1.5",
118
- onClick: a[0] || (a[0] = (p) => N(T.value))
119
+ onClick: a[0] || (a[0] = (p) => y(k.value))
119
120
  }, {
120
121
  default: u(() => [
121
- n(l(h), {
122
+ n(l(f), {
122
123
  icon: "Link",
123
124
  size: "sm",
124
125
  thickness: "1.5"
125
126
  }),
126
- C(" Copy URL ")
127
+ x(" Copy URL ")
127
128
  ]),
128
129
  _: 1
129
130
  })
@@ -133,24 +134,24 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
133
134
  ]),
134
135
  _: 1
135
136
  })
136
- ])) : (d(!0), g(V, { key: 1 }, D(t, (p, c) => (d(), q(X, {
137
- key: c,
138
- active: c === T.value,
139
- hotkey: (c + 1).toString(),
137
+ ])) : (d(!0), g(V, { key: 1 }, D(t, (p, s) => (d(), K(X, {
138
+ key: s,
139
+ active: s === k.value,
140
+ hotkey: (s + 1).toString(),
140
141
  icon: p.icon,
141
142
  label: p.label,
142
- onClick: (b) => r(c),
143
- onClose: (b) => _(c),
144
- onCloseOtherTabs: (b) => R(c),
145
- onCopyUrl: (b) => N(c),
143
+ onClick: (b) => r(s),
144
+ onClose: (b) => N(s),
145
+ onCloseOtherTabs: (b) => R(s),
146
+ onCopyUrl: (b) => y(s),
146
147
  onNewTab: m
147
148
  }, null, 8, ["active", "hotkey", "icon", "label", "onClick", "onClose", "onCloseOtherTabs", "onCopyUrl"]))), 128)),
148
- f("button", {
149
+ h("button", {
149
150
  class: "text-c-3 hover:bg-b-3 p-1.5 rounded webkit-app-no-drag",
150
151
  type: "button",
151
152
  onClick: m
152
153
  }, [
153
- n(l(h), {
154
+ n(l(f), {
154
155
  icon: "Add",
155
156
  size: "xs",
156
157
  thickness: "2.5"
@@ -161,5 +162,5 @@ const Z = (s) => (K("data-v-33584718"), s = s(), F(), s), ee = { class: "flex h-
161
162
  }
162
163
  });
163
164
  export {
164
- de as default
165
+ me as default
165
166
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AAiFA,iBAAS,cAAc;;;QA+IK,GAAG;;;QACD,GAAG;;;QACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;kBAxLH,OAAO;gBACT,MAAM;;;;;kBADJ,OAAO;gBACT,MAAM;;;;;iBADJ,OAAO;eACT,MAAM;MA6LpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kB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"flex flex-1 items-center gap-1.5 text-c-1" }, g = {
40
40
  ]),
41
41
  _: 2
42
42
  }, 1024),
43
- i(o(h), { class: "rounded-b" }, {
43
+ i(o(h), { class: "rounded-b diclosure-panel" }, {
44
44
  default: n(() => [
45
45
  l(e.$slots, "default", { open: t })
46
46
  ]),