@scalar/api-client 2.0.24 → 2.0.26

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 (168) hide show
  1. package/CHANGELOG.md +39 -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 +79 -83
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +38 -38
  7. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
  9. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  10. package/dist/components/CodeInput/CodeInput.vue.js +2 -1
  11. package/dist/components/CodeInput/CodeInput.vue2.js +43 -38
  12. package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
  13. package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
  14. package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
  15. package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
  16. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
  17. package/dist/components/CodeInput/codeVariableWidget.js +124 -0
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
  19. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
  21. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
  22. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
  24. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
  25. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
  27. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
  28. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  29. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
  30. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
  31. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  32. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
  33. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
  34. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
  35. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
  36. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
  37. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
  38. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
  39. package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
  40. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
  41. package/dist/components/CommandPalette/index.d.ts +2 -0
  42. package/dist/components/CommandPalette/index.d.ts.map +1 -0
  43. package/dist/components/CommandPalette/index.js +4 -0
  44. package/dist/components/ContextBar.vue.js +4 -4
  45. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  46. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  47. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  48. package/dist/components/DataTable/DataTableInput.vue2.js +36 -49
  49. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  50. package/dist/components/SideNav/SideNav.vue.js +26 -23
  51. package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
  52. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  53. package/dist/components/SideNav/SideNavLink.vue.js +5 -5
  54. package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
  55. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  56. package/dist/components/Sidebar/Sidebar.vue.js +14 -12
  57. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  58. package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
  59. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  60. package/dist/components/TopNav/TopNav.vue.js +2 -2
  61. package/dist/components/TopNav/TopNav.vue2.js +31 -28
  62. package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
  63. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  64. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  65. package/dist/components/TopNav/TopNavItem.vue2.js +16 -15
  66. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  67. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
  68. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  69. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
  70. package/dist/constants.d.ts +13 -7
  71. package/dist/constants.d.ts.map +1 -1
  72. package/dist/constants.js +4 -4
  73. package/dist/index.d.ts +3 -4
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +14 -16
  76. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
  77. package/dist/layouts/App/ApiClientApp.vue.js +72 -0
  78. package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
  79. package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
  80. package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
  81. package/dist/layouts/App/index.d.ts.map +1 -0
  82. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
  83. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
  84. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
  85. package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +1 -1
  86. package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
  87. package/dist/{Modal → layouts/Modal}/api-client-modal.js +42 -42
  88. package/dist/layouts/Modal/index.d.ts.map +1 -0
  89. package/dist/libs/eventBusses/command-palette.d.ts +14 -0
  90. package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
  91. package/dist/libs/eventBusses/command-palette.js +5 -0
  92. package/dist/libs/local-storage.d.ts +1 -1
  93. package/dist/libs/local-storage.d.ts.map +1 -1
  94. package/dist/libs/local-storage.js +19 -19
  95. package/dist/router.d.ts +5 -10
  96. package/dist/router.d.ts.map +1 -1
  97. package/dist/router.js +23 -19
  98. package/dist/store/topNav.d.ts +94 -82
  99. package/dist/store/topNav.d.ts.map +1 -1
  100. package/dist/store/topNav.js +21 -20
  101. package/dist/store/workspace.d.ts +348 -94
  102. package/dist/store/workspace.d.ts.map +1 -1
  103. package/dist/store/workspace.js +314 -221
  104. package/dist/style.css +1 -1
  105. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  106. package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
  107. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  108. package/dist/views/Cookies/Cookies.vue2.js +27 -30
  109. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  110. package/dist/views/Environment/Environment.vue2.js +22 -25
  111. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  112. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
  113. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  114. package/dist/views/Request/Request.vue.js +1 -1
  115. package/dist/views/Request/Request.vue2.js +130 -109
  116. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  117. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  118. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  119. package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -4
  120. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  121. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  122. package/dist/views/Request/RequestSection/RequestTable.vue2.js +19 -19
  123. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  124. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
  125. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  126. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  127. package/dist/views/Request/RequestSidebarItem.vue2.js +78 -81
  128. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  129. package/dist/views/Request/RequestSidebarItemMenu.vue.js +60 -42
  130. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  131. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +6 -5
  132. package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
  133. package/dist/views/Request/components/OAuth2.vue.js +2 -0
  134. package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
  135. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
  136. package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
  137. package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
  138. package/dist/views/Request/components/index.d.ts +1 -0
  139. package/dist/views/Request/components/index.d.ts.map +1 -1
  140. package/dist/views/Request/components/index.js +4 -2
  141. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  142. package/dist/views/Servers/Servers.vue2.js +12 -15
  143. package/package.json +22 -18
  144. package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
  145. package/dist/App/ApiClientApp.vue.js +0 -56
  146. package/dist/App/createApiClientApp.d.ts.map +0 -1
  147. package/dist/App/index.d.ts.map +0 -1
  148. package/dist/App.vue.d.ts.map +0 -1
  149. package/dist/App.vue.js +0 -77
  150. package/dist/App.vue3.js +0 -5
  151. package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
  152. package/dist/Modal/api-client-modal.d.ts.map +0 -1
  153. package/dist/Modal/index.d.ts.map +0 -1
  154. package/dist/components/AddressBar/AddressBarServer.vue.js +0 -113
  155. package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
  156. package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
  157. package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
  158. package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
  159. package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -185
  160. package/dist/main.d.ts +0 -2
  161. package/dist/main.d.ts.map +0 -1
  162. /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
  163. /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
  164. /package/dist/{App → layouts/App}/index.d.ts +0 -0
  165. /package/dist/{App → layouts/App}/index.js +0 -0
  166. /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
  167. /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
  168. /package/dist/{Modal → layouts/Modal}/index.js +0 -0
