@scalar/api-client 2.1.52 → 2.2.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 (190) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue2.js +35 -42
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  7. package/dist/components/AddressBar/AddressBarHistory.vue2.js +25 -24
  8. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  9. package/dist/components/AddressBar/AddressBarServer.vue.js +32 -39
  10. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
  11. package/dist/components/AddressBar/AddressBarServerItem.vue.js +10 -15
  12. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  13. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  14. package/dist/components/CodeInput/CodeInput.vue2.js +48 -47
  15. package/dist/components/CodeInput/codeVariableWidget.d.ts +3 -2
  16. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +15 -14
  19. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +18 -23
  21. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +27 -26
  23. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +19 -20
  25. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +19 -24
  27. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  28. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +23 -22
  29. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  31. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +47 -46
  32. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  33. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  34. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  35. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -28
  36. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  37. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  38. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +127 -96
  39. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  40. package/dist/components/ImportCollection/ImportNowButton.vue.js +28 -27
  41. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +1 -1
  42. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  43. package/dist/components/ImportCollection/IntegrationLogo.vue.js +14 -18
  44. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  45. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -14
  46. package/dist/components/Search/useSearch.d.ts.map +1 -1
  47. package/dist/components/Search/useSearch.js +20 -19
  48. package/dist/components/SideNav/SideNavRouterLink.vue.js +9 -9
  49. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  50. package/dist/components/TopNav/TopNav.vue.js +1 -1
  51. package/dist/components/TopNav/TopNav.vue2.js +20 -19
  52. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
  53. package/dist/hooks/index.js +3 -2
  54. package/dist/hooks/useLayout.d.ts +2 -0
  55. package/dist/hooks/useLayout.d.ts.map +1 -1
  56. package/dist/hooks/useLayout.js +4 -3
  57. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  58. package/dist/layouts/App/ApiClientApp.vue.js +38 -37
  59. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  60. package/dist/layouts/App/MainLayout.vue.js +3 -3
  61. package/dist/layouts/App/create-api-client-app.d.ts +669 -1232
  62. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  63. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  64. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  65. package/dist/layouts/Modal/ApiClientModal.vue2.js +24 -23
  66. package/dist/layouts/Modal/create-api-client-modal.d.ts +1382 -2508
  67. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  68. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  69. package/dist/layouts/Web/ApiClientWeb.vue.js +34 -33
  70. package/dist/layouts/Web/create-api-client-web.d.ts +669 -1232
  71. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  72. package/dist/libs/create-client.d.ts +673 -1236
  73. package/dist/libs/create-client.d.ts.map +1 -1
  74. package/dist/libs/create-client.js +91 -102
  75. package/dist/libs/hot-keys.d.ts +1 -1
  76. package/dist/libs/send-request.d.ts +2 -3
  77. package/dist/libs/send-request.d.ts.map +1 -1
  78. package/dist/libs/send-request.js +127 -123
  79. package/dist/store/active-entities.d.ts +333 -0
  80. package/dist/store/active-entities.d.ts.map +1 -0
  81. package/dist/store/active-entities.js +97 -0
  82. package/dist/store/collections.d.ts +4 -274
  83. package/dist/store/collections.d.ts.map +1 -1
  84. package/dist/store/cookies.d.ts +4 -4
  85. package/dist/store/environment.d.ts +4 -4
  86. package/dist/store/import-spec.d.ts +0 -54
  87. package/dist/store/import-spec.d.ts.map +1 -1
  88. package/dist/store/index.js +4 -3
  89. package/dist/store/request-example.d.ts +4 -4
  90. package/dist/store/requests.d.ts +15 -15
  91. package/dist/store/security-schemes.d.ts +527 -317
  92. package/dist/store/security-schemes.d.ts.map +1 -1
  93. package/dist/store/security-schemes.js +33 -41
  94. package/dist/store/servers.d.ts +4 -4
  95. package/dist/store/store-context.d.ts +0 -3
  96. package/dist/store/store-context.d.ts.map +1 -1
  97. package/dist/store/store.d.ts +640 -5297
  98. package/dist/store/store.d.ts.map +1 -1
  99. package/dist/store/store.js +111 -189
  100. package/dist/store/tags.d.ts +4 -4
  101. package/dist/store/workspace.d.ts +14 -24
  102. package/dist/store/workspace.d.ts.map +1 -1
  103. package/dist/style.css +1 -1
  104. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  105. package/dist/views/Cookies/CookieForm.vue.js +14 -13
  106. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  107. package/dist/views/Cookies/CookieRaw.vue.js +14 -13
  108. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +3 -3
  109. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  110. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  111. package/dist/views/Request/Request.vue.js +2 -2
  112. package/dist/views/Request/Request.vue2.js +92 -92
  113. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +2 -2
  114. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  115. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +96 -99
  116. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -2
  117. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  118. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +49 -46
  119. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  120. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  121. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +94 -100
  122. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
  123. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -67
  124. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  125. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  126. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  128. package/dist/views/Request/RequestSection/RequestBody.vue2.js +29 -28
  129. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  130. package/dist/views/Request/RequestSection/RequestParams.vue.js +11 -10
  131. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  132. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +24 -28
  133. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  134. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  135. package/dist/views/Request/RequestSection/RequestSection.vue2.js +19 -18
  136. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
  137. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  138. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  139. package/dist/views/Request/RequestSidebar.vue2.js +72 -73
  140. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  141. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  142. package/dist/views/Request/RequestSidebarItem.vue2.js +111 -109
  143. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
  145. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +15 -16
  146. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  147. package/dist/views/Request/RequestSubpageHeader.vue2.js +14 -14
  148. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  149. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  150. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +23 -22
  151. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  152. package/dist/views/Request/components/WorkspaceDropdown.vue.js +32 -31
  153. package/dist/views/Request/consts/new-auth-options.d.ts +16 -8
  154. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  155. package/dist/views/Request/consts/new-auth-options.js +16 -8
  156. package/dist/views/Request/handle-drag.d.ts +2 -1
  157. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  158. package/dist/views/Request/handle-drag.js +23 -25
  159. package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
  160. package/dist/views/Request/hooks/useOpenApiWatcher.js +40 -39
  161. package/dist/views/Request/libs/auth.d.ts +1 -29
  162. package/dist/views/Request/libs/auth.d.ts.map +1 -1
  163. package/dist/views/Request/libs/auth.js +2 -9
  164. package/dist/views/Request/libs/index.js +6 -8
  165. package/dist/views/Request/libs/live-sync.d.ts +6 -5
  166. package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
  167. package/dist/views/Request/libs/live-sync.js +164 -185
  168. package/dist/views/Request/libs/oauth2.d.ts +6 -10
  169. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  170. package/dist/views/Request/libs/oauth2.js +54 -69
  171. package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
  172. package/dist/views/Servers/ServerForm.vue.js +14 -13
  173. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  174. package/dist/views/Servers/Servers.vue2.js +18 -17
  175. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  176. package/dist/views/Settings/SettingsGeneral.vue.js +218 -126
  177. package/dist/views/Settings/{SettingsGeneralMode.vue.d.ts → components/SettingsAppearance.vue.d.ts} +2 -2
  178. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -0
  179. package/dist/views/Settings/components/SettingsAppearance.vue.js +74 -0
  180. package/dist/views/Settings/components/SettingsAppearance.vue2.js +4 -0
  181. package/dist/views/Settings/components/SettingsSection.vue.d.ts +24 -0
  182. package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -0
  183. package/dist/views/Settings/components/SettingsSection.vue.js +24 -0
  184. package/dist/views/Settings/components/SettingsSection.vue2.js +4 -0
  185. package/package.json +8 -8
  186. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +0 -16
  187. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +0 -1
  188. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +0 -1
  189. package/dist/views/Settings/SettingsGeneralMode.vue.js +0 -78
  190. package/dist/views/Settings/SettingsGeneralMode.vue2.js +0 -4
