@scalar/api-client 2.19.3 → 2.20.1

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 (62) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +0 -9
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +126 -67
  6. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +6 -0
  7. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  8. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  9. package/dist/v2/blocks/operation-block/components/Header.vue2.js +25 -24
  10. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts +1 -1
  11. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts.map +1 -1
  12. package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.js +1 -1
  13. package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
  14. package/dist/v2/blocks/operation-block/helpers/build-request.js +44 -41
  15. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts +42 -0
  16. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts.map +1 -0
  17. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +31 -0
  18. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts +66 -0
  19. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts.map +1 -0
  20. package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +43 -0
  21. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -0
  22. package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
  23. package/dist/v2/blocks/operation-block/helpers/send-request.js +40 -38
  24. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  25. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  26. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +34 -33
  27. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +3 -1
  28. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  29. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js +28 -28
  30. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  31. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +31 -22
  32. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  33. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +6 -0
  34. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  35. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  36. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +24 -23
  37. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -3
  38. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
  39. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +2 -2
  40. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +20 -20
  41. package/dist/v2/components/data-table/DataTableCheckbox.vue.js +2 -2
  42. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -0
  43. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  44. package/dist/v2/components/sidebar/Sidebar.vue.js +60 -54
  45. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  46. package/dist/v2/features/app/app-events.js +53 -42
  47. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  48. package/dist/v2/features/app/app-state.js +72 -72
  49. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  50. package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
  51. package/dist/v2/features/app/components/AppSidebar.vue2.js +84 -76
  52. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  53. package/dist/v2/features/collection/DocumentCollection.vue.js +82 -43
  54. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  55. package/dist/v2/features/operation/Operation.vue.js +2 -3
  56. package/dist/v2/features/operation/helpers/combine-params.d.ts +2 -2
  57. package/dist/v2/features/operation/helpers/combine-params.d.ts.map +1 -1
  58. package/dist/v2/features/operation/helpers/combine-params.js +11 -10
  59. package/dist/v2/workspace-events.d.ts.map +1 -1
  60. package/dist/v2/workspace-events.js +12 -6
  61. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  62. package/package.json +11 -11
@@ -1,4 +1,4 @@
1
- import { defineComponent as q, ref as x, watch as y, computed as o, createBlock as m, openBlock as d, unref as i, normalizeClass as E, withCtx as s, createVNode as u, createCommentVNode as f, createElementBlock as R, Fragment as N, createElementVNode as h, toDisplayString as P } from "vue";
1
+ import { defineComponent as q, ref as x, watch as y, computed as o, createBlock as m, openBlock as d, unref as t, normalizeClass as E, withCtx as s, createVNode as u, createCommentVNode as f, createElementBlock as R, Fragment as N, createElementVNode as h, toDisplayString as P } from "vue";
2
2
  import { ScalarButton as C, ScalarIconButton as j, ScalarIcon as G } from "@scalar/components";
3
3
  import { ScalarIconTrash as K, ScalarIconGlobe as O } from "@scalar/icons";
4
4
  import { unpackProxyObject as B } from "@scalar/workspace-store/helpers/unpack-proxy";
@@ -27,13 +27,13 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
27
27
  const r = S, c = x(e.data.name ?? ""), n = x(B(e.data.value) ?? ""), v = x(e.data.isDisabled ?? !1);
28
28
  y(
29
29
  () => e.data.name,
30
- (l) => c.value = l ?? ""
30
+ (i) => c.value = i ?? ""
31
31
  ), y(
32
32
  () => e.data.value,
33
- (l) => n.value = B(l) ?? ""
33
+ (i) => n.value = B(i) ?? ""
34
34
  ), y(
35
35
  () => e.data.isDisabled,
36
- (l) => v.value = l ?? !1
36
+ (i) => v.value = i ?? !1
37
37
  );