@@ -1,98 +1,114 @@
1
- import { defineComponent as K, ref as G, onMounted as J, onBeforeUnmount as Q, computed as X, openBlock as p, createElementBlock as w, Fragment as M, createElementVNode as d, createVNode as r, unref as e, createCommentVNode as _, withCtx as m, withDirectives as Y, normalizeClass as k, createTextVNode as $, toDisplayString as Z, withModifiers as E, renderList as ee, createBlock as S, vShow as te } from "vue";
2
- import oe from "../../components/AddressBar/AddressBar.vue.js";
3
- import se from "../../components/CommandPalette/CommandPalette.vue.js";
4
- import re from "../../components/Search/SearchButton.vue.js";
5
- import ne from "../../components/Search/SearchModal.vue.js";
6
- import le from "../../components/Sidebar/SidebarButton.vue.js";
7
- import ae from "../../components/ViewLayout/ViewLayout.vue.js";
8
- import ie from "../../components/ViewLayout/ViewLayoutContent.vue.js";
9
- import { useWorkspace as ue } from "../../store/workspace.js";
10
- import ce from "./RequestSection/RequestSection.vue.js";
1
+ import { defineComponent as W, ref as j, onMounted as F, onBeforeUnmount as A, openBlock as f, createElementBlock as w, Fragment as O, createElementVNode as c, normalizeClass as b, createVNode as r, unref as e, createCommentVNode as _, withCtx as m, withDirectives as H, createSlots as P, withModifiers as R, renderList as J, createBlock as k, createTextVNode as K, vShow as Q } from "vue";
2
+ import G from "../../components/AddressBar/AddressBar.vue.js";
3
+ import X from "../../components/Search/SearchButton.vue.js";
4
+ import Y from "../../components/Search/SearchModal.vue.js";
5
+ import Z from "../../components/Sidebar/SidebarButton.vue.js";
6
+ import ee from "../../components/ViewLayout/ViewLayout.vue.js";
7
+ import te from "../../components/ViewLayout/ViewLayoutContent.vue.js";
8
+ import { commandPaletteBus as oe } from "../../libs/eventBusses/command-palette.js";
9
+ import { useWorkspace as re } from "../../store/workspace.js";
10
+ import se from "./RequestSection/RequestSection.vue.js";
11
11
  /* empty css */
12
- import de from "./ResponseSection/ResponseSection.vue.js";
13
- import { useModal as I, ScalarIcon as y } from "@scalar/components";
14
- import { isMacOS as V } from "@scalar/use-tooltip";
15
- import { useMagicKeys as me, useEventListener as pe } from "@vueuse/core";
16
- import fe from "./RequestSidebarItem.vue.js";
17
- import ve from "../../components/Sidebar/Sidebar.vue.js";
12
+ import ae from "./ResponseSection/ResponseSection.vue.js";
13
+ import { useModal as ne, ScalarIcon as y } from "@scalar/components";
14
+ import { REQUEST_METHODS as le } from "@scalar/oas-utils/helpers";
15
+ import { isMacOS as B } from "@scalar/use-tooltip";
16
+ import { useMagicKeys as ie, useEventListener as ue } from "@vueuse/core";
17
+ import ce from "./RequestSidebarItem.vue.js";
18
+ import me from "../../components/Sidebar/Sidebar.vue.js";
18
19
  /* empty css */
