@scalar/api-client 2.4.4 → 2.5.0

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 (130) hide show
  1. package/CHANGELOG.md +34 -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 +94 -96
  5. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  6. package/dist/components/AddressBar/AddressBarHistory.vue2.js +3 -3
  7. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue2.js +6 -6
  9. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
  11. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +22 -22
  12. package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
  13. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  14. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  15. package/dist/components/DataTable/DataTableInput.vue2.js +15 -15
  16. package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
  17. package/dist/components/DataTable/DataTableText.vue.js +1 -1
  18. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +1 -1
  19. package/dist/components/Form/Form.vue.js +1 -1
  20. package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
  21. package/dist/components/HttpMethod/HttpMethod.vue2.js +1 -1
  22. package/dist/components/ImportCollection/DropEventListener.vue.js +1 -1
  23. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  24. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +5 -5
  25. package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
  26. package/dist/components/ScalarHotkey.vue.js +7 -7
  27. package/dist/components/SectionFilter.vue.js +2 -2
  28. package/dist/components/SectionFilter.vue2.js +1 -1
  29. package/dist/components/SectionFilterButton.vue.js +1 -1
  30. package/dist/components/Server/ServerDropdown.vue.js +3 -3
  31. package/dist/components/Server/ServerSelector.vue.js +13 -13
  32. package/dist/components/Server/ServerVariablesForm.vue.js +1 -1
  33. package/dist/components/SideNav/SideNav.vue.js +1 -1
  34. package/dist/components/SideNav/SideNavLink.vue.js +2 -2
  35. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -1
  36. package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +1 -1
  37. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  38. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +1 -1
  39. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  40. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  41. package/dist/components/Sidebar/Sidebar.vue2.js +3 -3
  42. package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
  43. package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
  44. package/dist/components/Sidebar/SidebarListElement.vue2.js +1 -1
  45. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
  46. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -2
  47. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
  48. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
  49. package/dist/index.d.ts +1 -0
  50. package/dist/index.d.ts.map +1 -1
  51. package/dist/index.js +16 -15
  52. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  53. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  54. package/dist/layouts/App/MainLayout.vue.js +4 -4
  55. package/dist/layouts/App/create-api-client-app.d.ts +16 -16
  56. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  57. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  58. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -2
  59. package/dist/layouts/Modal/ApiClientModal.vue2.js +3 -3
  60. package/dist/layouts/Modal/create-api-client-modal.d.ts +32 -32
  61. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  62. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  63. package/dist/layouts/Web/create-api-client-web.d.ts +16 -16
  64. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  65. package/dist/libs/create-client.d.ts +16 -16
  66. package/dist/libs/create-client.d.ts.map +1 -1
  67. package/dist/libs/create-client.js +13 -13
  68. package/dist/store/active-entities.d.ts.map +1 -1
  69. package/dist/store/collections.d.ts.map +1 -1
  70. package/dist/store/import-spec.d.ts +5 -3
  71. package/dist/store/import-spec.d.ts.map +1 -1
  72. package/dist/store/store.d.ts +16 -16
  73. package/dist/store/store.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/views/Collection/CollectionEnvironment.vue2.js +1 -1
  76. package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -1
  77. package/dist/views/Collection/CollectionInfoForm.vue.js +2 -2
  78. package/dist/views/Collection/CollectionInfoForm.vue2.js +2 -2
  79. package/dist/views/Collection/CollectionNavigation.vue.js +2 -2
  80. package/dist/views/Collection/CollectionServers.vue2.js +2 -2
  81. package/dist/views/Collection/CollectionSettings.vue.js +1 -1
  82. package/dist/views/Collection/CollectionSettings.vue2.js +4 -4
  83. package/dist/views/Collection/components/MarkdownInput.vue.js +2 -2
  84. package/dist/views/Collection/components/MarkdownInput.vue2.js +7 -7
  85. package/dist/views/Environment/Environment.vue2.js +3 -3
  86. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +3 -3
  87. package/dist/views/Request/Request.vue.js +1 -1
  88. package/dist/views/Request/Request.vue2.js +1 -1
  89. package/dist/views/Request/RequestRoot.vue.js +2 -2
  90. package/dist/views/Request/RequestRoot.vue2.js +2 -2
  91. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
  92. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +2 -2
  93. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  94. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
  95. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +2 -2
  96. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +3 -3
  97. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  98. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +2 -2
  99. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  100. package/dist/views/Request/RequestSection/RequestBody.vue2.js +5 -5
  101. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
  102. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +1 -1
  103. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  104. package/dist/views/Request/RequestSection/RequestParams.vue.js +15 -17
  105. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  106. package/dist/views/Request/RequestSection/RequestSection.vue2.js +2 -2
  107. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  108. package/dist/views/Request/RequestSection/RequestTable.vue2.js +2 -2
  109. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
  110. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +2 -2
  111. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  112. package/dist/views/Request/RequestSidebar.vue2.js +4 -4
  113. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  114. package/dist/views/Request/RequestSidebarItem.vue2.js +8 -8
  115. package/dist/views/Request/RequestSubpageHeader.vue.js +2 -2
  116. package/dist/views/Request/RequestSubpageHeader.vue2.js +2 -2
  117. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
  118. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +1 -1
  119. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
  120. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +2 -2
  121. package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +1 -1
  122. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  123. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  124. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +15 -15
  125. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
  126. package/dist/views/Settings/SettingsGeneral.vue.js +2 -2
  127. package/dist/views/Settings/components/SettingsAppearance.vue.js +1 -1
  128. package/package.json +15 -17
  129. package/dist/tailwind/desktop-variants.d.ts +0 -18
  130. package/dist/tailwind/desktop-variants.d.ts.map +0 -1
