@scalar/api-client 2.1.30 → 2.1.32

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 (54) hide show
  1. package/CHANGELOG.md +20 -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 +3 -3
  5. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  7. package/dist/components/CodeInput/CodeInput.vue2.js +104 -92
  8. package/dist/components/CodeInput/codeVariableWidget.js +3 -3
  9. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  10. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  11. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +110 -95
  12. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  13. package/dist/components/DataTable/DataTableCell.vue.js +5 -5
  14. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  15. package/dist/components/SideNav/SideNav.vue.js +1 -1
  16. package/dist/components/SideNav/SideNav.vue2.js +22 -22
  17. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  18. package/dist/components/ViewLayout/ViewLayout.vue.js +4 -4
  19. package/dist/constants.d.ts +1 -1
  20. package/dist/constants.js +1 -1
  21. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  22. package/dist/layouts/App/ApiClientApp.vue.js +37 -42
  23. package/dist/layouts/App/MainLayout.vue.d.ts +12 -0
  24. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -0
  25. package/dist/layouts/App/MainLayout.vue.js +18 -0
  26. package/dist/layouts/App/MainLayout.vue2.js +4 -0
  27. package/dist/layouts/App/create-api-client-app.d.ts +6 -5
  28. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  29. package/dist/layouts/Modal/create-api-client-modal.d.ts +12 -10
  30. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  31. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  32. package/dist/layouts/Web/ApiClientWeb.vue.js +26 -31
  33. package/dist/layouts/Web/create-api-client-web.d.ts +6 -5
  34. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  35. package/dist/libs/create-client.d.ts +6 -5
  36. package/dist/libs/create-client.d.ts.map +1 -1
  37. package/dist/libs/create-client.js +21 -18
  38. package/dist/store/store.d.ts +28 -13
  39. package/dist/store/store.d.ts.map +1 -1
  40. package/dist/store/store.js +112 -108
  41. package/dist/store/workspace.d.ts +4 -4
  42. package/dist/style.css +1 -1
  43. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +4 -1
  44. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  45. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +61 -48
  46. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  47. package/dist/views/Request/RequestSection/RequestBody.vue.js +5 -384
  48. package/dist/views/Request/RequestSection/RequestBody.vue2.js +384 -2
  49. package/dist/views/Request/RequestSection/RequestSection.vue.js +15 -15
  50. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
  51. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  52. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  53. package/dist/views/Settings/SettingsGeneral.vue.js +90 -65
  54. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.1.32
4
+
5
+ ### Patch Changes
6
+
7
+ - 4ccbb6b: feat: adds settings command to command palette
8
+ - 85a1815: fix: increases address bar loading background index
9
+ - a12857f: style: environment variable tooltip fixtures
10
+ - b500de2: fix: data table cell overflow issue
11
+ - 294fde8: feat: adds keyboard navigation within environment variable dropdown
12
+ - 0706bc4: fix(api-client): move sidenav to bottom on mobile
13
+ - 86a3a82: fix: API client always uses proxy.scalar.com
14
+ - 48afb7c: fix: removes stopped propagation on enter key in code input
15
+
16
+ ## 2.1.31
17
+
18
+ ### Patch Changes
19
+
20
+ - @scalar/components@0.12.58
21
+ - @scalar/use-codemirror@0.11.25
22
+
3
23
  ## 2.1.30
4
24
 
5
25
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAuvBA,wBAQG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAwvBA,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b2aad57d"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-19d5c366"]]);
5
5
  export {
6
- s as default
6
+ d as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as H, ref as u, watch as L, onMounted as K, onBeforeUnmount as O, unref as o, openBlock as z, createElementBlock as A, createElementVNode as r, createVNode as n, withCtx as w, normalizeClass as C, normalizeStyle as N, createCommentVNode as T } from "vue";
1
+ import { defineComponent as H, ref as u, watch as L, onMounted as z, onBeforeUnmount as K, unref as o, openBlock as O, createElementBlock as A, createElementVNode as r, createVNode as n, withCtx as w, normalizeClass as C, normalizeStyle as N, createCommentVNode as T } from "vue";
2
2
  import $ from "../CodeInput/CodeInput.vue.js";