@@ -1,20 +1,15 @@
1
- import { defineComponent as w, ref as v, computed as _, openBlock as s, createBlock as u, withCtx as a, createVNode as c, unref as n, createElementVNode as f, normalizeClass as y, toDisplayString as D, createTextVNode as N } from "vue";
2
- import { ScalarListbox as P, ScalarButton as p, ScalarIcon as B } from "@scalar/components";
3
- import { useToasts as L } from "@scalar/use-toasts";
4
- import M from "./CommandActionForm.vue.js";
5
- import T from "./CommandActionInput.vue.js";
6
- import { useWorkspace as j } from "../../store/store.js";
7
- const h = /* @__PURE__ */ w({
1
+ import { defineComponent as w, ref as v, computed as _, openBlock as s, createBlock as u, withCtx as a, createVNode as c, unref as i, createElementVNode as f, normalizeClass as y, toDisplayString as D, createTextVNode as N } from "vue";
2
+ import { useActiveEntities as P } from "../../store/active-entities.js";
3
+ import { ScalarListbox as B, ScalarButton as p, ScalarIcon as L } from "@scalar/components";
4
+ import { useToasts as M } from "@scalar/use-toasts";
5
+ import T from "./CommandActionForm.vue.js";
6
+ import j from "./CommandActionInput.vue.js";
7
+ import { useWorkspace as z } from "../../store/store.js";
8
+ const q = /* @__PURE__ */ w({
8
9
  __name: "CommandPaletteServer",
9
10
  emits: ["close", "back"],
10
- setup(z, { emit: b }) {
11
- const d = b, { toast: m } = L(), {
12
- activeCollection: C,
13
- activeWorkspaceCollections: x,
14
- collectionMutators: S,
15
- serverMutators: k,
16
- events: V
17
- } = j(), r = v(""), i = _(
11
+ setup(E, { emit: b }) {
12
+ const d = b, { toast: m } = M(), { activeCollection: C, activeWorkspaceCollections: x } = P(), { collectionMutators: S, serverMutators: k, events: V } = z(), r = v(""), n = _(
18
13
  () => x.value.flatMap(
19
14
  (l) => {
20
15
  var e, t;
@@ -25,7 +20,7 @@ const h = /* @__PURE__ */ w({
25
20
  }
26
21
  )
27
22
  ), o = v(
28
- i.value.find(
23
+ n.value.find(
29
24
  (l) => {
30
25
  var e;
31
26
  return l.id === ((e = C.value) == null ? void 0 : e.uid);
@@ -47,18 +42,18 @@ const h = /* @__PURE__ */ w({
47
42
  }, U = () => {
48
43
  V.commandPalette.emit({ commandName: "Create Collection" });
49
44
  };
50
- return (l, e) => (s(), u(M, {
45
+ return (l, e) => (s(), u(T, {
51
46
  disabled: !r.value.trim() || !o.value,
52
47
  onSubmit: g
53
48
  }, {
54
49
  options: a(() => [
55
- c(n(P), {
50
+ c(i(B), {
56
51
  modelValue: o.value,
57
52
  "onUpdate:modelValue": e[2] || (e[2] = (t) => o.value = t),
58
- options: i.value
53
+ options: n.value
59
54
  }, {
60
55
  default: a(() => [
61
- i.value.length > 0 ? (s(), u(n(p), {
56
+ n.value.length > 0 ? (s(), u(i(p), {
62
57
  key: 0,
63
58
  class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
64
59
  variant: "outlined"
@@ -67,14 +62,14 @@ const h = /* @__PURE__ */ w({
67
62
  f("span", {
68
63
  class: y(o.value ? "text-c-1" : "text-c-3")
69
64
  }, D(o.value ? o.value.label : "Select Collection"), 3),
70
- c(n(B), {
65
+ c(i(L), {
71
66
  class: "text-c-3",
72
67
  icon: "ChevronDown",
73
68
  size: "xs"
74
69
  })
75
70
  ]),
76
71
  _: 1
77
- })) : (s(), u(n(p), {
72
+ })) : (s(), u(i(p), {
78
73
  key: 1,
79
74
  class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
80
75
  variant: "outlined",
@@ -93,7 +88,7 @@ const h = /* @__PURE__ */ w({
93
88
  N("Create Server")
94
89
  ])),
95
90
  default: a(() => [
96
- c(T, {
91
+ c(j, {
97
92
  modelValue: r.value,
98
93
  "onUpdate:modelValue": e[0] || (e[0] = (t) => r.value = t),
99
94
  label: "Server URL",
@@ -106,5 +101,5 @@ const h = /* @__PURE__ */ w({
106
101
  }
107
102
  });
108
103
  export {
109
- h as default
104
+ q as default
110
105
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteTag.vue"],"names":[],"mappings":";;;;;;;AA8RA,wBAOG"}
1
+ {"version":3,"file":"CommandPaletteTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteTag.vue"],"names":[],"mappings":";;;;;;;AAgSA,wBAOG"}
@@ -1,26 +1,27 @@
1
- import { defineComponent as g, computed as x, ref as m, openBlock as C, createBlock as V, withCtx as n, createVNode as s, unref as i, createElementVNode as S, normalizeClass as _, toDisplayString as k, createTextVNode as T } from "vue";
2
- import { ScalarListbox as N, ScalarButton as w, ScalarIcon as B } from "@scalar/components";
3
- import { useToasts as D } from "@scalar/use-toasts";
4
- import y from "./CommandActionForm.vue.js";
5
- import z from "./CommandActionInput.vue.js";
1
+ import { defineComponent as g, computed as x, ref as m, openBlock as C, createBlock as V, withCtx as n, createVNode as i, unref as s, createElementVNode as S, normalizeClass as _, toDisplayString as k, createTextVNode as T } from "vue";
2
+ import { useActiveEntities as N } from "../../store/active-entities.js";
3
+ import { ScalarListbox as w, ScalarButton as B, ScalarIcon as D } from "@scalar/components";
4
+ import { useToasts as y } from "@scalar/use-toasts";
5
+ import z from "./CommandActionForm.vue.js";
6
+ import E from "./CommandActionInput.vue.js";
6
7
  import { useWorkspace as P } from "../../store/store.js";
7
- const M = /* @__PURE__ */ g({
8
+ const O = /* @__PURE__ */ g({
8
9
  __name: "CommandPaletteTag",
9
10
  emits: ["close", "back"],
10
- setup(U, { emit: d }) {
11
- const r = d, { activeWorkspaceCollections: c, activeCollection: p, tagMutators: f } = P(), { toast: v } = D(), u = x(
12
- () => c.value.map((l) => {
11
+ setup(U, { emit: c }) {
12
+ const r = c, { activeWorkspaceCollections: d, activeCollection: p } = N(), { tagMutators: f } = P(), { toast: v } = y(), u = x(
13
+ () => d.value.map((o) => {
13
14
  var e;
14
15
  return {
15
- id: l.uid,
16
- label: ((e = l.info) == null ? void 0 : e.title) ?? ""
16
+ id: o.uid,
17
+ label: ((e = o.info) == null ? void 0 : e.title) ?? ""
17
18
  };
18
19
  })
19
20
  ), a = m(""), t = m(
20
21
  u.value.find(
21
- (l) => {
22
+ (o) => {
22
23
  var e;
23
- return l.id === ((e = p.value) == null ? void 0 : e.uid);
24
+ return o.id === ((e = p.value) == null ? void 0 : e.uid);
24
25
  }
25
26
  )
26
27
  ), b = () => {
@@ -36,18 +37,18 @@ const M = /* @__PURE__ */ g({
36
37
  t.value.id
37
38
  ) && r("close");
38
39
  };
39
- return (l, e) => (C(), V(y, {
40
+ return (o, e) => (C(), V(z, {
40
41
  disabled: !a.value.trim(),
41
42
  onSubmit: b
42
43
  }, {
43
44
  options: n(() => [
44
- s(i(N), {
45
+ i(s(w), {
45
46
  modelValue: t.value,
46
- "onUpdate:modelValue": e[2] || (e[2] = (o) => t.value = o),
47
+ "onUpdate:modelValue": e[2] || (e[2] = (l) => t.value = l),
47
48
  options: u.value
48
49
  }, {
49
50
  default: n(() => [
50
- s(i(w), {
51
+ i(s(B), {
51
52
  class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
52
53
  variant: "outlined"
53
54
  }, {
@@ -55,7 +56,7 @@ const M = /* @__PURE__ */ g({
55
56
  S("span", {
56
57
  class: _(t.value ? "text-c-1" : "text-c-3")
57
58
  }, k(t.value ? t.value.label : "Select Collection"), 3),
58
- s(i(B), {
59
+ i(s(D), {
59
60
  class: "text-c-3",
60
61
  icon: "ChevronDown",
61
62
  size: "xs"
@@ -71,12 +72,12 @@ const M = /* @__PURE__ */ g({
71
72
  T("Create Tag")
72
73
  ])),
73
74
  default: n(() => [
74
- s(z, {
75
+ i(E, {
75
76
  modelValue: a.value,
76
- "onUpdate:modelValue": e[0] || (e[0] = (o) => a.value = o),
77
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => a.value = l),
77
78
  label: "Tag Name",
78
79
  placeholder: "Tag Name",
79
- onOnDelete: e[1] || (e[1] = (o) => r("back", o))
80
+ onOnDelete: e[1] || (e[1] = (l) => r("back", l))
80
81
  }, null, 8, ["modelValue"])
81
82
  ]),
82
83
  _: 1
@@ -84,5 +85,5 @@ const M = /* @__PURE__ */ g({
84
85
  }
85
86
  });
86
87
  export {
87
- M as default
88
+ O as default
88
89
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA8YA;;;;GAIG;;AACH,wBA+dI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
1
+ {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAiZA;;;;GAIG;;AACH,wBAgeI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
@@ -1,9 +1,9 @@
1
1
  import o from "./TheCommandPalette.vue2.js";
2
- import { PaletteComponents as f } from "./TheCommandPalette.vue2.js";
2
+ import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8de4d9e3"]]);
5
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a44888ad"]]);
6
6
  export {
7
- f as PaletteComponents,
8
- a as default
7
+ s as PaletteComponents,
8
+ r as default
9
9
  };
@@ -1,38 +1,39 @@
1
- import { defineComponent as q, ref as i, computed as T, watch as F, onMounted as G, onBeforeUnmount as Q, openBlock as a, createBlock as z, unref as r, withCtx as y, createElementVNode as u, createVNode as p, createTextVNode as K, createElementBlock as m, withDirectives as M, withKeys as w, withModifiers as g, vModelText as j, Fragment as S, renderList as B, toDisplayString as N, vShow as J, normalizeClass as X, createCommentVNode as Y, resolveDynamicComponent as Z, mergeProps as ee, nextTick as V } from "vue";
2
- import { useModal as oe, ScalarIcon as A } from "@scalar/components";
1
+ import { defineComponent as q, ref as i, computed as T, watch as F, onMounted as G, onBeforeUnmount as Q, openBlock as a, createBlock as z, unref as r, withCtx as y, createElementVNode as u, createVNode as p, createTextVNode as K, createElementBlock as m, withDirectives as M, withKeys as w, withModifiers as g, vModelText as j, Fragment as A, renderList as B, toDisplayString as N, vShow as J, normalizeClass as X, createCommentVNode as Y, resolveDynamicComponent as Z, mergeProps as ee, nextTick as V } from "vue";
2
+ import { useModal as oe, ScalarIcon as S } from "@scalar/components";
3
3
  import { Dialog as te, DialogPanel as ne, DialogTitle as ae } from "@headlessui/vue";
4
4
  import { useRouter as le } from "vue-router";
5
5
  import { ROUTES as se } from "../../constants.js";
6
- import re from "./CommandPaletteCollection.vue.js";
7
- import me from "./CommandPaletteExample.vue.js";
8
- import ce from "./CommandPaletteImport.vue.js";
9
- import ie from "./CommandPaletteRequest.vue.js";
10
- import ue from "./CommandPaletteServer.vue.js";
11
- import de from "./CommandPaletteTag.vue.js";
12
- import pe from "./CommandPaletteWorkspace.vue.js";
13
- import { useWorkspace as fe } from "../../store/store.js";
14
- const ve = {
6
+ import { useActiveEntities as re } from "../../store/active-entities.js";
7
+ import me from "./CommandPaletteCollection.vue.js";
8
+ import ce from "./CommandPaletteExample.vue.js";
9
+ import ie from "./CommandPaletteImport.vue.js";
10
+ import ue from "./CommandPaletteRequest.vue.js";
11
+ import de from "./CommandPaletteServer.vue.js";
12
+ import pe from "./CommandPaletteTag.vue.js";
13
+ import fe from "./CommandPaletteWorkspace.vue.js";
14
+ import { useWorkspace as ve } from "../../store/store.js";
15
+ const he = {
15
16
  key: 0,
16
17
  class: "flex-1 min-h-0 max-h-[50dvh] p-1.5 custom-scroll rounded-lg"
17
- }, he = { class: "bg-b-2 border border-transparent flex items-center rounded-md sticky top-0 pl-2 shadow-[0_-8px_0_8px_var(--scalar-background-1),0_0_8px_8px_var(--scalar-background-1)] focus-within:bg-b-1 focus-within:border-b-3" }, Ce = { for: "commandmenu" }, xe = ["onKeydown"], _e = ["onClick"], ke = {
18
+ }, Ce = { class: "bg-b-2 border border-transparent flex items-center rounded-md sticky top-0 pl-2 shadow-[0_-8px_0_8px_var(--scalar-background-1),0_0_8px_8px_var(--scalar-background-1)] focus-within:bg-b-1 focus-within:border-b-3" }, xe = { for: "commandmenu" }, _e = ["onKeydown"], ke = ["onClick"], be = {
18
19
  key: 0,
19
20
  class: "text-c-3 text-center text-sm p-2 pt-3"
20
- }, be = {
21
+ }, ye = {
21
22
  key: 1,
22
23
  class: "flex-1 p-1.5"
23
- }, ye = {
24
- name: "TheCommandPalette"
25
24
  }, we = {
26
- "Import from OpenAPI/Swagger": ce,
27
- "Create Request": ie,
28
- "Create Workspace": pe,
29
- "Add Tag": de,
30
- "Add Server": ue,
31
- "Create Collection": re,
32
- "Add Example": me
33
- }, Be = /* @__PURE__ */ q({
34
- ...ye,
35
- setup(ge) {
25
+ name: "TheCommandPalette"
26
+ }, ge = {
27
+ "Import from OpenAPI/Swagger": ie,
28
+ "Create Request": ue,
29
+ "Create Workspace": fe,
30
+ "Add Tag": pe,
31
+ "Add Server": de,
32
+ "Create Collection": me,
33
+ "Add Example": ce
34
+ }, Ve = /* @__PURE__ */ q({
35
+ ...we,
36
+ setup(Ae) {
36
37
  const P = [
37
38
  {
38
39
  label: "",
@@ -90,7 +91,7 @@ const ve = {
90
91
  path: `${e.name}.default`
91
92
  }))
92
93
  }
93
- ], d = oe(), { push: W } = le(), { activeWorkspace: H, events: f } = fe(), x = i(), l = i(""), s = i(null), c = i(-1), D = i([]), v = T(
94
+ ], d = oe(), { push: W } = le(), { activeWorkspace: H } = re(), { events: f } = ve(), x = i(), l = i(""), s = i(null), c = i(-1), D = i([]), v = T(
94
95
  () => P.reduce((e, o) => {
95
96
  const t = o.commands.filter(
96
97
  (n) => n.name.toLowerCase().includes(l.value.toLowerCase())
@@ -136,13 +137,13 @@ const ve = {
136
137
  () => v.value[c.value]
137
138
  ), U = (e) => {
138
139
  !k.value || s.value || (e.preventDefault(), e.stopPropagation(), $(k.value));
139
- }, L = (e) => {
140
+ }, E = (e) => {
140
141
  d.open && e != null && e.closeModal && h();
141
142
  };
142
143
  return G(() => {
143
- f.commandPalette.on(I), f.hotKeys.on(L);
144
+ f.commandPalette.on(I), f.hotKeys.on(E);
144
145
  }), Q(() => {
145
- f.commandPalette.off(I), f.hotKeys.off(L);
146
+ f.commandPalette.off(I), f.hotKeys.off(E);
146
147
  }), (e, o) => (a(), z(r(te), {
147
148
  open: r(d).open,
148
149
  onClose: o[5] || (o[5] = (t) => h())
@@ -157,26 +158,26 @@ const ve = {
157
158
  ])),
158
159
  _: 1
159
160
  }),
160
- s.value ? (a(), m("div", be, [
161
+ s.value ? (a(), m("div", ye, [
161
162
  u("button", {
162
163
  class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.25 z-1",
163
164
  type: "button",
164
165
  onClick: o[3] || (o[3] = (t) => s.value = null)
165
166
  }, [
166
- p(r(A), {
167
+ p(r(S), {
167
168
  icon: "ChevronLeft",
168
169
  size: "md",
169
170
  thickness: "1.5"
170
171
  })
171
172
  ]),
172
- (a(), z(Z(we[s.value]), ee(x.value ? { metaData: x.value } : {}, {
173
+ (a(), z(Z(ge[s.value]), ee(x.value ? { metaData: x.value } : {}, {
173
174
  onBack: o[4] || (o[4] = (t) => O(t)),
174
175
  onClose: h
175
176
  }), null, 16))
176
- ])) : (a(), m("div", ve, [
177
- u("div", he, [
178
- u("label", Ce, [
179
- p(r(A), {
177
+ ])) : (a(), m("div", he, [
178
+ u("div", Ce, [
179
+ u("label", xe, [
180
+ p(r(S), {
180
181
  class: "text-c-2 mr-2.5",
181
182
  icon: "Search",
182
183
  size: "md",
@@ -198,11 +199,11 @@ const ve = {
198
199
  w(g(U, ["stop"]), ["enter"]),
199
200
  o[2] || (o[2] = w(g((t) => R("up", t), ["stop"]), ["up"]))
200
201
  ]
201
- }, null, 40, xe), [
202
+ }, null, 40, _e), [
202
203
  [j, l.value]
203
204
  ])
204
205
  ]),
205
- (a(), m(S, null, B(P, (t) => (a(), m(S, {
206
+ (a(), m(A, null, B(P, (t) => (a(), m(A, {
206
207
  key: t.label
207
208
  }, [
208
209
  M(u("div", { class: "text-c-3 font-medium text-xs px-2 mb-1 mt-2" }, N(t.label), 513), [
@@ -213,10 +214,10 @@ const ve = {
213
214
  ).length > 0
214
215
  ]
215
216
  ]),
216
- (a(!0), m(S, null, B(t.commands.filter(
217
+ (a(!0), m(A, null, B(t.commands.filter(
217
218
  (n) => n.name.toLowerCase().includes(l.value.toLowerCase())
218
219
  ), (n, C) => {
219
- var E;
220
+ var L;
220
221
  return a(), m("div", {
221
222
  key: n.name,
222
223
  ref_for: !0,
@@ -224,21 +225,21 @@ const ve = {
224
225
  b && (D.value[C] = b);
225
226
  },
226
227
  class: X(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
227
- "bg-b-2": n.name === ((E = k.value) == null ? void 0 : E.name)
228
+ "bg-b-2": n.name === ((L = k.value) == null ? void 0 : L.name)
228
229
  }]),
229
230
  onClick: (b) => $(n)
230
231
  }, [
231
- p(r(A), {
232
+ p(r(S), {
232
233
  class: "text-c-2 mr-2.5",
233
234
  icon: n.icon,
234
235
  size: "md",
235
236
  thickness: "1.5"
236
237
  }, null, 8, ["icon"]),
237
238
  K(" " + N(n.name), 1)
238
- ], 10, _e);
239
+ ], 10, ke);
239
240
  }), 128))
240
241
  ], 64))), 64)),
241
- v.value.length ? Y("", !0) : (a(), m("div", ke, " No commands found "))
242
+ v.value.length ? Y("", !0) : (a(), m("div", be, " No commands found "))
242
243
  ]))
243
244
  ]),
244
245
  _: 1
@@ -249,6 +250,6 @@ const ve = {
249
250
  }
250
251
  });
251
252
  export {
252
- we as PaletteComponents,
253
- Be as default
253
+ ge as PaletteComponents,
254
+ Ve as default
254
255
  };
@@ -34,9 +34,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
34
34
  onInputFocus?: (() => any) | undefined;
35
35
  onInputBlur?: (() => any) | undefined;
36
36
  }>, {
37
- readOnly: boolean;
38
37
  required: boolean;
39
38
  canAddCustomEnumValue: boolean;
39
+ readOnly: boolean;
40
40
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
42
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAsLA,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAqDJ,iBAAS,cAAc;WA4OT,OAAO,IAA6B;;yBAVrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;EAa7B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA7TN,OAAO;cAJP,OAAO;2BAGM,OAAO;6EAsUjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAsLA,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAC;AAqDJ,iBAAS,cAAc;WA4OT,OAAO,IAA6B;;yBAVrB,GAAG;yBACF,GAAG;sBACN,GAAG;;;;EAa7B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cAjUN,OAAO;2BAGM,OAAO;cACpB,OAAO;6EAqUpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AAkZA,wBAMG"}
1
+ {"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AA0YA,wBAMG"}
@@ -1,19 +1,14 @@
1
- import { defineComponent as y, computed as S, openBlock as c, createElementBlock as f, createVNode as n, unref as e, withCtx as r, Fragment as N, renderList as D, createBlock as v, withModifiers as h, createElementVNode as s, normalizeClass as w, createTextVNode as d, toDisplayString as x, createCommentVNode as j } from "vue";
2
- import { ScalarDropdown as z, ScalarDropdownItem as m, ScalarIcon as l, ScalarDropdownDivider as B, ScalarButton as I } from "@scalar/components";
3
- import { useRouter as V } from "vue-router";
4
- import { useWorkspace as M } from "../../store/store.js";
5
- const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap" }, O = { class: "flex items-center justify-center h-4 w-4" }, A = /* @__PURE__ */ y({
1
+ import { defineComponent as y, computed as S, openBlock as c, createElementBlock as f, createVNode as n, unref as e, withCtx as r, Fragment as N, renderList as D, createBlock as v, withModifiers as h, createElementVNode as s, normalizeClass as w, createTextVNode as m, toDisplayString as x, createCommentVNode as j } from "vue";
2
+ import { useActiveEntities as z } from "../../store/active-entities.js";
3
+ import { ScalarDropdown as B, ScalarDropdownItem as d, ScalarIcon as l, ScalarDropdownDivider as I, ScalarButton as V } from "@scalar/components";
4
+ import { useRouter as M } from "vue-router";
5
+ import { useWorkspace as W } from "../../store/store.js";
6
+ const O = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap" }, R = { class: "flex items-center justify-center h-4 w-4" }, H = /* @__PURE__ */ y({
6
7
  __name: "EnvironmentSelector",
7
- setup(R) {
8
- const {
9
- environments: u,
10
- activeWorkspace: i,
11
- workspaceMutators: k,
12
- activeEnvironment: g,
13
- isReadOnly: C
14
- } = M(), E = V(), p = (a) => {
15
- k.edit(i.value.uid, "activeEnvironmentId", a);
16
- }, _ = () => E.push({
8
+ setup($) {
9
+ const { activeWorkspace: i, activeEnvironment: k } = z(), { environments: u, workspaceMutators: g, isReadOnly: E } = W(), C = M(), p = (a) => {
10
+ g.edit(i.value.uid, "activeEnvironmentId", a);
11
+ }, _ = () => C.push({
17
12
  name: "environment",
18
13
  params: {
19
14
  environment: i.value.uid
@@ -24,12 +19,12 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
24
19
  ...Object.values(u).filter((a) => a.uid !== "default")
25
20
  ]);
26
21
  return (a, o) => (c(), f("div", null, [
27
- n(e(z), null, {
22
+ n(e(B), null, {
28
23
  items: r(() => [
29
- (c(!0), f(N, null, D(b.value, (t) => (c(), v(e(m), {
24
+ (c(!0), f(N, null, D(b.value, (t) => (c(), v(e(d), {
30
25
  key: t.uid,
31
26
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
32
- onClick: h(($) => p(t.uid), ["stop"])
27
+ onClick: h((A) => p(t.uid), ["stop"])
33
28
  }, {
34
29
  default: r(() => [
35
30
  s("div", {
@@ -44,11 +39,11 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
44
39
  thickness: "3.5"
45
40
  })
46
41
  ], 2),
47
- d(" " + x(t.name), 1)
42
+ m(" " + x(t.name), 1)
48
43
  ]),
49
44
  _: 2
50
45
  }, 1032, ["onClick"]))), 128)),
51
- n(e(m), {
46
+ n(e(d), {
52
47
  class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
53
48
  onClick: o[0] || (o[0] = h((t) => p(""), ["stop"]))
54
49
  }, {
@@ -65,18 +60,18 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
65
60
  thickness: "3.5"
66
61
  })
67
62
  ], 2),
68
- o[1] || (o[1] = d(" No Environment "))
63
+ o[1] || (o[1] = m(" No Environment "))
69
64
  ]),
70
65
  _: 1
71
66
  }),
72
- n(e(B)),
73
- e(C) ? j("", !0) : (c(), v(e(m), {
67
+ n(e(I)),
68
+ e(E) ? j("", !0) : (c(), v(e(d), {
74
69
  key: 0,
75
70
  class: "flex items-center gap-1.5",
76
71
  onClick: _
77
72
  }, {
78
73
  default: r(() => [
79
- s("div", O, [
74
+ s("div", R, [
80
75
  n(e(l), {
81
76
  icon: "Brackets",
82
77
  size: "sm"
@@ -88,7 +83,7 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
88
83
  }))
89
84
  ]),
90
85
  default: r(() => [
91
- n(e(I), {
86
+ n(e(V), {
92
87
  class: "font-normal h-auto justify-start py-1.5 px-1.5 pl-2 text-c-1 hover:bg-b-2 text-c-1 w-fit",
93
88
  fullWidth: "",
94
89
  variant: "ghost"
@@ -96,8 +91,8 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
96
91
  default: r(() => {
97
92
  var t;
98
93
  return [
99
- s("h2", W, [
100
- d(x(((t = e(g)) == null ? void 0 : t.name) ?? "No Environment") + " ", 1),
94
+ s("h2", O, [
95
+ m(x(((t = e(k)) == null ? void 0 : t.name) ?? "No Environment") + " ", 1),
101
96
  n(e(l), {
102
97
  class: "size-3",
103
98
  icon: "ChevronDown",
@@ -115,5 +110,5 @@ const W = { class: "font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"
115
110
  }
116
111
  });
117
112
  export {
118
- A as default
113
+ H as default
119
114
  };
@@ -4,9 +4,9 @@ type __VLS_Props = {
4
4
  isEditable?: boolean;
5
5
  };
6
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
- change: (value: "head" | "delete" | "get" | "connect" | "options" | "patch" | "post" | "put" | "trace") => any;
7
+ change: (value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onChange?: ((value: "head" | "delete" | "get" | "connect" | "options" | "patch" | "post" | "put" | "trace") => any) | undefined;
9
+ onChange?: ((value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any) | undefined;
10
10
  }>, {
11
11
  isSquare: boolean;
12
12
  isEditable: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"AAyUA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAA;CAC7C,CAAC;;;;;;AAiYF,wBAQG"}
1
+ {"version":3,"file":"ImportCollectionModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportCollection/ImportCollectionModal.vue"],"names":[],"mappings":"AAyXA,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,IAAI,CAAA;CAC7C,CAAC;;;;;;AAqbF,wBAQG"}