@scalar/api-client 2.3.13 → 2.3.15

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 (61) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/components/DataTable/DataTable.vue.d.ts +2 -0
  3. package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
  4. package/dist/components/DataTable/DataTable.vue.js +17 -15
  5. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  6. package/dist/components/DataTable/DataTableCell.vue.js +6 -9
  7. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  8. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +68 -23
  9. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  10. package/dist/components/ImportCollection/ImportNowButton.vue.js +41 -54
  11. package/dist/components/ImportCollection/utils/import-collection.d.ts +12 -0
  12. package/dist/components/ImportCollection/utils/import-collection.d.ts.map +1 -0
  13. package/dist/components/ImportCollection/utils/import-collection.js +29 -0
  14. package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +6 -0
  15. package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts.map +1 -0
  16. package/dist/components/ImportCollection/utils/workspace-store-is-empty.js +7 -0
  17. package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
  18. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  19. package/dist/components/ScalarAsciiArt.vue2.js +10 -8
  20. package/dist/components/ScalarHotkey.test.d.ts +2 -0
  21. package/dist/components/ScalarHotkey.test.d.ts.map +1 -0
  22. package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
  23. package/dist/components/ScalarHotkey.vue.js +34 -11
  24. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  25. package/dist/components/SideNav/SideNav.vue.js +39 -39
  26. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  27. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  28. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  29. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  30. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  31. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  32. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  33. package/dist/libs/create-client.d.ts.map +1 -1
  34. package/dist/store/store.d.ts.map +1 -1
  35. package/dist/store/tags.d.ts.map +1 -1
  36. package/dist/style.css +1 -1
  37. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  38. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +3 -3
  39. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +2 -1
  40. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  41. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  42. package/dist/views/Request/RequestSection/RequestBody.vue2.js +4 -1
  43. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  44. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  45. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +4 -1
  46. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -0
  47. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  48. package/dist/views/Request/RequestSection/RequestParams.vue.js +19 -16
  49. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  50. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  51. package/dist/views/Request/RequestSection/RequestSection.vue2.js +9 -6
  52. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -0
  53. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  54. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  55. package/dist/views/Request/RequestSection/RequestTable.vue2.js +123 -126
  56. package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -1
  57. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +53 -35
  58. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  59. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  60. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +53 -35
  61. package/package.json +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AAiNA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,qBAAqB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAqNF,wBAOG"}