19
- import { useSidebar as ge } from "../../hooks/useSidebar.js";
20
- import { sendRequest as xe } from "../../libs/sendRequest.js";
21
- import { executeRequestBus as z } from "../../libs/eventBusses/executeRequestBus.js";
22
- const he = { class: "bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full" }, ye = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, be = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, we = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, Te = /* @__PURE__ */ K({
20
+ import de from "./components/WorkspaceDropdown.vue.js";
21
+ import { useSidebar as pe } from "../../hooks/useSidebar.js";
22
+ import { sendRequest as fe } from "../../libs/sendRequest.js";
23
+ import { executeRequestBus as D } from "../../libs/eventBusses/executeRequestBus.js";
24
+ const ve = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" }, ge = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" }, he = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" }, je = /* @__PURE__ */ W({
23
25
  __name: "Request",
24
- setup(_e) {
25
- var O;
26
+ setup(xe) {
27
+ var C;
26
28
  const {
27
- activeExample: b,
28
- activeRequest: i,
29
- activeServer: x,
30
- activeSecurityScheme: N,
31
- activeWorkspace: u,
32
- collections: j,
33
- modalState: L
34
- } = ue(), { collapsedSidebarFolders: F } = ge(), f = I(), C = I(), a = G(!((O = u.value) != null && O.isReadOnly)), D = async () => {
35
- var n, c, v, g;
36
- if (!i.value || !b.value) {
29
+ activeExample: h,
30
+ activeRequest: n,
31
+ activeSecurityScheme: E,
32
+ activeWorkspaceServers: q,
33
+ activeWorkspace: i,
34
+ environments: M,
35
+ requestMutators: $,
36
+ activeWorkspaceCollections: I,
37
+ modalState: N
38
+ } = re(), { collapsedSidebarFolders: V } = pe(), v = ne(), l = j(!((C = i.value) != null && C.isReadOnly)), S = async () => {
39
+ var g;
40
+ if (!n.value || !h.value) {
37
41
  console.warn(
38
42
  "There is no request active at the moment. Please select one then try again."
39
43
  );
40
44
  return;
41
45
  }
42
- let s = (n = x.value) != null && n.url ? ((c = x.value) == null ? void 0 : c.url) + i.value.path : i.value.path;
43
- if ((v = x.value) != null && v.variables) {
44
- const T = /{\s*([\w.-]+)\s*}/g;
45
- s = s.replace(T, (W, H) => {
46
- var R, B, q;
47
- const l = (B = (R = x.value) == null ? void 0 : R.variables) == null ? void 0 : B[H];
48
- return (l == null ? void 0 : l.value) || (l == null ? void 0 : l.default) || ((q = l == null ? void 0 : l.enum) == null ? void 0 : q[0]) || W;
49
- });
50
- }
51
- const { request: o, response: t } = await xe(
52
- i.value,
53
- b.value,
46
+ let s = h.value.url;
47
+ const o = Object.values(M).reduce(
48
+ (d, p) => {
49
+ try {
50
+ return { ...d, ...JSON.parse(p.raw) };
51
+ } catch {
52
+ return d;
53
+ }
54
+ },
55
+ {}
56
+ ), t = /\{\{(.*?)\}\}/g;
57
+ s = s.replace(t, (d, p) => (q.value.forEach((U) => {
58
+ if (U.url === p)
59
+ return p;
60
+ }), o[p] || p));
61
+ const { request: a, response: u } = await fe(
62
+ n.value,
63
+ h.value,
54
64
  s,
55
- N.value,
56
- (g = u.value) == null ? void 0 : g.proxyUrl
65
+ E.value,
66
+ (g = i.value) == null ? void 0 : g.proxyUrl
57
67
  );
58
- o && t ? i.value.history.push({
59
- request: o,
60
- response: t,
61
- timestamp: Date.now()
62
- }) : console.warn("No response or request was returned");
68
+ a && u ? $.edit(n.value.uid, "history", [
69
+ ...n.value.history,
70
+ {
71
+ request: a,
72
+ response: u,
73
+ timestamp: Date.now()
74
+ }
75
+ ]) : console.warn("No response or request was returned");
76
+ };
77
+ F(() => D.on(S)), A(() => D.off(S));
78
+ const z = (s, o, t, a) => {
79
+ }, L = () => oe.emit(), x = ie();
80
+ ue(document, "keydown", (s) => {
81
+ (B() ? x.meta.value : x.ctrl.value) && s.key === "b" && (l.value = !l.value), (B() ? x.meta.value : x.ctrl.value) && s.key === "k" && (v.open ? v.hide() : v.show());
82
+ });
83
+ const T = () => {
84
+ if (!n.value) return "";
85
+ const { method: s } = n.value;
86
+ return le[s].backgroundColor;
63
87
  };
64
- J(() => z.on(D)), Q(() => z.off(D));
65
- const P = X(() => {
66
- const s = Object.values(j), o = s.findIndex((n) => n.uid === "drafts"), [t] = s.splice(o, 1);
67
- return s.push(t), s;
68
- }), U = (s, o, t, n) => {
69
- }, A = () => {
70
- C.show();
71
- }, h = me();
72
- return pe(document, "keydown", (s) => {
73
- (V() ? h.meta.value : h.ctrl.value) && s.key === "b" && (a.value = !a.value), (V() ? h.meta.value : h.ctrl.value) && s.key === "k" && (f.open ? f.hide() : f.show());
74
- }), (s, o) => (p(), w(M, null, [
75
- d("div", he, [
76
- d("div", ye, [
77
- d("div", be, [
78
- d("button", {
88
+ return (s, o) => (f(), w(O, null, [
89
+ c("div", {
90
+ class: b(["flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color", T()])
91
+ }, [
92
+ c("div", ve, [
93
+ c("div", ge, [
94
+ c("button", {
79
95
  class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
80
96
  type: "button",
81
- onClick: o[0] || (o[0] = (t) => a.value = !a.value)
97
+ onClick: o[0] || (o[0] = (t) => l.value = !l.value)
82
98
  }, [
83
99
  r(e(y), {
84
- icon: a.value ? "SideBarOpen" : "SideBarClosed",
100
+ icon: l.value ? "SideBarOpen" : "SideBarClosed",
85
101
  size: "sm"
86
102
  }, null, 8, ["icon"])
87
103
  ])
88
104
  ]),
89
- r(oe),
90
- d("div", we, [
91
- e(u).isReadOnly ? (p(), w("button", {
105
+ r(G),
106
+ c("div", he, [
107
+ e(i).isReadOnly ? (f(), w("button", {
92
108
  key: 0,
93
109
  class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
94
110
  type: "button",
95
- onClick: o[1] || (o[1] = (t) => e(L).hide())
111
+ onClick: o[1] || (o[1] = (t) => e(N).hide())
96
112
  }, [
97
113
  r(e(y), {
98
114
  icon: "Close",
@@ -102,42 +118,40 @@ const he = { class: "bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none round
102
118
  ])) : _("", !0)
103
119
  ])
104
120
  ]),
105
- r(ae, null, {
121
+ r(ee, null, {
106
122
  default: m(() => [
107
- Y(r(e(ve), {
108
- class: k([a.value ? "sidebar-active-width" : ""])
109
- }, {
110
- title: m(() => [
111
- $(Z(e(u).name), 1)
112
- ]),
123
+ H(r(e(me), {
124
+ class: b([l.value ? "sidebar-active-width" : ""])
125
+ }, P({
113
126
  content: m(() => [
114
- r(re, {
115
- onOpenSearchModal: o[2] || (o[2] = (t) => e(f).show())
127
+ r(X, {
128
+ onOpenSearchModal: o[2] || (o[2] = (t) => e(v).show())
116
129
  }),
117
- d("div", {
130
+ c("div", {
118
131
  class: "custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",
119
- onDragenter: o[3] || (o[3] = E(() => {
132
+ onDragenter: o[3] || (o[3] = R(() => {
120
133
  }, ["prevent"])),
121
- onDragover: o[4] || (o[4] = E(() => {
134
+ onDragover: o[4] || (o[4] = R(() => {
122
135
  }, ["prevent"]))
123
136
  }, [
124
- (p(!0), w(M, null, ee(P.value, (t, n) => (p(), S(fe, {
137
+ (f(!0), w(O, null, J(e(I), (t, a) => (f(), k(ce, {
125
138
  key: t.uid,
126
- isDraggable: !e(u).isReadOnly,
127
- isDroppable: !e(u).isReadOnly,
139
+ isDraggable: !e(i).isReadOnly,
140
+ isDroppable: !e(i).isReadOnly,
128
141
  item: t,
129
142
  parentUids: [],
130
- onOnDragEnd: (...c) => U(t, n, ...c)
143
+ onOnDragEnd: (...u) => z(t, a, ...u)
131
144
  }, {
132
145
  leftIcon: m(() => [
133
146
  r(e(y), {
134
147
  class: "text-sidebar-c-2 text-sm group-hover:hidden",
135
148
  icon: "CodeFolder",
136
- size: "sm"
149
+ size: "sm",
150
+ thickness: "2"
137
151
  }),
138
- d("div", {
139
- class: k({
140
- "rotate-90": e(F)[t.uid]
152
+ c("div", {
153
+ class: b({
154
+ "rotate-90": e(V)[t.uid]
141
155
  })
142
156
  }, [
143
157
  r(e(y), {
@@ -152,44 +166,51 @@ const he = { class: "bg-b-2 flex flex-1 flex-col rounded-lg rounded-b-none round
152
166
  ], 32)
153
167
  ]),
154
168
  button: m(() => [
155
- e(u).isReadOnly ? _("", !0) : (p(), S(le, {
169
+ e(i).isReadOnly ? _("", !0) : (f(), k(Z, {
156
170
  key: 0,
157
- click: A
171
+ click: L
158
172
  }, {
159
173
  title: m(() => [
160
- $("Add Item")
174
+ K("Add Item")
161
175
  ]),
162
176
  _: 1
163
177
  }))
164
178
  ]),
165
- _: 1
166
- }, 8, ["class"]), [
167
- [te, a.value]
179
+ _: 2
180
+ }, [
181
+ e(i).isReadOnly ? void 0 : {
182
+ name: "header",
183
+ fn: m(() => [
184
+ r(e(de))
185
+ ]),
186
+ key: "0"
187
+ }
188
+ ]), 1032, ["class"]), [
189
+ [Q, l.value]
168
190
  ]),
169
- e(b) ? (p(), S(ie, {
191
+ e(h) ? (f(), k(te, {
170
192
  key: 0,
171
- class: k(["flex-1", [a.value ? "sidebar-active-hide-layout" : ""]])
193
+ class: b(["flex-1", [l.value ? "sidebar-active-hide-layout" : ""]])
172
194
  }, {
173
195
  default: m(() => {
174
- var t, n, c, v, g;
196
+ var t, a, u, g, d;
175
197
  return [
176
- r(ce),
177
- r(de, {
178
- response: (g = (v = (t = e(i)) == null ? void 0 : t.history) == null ? void 0 : v[((c = (n = e(i)) == null ? void 0 : n.history) == null ? void 0 : c.length) - 1]) == null ? void 0 : g.response
198
+ r(se),
199
+ r(ae, {
200
+ response: (d = (g = (t = e(n)) == null ? void 0 : t.history) == null ? void 0 : g[((u = (a = e(n)) == null ? void 0 : a.history) == null ? void 0 : u.length) - 1]) == null ? void 0 : d.response
179
201
  }, null, 8, ["response"])
180
202
  ];
181
203
  }),
182
204
  _: 1
183
- }, 8, ["class"])) : _("", !0),
184
- r(se, { state: e(C) }, null, 8, ["state"])
205
+ }, 8, ["class"])) : _("", !0)
185
206
  ]),
186
207
  _: 1
187
208
  })
188
- ]),
189
- r(ne, { modalState: e(f) }, null, 8, ["modalState"])
209
+ ], 2),
210
+ r(Y, { modalState: e(v) }, null, 8, ["modalState"])
190
211
  ], 64));
191
212
  }
192
213
  });
193
214
  export {
194
- Te as default
215
+ je as default
195
216
  };
@@ -33,8 +33,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
33
33
  onInputFocus?: (() => any) | undefined;
34
34
  onInputBlur?: (() => any) | undefined;
35
35
  }, {
36
- readOnly: boolean;
37
36
  required: boolean;
37
+ readOnly: boolean;
38
38
  }, {}>;
39
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
40
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAAP,OAAO;cAFP,OAAO;MA6IpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAFP,OAAO;cAEP,OAAO;MA2I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],"mappings":";AA8WA,wBAKG"}
1
+ {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":";AA+WA,wBAKG"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, computed as v, ref as x, watch as A, openBlock as S, createBlock as q, withCtx as _, createVNode as l, unref as n, createElementVNode as r, createTextVNode as k, toDisplayString as B, withDirectives as o, vShow as a } from "vue";
1
+ import { defineComponent as y, computed as v, ref as x, watch as A, openBlock as S, createBlock as k, withCtx as _, createVNode as l, unref as n, createElementVNode as r, createTextVNode as q, toDisplayString as B, withDirectives as o, vShow as a } from "vue";
2
2
  import R from "../../../components/ContextBar.vue.js";
3
3
  import C from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
4
  import { useWorkspace as E } from "../../../store/workspace.js";
@@ -26,17 +26,18 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
26
26
  ), e = x("All");
27
27
  return A(i, (t) => {
28
28
  e.value === "Body" && !c.includes(t.method) && (e.value = "All");
29
- }), (t, f) => (S(), q(C, null, {
29
+ }), (t, f) => (S(), k(C, null, {
30
30
  title: _(() => {
31
31
  var s;
32
32
  return [
33
33
  l(n(O), {
34
34
  class: "text-c-3 mr-2",
35
35
  icon: "ExternalLink",
36
- size: "sm"
36
+ size: "sm",
37
+ thickness: "2.5"
37
38
  }),
38
39
  r("div", P, [
39
- k(" Request "),
40
+ q(" Request "),
40
41
  r("span", T, B((s = n(i)) == null ? void 0 : s.summary), 1)
41
42
  ])
42
43
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAgMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;YAQ5E,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;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uBACN,OAAO;;;;;;;;;;;;;;YAHlB,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;qBADR,OAAO;sBACN,OAAO;;AA8b9B,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,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-a27b706c"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92212893"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as F, openBlock as u, createBlock as d, unref as m, withCtx as r, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
1
+ import { defineComponent as F, openBlock as u, createBlock as r, unref as m, withCtx as d, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
2
2
  import k from "../../../components/CodeInput/CodeInput.vue.js";
3
- import q from "../../../components/DataTable/DataTable.vue.js";
3
+ import N from "../../../components/DataTable/DataTable.vue.js";
4
4
  import f from "../../../components/DataTable/DataTableCell.vue.js";
5
- import N from "../../../components/DataTable/DataTableCheckbox.vue.js";
5
+ import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
6
6
  import D from "../../../components/DataTable/DataTableRow.vue.js";
7
7
  import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
8
8
  import A from "./RequestTableTooltip.vue.js";
9
- const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
9
+ const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
10
10
  __name: "RequestTable",
11
11
  props: {
12
12
  items: {},
@@ -29,20 +29,20 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
29
29
  }
30
30
  return !1;
31
31
  }), R = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default;
32
- return (e, n) => (u(), d(q, {
32
+ return (e, n) => (u(), r(N, {
33
33
  class: "flex-1",
34
34
  columns: m(B)
35
35
  }, {
36
- default: r(() => [
37
- (u(!0), y(w, null, I(e.items, (l, a) => (u(), d(D, { key: a }, {
38
- default: r(() => [
39
- e.isEnabledHidden ? c("", !0) : (u(), d(N, {
36
+ default: d(() => [
37
+ (u(!0), y(w, null, I(e.items, (l, a) => (u(), r(D, { key: a }, {
38
+ default: d(() => [
39
+ e.isEnabledHidden ? c("", !0) : (u(), r(q, {
40
40
  key: 0,
41
- modelValue: !!l.required,
41
+ modelValue: l.enabled,
42
42
  "onUpdate:modelValue": (o) => t("toggleRow", a, o)
43
43
  }, null, 8, ["modelValue", "onUpdate:modelValue"])),
44
44
  i(f, null, {
45
- default: r(() => [
45
+ default: d(() => [
46
46
  i(k, {
47
47
  disableCloseBrackets: "",
48
48
  disableEnter: "",
@@ -60,7 +60,7 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
60
60
  _: 2
61
61
  }, 1024),
62
62
  i(f, null, {
63
- default: r(() => [
63
+ default: d(() => [
64
64
  i(k, {
65
65
  disableCloseBrackets: "",
66
66
  disableEnter: "",
@@ -78,8 +78,8 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
78
78
  onSelectVariable: (o) => b(a, "value", o),
79
79
  "onUpdate:modelValue": (o) => t("updateRow", a, "value", o)
80
80
  }, C({
81
- icon: r(() => [
82
- $(l) ? (u(), d(A, {
81
+ icon: d(() => [
82
+ $(l) ? (u(), r(A, {
83
83
  key: 0,
84
84
  item: { ...l, default: R(l) }
85
85
  }, null, 8, ["item"])) : c("", !0)
@@ -88,7 +88,7 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
88
88
  }, [
89
89
  v(l).value ? {
90
90
  name: "warning",
91
- fn: r(() => [
91
+ fn: d(() => [
92
92
  U(V(v(l).value), 1)
93
93
  ]),
94
94
  key: "0"
@@ -97,11 +97,11 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
97
97
  ]),
98
98
  _: 2
99
99
  }, 1024),
100
- e.showUploadButton ? (u(), d(f, {
100
+ e.showUploadButton ? (u(), r(f, {
101
101
  key: 1,
102
102
  class: "group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
103
103
  }, {
104
- default: r(() => {
104
+ default: d(() => {
105
105
  var o;
106
106
  return [
107
107
  l.file ? (u(), y(w, { key: 0 }, [
@@ -113,14 +113,14 @@ const M = (s) => (E("data-v-a27b706c"), s = s(), T(), s), O = { class: "text-c-2
113
113
  type: "button",
114
114
  onClick: (S) => t("removeFile", a)
115
115
  }, " Delete ", 8, j)
116
- ], 64)) : (u(), d(m(H), {
116
+ ], 64)) : (u(), r(m(H), {
117
117
  key: 1,
118
118
  class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
119
119
  size: "sm",
120
120
  variant: "outlined",
121
121
  onClick: (S) => _(a)
122
122
  }, {
123
- default: r(() => [
123
+ default: d(() => [
124
124
  K,
125
125
  i(m(z), {
126
126
  class: "ml-1",
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -6,10 +6,10 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
6
6
  }, g = {
7
7
  key: 2,
8
8
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
9
- }, x = {
9
+ }, k = {
10
10
  key: 3,
11
11
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
12
- }, k = {
12
+ }, x = {
13
13
  key: 4,
14
14
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
15
15
  }, _ = {
@@ -33,7 +33,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
33
33
  l(i(f), {
34
34
  class: "ml-1 text-c-3 group-hover/info:text-c-1",
35
35
  icon: "Info",
36
- size: "sm"
36
+ size: "sm",
37
+ thickness: "1.5"
37
38
  })
38
39
  ]),
39
40
  content: r(() => [
@@ -42,8 +43,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
42
43
  e.item.type ? (t(), o("span", h, s(e.item.type), 1)) : n("", !0),
43
44
  e.item.format ? (t(), o("span", b, s(e.item.format), 1)) : n("", !0),
44
45
  e.item.minimum ? (t(), o("span", g, "min: " + s(e.item.minimum), 1)) : n("", !0),
45
- e.item.maximum ? (t(), o("span", x, "max: " + s(e.item.maximum), 1)) : n("", !0),
46
- e.item.default ? (t(), o("span", k, "default: " + s(e.item.default), 1)) : n("", !0)
46
+ e.item.maximum ? (t(), o("span", k, "max: " + s(e.item.maximum), 1)) : n("", !0),
47
+ e.item.default ? (t(), o("span", x, "default: " + s(e.item.default), 1)) : n("", !0)
47
48
  ]),
48
49
  e.item.description ? (t(), o("span", _, s(e.item.description), 1)) : n("", !0)
49
50
  ])
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AAkPA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AACzE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;AAsHlD,iBAAS,cAAc;gBAnFT,IAAI;;gBAAJ,IAAI;EAuWjB;AACD,QAAA,M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AM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-304b5123"]]);
5
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18928cac"]]);
6
6
  export {
7
- a as default
7
+ p as default
8
8
  };