@@ -145,7 +145,7 @@ const ie = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, ce = { c
145
145
  }, Q(o.name), 9, me)
146
146
  ]),
147
147
  c(t(w), {
148
- class: "hover:bg-b-3 hover:text-c-1 p-1.25 h-fit",
148
+ class: "hover:bg-b-3 hover:text-c-1 h-fit p-1.25",
149
149
  variant: "ghost",
150
150
  onClick: (a) => j(o.name)
151
151
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionInfoForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionInfoForm.vue"],"names":[],"mappings":";AAwRA,wBAMG"}
1
+ {"version":3,"file":"CollectionInfoForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionInfoForm.vue"],"names":[],"mappings":";AA0RA,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CollectionInfoForm.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-46f80d5f"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-faabb883"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -5,7 +5,7 @@ import g from "../../components/Form/LabelInput.vue.js";
5
5
  import k from "../../components/IconSelector.vue.js";
6
6
  import { useActiveEntities as B } from "../../store/active-entities.js";
7
7
  import { useWorkspace as E } from "../../store/store.js";
8
- const N = ["aria-label"], U = { class: "ml-1.25 group relative" }, S = /* @__PURE__ */ b({
8
+ const N = ["aria-label"], U = { class: "group relative ml-1.25" }, S = /* @__PURE__ */ b({
9
9
  __name: "CollectionInfoForm",
10
10
  setup(L) {
11
11
  const { activeCollection: e } = B(), { collectionMutators: l } = E(), n = p(
@@ -29,7 +29,7 @@ const N = ["aria-label"], U = { class: "ml-1.25 group relative" }, S = /* @__PUR
29
29
  });
30
30
  return (t, r) => (h(), v("div", {
31
31
  "aria-label": `Collection: ${u.value.title}`,
32
- class: "mx-auto flex h-fit w-full flex-col gap-2 pb-3 pt-6 md:mx-auto md:max-w-[720px]"
32
+ class: "mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"
33
33
  }, [
34
34
  a(k, {
35
35
  modelValue: n.value,
@@ -7,7 +7,7 @@ import { useActiveEntities as L } from "../../store/active-entities.js";
7
7
  const R = { class: "bg-b-1 sticky -top-[104px] z-10 mx-auto w-full" }, V = {
8
8
  key: 0,
9
9
  class: "flex max-w-40 items-center"
10
- }, A = { class: "text-c-1 mr-[6.25px] hidden overflow-hidden text-ellipsis whitespace-nowrap px-2 font-medium md:block" }, G = /* @__PURE__ */ b({
10
+ }, A = { class: "text-c-1 mr-[6.25px] hidden overflow-hidden px-2 font-medium text-ellipsis whitespace-nowrap md:block" }, G = /* @__PURE__ */ b({
11
11
  __name: "CollectionNavigation",
12
12
  props: {
13
13
  isSticky: { type: Boolean }
@@ -115,7 +115,7 @@ const R = { class: "bg-b-1 sticky -top-[104px] z-10 mx-auto w-full" }, V = {
115
115
  }, [
116
116
  (r(!0), m(g, null, C(h.value, ({ to: c, displayName: y }, w) => (r(), N(o(z), {
117
117
  key: w,
118
- class: "-ml-2 flex h-10 cursor-pointer items-center whitespace-nowrap px-2 text-center text-sm font-medium no-underline -outline-offset-1 has-[:focus-visible]:outline",
118
+ class: "-ml-2 flex h-10 cursor-pointer items-center px-2 text-center text-sm font-medium whitespace-nowrap no-underline -outline-offset-1 has-[:focus-visible]:outline",
119
119
  to: c
120
120
  }, {
121
121
  default: S(() => {
@@ -5,7 +5,7 @@ import V from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js"
5
5
  import { useActiveEntities as E } from "../../store/active-entities.js";
6
6
  import L from "./CollectionServerForm.vue.js";
7
7
  import { useWorkspace as P } from "../../store/store.js";
8
- const T = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, F = { class: "flex flex-col gap-4" }, O = { class: "rounded-lg border" }, R = { class: "bg-b-2 flex items-start justify-between rounded-t-lg py-1 pl-3 pr-1 text-sm" }, W = {
8
+ const T = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, F = { class: "flex flex-col gap-4" }, O = { class: "rounded-lg border" }, R = { class: "bg-b-2 flex items-start justify-between rounded-t-lg py-1 pr-1 pl-3 text-sm" }, W = {
9
9
  key: 1,
10
10
  class: "self-center"
11
11
  }, Y = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, te = /* @__PURE__ */ y({
@@ -43,7 +43,7 @@ const T = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, F = { cla
43
43
  class: "self-center"
44
44
  }, null, 8, ["value"])) : (o(), u("span", W, "Server " + I(k + 1), 1)),
45
45
  n(e(p), {
46
- class: "hover:bg-b-3 hover:text-c-1 p-1.25 h-fit",
46
+ class: "hover:bg-b-3 hover:text-c-1 h-fit p-1.25",
47
47
  variant: "ghost",
48
48
  onClick: (G) => b(r.uid)
49
49
  }, {
@@ -1,7 +1,7 @@
1
1
  import o from "./CollectionSettings.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e94b489c"]]);
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5170f3be"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -5,7 +5,7 @@ import B from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js"
5
5
  import { useActiveEntities as E } from "../../store/active-entities.js";
6
6
  import { PathId as k } from "../../routes.js";
7
7
  import { useWorkspace as I } from "../../store/store.js";
8
- const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { class: "flex flex-col gap-2" }, O = { class: "bg-b-2 rounded-lg border text-sm" }, P = { class: "bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3" }, R = { class: "text-c-1 flex items-center overflow-x-auto whitespace-nowrap border-t py-1.5" }, j = { class: "flex items-center" }, z = ["href"], F = { class: "flex flex-col gap-4" }, Z = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" }, te = /* @__PURE__ */ D({
8
+ const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { class: "flex flex-col gap-2" }, O = { class: "bg-b-2 rounded-lg border text-sm" }, P = { class: "bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3" }, R = { class: "text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap" }, j = { class: "flex items-center" }, z = ["href"], F = { class: "flex flex-col gap-4" }, Z = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" }, te = /* @__PURE__ */ D({
9
9
  __name: "CollectionSettings",
10
10
  setup(q) {
11
11
  const { activeCollection: o, activeWorkspace: a, activeWorkspaceCollections: C } = E(), { collectionMutators: m } = I(), { replace: y } = A(), i = S();
@@ -54,7 +54,7 @@ const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { cla
54
54
  t("div", R, [
55
55
  t("div", j, [
56
56
  (v = l(o)) != null && v.documentUrl ? (c(), d(u, { key: 0 }, [
57
- e[3] || (e[3] = t("span", { class: "bg-b-2 sticky left-0 pl-3 pr-2" }, "Source", -1)),
57
+ e[3] || (e[3] = t("span", { class: "bg-b-2 sticky left-0 pr-2 pl-3" }, "Source", -1)),
58
58
  t("a", {
59
59
  class: "text-c-2 group rounded pr-3 no-underline hover:underline",
60
60
  href: l(o).documentUrl,
@@ -68,7 +68,7 @@ const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { cla
68
68
  ], 8, z)
69
69
  ], 64)) : (c(), d(u, { key: 1 }, [
70
70
  s(l(_), {
71
- class: "text-c-2 ml-3 mr-2 w-4",
71
+ class: "text-c-2 mr-2 ml-3 w-4",
72
72
  icon: "NotAllowed",
73
73
  size: "sm"
74
74
  }),
@@ -86,7 +86,7 @@ const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { cla
86
86
  t("p", { class: "text-c-2 mt-1" }, " Be careful, my friend. Once deleted, there is no way to recover the collection. ")
87
87
  ], -1)),
88
88
  s(l(T), {
89
- class: "custom-scroll h-8 gap-1.5 whitespace-nowrap px-2.5 font-medium shadow-none focus:outline-none",
89
+ class: "custom-scroll h-8 gap-1.5 px-2.5 font-medium whitespace-nowrap shadow-none focus:outline-none",
90
90
  variant: "danger",
91
91
  onClick: e[0] || (e[0] = (r) => l(i).show())
92
92
  }, {
@@ -1,7 +1,7 @@
1
1
  import o from "./MarkdownInput.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-27b2f04b"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1d968b50"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as g, ref as p, watch as w, nextTick as x, createElementBlock as i, openBlock as o, createElementVNode as n, createBlock as u, createCommentVNode as a, unref as s, withCtx as v, createVNode as d, Fragment as f } from "vue";
1
+ import { defineComponent as V, ref as p, watch as w, nextTick as x, createElementBlock as i, openBlock as o, createElementVNode as n, createBlock as u, createCommentVNode as a, unref as s, withCtx as v, createVNode as d, Fragment as f } from "vue";
2
2
  import { ScalarButton as c, ScalarIcon as b, ScalarMarkdown as h } from "@scalar/components";
3
3
  import y from "../../../components/CodeInput/CodeInput.vue.js";
4
- const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "flex min-h-8 items-center justify-between gap-2 pl-1.5" }, I = { class: "has-[:focus-visible]:bg-b-1 z-1 group relative flex flex-col rounded-lg" }, B = { class: "flex h-full min-h-[calc(1rem*4)] flex-col" }, $ = {
4
+ const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "flex min-h-8 items-center justify-between gap-2 pl-1.5" }, I = { class: "has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg" }, B = { class: "flex h-full min-h-[calc(1rem*4)] flex-col" }, $ = {
5
5
  key: 1,
6
6
  class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4"
7
- }, D = /* @__PURE__ */ g({
7
+ }, D = /* @__PURE__ */ V({
8
8
  __name: "MarkdownInput",
9
9
  props: {
10
10
  modelValue: {},
@@ -14,7 +14,7 @@ const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "fle
14
14
  },
15
15
  emits: ["update:modelValue"],
16
16
  setup(E, { emit: k }) {
17
- const V = k, t = p("preview"), m = p(null);
17
+ const g = k, t = p("preview"), m = p(null);
18
18
  return w(t, (l) => {
19
19
  l === "edit" && x(() => {
20
20
  var e;
@@ -48,12 +48,12 @@ const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "fle
48
48
  l.modelValue && l.modelValue.trim().length ? (o(), i(f, { key: 0 }, [
49
49
  l.modelValue ? (o(), u(s(h), {
50
50
  key: 0,
51
- class: "hover:border-b-3 h-full flex-1 rounded border border-transparent p-1.5",
51
+ class: "h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)",
52
52
  value: l.modelValue,
53
53
  withImages: "",
54
54
  onDblclick: e[1] || (e[1] = (r) => t.value = "edit")
55
55
  }, null, 8, ["value"])) : a("", !0),
56
- e[7] || (e[7] = n("div", { class: "brightness-lifted -z-1 bg-b-1 absolute inset-0 hidden rounded group-hover:block group-has-[:focus-visible]:hidden" }, null, -1))
56
+ e[7] || (e[7] = n("div", { class: "brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden" }, null, -1))
57
57
  ], 64)) : (o(), i("div", $, [
58
58
  d(s(c), {
59
59
  class: "hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",
@@ -83,7 +83,7 @@ const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "fle
83
83
  modelValue: l.modelValue,
84
84
  workspace: l.workspace,
85
85
  onBlur: e[3] || (e[3] = (r) => t.value = "preview"),
86
- "onUpdate:modelValue": e[4] || (e[4] = (r) => V("update:modelValue", r))
86
+ "onUpdate:modelValue": e[4] || (e[4] = (r) => g("update:modelValue", r))
87
87
  }, null, 8, ["envVariables", "environment", "modelValue", "workspace"])) : a("", !0)
88
88
  ])
89
89
  ])
@@ -261,7 +261,7 @@ const Be = { class: "flex-1" }, Le = ["onClick"], Ke = { class: "flex h-5 max-w-
261
261
  class: "gap-1/2 flex flex-col"
262
262
  }, [
263
263
  b("button", {
264
- class: "hover:bg-b-2 group flex w-full items-center gap-1.5 break-words rounded p-1.5 text-left text-sm font-medium",
264
+ class: "hover:bg-b-2 group flex w-full items-center gap-1.5 rounded p-1.5 text-left text-sm font-medium break-words",
265
265
  type: "button",
266
266
  onClick: (a) => l(w)(n.uid)
267
267
  }, [
@@ -286,7 +286,7 @@ const Be = { class: "flex-1" }, Le = ["onClick"], Ke = { class: "flex h-5 max-w-
286
286
  ], 8, Le),
287
287
  xe(b("div", {
288
288
  class: G({
289
- "before:bg-border before:z-1 relative mb-[.5px] before:pointer-events-none before:absolute before:left-3 before:top-0 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full": Object.keys(n["x-scalar-environments"] || {}).length > 0
289
+ "before:bg-border relative mb-[.5px] before:pointer-events-none before:absolute before:top-0 before:left-3 before:z-1 before:h-[calc(100%_+_.5px)] before:w-[.5px] last:mb-0 last:before:h-full": Object.keys(n["x-scalar-environments"] || {}).length > 0
290
290
  })
291
291
  }, [
292
292
  (f(!0), O(L, null, K(n["x-scalar-environments"], (a, r) => (f(), _(P, {
@@ -363,7 +363,7 @@ const Be = { class: "flex-1" }, Le = ["onClick"], Ke = { class: "flex h-5 max-w-
363
363
  default: c(() => [
364
364
  s.value && l(p) ? (f(), _(Ie, {
365
365
  key: 0,
366
- class: "py-2 pl-px pr-2 md:px-4",
366
+ class: "py-2 pr-2 pl-px md:px-4",
367
367
  envVariables: l(q),
368
368
  environment: l(F),
369
369
  isCopyable: "",
@@ -8,7 +8,7 @@ import { parseEnvVariables as _ } from "../../libs/environment-parser.js";
8
8
  const M = {
9
9
  key: 0,
10
10
  class: "gap-1/2 flex flex-col"
11
- }, Q = ["onClick"], $ = { class: "flex items-center gap-2 whitespace-nowrap" }, H = { class: "w-20 overflow-hidden text-ellipsis whitespace-nowrap text-right" }, ne = /* @__PURE__ */ R({
11
+ }, Q = ["onClick"], $ = { class: "flex items-center gap-2 whitespace-nowrap" }, H = { class: "w-20 overflow-hidden text-right text-ellipsis whitespace-nowrap" }, ne = /* @__PURE__ */ R({
12
12
  __name: "EnvironmentVariableDropdown",
13
13
  props: {
14
14
  query: {},
@@ -75,7 +75,7 @@ const M = {
75
75
  c("div", {
76
76
  ref_key: "dropdownRef",
77
77
  ref: p,
78
- class: "p-0.75 custom-scroll fixed left-0 top-0 flex max-h-[60svh] w-56 flex-col rounded border",
78
+ class: "custom-scroll fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",
79
79
  style: b(N.value)
80
80
  }, [
81
81
  i.value.length ? (r(), u("ul", M, [
@@ -115,7 +115,7 @@ const M = {
115
115
  ]),
116
116
  _: 1
117
117
  })) : y("", !0),
118
- o[1] || (o[1] = c("div", { class: "-z-1 bg-b-1 brightness-lifted absolute inset-0 rounded shadow-lg" }, null, -1))
118
+ o[1] || (o[1] = c("div", { class: "bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg" }, null, -1))
119
119
  ], 4)
120
120
  ]),
121
121
  _: 1
@@ -1,7 +1,7 @@
1
1
  import o from "./Request.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-351e187b"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cbe958dd"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -50,7 +50,7 @@ const O = { class: "flex h-full" }, T = {
50
50
  return (o, t) => e(r) && e(i) ? (s(), f("div", {
51
51
  key: 0,
52
52
  class: k(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0", {
53
- "!mb-0 !mr-0 !border-0": e(h) === "modal"
53
+ "!mr-0 !mb-0 !border-0": e(h) === "modal"
54
54
  }])
55
55
  }, [
56
56
  P("div", O, [
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestRoot.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-fdd31891"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8a88f90a"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -86,14 +86,14 @@ const ye = { class: "flex h-full" }, qe = { class: "flex h-full flex-1 flex-col"
86
86
  ref_key: "element",
87
87
  ref: j,
88
88
  class: V(["bg-b-1 relative z-0 flex h-full flex-1 flex-col overflow-hidden pt-0", {
89
- "!mb-0 !mr-0 !border-0": r(v) === "modal"
89
+ "!mr-0 !mb-0 !border-0": r(v) === "modal"
90
90
  }])
91
91
  }, [
92
92
  r(y) ? (d(), B(le, {
93
93
  key: 0,
94
94
  modelValue: r(s),
95
95
  "onUpdate:modelValue": t[0] || (t[0] = (o) => ee(s) ? s.value = o : null),
96
- class: V(["absolute left-3 top-2 z-50", [
96
+ class: V(["absolute top-2 left-3 z-50", [
97
97
  { hidden: r(s) },
98
98
  { "xl:!flex": !r(s) },
99
99
  { "!flex": r(v) === "modal" }
@@ -8,7 +8,7 @@ import R from "./OAuthScopesInput.vue.js";
8
8
  import p from "./RequestAuthDataTableInput.vue.js";
9
9
  import f from "../../../../components/DataTable/DataTableRow.vue.js";
10
10
  import { authorizeOauth2 as F } from "../../libs/oauth2.js";
11
- const I = { class: "border-t-1/2 flex h-8 items-center justify-end gap-2" }, N = { class: "border-t-1/2 flex h-8 w-full items-center justify-end" }, Y = /* @__PURE__ */ z({
11
+ const I = { class: "flex h-8 items-center justify-end gap-2 border-t" }, N = { class: "flex h-8 w-full items-center justify-end border-t" }, Y = /* @__PURE__ */ z({
12
12
  __name: "OAuth2",
13
13
  props: {
14
14
  collection: {},
@@ -4,7 +4,7 @@ import { ScalarButton as I, ScalarIcon as R } from "@scalar/components";
4
4
  import D from "../../../../components/DataTable/DataTableCell.vue.js";
5
5
  import L from "../../../../components/DataTable/DataTableRow.vue.js";
6
6
  import M from "../../../../components/DataTable/DataTableCheckbox.vue.js";
7
- const P = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, q = { class: "gap-1.75 flex items-center" }, G = {
7
+ const P = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, q = { class: "flex items-center gap-1.75" }, G = {
8
8
  class: "grid auto-rows-auto",
9
9
  style: { gridTemplateColumns: "1fr auto" }
10
10
  }, H = { key: 0 }, J = { class: "font-code text-xs" }, ee = /* @__PURE__ */ j({
@@ -56,7 +56,7 @@ const P = { class: "flex h-fit w-full" }, U = { class: "flex-1" }, q = { class:
56
56
  return [
57
57
  i(o(E), {
58
58
  class: N([
59
- "group/scopes-accordion hover:text-c-1 pr-2.25 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pl-3 text-left",
59
+ "group/scopes-accordion hover:text-c-1 flex h-auto min-h-8 cursor-pointer items-center gap-1.5 pr-2.25 pl-3 text-left",
60
60
  (((w = (n = e.flow) == null ? void 0 : n.selectedScopes) == null ? void 0 : w.length) || 0) > 0 ? "text-c-1" : "text-c-3"
61
61
  ])
62
62
  }, {
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuth.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-78825580"]]);
4
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-583b887d"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -142,7 +142,7 @@ const ne = ["id"], se = { class: "-mx-1 flex flex-1" }, re = { class: "text-c-1"
142
142
  ref_key: "comboboxButtonRef",
143
143
  ref: R,
144
144
  "aria-describedby": i(q),
145
- class: "hover:bg-b-3 text-c-1 hover:text-c-1 py-0.25 h-fit px-1.5 font-normal",
145
+ class: "hover:bg-b-3 text-c-1 hover:text-c-1 h-fit px-1.5 py-0.25 font-normal",
146
146
  fullWidth: "",
147
147
  variant: "ghost"
148
148
  }, {
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuthDataTable.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ a(t, [["__scopeId", "data-v-3f02bac6"]]);
3
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f5c66331"]]);
5
5
  export {
6
6
  f as default
7
7
  };
@@ -3,9 +3,9 @@ import { useModal as V } from "@scalar/components";
3
3
  import O from "./DeleteRequestAuthModal.vue.js";
4
4
  import z from "./RequestAuthTab.vue.js";
5
5
  import B from "../../../../components/DataTable/DataTable.vue.js";
6
- const M = ["onClick"], N = { class: "relative z-10 whitespace-nowrap font-medium" }, $ = {
6
+ const M = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap" }, $ = {
7
7
  key: 0,
8
- class: "z-1 absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 h-px w-full -translate-x-1/2 bg-current"
8
+ class: "absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"
9
9
  }, j = /* @__PURE__ */ b({
10
10
  __name: "RequestAuthDataTable",
11
11
  props: {
@@ -43,7 +43,7 @@ const M = ["onClick"], N = { class: "relative z-10 whitespace-nowrap font-medium
43
43
  }, [
44
44
  (o(!0), l(S, null, x(e.selectedSchemeOptions, (n, a) => (o(), l("div", {
45
45
  key: n.id,
46
- class: s(["z-1 relative -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer", [t.value === a ? "text-c-1" : "text-c-3"]])
46
+ class: s(["relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer", [t.value === a ? "text-c-1" : "text-c-3"]])
47
47
  }, [
48
48
  v("button", {
49
49
  class: "floating-bg relative cursor-pointer border-b-[1px] border-transparent py-1 text-sm font-medium",
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuthTab.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-abdabad2"]]);
3
+ import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-0b76c94b"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -100,7 +100,7 @@ const Q = {
100
100
  }, {
101
101
  default: n(() => [
102
102
  u(d(q), {
103
- class: "auth-description z-1 bg-b-1 text-c-2 outline-b-3 top-0 line-clamp-1 h-full w-full px-3 py-1.5 group-hover/auth:line-clamp-none",
103
+ class: "auth-description bg-b-1 text-c-2 outline-b-3 top-0 z-1 line-clamp-1 h-full w-full px-3 py-1.5 group-hover/auth:line-clamp-none",
104
104
  value: e.description
105
105
  }, null, 8, ["value"])
106
106
  ]),
@@ -231,7 +231,7 @@ const Q = {
231
231
  ], 64))), 128))
232
232
  ], 64)) : (e == null ? void 0 : e.type) === "openIdConnect" ? (l(), i("div", {
233
233
  key: 5,
234
- class: g(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-b-0 border-t px-4 text-sm", { "rounded-b-lg": t.layout === "reference" }])
234
+ class: g(["text-c-3 bg-b-1 flex min-h-[calc(4rem+1px)] items-center justify-center border-t border-b-0 px-4 text-sm", { "rounded-b-lg": t.layout === "reference" }])
235
235
  }, " Coming soon ", 2)) : v("", !0)
236
236
  ], 64))), 128));
237
237
  }
@@ -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-20d48d32"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4d8238b9"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -12,11 +12,11 @@ import { useWorkspace as ue } from "../../../store/store.js";
12
12
  import { useFileDialog as K } from "../../../hooks/useFileDialog.js";
13
13
  const me = {
14
14
  key: 0,
15
- class: "border-t-1/2 text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm"
15
+ class: "text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"
16
16
  }, ce = {
17
17
  key: 1,
18
18
  class: "flex items-center justify-center overflow-hidden border-t p-1.5"
19
- }, fe = { class: "text-c-2 w-full max-w-full overflow-hidden whitespace-nowrap rounded border px-1.5 py-1 text-xs" }, Ue = /* @__PURE__ */ ee({
19
+ }, fe = { class: "text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap" }, Ue = /* @__PURE__ */ ee({
20
20
  __name: "RequestBody",
21
21
  props: {
22
22
  example: {},
@@ -385,7 +385,7 @@ const me = {
385
385
  key: 2,
386
386
  ref_key: "tableWrapperRef",
387
387
  ref: B,
388
- class: "!m-0 rounded-t-none border-b-0 border-l-0 border-r-0 border-t-0 shadow-none",
388
+ class: "!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none",
389
389
  columns: ["32px", "", "", "104px"],
390
390
  envVariables: e.envVariables,
391
391
  environment: e.environment,
@@ -401,7 +401,7 @@ const me = {
401
401
  key: 3,
402
402
  ref_key: "tableWrapperRef",
403
403
  ref: B,
404
- class: "!m-0 rounded-t-none border-b-0 border-l-0 border-r-0 border-t-0 shadow-none",
404
+ class: "!m-0 rounded-t-none border-t-0 border-r-0 border-b-0 border-l-0 shadow-none",
405
405
  columns: ["32px", "", "", "104px"],
406
406
  envVariables: e.envVariables,
407
407
  environment: e.environment,
@@ -415,7 +415,7 @@ const me = {
415
415
  onUploadFile: W
416
416
  }, null, 8, ["envVariables", "environment", "items", "workspace"])) : (b(), g(ie, {
417
417
  key: 4,
418
- class: "border-t-1/2 px-1",
418
+ class: "border-t px-1",
419
419
  content: "",
420
420
  envVariables: e.envVariables,
421
421
  environment: e.environment,
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestCodeExample.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-01b51127"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92438804"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -115,7 +115,7 @@ const F = { class: "w-full" }, G = { class: "-mx-1 flex flex-1" }, J = { class:
115
115
  }, {
116
116
  default: c(() => [
117
117
  i(r(z), {
118
- class: "text-c-1 hover:bg-b-3 py-0.75 flex h-full w-fit gap-1.5 px-1.5 font-normal",
118
+ class: "text-c-1 hover:bg-b-3 flex h-full w-fit gap-1.5 px-1.5 py-0.75 font-normal",
119
119
  fullWidth: "",
120
120
  variant: "ghost"
121
121
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AAmPA,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;;AAwVF,wBAOG"}
1
+ {"version":3,"file":"RequestParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestParams.vue"],"names":[],"mappings":"AAiPA,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;;AAkVF,wBAOG"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as S, computed as m, onMounted as N, nextTick as p, ref as x, watch as A, createBlock as d, openBlock as v, withCtx as i, createElementVNode as f, createCommentVNode as h, createVNode as k, normalizeClass as B, unref as P, withModifiers as M, createTextVNode as R, toDisplayString as w } from "vue";
2
- import { ScalarTooltip as W, ScalarButton as z } from "@scalar/components";
1
+ import { defineComponent as S, computed as m, onMounted as N, nextTick as p, ref as A, watch as B, createBlock as d, openBlock as v, withCtx as i, createElementVNode as f, createCommentVNode as k, createVNode as g, normalizeClass as M, unref as P, withModifiers as W, createTextVNode as R, toDisplayString as w } from "vue";
2
+ import { ScalarTooltip as z, ScalarButton as D } from "@scalar/components";
3
3
  import { requestExampleParametersSchema as V } from "@scalar/oas-utils/entities/spec";
4
- import D from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
4
+ import x from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
5
5
  import C from "./RequestTable.vue.js";
6
6
  import { useWorkspace as G } from "../../../store/store.js";
7
7
  const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100" }, j = { class: "sr-only" }, I = /* @__PURE__ */ S({
@@ -27,7 +27,7 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
27
27
  const o = () => {
28
28
  const e = V.parse({ enabled: !1 }), a = [...n.value, e];
29
29
  s.edit(t.example.uid, `parameters.${t.paramKey}`, a);
30
- }, u = x(null), K = (e, a, r) => {
30
+ }, u = A(null), K = (e, a, r) => {
31
31
  const c = n.value;
32
32
  if (c.length > e) {
33
33
  const l = [...c];
@@ -41,10 +41,10 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
41
41
  } else {
42
42
  const l = [V.parse({ [a]: r })];
43
43
  s.edit(t.example.uid, `parameters.${t.paramKey}`, l), p(() => {
44
- var g;
44
+ var h;
45
45
  if (!u.value)
46
46
  return;
47
- (g = u.value.querySelectorAll("input")[a === "key" ? 0 : 1]) == null || g.focus();
47
+ (h = u.value.querySelectorAll("input")[a === "key" ? 0 : 1]) == null || h.focus();
48
48
  });
49
49
  }
50
50
  e === c.length - 1 && o();
@@ -81,7 +81,7 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
81
81
  const T = m(
82
82
  () => n.value.filter((e) => e.key || e.value).length
83
83
  ), O = m(() => n.value.length > 1);
84
- A(
84
+ B(
85
85
  () => t.example,
86
86
  (e, a) => {
87
87
  e !== a && y();
@@ -89,7 +89,7 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
89
89
  { immediate: !0 }
90
90
  );
91
91
  const b = m(() => (t.readOnlyEntries ?? []).length > 0);
92
- return (e, a) => (v(), d(D, {
92
+ return (e, a) => (v(), d(x, {
93
93
  class: "group/params",
94
94
  itemCount: T.value
95
95
  }, {
@@ -98,17 +98,17 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
98
98
  ]),
99
99
  actions: i(() => [
100
100
  f("div", U, [
101
- O.value ? (v(), d(P(W), {
101
+ O.value ? (v(), d(P(z), {
102
102
  key: 0,
103
103
  content: "Clear optional parameters",
104
104
  placement: "left"
105
105
  }, {
106
106
  default: i(() => [
107
- k(P(z), {
107
+ g(P(D), {
108
108
  class: "pr-0.75 pl-1 transition-none",
109
109
  size: "sm",
110
110
  variant: "ghost",
111
- onClick: M(q, ["stop"])
111
+ onClick: W(q, ["stop"])
112
112
  }, {
113
113
  default: i(() => [
114
114
  a[0] || (a[0] = R(" Clear ")),
@@ -118,7 +118,7 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
118
118
  })
119
119
  ]),
120
120
  _: 1
121
- })) : h("", !0)
121
+ })) : k("", !0)
122
122
  ])
123
123
  ]),
124
124
  default: i(() => [
@@ -128,9 +128,7 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
128
128
  }, [
129
129
  b.value ? (v(), d(C, {
130
130
  key: 0,
131
- class: B(["flex-1", {
132
- "bg-mix-transparent bg-mix-amount-95 bg-c-3": b.value
133
- }]),
131
+ class: M(["flex-1", { "bg-c-3/5": b.value }]),
134
132
  columns: ["32px", "", ""],
135
133
  envVariables: e.envVariables,
136
134
  environment: e.environment,
@@ -140,8 +138,8 @@ const U = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
140
138
  items: e.readOnlyEntries,
141
139
  label: e.label,
142
140
  workspace: e.workspace
143
- }, null, 8, ["class", "envVariables", "environment", "invalidParams", "items", "label", "workspace"])) : h("", !0),
144
- k(C, {
141
+ }, null, 8, ["class", "envVariables", "environment", "invalidParams", "items", "label", "workspace"])) : k("", !0),
142
+ g(C, {
145
143
  class: "flex-1",
146
144
  columns: ["32px", "", ""],
147
145
  envVariables: e.envVariables,
@@ -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-53db5ccb"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26a349d9"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -84,13 +84,13 @@ const _ = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
84
84
  y("div", _, [
85
85
  r(d) !== "modal" ? (n(), f("label", {
86
86
  key: 0,
87
- class: "pointer-events-auto absolute left-0 top-0 h-full w-full cursor-text opacity-0",
87
+ class: "pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",
88
88
  for: r(q)
89
89
  }, null, 8, ee)) : h("", !0),
90
90
  r(d) !== "modal" ? (n(), f("input", {
91
91
  key: 1,
92
92
  id: r(q),
93
- class: "text-c-1 group-hover-input pl-1.25 md:-ml-1.25 pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded has-[:focus-visible]:outline",
93
+ class: "text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25",
94
94
  placeholder: H(),
95
95
  value: e.operation.summary,
96
96
  onInput: O