@scalar/api-client 2.0.60 → 2.0.63

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 (44) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  3. package/dist/components/CodeInput/CodeInput.vue2.js +16 -15
  4. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  5. package/dist/components/CodeInput/codeVariableWidget.js +35 -30
  6. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +3 -0
  7. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -0
  8. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +114 -0
  9. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue2.js +4 -0
  10. package/dist/layouts/App/create-api-client-app.d.ts +879 -195
  11. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  12. package/dist/layouts/Modal/create-api-client-modal.d.ts +1758 -390
  13. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  14. package/dist/libs/create-client.d.ts +879 -195
  15. package/dist/libs/create-client.d.ts.map +1 -1
  16. package/dist/libs/event-busses/hot-keys-bus.d.ts +1 -1
  17. package/dist/libs/local-storage.js +1 -1
  18. package/dist/libs/normalizeHeaders.d.ts +1 -2
  19. package/dist/libs/normalizeHeaders.d.ts.map +1 -1
  20. package/dist/libs/sendRequest.d.ts +4 -5
  21. package/dist/libs/sendRequest.d.ts.map +1 -1
  22. package/dist/libs/sendRequest.js +104 -86
  23. package/dist/store/workspace.d.ts +1754 -389
  24. package/dist/store/workspace.d.ts.map +1 -1
  25. package/dist/store/workspace.js +219 -216
  26. package/dist/style.css +1 -1
  27. package/dist/views/Environment/Environment.vue2.js +12 -12
  28. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  29. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +54 -52
  30. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  31. package/dist/views/Request/Request.vue.js +4 -4
  32. package/dist/views/Request/Request.vue2.js +91 -89
  33. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  34. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  35. package/dist/views/Request/RequestSection/RequestTable.vue2.js +1 -1
  36. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  37. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  38. package/dist/views/Request/RequestSidebarItem.vue2.js +82 -80
  39. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +2 -2
  40. package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
  41. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +20 -20
  42. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  43. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +47 -42
  44. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.0.63
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a07cfc8]
8
+ - Updated dependencies [5483fc3]
9
+ - Updated dependencies [1e41dfe]
10
+ - Updated dependencies [023ca15]
11
+ - Updated dependencies [85872b6]
12
+ - Updated dependencies [ad89ca3]
13
+ - @scalar/types@0.0.7
14
+ - @scalar/oas-utils@0.2.42
15
+ - @scalar/components@0.12.43
16
+ - @scalar/use-toasts@0.7.6
17
+
18
+ ## 2.0.62
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [5bd8337]
23
+ - Updated dependencies [f931ac7]
24
+ - @scalar/openapi-parser@0.8.1
25
+ - @scalar/oas-utils@0.2.41
26
+
27
+ ## 2.0.61
28
+
29
+ ### Patch Changes
30
+
31
+ - 4b52f29: fix: request sidebar item ellipsis menu events
32
+ - 294ba08: fix: variable removal breaking line
33
+ - e67f5a8: chore(api-client): removed axios dependency
34
+ - 044fd7d: fix: strip variable from functio name and cta
35
+ - 152c016: feat: add environment selector to addressbar
36
+ - Updated dependencies [b4f9f97]
37
+ - Updated dependencies [0afb293]
38
+ - Updated dependencies [b4f9f97]
39
+ - Updated dependencies [e67f5a8]
40
+ - Updated dependencies [b4f9f97]
41
+ - Updated dependencies [b4f9f97]
42
+ - Updated dependencies [b63be39]
43
+ - Updated dependencies [b231e7d]
44
+ - Updated dependencies [152c016]
45
+ - Updated dependencies [b4f9f97]
46
+ - @scalar/openapi-parser@0.8.0
47
+ - @scalar/oas-utils@0.2.40
48
+ - @scalar/openapi-types@0.1.0
49
+ - @scalar/components@0.12.42
50
+ - @scalar/types@0.0.6
51
+
3
52
  ## 2.0.60
4
53
 
5
54
  ### Patch Changes
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6a33f062"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d0793c7f"]]);
6
6
  export {
7
- f as default
7
+ _ as default
8
8
  };