1
+ {"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AAkNA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,qBAAqB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAqNF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuthDataTable.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ e(t, [["__scopeId", "data-v-efc402ef"]]);
3
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-8e70044b"]]);
5
5
  export {
6
- r as default
6
+ m as default
7
7
  };
@@ -61,7 +61,8 @@ const _ = {
61
61
  m.value.length ? (o(), C(i(N), {
62
62
  key: 1,
63
63
  class: v(["flex-1", e.layout === "reference" && "border-0"]),
64
- columns: [""]
64
+ columns: [""],
65
+ presentational: ""
65
66
  }, {
66
67
  default: V(() => [
67
68
  h(M, {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAqnBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAarE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAM1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AAs6BJ,wBAOG"}
1
+ {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAunBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAarE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAM1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AAs6BJ,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestBody.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8bf1b90e"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e20988de"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -269,7 +269,10 @@ const me = {
269
269
  H(F(e.title), 1)
270
270
  ]),
271
271
  default: m(() => [
272
- c(re, { columns: [""] }, {
272
+ c(re, {
273
+ columns: [""],
274
+ presentational: ""
275
+ }, {
273
276
  default: m(() => [
274
277
  c(j, null, {
275
278
  default: m(() => [
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"AAwRA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAcrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA2WF,wBAOG"}
1
+ {"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"AA0RA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAcrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA2WF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestCodeExample.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fdb4baba"]]);
3
+ import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-eca26cbf"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -143,7 +143,10 @@ const G = { class: "w-full" }, J = { class: "-mx-1 flex flex-1" }, L = { class:
143
143
  ])
144
144
  ]),
145
145
  default: c(() => [
146
- i(I, { columns: [""] }, {
146
+ i(I, {
147
+ columns: [""],
148
+ presentational: ""
149
+ }, {
147
150
  default: c(() => [
148
151
  i(O, null, {
149
152
  default: c(() => [
@@ -9,6 +9,7 @@ type __VLS_Props = {
9
9
  envVariables: EnvVariable[];
10
10
  workspace: Workspace;
11
11
  title: string;
12
+ label: string;
12
13
  paramKey: keyof RequestExample['parameters'];
13
14
  readOnlyEntries?: {
14
15
  key: string;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AAuOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAIlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;IAC5C,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,OAAO,CAAA;QAChB,KAAK,EAAE,gBAAgB,CAAA;KACxB,EAAE,CAAA;IACH,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAC;;AAoVF,wBAOG"}
1
+ {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AA0OA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAIlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAA;IACvB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;IAC5C,eAAe,CAAC,EAAE;QAChB,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,OAAO,CAAA;QAChB,KAAK,EAAE,gBAAgB,CAAA;KACxB,EAAE,CAAA;IACH,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAC;;AAoVF,wBAOG"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as O, computed as m, onMounted as T, ref as S, watch as N, openBlock as c, createBlock as d, withCtx as s, createTextVNode as b, toDisplayString as k, createElementVNode as i, unref as h, createVNode as w, withModifiers as z, createCommentVNode as P, normalizeClass as A, nextTick as R } from "vue";
1
+ import { defineComponent as O, computed as m, onMounted as T, ref as S, watch as N, openBlock as c, createBlock as d, withCtx as s, createTextVNode as g, toDisplayString as k, createElementVNode as i, unref as h, createVNode as w, withModifiers as z, createCommentVNode as P, normalizeClass as A, nextTick as R } from "vue";
2
2
  import { ScalarTooltip as B, ScalarButton as M } from "@scalar/components";
3
- import { requestExampleParametersSchema as x } from "@scalar/oas-utils/entities/spec";
3
+ import { requestExampleParametersSchema as V } from "@scalar/oas-utils/entities/spec";
4
4
  import W from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
5
- import V from "./RequestTable.vue.js";
5
+ import C from "./RequestTable.vue.js";
6
6
  import { useWorkspace as D } from "../../../store/store.js";
7
7
  const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100" }, U = { class: "sr-only" }, Z = /* @__PURE__ */ O({
8
8
  __name: "RequestParams",
@@ -12,6 +12,7 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
12
12
  envVariables: {},
13
13
  workspace: {},
14
14
  title: {},
15
+ label: {},
15
16
  paramKey: {},
16
17
  readOnlyEntries: { default: () => [] },
17
18
  invalidParams: {}
@@ -20,26 +21,26 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
20
21
  const { requestExampleMutators: r } = D(), l = m(() => t.example.parameters[t.paramKey] ?? []);
21
22
  T(() => v());
22
23
  const o = () => {
23
- const e = x.parse({ enabled: !1 }), a = [...l.value, e];
24
+ const e = V.parse({ enabled: !1 }), a = [...l.value, e];
24
25
  r.edit(t.example.uid, `parameters.${t.paramKey}`, a);
25
- }, u = S(null), C = (e, a, y) => {
26
+ }, u = S(null), x = (e, a, b) => {
26
27
  const p = l.value;
27
28
  if (p.length > e) {
28
29
  const n = [...p];
29
30
  if (!n[e])
30
31
  return;
31
- n[e] = { ...n[e], [a]: y }, (n[e].key !== "" || n[e].value !== "") && (n[e].enabled = !0), n[e].key === "" && n[e].value === "" && n.splice(e, 1), r.edit(
32
+ n[e] = { ...n[e], [a]: b }, (n[e].key !== "" || n[e].value !== "") && (n[e].enabled = !0), n[e].key === "" && n[e].value === "" && n.splice(e, 1), r.edit(
32
33
  t.example.uid,
33
34
  `parameters.${t.paramKey}`,
34
35
  n
35
36
  );
36
37
  } else {
37
- const n = [x.parse({ [a]: y })];
38
+ const n = [V.parse({ [a]: b })];
38
39
  r.edit(t.example.uid, `parameters.${t.paramKey}`, n), R(() => {
39
- var g;
40
+ var y;
40
41
  if (!u.value)
41
42
  return;
42
- (g = u.value.querySelectorAll("input")[a === "key" ? 0 : 1]) == null || g.focus();
43
+ (y = u.value.querySelectorAll("input")[a === "key" ? 0 : 1]) == null || y.focus();
43
44
  });
44
45
  }
45
46
  e === p.length - 1 && o();
@@ -79,7 +80,7 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
79
80
  itemCount: K.value
80
81
  }, {
81
82
  title: s(() => [
82
- b(k(e.title), 1)
83
+ g(k(e.title), 1)
83
84
  ]),
84
85
  actions: s(() => [
85
86
  i("div", G, [
@@ -96,7 +97,7 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
96
97
  onClick: z(E, ["stop"])
97
98
  }, {
98
99
  default: s(() => [
99
- a[0] || (a[0] = b(" Clear ")),
100
+ a[0] || (a[0] = g(" Clear ")),
100
101
  i("span", U, "All " + k(e.title), 1)
101
102
  ]),
102
103
  _: 1
@@ -118,7 +119,7 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
118
119
  ref_key: "tableWrapperRef",
119
120
  ref: u
120
121
  }, [
121
- f.value ? (c(), d(V, {
122
+ f.value ? (c(), d(C, {
122
123
  key: 0,
123
124
  class: A(["flex-1", {
124
125
  "bg-mix-transparent bg-mix-amount-95 bg-c-3": f.value
@@ -130,19 +131,21 @@ const G = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
130
131
  isGlobal: "",
131
132
  isReadOnly: "",
132
133
  items: e.readOnlyEntries,
134
+ label: e.label,
133
135
  workspace: e.workspace
134
- }, null, 8, ["class", "envVariables", "environment", "invalidParams", "items", "workspace"])) : P("", !0),
135
- w(V, {
136
+ }, null, 8, ["class", "envVariables", "environment", "invalidParams", "items", "label", "workspace"])) : P("", !0),
137
+ w(C, {
136
138
  class: "flex-1",
137
139
  columns: ["32px", "", ""],
138
140
  envVariables: e.envVariables,
139
141
  environment: e.environment,
140
142
  invalidParams: e.invalidParams,
141
143
  items: l.value,
144
+ label: e.label,
142
145
  workspace: e.workspace,
143
146
  onToggleRow: q,
144
- onUpdateRow: C
145
- }, null, 8, ["envVariables", "environment", "invalidParams", "items", "workspace"])
147
+ onUpdateRow: x
148
+ }, null, 8, ["envVariables", "environment", "invalidParams", "items", "label", "workspace"])
146
149
  ], 512)
147
150
  ]),
148
151
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AASrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAgVF,wBAOG"}
1
+ {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AA+TA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AASrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAgVF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fde565f2"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-dcd86938"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -109,8 +109,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
109
109
  }, [
110
110
  e.collection && e.workspace && (t(u) !== "modal" || Object.keys(t(S) ?? {}).length) ? i((m(), b(F, {
111
111
  key: 0,
112
- class: "request-section-content-auth border-b-0",
113
112
  id: r.value.Auth,
113
+ class: "request-section-content-auth border-b-0",
114
114
  collection: e.collection,
115
115
  envVariables: e.envVariables,
116
116
  environment: e.environment,
@@ -128,8 +128,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
128
128
  ]
129
129
  ]) : w("", !0),
130
130
  i(n(j, {
131
- class: "request-section-content-path-params",
132
131
  id: r.value.Variables,
132
+ class: "request-section-content-path-params",
133
133
  envVariables: e.envVariables,
134
134
  environment: e.environment,
135
135
  example: e.example,
@@ -146,12 +146,13 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
146
146
  ]
147
147
  ]),
148
148
  i(n(y, {
149
- class: "request-section-content-cookies",
150
149
  id: r.value.Cookies,
150
+ class: "request-section-content-cookies",
151
151
  envVariables: e.envVariables,
152
152
  environment: e.environment,
153
153
  example: e.example,
154
154
  invalidParams: e.invalidParams,
155
+ label: "Cookie",
155
156
  operation: e.operation,
156
157
  paramKey: "cookies",
157
158
  readOnlyEntries: B.value,
@@ -163,12 +164,13 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
163
164
  [s, a.value === "All" || a.value === "Cookies"]
164
165
  ]),
165
166
  i(n(y, {
166
- class: "request-section-content-headers",
167
167
  id: r.value.Headers,
168
+ class: "request-section-content-headers",
168
169
  envVariables: e.envVariables,
169
170
  environment: e.environment,
170
171
  example: e.example,
171
172
  invalidParams: e.invalidParams,
173
+ label: "Header",
172
174
  operation: e.operation,
173
175
  paramKey: "headers",
174
176
  role: a.value === "All" ? "none" : "tabpanel",
@@ -178,12 +180,13 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
178
180
  [s, a.value === "All" || a.value === "Headers"]
179
181
  ]),
180
182
  i(n(y, {
181
- class: "request-section-content-query",
182
183
  id: r.value.Query,
184
+ class: "request-section-content-query",
183
185
  envVariables: e.envVariables,
184
186
  environment: e.environment,
185
187
  example: e.example,
186
188
  invalidParams: e.invalidParams,
189
+ label: "Parameter",
187
190
  operation: e.operation,
188
191
  paramKey: "query",
189
192
  role: a.value === "All" ? "none" : "tabpanel",
@@ -193,8 +196,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
193
196
  [s, a.value === "All" || a.value === "Query"]
194
197
  ]),
195
198
  i(n(L, {
196
- class: "request-section-content-body",
197
199
  id: r.value.Body,
200
+ class: "request-section-content-body",
198
201
  envVariables: e.envVariables,
199
202
  environment: e.environment,
200
203
  example: e.example,
@@ -16,6 +16,7 @@ type __VLS_Props = {
16
16
  envVariables: EnvVariable[];
17
17
  workspace: Workspace;
18
18
  invalidParams?: Set<string>;
19
+ label?: string;
19
20
  };
20
21
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
21
22
  updateRow: (idx: number, field: "value" | "key", value: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQ9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,CAAC,uBAAuB,GAAG;QAAE,KAAK,CAAC,EAAE,gBAAgB,CAAA;KAAE,CAAC,EAAE,CAAA;IAClE,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC5B,CAAC;;;;;;;;;;;;;;;;;;;;yBARsB,OAAO;sBACV,OAAO;cACf,OAAO;gBACL,OAAO;;AAghBxB,wBASG"}
1
+ {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAqPA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQ9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,CAAC,uBAAuB,GAAG;QAAE,KAAK,CAAC,EAAE,gBAAgB,CAAA;KAAE,CAAC,EAAE,CAAA;IAClE,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;;;;;;;;;;;;;;;;;;;yBATsB,OAAO;sBACV,OAAO;cACf,OAAO;gBACL,OAAO;;AA6gBxB,wBASG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestTable.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5c4132b8"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5b22d4e0"]]);
5
5
  export {
6
6
  m as default
7
7
  };