38
38
  const k = o(() => n.value instanceof File), w = o(
39
39
  () => (k.value ? W(n.value) : n.value) ?? ""
@@ -45,14 +45,14 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
45
45
  () => e.data.schema && "type" in e.data.schema ? e.data.schema.type : void 0
46
46
  ), V = o(
47
47
  () => A(e.data.schema, n.value)
48
- ), b = (l) => {
49
- l.name !== void 0 && (c.value = l.name), l.value !== void 0 && (n.value = l.value), l.isDisabled !== void 0 && (v.value = l.isDisabled), r("upsertRow", {
48
+ ), b = (i) => {
49
+ i.name !== void 0 && (c.value = i.name), i.value !== void 0 && (n.value = i.value), v.value = i.isDisabled ?? !1, r("upsertRow", {
50
50
  name: c.value,
51
51
  value: n.value,
52
52
  isDisabled: v.value
53
53
  });
54
54
  };
55
- return (l, a) => (d(), m(i(H), {
55
+ return (i, a) => (d(), m(t(H), {
56
56
  id: e.data.name,
57
57
  class: E({
58
58
  alert: V.value.ok === !1,
@@ -60,15 +60,15 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
60
60
  })
61
61
  }, {
62
62
  default: s(() => [
63
- u(i(J), {
63
+ u(t(J), {
64
64
  class: "!border-r",
65
65
  disabled: e.hasCheckboxDisabled ?? !1,
66
66
  modelValue: !v.value,
67
- "onUpdate:modelValue": a[0] || (a[0] = (t) => b({ isDisabled: !t }))
67
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => b({ isDisabled: !l }))
68
68
  }, null, 8, ["disabled", "modelValue"]),
69
- u(i(g), null, {
69
+ u(t(g), null, {
70
70
  default: s(() => [
71
- u(i(F), {
71
+ u(t(F), {
72
72
  "aria-label": `${e.label} Key`,
73
73
  disableCloseBrackets: "",
74
74
  disabled: e.data.isReadonly,
@@ -79,15 +79,15 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
79
79
  modelValue: c.value,
80
80
  placeholder: "Key",
81
81
  required: !!e.data.isRequired,
82
- onSelectVariable: a[1] || (a[1] = (t) => b({ name: t })),
83
- "onUpdate:modelValue": a[2] || (a[2] = (t) => b({ name: t }))
82
+ onSelectVariable: a[1] || (a[1] = (l) => b({ name: l })),
83
+ "onUpdate:modelValue": a[2] || (a[2] = (l) => b({ name: l }))
84
84
  }, null, 8, ["aria-label", "disabled", "environment", "modelValue", "required"])
85
85
  ]),
86
86
  _: 1
87
87
  }),
88
- u(i(g), null, {
88
+ u(t(g), null, {
89
89
  default: s(() => [
90
- u(i(F), {
90
+ u(t(F), {
91
91
  "aria-label": `${e.label} Value`,
92
92
  class: "pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",
93
93
  default: z.value,
@@ -97,7 +97,7 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
97
97
  disableTabIndent: "",
98
98
  enum: I.value ?? [],
99
99
  environment: e.environment,
100
- examples: e.data.schema?.examples?.map((t) => String(t)) ?? [],
100
+ examples: e.data.schema?.examples?.map((l) => String(l)) ?? [],
101
101
  linethrough: e.data.isOverridden,
102
102
  lineWrapping: "",
103
103
  max: $.value,
@@ -105,30 +105,30 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
105
105
  modelValue: w.value,
106
106
  placeholder: "Value",
107
107
  type: U.value,
108
- "onUpdate:modelValue": a[5] || (a[5] = (t) => b({ value: t }))
108
+ "onUpdate:modelValue": a[5] || (a[5] = (l) => b({ value: l }))
109
109
  }, {
110
110
  icon: s(() => [
111
- (e.data.name || n.value) && !e.data.isRequired && e.data.isReadonly !== !0 ? (d(), m(i(C), {
111
+ (e.data.name || n.value) && !e.data.isRequired && e.data.isReadonly !== !0 ? (d(), m(t(C), {
112
112
  key: 0,
113
113
  class: "text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",
114
114
  size: "sm",
115
115
  variant: "ghost",
116
- onClick: a[3] || (a[3] = (t) => r("deleteRow"))
116
+ onClick: a[3] || (a[3] = (l) => r("deleteRow"))
117
117
  }, {
118
118
  default: s(() => [
119
- u(i(K), { class: "size-3.5" })
119
+ u(t(K), { class: "size-3.5" })
120
120
  ]),
121
121
  _: 1
122
122
  })) : f("", !0),
123
- e.data.globalRoute !== void 0 ? (d(), m(i(j), {
123
+ e.data.globalRoute !== void 0 ? (d(), m(t(j), {
124
124
  key: 1,
125
125
  class: "text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",
126
- icon: i(O),
126
+ icon: t(O),
127
127
  label: "Global cookies are shared across the whole workspace. Click to navigate.",
128
128
  size: "xs",
129
129
  tooltip: "top",
130
130
  variant: "ghost",
131
- onClick: a[4] || (a[4] = (t) => r("navigate", e.data.globalRoute))
131
+ onClick: a[4] || (a[4] = (l) => r("navigate", e.data.globalRoute))
132
132
  }, null, 8, ["icon"])) : f("", !0),
133
133
  e.data.isReadonly ? (d(), m(D, {
134
134
  key: 2,
@@ -146,7 +146,7 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
146
146
  ]),
147
147
  _: 1
148
148
  }),
149
- e.showUploadButton ? (d(), m(i(g), {
149
+ e.showUploadButton ? (d(), m(t(g), {
150
150
  key: 0,
151
151
  class: "group/upload flex items-center justify-center whitespace-nowrap"
152
152
  }, {
@@ -158,18 +158,18 @@ const L = { class: "text-c-2 filemask flex w-full max-w-[100%] items-center just
158
158
  h("button", {
159
159
  class: "bg-b-2 centered-x centered-y absolute hidden w-[calc(100%_-_8px)] rounded p-0.5 text-center text-xs font-medium group-hover/upload:block",
160
160
  type: "button",
161
- onClick: a[6] || (a[6] = (t) => r("removeFile"))
161
+ onClick: a[6] || (a[6] = (l) => r("removeFile"))
162
162
  }, " Delete ")
163
163
  ], 64)) : (d(), R("div", M, [
164
- u(i(C), {
164
+ u(t(C), {
165
165
  class: "bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",
166
166
  size: "sm",
167
167
  variant: "outlined",
168
- onClick: a[7] || (a[7] = (t) => r("uploadFile"))
168
+ onClick: a[7] || (a[7] = (l) => r("uploadFile"))
169
169
  }, {
170
170
  default: s(() => [
171
171
  a[8] || (a[8] = h("span", null, "Select File", -1)),
172
- u(i(G), {
172
+ u(t(G), {
173
173
  class: "ml-1",
174
174
  icon: "Upload",
175
175
  size: "xs",
@@ -1 +1 @@
1
- {"version":3,"file":"create-parameter-handlers.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/helpers/create-parameter-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE7F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0DAA0D,CAAA;AAExF,KAAK,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3D,uDAAuD;AACvD,eAAO,MAAM,uBAAuB,GAClC,MAAM,aAAa,EACnB,UAAU,iBAAiB,EAC3B,MAAM,oBAAoB,EAC1B,mDAIG;IACD,OAAO,EAAE,QAAQ,EAAE,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;sBAKmB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;oBAWnB,MAAM,WAAW;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE;CA8BxF,CAAA"}
1
+ {"version":3,"file":"create-parameter-handlers.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/request-block/helpers/create-parameter-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAE7F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0DAA0D,CAAA;AAExF,KAAK,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3D,uDAAuD;AACvD,eAAO,MAAM,uBAAuB,GAClC,MAAM,aAAa,EACnB,UAAU,iBAAiB,EAC3B,MAAM,oBAAoB,EAC1B,mDAIG;IACD,OAAO,EAAE,QAAQ,EAAE,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;sBAKmB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE;;oBAqBnB,MAAM,WAAW;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE;CA+BxF,CAAA"}
@@ -1,46 +1,55 @@
1
- const d = (r, t, a, {
1
+ const c = (a, t, o, {
2
2
  context: n,
3
3
  defaultParameters: i = 0,
4
- globalParameters: p = 0
4
+ globalParameters: l = 0
5
5
  }) => {
6
- const o = i + p;
6
+ const p = i + l;
7
7
  return {
8
- delete: (e) => t.emit("operation:delete:parameter", {
9
- type: r,
10
- index: e.index - o,
11
- meta: a
12
- }),
8
+ delete: (e) => {
9
+ const r = n[e.index]?.originalParameter;
10
+ r && t.emit(
11
+ "operation:delete:parameter",
12
+ {
13
+ originalParameter: r,
14
+ meta: o
15
+ },
16
+ {
17
+ skipUnpackProxy: !0
18
+ }
19
+ );
20
+ },
13
21
  deleteAll: () => t.emit("operation:delete-all:parameters", {
14
- type: r,
15
- meta: a
22
+ type: a,
23
+ meta: o
16
24
  }),
17
- upsert: (e, l) => {
25
+ upsert: (e, r) => {
18
26
  const s = n[e];
19
- if (e < i + p) {
27
+ if (e < i + l) {
20
28
  const m = e < i ? "default" : "global";
21
29
  return t.emit("operation:update:extra-parameters", {
22
30
  type: m,
23
- in: r,
24
- meta: { ...a, name: s?.name?.toLowerCase?.() ?? "NON_VALID" },
25
- payload: { isDisabled: l.isDisabled ?? !1 }
31
+ in: a,
32
+ meta: { ...o, name: s?.name?.toLowerCase?.() ?? "NON_VALID" },
33
+ payload: { isDisabled: r.isDisabled ?? !1 }
26
34
  });
27
35
  }
28
- if (e >= o)
36
+ if (e >= p)
29
37
  return t.emit(
30
38
  "operation:upsert:parameter",
31
39
  {
32
- type: r,
33
- index: e - o,
34
- payload: l,
35
- meta: a
40
+ type: a,
41
+ payload: r,
42
+ originalParameter: s?.originalParameter ?? null,
43
+ meta: o
36
44
  },
37
45
  {
38
- debounceKey: `update:parameter-${r}-${e - o}`
46
+ skipUnpackProxy: !0,
47
+ debounceKey: `update:parameter-${a}-${e - p}`
39
48
  }
40
49
  );
41
50
  }
42
51
  };
43
52
  };
44
53
  export {
45
- d as createParameterHandlers
54
+ c as createParameterHandlers
46
55
  };
@@ -1,7 +1,7 @@
1
1
  import { canMethodHaveBody as p } from "@scalar/helpers/http/can-method-have-body";
2
2
  import { getResolvedRef as n } from "@scalar/workspace-store/helpers/get-resolved-ref";
3
3
  import { isElectron as u } from "../../../../libs/electron.js";
4
- const i = "2.19.3", m = "application/json", h = "*/*", c = (r, t, a) => ({
4
+ const i = "2.20.1", m = "application/json", h = "*/*", c = (r, t, a) => ({
5
5
  name: r,
6
6
  defaultValue: t,
7
7
  isOverridden: a.has(r.toLowerCase())
@@ -28,9 +28,15 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
28
28
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
29
29
  execute: () => any;
30
30
  "update:servers": () => any;
31
+ "select:history:item": (payload: {
32
+ index: number;
33
+ }) => any;
31
34
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
32
35
  onExecute?: (() => any) | undefined;
33
36
  "onUpdate:servers"?: (() => any) | undefined;
37
+ "onSelect:history:item"?: ((payload: {
38
+ index: number;
39
+ }) => any) | undefined;
34
40
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
41
  export default _default;
36
42
  //# sourceMappingURL=AddressBar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBar.vue"],"names":[],"mappings":"AAkbA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAGrF,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAWhG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAM3C,OAA0B,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,cAAc,CAAA;IACtB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,gBAAgB;IAChB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,kBAAkB;IAClB,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;;;;;;;;;;;AAqlBF,wBAQG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBar.vue"],"names":[],"mappings":"AAwbA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAGrF,OAAO,KAAK,EAEV,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAWhG,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAA;AAM3C,OAA0B,EAAE,KAAK,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAEzE,KAAK,WAAW,GAAG;IACjB,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,6BAA6B;IAC7B,MAAM,EAAE,cAAc,CAAA;IACtB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,mDAAmD;IACnD,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,8BAA8B;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;IACpB,gBAAgB;IAChB,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,kBAAkB;IAClB,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;;;;;;;;eAkB6C,MAAM;;;;;;eAAN,MAAM;;;AAglBrD,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-90999cb7"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-80d05ddf"]]);
5
5
  export {
6
- m as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, useId as F, computed as w, ref as S, useTemplateRef as U, onMounted as H, onBeforeUnmount as W, createElementBlock as R, openBlock as h, unref as l, createElementVNode as o, normalizeClass as O, createVNode as a, createCommentVNode as z, normalizeStyle as P, createBlock as K, withCtx as E, createTextVNode as x, toDisplayString as m } from "vue";
1
+ import { defineComponent as D, useId as F, computed as w, ref as S, useTemplateRef as U, onMounted as H, onBeforeUnmount as W, createElementBlock as R, openBlock as h, unref as l, createElementVNode as o, normalizeClass as O, createVNode as a, createCommentVNode as z, normalizeStyle as P, createBlock as K, withCtx as E, createTextVNode as x, toDisplayString as c } from "vue";
2
2
  import { ScalarButton as $, ScalarWrappingText as Q, ScalarIcon as j } from "@scalar/components";
3
3
  import { REQUEST_METHODS as G } from "@scalar/helpers/http/http-info";
4
4
  import { ScalarIconCopy as J, ScalarIconWarningCircle as X } from "@scalar/icons";
@@ -27,20 +27,20 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
27
27
  eventBus: {},
28
28
  environment: {}
29
29
  },
30
- emits: ["execute", "update:servers"],
30
+ emits: ["execute", "update:servers", "select:history:item"],
31
31
  setup(e, { expose: V, emit: q }) {
32
- const c = q, f = F(), { percentage: b, startLoading: g, stopLoading: v } = _(), T = w(() => ({
32
+ const d = q, f = F(), { percentage: b, startLoading: g, stopLoading: v } = _(), T = w(() => ({
33
33
  backgroundColor: `color-mix(in srgb, transparent 90%, ${G[e.method].colorVar})`,
34
34
  transform: `translate3d(-${b.value}%,0,0)`
35
35
  })), i = S(null), r = S(null), y = w(() => r.value || i.value), B = (n, t, s) => {
36
- const N = d.value?.cursorPosition();
36
+ const N = u.value?.cursorPosition();
37
37
  e.eventBus.emit(
38
38
  "operation:update:pathMethod",
39
39
  {
40
40
  meta: { method: e.method, path: e.path },
41
41
  payload: { method: n, path: t },
42
- callback: (u) => {
43
- (u === "success" || u === "no-change") && (r.value = null, i.value = null), u === "success" ? e.eventBus.emit("ui:focus:address-bar", { position: N }) : u === "conflict" && (n !== e.method && (r.value = n), t !== e.path && (i.value = t));
42
+ callback: (m) => {
43
+ (m === "success" || m === "no-change") && (r.value = null, i.value = null), m === "success" ? e.eventBus.emit("ui:focus:address-bar", { position: N }) : m === "conflict" && (n !== e.method && (r.value = n), t !== e.path && (i.value = t));
44
44
  }
45
45
  },
46
46
  s
@@ -50,11 +50,11 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
50
50
  B(r.value ?? e.method, t, {
51
51
  debounceKey: `operation:update:pathMethod-${e.path}-${e.method}`
52
52
  });
53
- }, C = U("sendButtonRef"), d = U("addressBarRef"), p = () => C.value?.$el?.focus(), k = (n) => {
54
- if (d.value?.isFocused && e.layout !== "desktop")
53
+ }, C = U("sendButtonRef"), u = U("addressBarRef"), p = () => C.value?.$el?.focus(), k = (n) => {
54
+ if (u.value?.isFocused && e.layout !== "desktop")
55
55
  return;
56
56
  const t = n && "position" in n ? n.position : "end";
57
- d.value?.focus(t), n && "event" in n && n.event.preventDefault();
57
+ u.value?.focus(t), n && "event" in n && n.event.preventDefault();
58
58
  };
59
59
  H(() => {
60
60
  e.eventBus.on("ui:focus:address-bar", k), e.eventBus.on("ui:focus:send-button", p), e.eventBus.on("hooks:on:request:sent", g), e.eventBus.on("hooks:on:request:complete", v);
@@ -101,13 +101,13 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
101
101
  servers: e.servers,
102
102
  target: l(f),
103
103
  "onUpdate:selectedServer": t[0] || (t[0] = (s) => e.eventBus.emit("server:update:selected", s)),
104
- "onUpdate:servers": t[1] || (t[1] = (s) => c("update:servers")),
104
+ "onUpdate:servers": t[1] || (t[1] = (s) => d("update:servers")),
105
105
  "onUpdate:variable": t[2] || (t[2] = (s) => e.eventBus.emit("server:update:variables", s))
106
106
  }, null, 8, ["layout", "server", "servers", "target"])) : z("", !0),
107
- t[6] || (t[6] = o("div", { class: "fade-left" }, null, -1)),
107
+ t[7] || (t[7] = o("div", { class: "fade-left" }, null, -1)),
108
108
  a(l(oe), {
109
109
  ref_key: "addressBarRef",
110
- ref: d,
110
+ ref: u,
111
111
  alwaysEmitChange: "",
112
112
  "aria-label": "Path",
113
113
  class: "min-w-fit outline-none",
@@ -128,10 +128,10 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
128
128
  curl: s
129
129
  }
130
130
  })),
131
- onSubmit: t[4] || (t[4] = (s) => c("execute")),
131
+ onSubmit: t[4] || (t[4] = (s) => d("execute")),
132
132
  "onUpdate:modelValue": L
133
133
  }, null, 8, ["disabled", "environment", "layout", "modelValue", "placeholder"]),
134
- t[7] || (t[7] = o("div", { class: "fade-right" }, null, -1))
134
+ t[8] || (t[8] = o("div", { class: "fade-right" }, null, -1))
135
135
  ]),
136
136
  a(l($), {
137
137
  class: "hover:bg-b-3 mx-1",
@@ -141,25 +141,26 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
141
141
  }, {
142
142
  default: E(() => [
143
143
  a(l(J)),
144
- t[8] || (t[8] = o("span", { class: "sr-only" }, "Copy URL", -1))
144
+ t[9] || (t[9] = o("span", { class: "sr-only" }, "Copy URL", -1))
145
145
  ]),
146
146
  _: 1
147
147
  }),
148
148
  a(ee, {
149
149
  history: e.history,
150
- target: l(f)
150
+ target: l(f),
151
+ "onSelect:history:item": t[5] || (t[5] = (s) => d("select:history:item", s))
151
152
  }, null, 8, ["history", "target"]),
152
153
  y.value ? (h(), R("div", ie, [
153
154
  o("div", de, [
154
155
  a(l(X), { size: "sm" }),
155
156
  o("div", ue, [
156
- t[9] || (t[9] = x(" A ", -1)),
157
- o("em", null, m(r.value?.toUpperCase() ?? e.method.toUpperCase()), 1),
158
- t[10] || (t[10] = x(" request to ", -1)),
157
+ t[10] || (t[10] = x(" A ", -1)),
158
+ o("em", null, c(r.value?.toUpperCase() ?? e.method.toUpperCase()), 1),
159
+ t[11] || (t[11] = x(" request to ", -1)),
159
160
  a(l(Q), {
160
161
  text: i.value ?? e.path
161
162
  }, null, 8, ["text"]),
162
- t[11] || (t[11] = x(" already exists in this document ", -1))
163
+ t[12] || (t[12] = x(" already exists in this document ", -1))
163
164
  ])
164
165
  ])
165
166
  ])) : z("", !0),
@@ -168,7 +169,7 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
168
169
  ref: C,
169
170
  class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
170
171
  disabled: l(b) < 100,
171
- onClick: t[5] || (t[5] = (s) => c("execute"))
172
+ onClick: t[6] || (t[6] = (s) => d("execute"))
172
173
  }, {
173
174
  default: E(() => [
174
175
  o("span", me, [
@@ -177,9 +178,9 @@ const le = ["id"], se = { class: "pointer-events-none absolute top-0 left-0 bloc
177
178
  icon: "Play",
178
179
  size: "xs"
179
180
  }),
180
- t[12] || (t[12] = o("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
181
+ t[13] || (t[13] = o("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
181
182
  ]),
182
- o("span", ce, " Send " + m(e.method) + " request to " + m(e.server?.url ?? "") + m(e.path), 1)
183
+ o("span", ce, " Send " + c(e.method) + " request to " + c(e.server?.url ?? "") + c(e.path), 1)
183
184
  ]),
184
185
  _: 1
185
186
  }, 8, ["disabled"])
@@ -1,6 +1,5 @@
1
1
  import type { HttpMethod as HttpMethodType } from '@scalar/helpers/http/http-methods';
2
2
  export type History = {
3
- id: string;
4
3
  method: HttpMethodType;
5
4
  path: string;
6
5
  duration: number;
@@ -13,11 +12,11 @@ type __VLS_Props = {
13
12
  history: History[];
14
13
  };
15
14
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
- selectHistoryItem: (payload: {
15
+ "select:history:item": (payload: {
17
16
  index: number;
18
17
  }) => any;
19
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onSelectHistoryItem?: ((payload: {
19
+ "onSelect:history:item"?: ((payload: {
21
20
  index: number;
22
21
  }) => any) | undefined;
23
22
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue"],"names":[],"mappings":"AA4GA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAQrF,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,cAAc,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,OAAO,EAAE,OAAO,EAAE,CAAA;CACnB,CAAC;;;eAK2C,MAAM;;;;eAAN,MAAM;;;AAyOnD,wBAOG"}
1
+ {"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAQrF,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,EAAE,cAAc,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,OAAO,EAAE,OAAO,EAAE,CAAA;CACnB,CAAC;;;eAK6C,MAAM;;;;eAAN,MAAM;;;AAyOrD,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBarHistory.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8cf04803"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b45f1e9d"]]);
5
5
  export {
6
- f as default
6
+ d as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as h, createBlock as n, openBlock as a, unref as t, withCtx as o, createVNode as r, createSlots as g, createCommentVNode as x, createElementVNode as s, normalizeStyle as v, createElementBlock as y, Fragment as _, renderList as k, toDisplayString as l, normalizeClass as C } from "vue";
2
- import { Menu as S, MenuButton as b, MenuItems as B, MenuItem as H } from "@headlessui/vue";
3
- import { ScalarFloating as M, ScalarIcon as z, ScalarFloatingBackdrop as I } from "@scalar/components";
4
- import { httpStatusCodes as w } from "@scalar/oas-utils/helpers";
5
- import { formatMs as F } from "../../../../libs/formatters.js";
1
+ import { defineComponent as h, createBlock as c, openBlock as a, unref as t, withCtx as o, createVNode as r, createSlots as g, createCommentVNode as x, createElementVNode as s, normalizeStyle as v, createElementBlock as y, Fragment as _, renderList as k, toDisplayString as l, normalizeClass as C } from "vue";
2
+ import { Menu as S, MenuButton as b, MenuItems as B, MenuItem as M } from "@headlessui/vue";
3
+ import { ScalarFloating as z, ScalarIcon as H, ScalarFloatingBackdrop as w } from "@scalar/components";
4
+ import { httpStatusCodes as F } from "@scalar/oas-utils/helpers";
5
+ import { formatMs as I } from "../../../../libs/formatters.js";
6
6
  import { getStatusCodeColor as N } from "./httpStatusCodeColors.js";
7
7
  import V from "../../../../components/HttpMethod/HttpMethod.vue.js";
8
8
  const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O = /* @__PURE__ */ h({
@@ -11,28 +11,28 @@ const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O =
11
11
  target: {},
12
12
  history: {}
13
13
  },
14
- emits: ["selectHistoryItem"],
15
- setup(i, { emit: m }) {
16
- const u = m;
17
- return (A, c) => (a(), n(t(S), { as: "div" }, {
14
+ emits: ["select:history:item"],
15
+ setup(i, { emit: d }) {
16
+ const u = d;
17
+ return (A, m) => (a(), c(t(S), { as: "div" }, {
18
18
  default: o(({ open: f }) => [
19
- r(t(M), {
19
+ r(t(z), {
20
20
  offset: 0,
21
21
  resize: "",
22
22
  target: i.target
23
23
  }, g({
24
24
  default: o(() => [
25
- i.history.length ? (a(), n(t(b), {
25
+ i.history.length ? (a(), c(t(b), {
26
26
  key: 0,
27
27
  class: "address-bar-history-button z-context-plus text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"
28
28
  }, {
29
29
  default: o(() => [
30
- r(t(z), {
30
+ r(t(H), {
31
31
  icon: "History",
32
32
  size: "sm",
33
33
  thickness: "2.25"
34
34
  }),
35
- c[0] || (c[0] = s("span", { class: "sr-only" }, "Request History", -1))
35
+ m[0] || (m[0] = s("span", { class: "sr-only" }, "Request History", -1))
36
36
  ]),
37
37
  _: 1
38
38
  })) : x("", !0)
@@ -48,12 +48,12 @@ const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O =
48
48
  style: v({ width: p })
49
49
  }, {
50
50
  default: o(() => [
51
- (a(!0), y(_, null, k(i.history, (e, d) => (a(), n(t(H), {
52
- key: e.id,
51
+ (a(!0), y(_, null, k(i.history, (e, n) => (a(), c(t(M), {
52
+ key: n,
53
53
  as: "button",
54
54
  class: "font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",
55
- value: d,
56
- onClick: (D) => u("selectHistoryItem", { index: d })
55
+ value: n,
56
+ onClick: (D) => u("select:history:item", { index: n })
57
57
  }, {
58
58
  default: o(() => [
59
59
  r(t(V), {
@@ -63,18 +63,18 @@ const E = { class: "min-w-0" }, q = { class: "text-c-1 min-w-0 truncate" }, O =
63
63
  s("div", E, [
64
64
  s("div", q, l(e.path), 1)
65
65
  ]),
66
- s("div", null, l(t(F)(e.duration)), 1),
66
+ s("div", null, l(t(I)(e.duration)), 1),
67
67
  s("div", {
68
68
  class: C([t(N)(e.status).color])
69
69
  }, l(e.status), 3),
70
- s("div", null, l(t(w)[e.status]?.name), 1)
70
+ s("div", null, l(t(F)[e.status]?.name), 1)
71
71
  ]),
72
72
  _: 2
73
73
  }, 1032, ["value", "onClick"]))), 128))
74
74
  ]),
75
75
  _: 1
76
76
  }, 8, ["style"]),
77
- r(t(I), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
77
+ r(t(w), { class: "-top-(--scalar-address-bar-height) rounded-lg" })
78
78
  ]),
79
79
  key: "0"
80
80
  } : void 0
@@ -11,7 +11,7 @@ const h = ["checked", "disabled"], x = /* @__PURE__ */ i({
11
11
  emits: ["update:modelValue"],
12
12
  setup(e) {
13
13
  const c = p({
14
- base: "w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-1 pointer-events-none absolute",
14
+ base: "w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",
15
15
  variants: {
16
16
  align: {
17
17
  left: "left-0",
@@ -34,7 +34,7 @@ const h = ["checked", "disabled"], x = /* @__PURE__ */ i({
34
34
  t("div", {
35
35
  class: l([
36
36
  "absolute m-auto size-3/4 rounded border-[1px] opacity-0",
37
- !e.disabled && "group-has-[:focus-visible]/cell:border-c-accent group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100"
37
+ !e.disabled && "group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100"
38
38
  ])
39
39
  }, null, 2),
40
40
  m(o(b), {
@@ -41,6 +41,11 @@ type __VLS_Slots = {
41
41
  }): unknown;
42
42
  /** Slot for customizing the actions section of the sidebar menu. */
43
43
  sidebarMenuActions?(): unknown;
44
+ /** Slot to add additional content to the icon */
45
+ icon?(props: {
46
+ item: TraversedEntry;
47
+ open: boolean;
48
+ }): unknown;
44
49
  };
45
50
  type __VLS_PublicProps = __VLS_Props & {
46
51
  /** Controls the width of the sidebar */
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/sidebar/Sidebar.vue"],"names":[],"mappings":"AA4JA,OAAO,EAAoB,KAAK,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