3
3
  import { Listbox as D } from "@headlessui/vue";
4
4
  import { ScalarButton as P, ScalarIcon as Q } from "@scalar/components";
@@ -75,7 +75,7 @@ const ee = {
75
75
  var l;
76
76
  e != null && e.focusAddressBar && ((l = p.value) == null || l.focus());
77
77
  }
78
- return K(() => d.hotKeys.on(g)), O(() => d.hotKeys.off(g)), (e, l) => o(t) && o(_) ? (z(), A("div", ee, [
78
+ return z(() => d.hotKeys.on(g)), K(() => d.hotKeys.off(g)), (e, l) => o(t) && o(_) ? (O(), A("div", ee, [
79
79
  r("div", te, [
80
80
  n(o(D), {
81
81
  modelValue: c.value,
@@ -90,7 +90,7 @@ const ee = {
90
90
  }, [
91
91
  r("div", le, [
92
92
  r("div", {
93
- class: C(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full", M()]),
93
+ class: C(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context", M()]),
94
94
  style: N({ transform: `translate3d(-${a.value}%,0,0)` })
95
95
  }, null, 6)
96
96
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OA2WO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAcb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;;;kBAlBN,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;gBAfP,OAAO;iBAHN,OAAO;sBAMF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBAuUG,GAAG;kBACN,GAAG;;AA5V9B,wBAmZC;AAcD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OAiYO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAcb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;;;kBAlBN,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;gBAfP,OAAO;iBAHN,OAAO;sBAMF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBA6WG,GAAG;kBACN,GAAG;;AAlY9B,wBA2bC;AAcD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -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 a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6d843399"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9121d6e5"]]);
6
6
  export {
7
- a as default
7
+ _ as default
8
8
  };
@@ -1,20 +1,20 @@
1
- import { defineComponent as T, useAttrs as A, ref as u, toRef as t, watch as U, computed as C, openBlock as a, createElementBlock as s, Fragment as W, createBlock as p, mergeProps as j, unref as i, renderSlot as _, createCommentVNode as m } from "vue";
2
- import { useCodeMirror as L, useDropdown as Q, colorPicker as z } from "@scalar/use-codemirror";
3
- import { nanoid as G } from "nanoid";
4
- import x from "../DataTable/DataTableInputSelect.vue.js";
5
- import { pillPlugin as H, backspaceCommand as J } from "./codeVariableWidget.js";
6
- import K from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
7
- import { useWorkspace as X } from "../../store/store.js";
8
- const Y = ["id"], Z = {
1
+ import { defineComponent as j, useAttrs as L, ref as u, toRef as r, watch as Q, computed as P, openBlock as a, createElementBlock as c, Fragment as z, createBlock as y, mergeProps as G, unref as d, withKeys as h, withModifiers as _, renderSlot as D, createCommentVNode as w } from "vue";
2
+ import { useCodeMirror as H, useDropdown as J, colorPicker as X } from "@scalar/use-codemirror";
3
+ import { nanoid as Y } from "nanoid";
4
+ import q from "../DataTable/DataTableInputSelect.vue.js";
5
+ import { pillPlugin as Z, backspaceCommand as ee } from "./codeVariableWidget.js";
6
+ import oe from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
7
+ import { useWorkspace as le } from "../../store/store.js";
8
+ const te = ["id"], ne = {
9
9
  key: 3,
10
10
  class: "absolute centered-y right-7 text-orange text-xs"
11
- }, ee = {
11
+ }, re = {
12
12
  key: 4,
13
13
  class: "required absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[.cm-focused]:opacity-0 pointer-events-none"
14
- }, oe = {
14
+ }, ae = {
15
15
  inheritAttrs: !1
16
- }, se = /* @__PURE__ */ T({
17
- ...oe,
16
+ }, me = /* @__PURE__ */ j({
17
+ ...ae,
18
18
  __name: "CodeInput",
19
19
  props: {
20
20
  colorPicker: { type: Boolean, default: !1 },
@@ -38,110 +38,122 @@ const Y = ["id"], Z = {
38
38
  importCurl: { type: Boolean }
39
39
  },
40
40
  emits: ["submit", "update:modelValue", "curl"],
41
- setup(S, { expose: F, emit: P }) {
42
- var B;
43
- const e = S, r = P, f = A(), q = f.id || `id-${G()}`, b = u(!1), h = u(!1), y = u(""), v = u({ left: 0, top: 0 }), { activeEnvVariables: g, isReadOnly: V, environments: E, router: $ } = X();
44
- function O(o) {
45
- var n;
46
- return o === e.modelValue ? null : e.importCurl && o.trim().toLowerCase().startsWith("curl") ? (r("curl", o), (n = l.value) == null || n.dispatch({
41
+ setup(E, { expose: R, emit: $ }) {
42
+ var x;
43
+ const o = E, i = $, v = L(), O = v.id || `id-${Y()}`, g = u(!1), f = u(!1), V = u(""), B = u({ left: 0, top: 0 }), p = u(null), { activeEnvVariables: k, isReadOnly: C, environments: K, router: M } = le();
44
+ function A(e) {
45
+ var l;
46
+ return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (i("curl", e), (l = n.value) == null || l.dispatch({
47
47
  changes: {
48
48
  from: 0,
49
- to: l.value.state.doc.length,
50
- insert: String(e.modelValue)
49
+ to: n.value.state.doc.length,
50
+ insert: String(o.modelValue)
51
51
  }
52
- }), null) : e.handleFieldChange ? e.handleFieldChange(o) : r("update:modelValue", o);
52
+ }), null) : o.handleFieldChange ? o.handleFieldChange(e) : i("update:modelValue", e);
53
53
  }
54
- function R(o) {
55
- return e.handleFieldSubmit ? e.handleFieldSubmit(o) : r("submit", o);
54
+ function I(e) {
55
+ return o.handleFieldSubmit ? o.handleFieldSubmit(e) : i("submit", e);
56
56
  }
57
- function D(o) {
58
- b.value = !1, e.emitOnBlur && e.modelValue && R(o);
57
+ function N(e) {
58
+ g.value = !1, o.emitOnBlur && o.modelValue && I(e);
59
59
  }
60
- const d = [];
61
- e.colorPicker && d.push(z), d.push(
62
- H({
63
- environments: E,
64
- activeEnvVariables: g,
65
- isReadOnly: V
60
+ const m = [];
61
+ o.colorPicker && m.push(X), m.push(
62
+ Z({
63
+ environments: K,
64
+ activeEnvVariables: k,
65
+ isReadOnly: C
66
66
  }),
67
- J
67
+ ee
68
68
  );
69
- const w = u(null), { codeMirror: l } = L({
70
- content: t(
71
- () => e.modelValue !== void 0 ? String(e.modelValue) : ""
69
+ const S = u(null), { codeMirror: n } = H({
70
+ content: r(
71
+ () => o.modelValue !== void 0 ? String(o.modelValue) : ""
72
72
  ),
73
- onChange: (o) => {
74
- O(o), M();
73
+ onChange: (e) => {
74
+ A(e), U();
75
75
  },
76
- onFocus: () => b.value = !0,
77
- onBlur: (o) => D(o),
78
- codeMirrorRef: w,
79
- disableTabIndent: t(() => e.disableTabIndent),
80
- disableEnter: t(() => e.disableEnter),
81
- disableCloseBrackets: t(() => e.disableCloseBrackets),
82
- lineNumbers: t(() => e.lineNumbers),
83
- language: t(() => e.language),
84
- lint: t(() => e.lint),
85
- extensions: d,
86
- placeholder: t(() => e.placeholder)
76
+ onFocus: () => g.value = !0,
77
+ onBlur: (e) => N(e),
78
+ codeMirrorRef: S,
79
+ disableTabIndent: r(() => o.disableTabIndent),
80
+ disableEnter: r(() => o.disableEnter),
81
+ disableCloseBrackets: r(() => o.disableCloseBrackets),
82
+ lineNumbers: r(() => o.lineNumbers),
83
+ language: r(() => o.language),
84
+ lint: r(() => o.lint),
85
+ extensions: m,
86
+ placeholder: r(() => o.placeholder)
87
87
  });
88
- (B = l.value) == null || B.focus(), U(l, () => {
89
- l.value && Object.prototype.hasOwnProperty.call(f, "autofocus") && l.value.focus();
88
+ (x = n.value) == null || x.focus(), Q(n, () => {
89
+ n.value && Object.prototype.hasOwnProperty.call(v, "autofocus") && n.value.focus();
90
90
  });
91
- const { handleDropdownSelect: I, updateDropdownVisibility: M } = Q({
92
- codeMirror: l,
93
- query: y,
94
- showDropdown: h,
95
- dropdownPosition: v
96
- }), N = C(() => {
97
- var o;
98
- return e.type === "boolean" || (o = e.type) != null && o.includes("boolean") || e.nullable ? ["true", "false", "null"] : ["true", "false"];
91
+ const { handleDropdownSelect: T, updateDropdownVisibility: U } = J({
92
+ codeMirror: n,
93
+ query: V,
94
+ showDropdown: f,
95
+ dropdownPosition: B
96
+ }), W = P(() => {
97
+ var e;
98
+ return o.type === "boolean" || (e = o.type) != null && e.includes("boolean") || o.nullable ? ["true", "false", "null"] : ["true", "false"];
99
99
  });
100
- return F({
100
+ R({
101
101
  focus: () => {
102
- var o;
103
- (o = l.value) == null || o.focus();
102
+ var e;
103
+ (e = n.value) == null || e.focus();
104
104
  }
105
- }), (o, n) => {
106
- var k;
107
- return a(), s(W, null, [
108
- e.enum && e.enum.length ? (a(), p(x, {
105
+ });
106
+ const b = (e, l) => {
107
+ var s, t, F;
108
+ f.value && (e === "down" ? (l.preventDefault(), (s = p.value) == null || s.handleArrowKey("down")) : e === "up" ? (l.preventDefault(), (t = p.value) == null || t.handleArrowKey("up")) : e === "enter" && (l.preventDefault(), (F = p.value) == null || F.handleSelect()));
109
+ };
110
+ return (e, l) => {
111
+ var s;
112
+ return a(), c(z, null, [
113
+ o.enum && o.enum.length ? (a(), y(q, {
109
114
  key: 0,
110
- modelValue: e.modelValue,
111
- value: e.enum,
112
- "onUpdate:modelValue": n[0] || (n[0] = (c) => r("update:modelValue", c))
113
- }, null, 8, ["modelValue", "value"])) : e.type === "boolean" || (k = e.type) != null && k.includes("boolean") ? (a(), p(x, {
115
+ modelValue: o.modelValue,
116
+ value: o.enum,
117
+ "onUpdate:modelValue": l[0] || (l[0] = (t) => i("update:modelValue", t))
118
+ }, null, 8, ["modelValue", "value"])) : o.type === "boolean" || (s = o.type) != null && s.includes("boolean") ? (a(), y(q, {
114
119
  key: 1,
115
- modelValue: e.modelValue,
116
- value: N.value,
117
- "onUpdate:modelValue": n[1] || (n[1] = (c) => r("update:modelValue", c))
118
- }, null, 8, ["modelValue", "value"])) : (a(), s("div", j({
120
+ modelValue: o.modelValue,
121
+ value: W.value,
122
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => i("update:modelValue", t))
123
+ }, null, 8, ["modelValue", "value"])) : (a(), c("div", G({
119
124
  key: 2,
120
- id: i(q)
121
- }, o.$attrs, {
125
+ id: d(O)
126
+ }, e.$attrs, {
122
127
  ref_key: "codeMirrorRef",
123
- ref: w,
128
+ ref: S,
124
129
  class: ["peer font-code w-full whitespace-nowrap overflow-hidden text-xs leading-[1.44] relative", {
125
- "flow-code-input--error": o.error
126
- }]
127
- }), null, 16, Y)),
128
- o.$slots.warning ? (a(), s("div", Z, [
129
- _(o.$slots, "warning", {}, void 0, !0)
130
- ])) : m("", !0),
131
- _(o.$slots, "icon", {}, void 0, !0),
132
- o.required ? (a(), s("div", ee, " Required ")) : m("", !0),
133
- h.value && e.withVariables && !i(V) ? (a(), p(K, {
130
+ "flow-code-input--error": e.error
131
+ }],
132
+ onKeydown: [
133
+ l[2] || (l[2] = h(_((t) => b("down", t), ["stop"]), ["down"])),
134
+ l[3] || (l[3] = h((t) => b("enter", t), ["enter"])),
135
+ l[4] || (l[4] = h(_((t) => b("up", t), ["stop"]), ["up"]))
136
+ ]
137
+ }), null, 16, te)),
138
+ e.$slots.warning ? (a(), c("div", ne, [
139
+ D(e.$slots, "warning", {}, void 0, !0)
140
+ ])) : w("", !0),
141
+ D(e.$slots, "icon", {}, void 0, !0),
142
+ e.required ? (a(), c("div", re, " Required ")) : w("", !0),
143
+ f.value && o.withVariables && !d(C) ? (a(), y(oe, {
134
144
  key: 5,
135
- activeEnvVariables: C(() => i(g)),
136
- dropdownPosition: v.value,
137
- query: y.value,
138
- router: i($),
139
- onSelect: i(I)
140
- }, null, 8, ["activeEnvVariables", "dropdownPosition", "query", "router", "onSelect"])) : m("", !0)
145
+ ref_key: "dropdownRef",
146
+ ref: p,
147
+ activeEnvVariables: P(() => d(k)),
148
+ dropdownPosition: B.value,
149
+ query: V.value,
150
+ router: d(M),
151
+ onSelect: d(T)
152
+ }, null, 8, ["activeEnvVariables", "dropdownPosition", "query", "router", "onSelect"])) : w("", !0)
141
153
  ], 64);
142
154
  };
143
155
  }
144
156
  });
145
157
  export {
146
- se as default
158
+ me as default
147
159
  };
@@ -53,8 +53,8 @@ class c extends E {
53
53
  return o(
54
54
  b,
55
55
  {
56
- align: "start",
57
- class: "bg-b-1 w-full",
56
+ align: "center",
57
+ class: "bg-b-2 w-full",
58
58
  delay: 0,
59
59
  side: "bottom",
60
60
  sideOffset: 6
@@ -64,7 +64,7 @@ class c extends E {
64
64
  content: () => o(
65
65
  "div",
66
66
  {
67
- class: "w-content shadow-lg rounded bg-b-1 text-xxs leading-5 text-c-1"
67
+ class: "w-content shadow-lg rounded bg-b-1 brightness-lifted text-xxs leading-5 text-c-1"
68
68
  },
69
69
  s
70
70
  )
@@ -1 +1 @@
1
- {"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA2XA;;;;GAIG;;AACH,wBA+eI;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":"AAwYA;;;;GAIG;;AACH,wBAsgBI;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-d5ed30d9"]]);
5
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8ba6791f"]]);
6
6
  export {
7
- f as PaletteComponents,
8
- a as default
7
+ s as PaletteComponents,
8
+ r as default
9
9
  };