@@ -40,7 +40,7 @@ const J = ["id"], K = {
40
40
  emits: ["submit", "update:modelValue"],
41
41
  setup(k, { expose: w, emit: C }) {
42
42
  var b;
43
- const e = k, r = C, d = q(), _ = d.id || `id-${j()}`, p = y(!1), {
43
+ const e = k, n = C, d = q(), _ = d.id || `id-${j()}`, p = y(!1), {
44
44
  activeWorkspace: x,
45
45
  activeParsedEnvironments: c,
46
46
  isReadOnly: F,
@@ -48,26 +48,27 @@ const J = ["id"], K = {
48
48
  router: S
49
49
  } = H();
50
50
  function P(l) {
51
- return l === e.modelValue ? null : e.handleFieldChange ? e.handleFieldChange(l) : r("update:modelValue", l);
51
+ return l === e.modelValue ? null : e.handleFieldChange ? e.handleFieldChange(l) : n("update:modelValue", l);
52
52
  }
53
53
  function O(l) {
54
- return e.handleFieldSubmit ? e.handleFieldSubmit(l) : r("submit", l);
54
+ return e.handleFieldSubmit ? e.handleFieldSubmit(l) : n("submit", l);
55
55
  }
56
56
  function R(l) {
57
57
  p.value = !1, e.emitOnBlur && e.modelValue && O(l);
58
58
  }
59
- const a = [];
60
- e.colorPicker && a.push(W), e.withVariables && !x.value.isReadOnly && a.push(
59
+ const r = [];
60
+ e.colorPicker && r.push(W), e.withVariables && !x.value.isReadOnly && r.push(
61
61
  z({
62
62
  withServers: e.withServers,
63
63
  activeParsedEnvironments: c,
64
64
  environments: m,
65
65
  router: S
66
66
  })
67
- ), a.push(
68
- D({ environments: m, activeParsedEnvironments: c, isReadOnly: F })
69
- ), a.push(G);
70
- const f = y(null), { codeMirror: n } = U({
67
+ ), r.push(
68
+ D({ environments: m, activeParsedEnvironments: c, isReadOnly: F }),
69
+ G
70
+ );
71
+ const f = y(null), { codeMirror: a } = U({
71
72
  content: o(
72
73
  () => e.modelValue !== void 0 ? String(e.modelValue) : ""
73
74
  ),
@@ -81,11 +82,11 @@ const J = ["id"], K = {
81
82
  lineNumbers: o(() => e.lineNumbers),
82
83
  language: o(() => e.language),
83
84
  lint: o(() => e.lint),
84
- extensions: a,
85
+ extensions: r,
85
86
  placeholder: o(() => e.placeholder)
86
87
  });
87
- (b = n.value) == null || b.focus(), I(n, () => {
88
- n.value && Object.prototype.hasOwnProperty.call(d, "autofocus") && n.value.focus();
88
+ (b = a.value) == null || b.focus(), I(a, () => {
89
+ a.value && Object.prototype.hasOwnProperty.call(d, "autofocus") && a.value.focus();
89
90
  });
90
91
  const $ = M(() => {
91
92
  var l;
@@ -94,7 +95,7 @@ const J = ["id"], K = {
94
95
  return w({
95
96
  focus: () => {
96
97
  var l;
97
- (l = n.value) == null || l.focus();
98
+ (l = a.value) == null || l.focus();
98
99
  }
99
100
  }), (l, u) => {
100
101
  var h;
@@ -103,12 +104,12 @@ const J = ["id"], K = {
103
104
  key: 0,
104
105
  modelValue: e.modelValue,
105
106
  value: e.enum,
106
- "onUpdate:modelValue": u[0] || (u[0] = (i) => r("update:modelValue", i))
107
+ "onUpdate:modelValue": u[0] || (u[0] = (i) => n("update:modelValue", i))
107
108
  }, null, 8, ["modelValue", "value"])) : e.type === "boolean" || (h = e.type) != null && h.includes("boolean") ? (t(), v(V, {
108
109
  key: 1,
109
110
  modelValue: e.modelValue,
110
111
  value: $.value,
111
- "onUpdate:modelValue": u[1] || (u[1] = (i) => r("update:modelValue", i))
112
+ "onUpdate:modelValue": u[1] || (u[1] = (i) => n("update:modelValue", i))
112
113
  }, null, 8, ["modelValue", "value"])) : (t(), s("div", T({
113
114
  key: 2,
114
115
  id: A(_)
@@ -1 +1 @@
1
- {"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAA;AACnF,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAuB/B,KAAK,wBAAwB,GAAG,cAAc,CAAC,0BAA0B,CAAC,CAAA;AAC1E,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA;AA2G9C,eAAO,MAAM,UAAU,UAAW;IAChC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;IACzC,wBAAwB,EAAE,wBAAwB,CAAA;IAClD,UAAU,EAAE,UAAU,CAAA;CACvB;iBAGkB,aAAa;mBAMX,UAAU;2BAMF,UAAU;EAkCpC,CAAA;AAEH,eAAO,MAAM,gBAAgB,uCAmB3B,CAAA"}
1
+ {"version":3,"file":"codeVariableWidget.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/codeVariableWidget.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAA;AACnF,OAAO,EACL,UAAU,EACV,KAAK,aAAa,EAClB,UAAU,EAEV,UAAU,EACV,KAAK,UAAU,EAEhB,MAAM,wBAAwB,CAAA;AAuB/B,KAAK,wBAAwB,GAAG,cAAc,CAAC,0BAA0B,CAAC,CAAA;AAC1E,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,CAAC,CAAA;AA2G9C,eAAO,MAAM,UAAU,UAAW;IAChC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;IACzC,wBAAwB,EAAE,wBAAwB,CAAA;IAClD,UAAU,EAAE,UAAU,CAAA;CACvB;iBAGkB,aAAa;mBAMX,UAAU;2BAMF,UAAU;EAkCpC,CAAA;AAEH,eAAO,MAAM,gBAAgB,uCA8B3B,CAAA"}
@@ -1,33 +1,33 @@
1
- var u = Object.defineProperty;
2
- var h = (n, e, t) => e in n ? u(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var r = (n, e, t) => h(n, typeof e != "symbol" ? e + "" : e, t);
1
+ var p = Object.defineProperty;
2
+ var v = (n, e, t) => e in n ? p(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var r = (n, e, t) => v(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { ScalarButton as f, ScalarIcon as g, ScalarTooltip as b } from "@scalar/components";
5
- import { ViewPlugin as x, RangeSetBuilder as w, Decoration as y, EditorView as N, WidgetType as E } from "@scalar/use-codemirror";
6
- import { defineComponent as C, h as a, createApp as S } from "vue";
7
- const k = (n, e) => "_scalarEnvId" in n ? `bg-${e[n._scalarEnvId].color}` : "bg-grey";
5
+ import { ViewPlugin as x, RangeSetBuilder as y, Decoration as w, EditorView as N, WidgetType as E } from "@scalar/use-codemirror";
6
+ import { defineComponent as C, h as i, createApp as D } from "vue";
7
+ const S = (n, e) => "_scalarEnvId" in n ? `bg-${e[n._scalarEnvId].color}` : "bg-grey";
8
8
  class d extends E {
9
- constructor(t, i, s, o) {
9
+ constructor(t, a, s, o) {
10
10
  super();
11
11
  r(this, "app");
12
12
  r(this, "environments");
13
13
  r(this, "activeParsedEnvironments");
14
14
  r(this, "isReadOnly");
15
- this.variableName = t, this.variableName = t, this.environments = i, this.activeParsedEnvironments = s, this.isReadOnly = o;
15
+ this.variableName = t, this.variableName = t, this.environments = a, this.activeParsedEnvironments = s, this.isReadOnly = o;
16
16
  }
17
17
  toDOM() {
18
18
  const t = document.createElement("span");
19
19
  t.className = "cm-pill", t.textContent = `${this.variableName}`;
20
- const i = C({
20
+ const a = C({
21
21
  props: { variableName: { type: String, default: null } },
22
22
  render: () => {
23
23
  const s = this.activeParsedEnvironments.value.find(
24
24
  (c) => c.key === this.variableName
25
25
  );
26
- s && (t.className += ` ${k(s, this.environments)}`);
27
- const o = s ? a("div", { class: "p-2" }, s.value) : a("div", { class: "divide-y divide-1/2 grid" }, [
28
- a("span", { class: "p-2" }, "Variable not found"),
29
- !this.isReadOnly && a("div", { class: "p-1" }, [
30
- a(
26
+ s && (t.className += ` ${S(s, this.environments)}`);
27
+ const o = s ? i("div", { class: "p-2" }, s.value) : i("div", { class: "divide-y divide-1/2 grid" }, [
28
+ i("span", { class: "p-2" }, "Variable not found"),
29
+ !this.isReadOnly && i("div", { class: "p-1" }, [
30
+ i(
31
31
  f,
32
32
  {
33
33
  class: "gap-1.5 justify-start font-normal px-1 py-1.5 h-auto transition-colors rounded no-underline text-xxs w-full hover:bg-b-2",
@@ -37,13 +37,13 @@ class d extends E {
37
37
  }
38
38
  },
39
39
  [
40
- a(g, { class: "w-2", icon: "Add", size: "xs" }),
40
+ i(g, { class: "w-2", icon: "Add", size: "xs" }),
41
41
  "Add variable"
42
42
  ]
43
43
  )
44
44
  ])
45
45
  ]);
46
- return a(
46
+ return i(
47
47
  b,
48
48
  {
49
49
  align: "start",
@@ -53,8 +53,8 @@ class d extends E {
53
53
  sideOffset: 6
54
54
  },
55
55
  {
56
- trigger: () => a("span", `${this.variableName}`),
57
- content: () => a(
56
+ trigger: () => i("span", `${this.variableName}`),
57
+ content: () => i(
58
58
  "div",
59
59
  {
60
60
  class: "w-content shadow-lg rounded bg-b-1 text-xxs leading-5 text-c-1"
@@ -65,7 +65,7 @@ class d extends E {
65
65
  );
66
66
  }
67
67
  });
68
- return this.app = S(i, { variableName: this.variableName }), this.app.mount(t), t;
68
+ return this.app = D(a, { variableName: this.variableName }), this.app.mount(t), t;
69
69
  }
70
70
  destroy() {
71
71
  this.app && this.app.unmount();
@@ -87,18 +87,18 @@ const $ = (n) => x.fromClass(
87
87
  (e.docChanged || e.viewportChanged) && (this.decorations = this.buildDecorations(e.view));
88
88
  }
89
89
  buildDecorations(e) {
90
- const t = new w();
91
- for (const { from: i, to: s } of e.visibleRanges) {
92
- const o = e.state.doc.sliceString(i, s), c = /{{(.*?)}}/g;
90
+ const t = new y();
91
+ for (const { from: a, to: s } of e.visibleRanges) {
92
+ const o = e.state.doc.sliceString(a, s), c = /{{(.*?)}}/g;
93
93
  let l;
94
94
  for (; (l = c.exec(o)) !== null; ) {
95
- const m = i + l.index, v = m + l[0].length, p = l[1];
95
+ const m = a + l.index, u = m + l[0].length, h = l[1];
96
96
  t.add(
97
97
  m,
98
- v,
99
- y.widget({
98
+ u,
99
+ w.widget({
100
100
  widget: new d(
101
- p,
101
+ h,
102
102
  n.environments,
103
103
  n.activeParsedEnvironments,
104
104
  n.isReadOnly
@@ -117,11 +117,16 @@ const $ = (n) => x.fromClass(
117
117
  ), A = N.domEventHandlers({
118
118
  keydown(n, e) {
119
119
  if (n.key === "Backspace") {
120
- const { state: t } = e, { from: i, to: s } = t.selection.main;
121
- if (i === s && i > 0 && t.doc.sliceString(i - 2, i) === "}}")
120
+ const { state: t } = e, { from: a, to: s } = t.selection.main;
121
+ if (a === 0 && s === t.doc.length)
122
122
  return e.dispatch({
123
- changes: { from: i - 2, to: s },
124
- selection: { anchor: i - 2 }
123
+ changes: { from: 0, to: t.doc.length },
124
+ selection: { anchor: 0 }
125
+ }), n.preventDefault(), !0;
126
+ if (a === s && a > 0 && t.doc.sliceString(a - 2, a) === "}}")
127
+ return e.dispatch({
128
+ changes: { from: a - 2, to: s },
129
+ selection: { anchor: a - 2 }
125
130
  }), n.preventDefault(), !0;
126
131
  }
127
132
  return !1;
@@ -0,0 +1,3 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
3
+ //# sourceMappingURL=EnvironmentSelector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/EnvironmentSelector/EnvironmentSelector.vue"],"names":[],"mappings":";AAgdA,wBAKG"}
@@ -0,0 +1,114 @@
1
+ import { defineComponent as y, computed as S, openBlock as a, createElementBlock as f, createVNode as n, unref as e, withCtx as o, Fragment as N, renderList as D, createBlock as v, withModifiers as h, createElementVNode as r, normalizeClass as x, createTextVNode as l, toDisplayString as k, createCommentVNode as j } from "vue";
2
+ import { useWorkspace as z } from "../../store/workspace.js";
3
+ import { ScalarDropdown as B, ScalarDropdownItem as d, ScalarIcon as c, ScalarDropdownDivider as I, ScalarButton as V } from "@scalar/components";
4
+ import { useRouter as M } from "vue-router";
5
+ const W = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, $ = { class: "flex items-center justify-center h-4 w-4" }, O = /* @__PURE__ */ r("span", { class: "leading-none" }, "Manage Environments", -1), G = /* @__PURE__ */ y({
6
+ __name: "EnvironmentSelector",
7
+ setup(R) {
8
+ const {
9
+ environments: u,
10
+ activeWorkspace: s,
11
+ workspaceMutators: w,
12
+ activeEnvironment: _,
13
+ isReadOnly: g
14
+ } = z(), b = M(), m = (i) => {
15
+ w.edit(s.value.uid, "activeEnvironmentId", i);
16
+ }, C = () => b.push(`/workspace/${s.value.uid}/environment`), E = S(() => [
17
+ // Always add the default environment
18
+ u.default,
19
+ ...Object.values(u).filter((i) => i.uid !== "default")
20
+ ]);
21
+ return (i, p) => (a(), f("div", null, [
22
+ n(e(B), null, {
23
+ items: o(() => [
24
+ (a(!0), f(N, null, D(E.value, (t) => (a(), v(e(d), {
25
+ key: t.uid,
26
+ class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
27
+ onClick: h((F) => m(t.uid), ["stop"])
28
+ }, {
29
+ default: o(() => [
30
+ r("div", {
31
+ class: x([
32
+ "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
33
+ e(s).activeEnvironmentId === t.uid ? "bg-blue text-b-1" : "text-transparent"
34
+ ])
35
+ }, [
36
+ n(e(c), {
37
+ class: "size-2.5",
38
+ icon: "Checkmark",
39
+ thickness: "3.5"
40
+ })
41
+ ], 2),
42
+ l(" " + k(t.name), 1)
43
+ ]),
44
+ _: 2
45
+ }, 1032, ["onClick"]))), 128)),
46
+ n(e(d), {
47
+ class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
48
+ onClick: p[0] || (p[0] = h((t) => m(""), ["stop"]))
49
+ }, {
50
+ default: o(() => [
51
+ r("div", {
52
+ class: x([
53
+ "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
54
+ e(s).activeEnvironmentId === "" ? "bg-blue text-b-1" : "text-transparent"
55
+ ])
56
+ }, [
57
+ n(e(c), {
58
+ class: "size-2.5",
59
+ icon: "Checkmark",
60
+ thickness: "3.5"
61
+ })
62
+ ], 2),
63
+ l(" No Environment ")
64
+ ]),
65
+ _: 1
66
+ }),
67
+ n(e(I)),
68
+ e(g) ? j("", !0) : (a(), v(e(d), {
69
+ key: 0,
70
+ class: "flex items-center gap-1.5",
71
+ onClick: C
72
+ }, {
73
+ default: o(() => [
74
+ r("div", $, [
75
+ n(e(c), {
76
+ icon: "Brackets",
77
+ size: "sm"
78
+ })
79
+ ]),
80
+ O
81
+ ]),
82
+ _: 1
83
+ }))
84
+ ]),
85
+ default: o(() => [
86
+ n(e(V), {
87
+ class: "font-normal h-auto justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 text-c-2 w-fit",
88
+ fullWidth: "",
89
+ variant: "ghost"
90
+ }, {
91
+ default: o(() => {
92
+ var t;
93
+ return [
94
+ r("h2", W, [
95
+ l(k(((t = e(_)) == null ? void 0 : t.name) ?? "No Environment") + " ", 1),
96
+ n(e(c), {
97
+ class: "size-2.5",
98
+ icon: "ChevronDown",
99
+ thickness: "3.5"
100
+ })
101
+ ])
102
+ ];
103
+ }),
104
+ _: 1
105
+ })
106
+ ]),
107
+ _: 1
108
+ })
109
+ ]));
110
+ }
111
+ });
112
+ export {
113
+ G as default
114
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./EnvironmentSelector.vue.js";
2
+ export {
3
+ f as default
4
+ };