@scalar/api-client 2.0.14 → 2.0.16

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 (117) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +46 -3
  3. package/dist/App/ApiClientApp.vue.d.ts +3 -0
  4. package/dist/App/ApiClientApp.vue.d.ts.map +1 -0
  5. package/dist/App/ApiClientApp.vue.js +56 -0
  6. package/dist/App/ApiClientApp.vue3.js +5 -0
  7. package/dist/App/createApiClientApp.d.ts +16 -0
  8. package/dist/App/createApiClientApp.d.ts.map +1 -0
  9. package/dist/App/createApiClientApp.js +62 -0
  10. package/dist/App/index.d.ts +3 -0
  11. package/dist/App/index.d.ts.map +1 -0
  12. package/dist/App/index.js +6 -0
  13. package/dist/App.vue.d.ts.map +1 -1
  14. package/dist/App.vue.js +49 -33
  15. package/dist/Modal/api-client-modal.d.ts +1 -1
  16. package/dist/Modal/api-client-modal.d.ts.map +1 -1
  17. package/dist/Modal/api-client-modal.js +7 -7
  18. package/dist/Modal/index.js +4 -4
  19. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  20. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  21. package/dist/components/AddressBar/AddressBar.vue2.js +2 -2
  22. package/dist/components/CodeInput/CodeInput.vue.d.ts +31 -4
  23. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  24. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  25. package/dist/components/CodeInput/CodeInput.vue2.js +61 -37
  26. package/dist/components/CommandPalette/CommandPalette.vue.d.ts +17 -0
  27. package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +1 -0
  28. package/dist/components/CommandPalette/CommandPalette.vue.js +7 -0
  29. package/dist/components/CommandPalette/CommandPalette.vue2.js +184 -0
  30. package/dist/components/{ActionModal/ActionModalImport.vue.d.ts → CommandPalette/CommandPaletteCollection.vue.d.ts} +1 -1
  31. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -0
  32. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +66 -0
  33. package/dist/components/CommandPalette/CommandPaletteCollection.vue2.js +4 -0
  34. package/dist/components/{ActionModal/ActionModalCollection.vue.d.ts → CommandPalette/CommandPaletteExample.vue.d.ts} +1 -1
  35. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -0
  36. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +107 -0
  37. package/dist/components/CommandPalette/CommandPaletteExample.vue2.js +4 -0
  38. package/dist/components/{ActionModal/ActionModalRequest.vue.d.ts → CommandPalette/CommandPaletteFolder.vue.d.ts} +1 -1
  39. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -0
  40. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +104 -0
  41. package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +4 -0
  42. package/dist/components/{ActionModal/ActionModalVariant.vue.d.ts → CommandPalette/CommandPaletteImport.vue.d.ts} +1 -1
  43. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -0
  44. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +86 -0
  45. package/dist/components/CommandPalette/CommandPaletteImport.vue2.js +4 -0
  46. package/dist/components/{ActionModal/ActionModalFolder.vue.d.ts → CommandPalette/CommandPaletteRequest.vue.d.ts} +1 -1
  47. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -0
  48. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +119 -0
  49. package/dist/components/CommandPalette/CommandPaletteRequest.vue2.js +4 -0
  50. package/dist/components/ContextBar.vue.js +5 -5
  51. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +6 -6
  52. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  53. package/dist/components/DataTable/DataTableCell.vue.js +4 -4
  54. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  55. package/dist/components/DataTable/DataTableInput.vue.js +2 -2
  56. package/dist/components/DataTable/DataTableInput.vue2.js +63 -61
  57. package/dist/components/DataTable/DataTableInputEnumSelect.vue.d.ts.map +1 -1
  58. package/dist/components/DataTable/DataTableInputEnumSelect.vue.js +1 -1
  59. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  60. package/dist/components/SideNav/SideNavLink.vue.js +3 -3
  61. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  62. package/dist/components/TopNav/TopNav.vue.js +1 -1
  63. package/dist/components/TopNav/TopNav.vue2.js +26 -26
  64. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  65. package/dist/components/TopNav/TopNavItem.vue2.js +8 -8
  66. package/dist/hooks/index.d.ts +0 -1
  67. package/dist/hooks/index.d.ts.map +1 -1
  68. package/dist/hooks/index.js +6 -9
  69. package/dist/index.d.ts +1 -0
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +11 -6
  72. package/dist/router.d.ts +4 -1
  73. package/dist/router.d.ts.map +1 -1
  74. package/dist/style.css +1 -1
  75. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  76. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +32 -31
  77. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  78. package/dist/views/Request/Request.vue.js +2 -2
  79. package/dist/views/Request/Request.vue2.js +68 -74
  80. package/dist/views/Request/RequestSection/RequestSection.vue.js +7 -7
  81. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  82. package/dist/views/Request/RequestSection/RequestTable.vue.js +4 -5
  83. package/dist/views/Request/RequestSection/RequestTable.vue2.js +80 -64
  84. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  85. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  86. package/dist/views/Request/RequestSidebarItem.vue2.js +48 -48
  87. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  88. package/dist/views/Request/RequestSidebarItemMenu.vue.js +41 -68
  89. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  90. package/package.json +10 -5
  91. package/dist/assets/ascii/collection.ascii.js +0 -10
  92. package/dist/assets/ascii/folder.ascii.js +0 -10
  93. package/dist/assets/ascii/import.ascii.js +0 -10
  94. package/dist/assets/ascii/request.ascii.js +0 -10
  95. package/dist/assets/ascii/variant.ascii.js +0 -10
  96. package/dist/components/ActionModal/ActionModal.vue.d.ts +0 -21
  97. package/dist/components/ActionModal/ActionModal.vue.d.ts.map +0 -1
  98. package/dist/components/ActionModal/ActionModal.vue.js +0 -7
  99. package/dist/components/ActionModal/ActionModal.vue2.js +0 -117
  100. package/dist/components/ActionModal/ActionModalCollection.vue.d.ts.map +0 -1
  101. package/dist/components/ActionModal/ActionModalCollection.vue.js +0 -54
  102. package/dist/components/ActionModal/ActionModalCollection.vue2.js +0 -4
  103. package/dist/components/ActionModal/ActionModalFolder.vue.d.ts.map +0 -1
  104. package/dist/components/ActionModal/ActionModalFolder.vue.js +0 -92
  105. package/dist/components/ActionModal/ActionModalFolder.vue2.js +0 -4
  106. package/dist/components/ActionModal/ActionModalImport.vue.d.ts.map +0 -1
  107. package/dist/components/ActionModal/ActionModalImport.vue.js +0 -70
  108. package/dist/components/ActionModal/ActionModalImport.vue2.js +0 -4
  109. package/dist/components/ActionModal/ActionModalRequest.vue.d.ts.map +0 -1
  110. package/dist/components/ActionModal/ActionModalRequest.vue.js +0 -108
  111. package/dist/components/ActionModal/ActionModalRequest.vue2.js +0 -4
  112. package/dist/components/ActionModal/ActionModalVariant.vue.d.ts.map +0 -1
  113. package/dist/components/ActionModal/ActionModalVariant.vue.js +0 -93
  114. package/dist/components/ActionModal/ActionModalVariant.vue2.js +0 -4
  115. package/dist/hooks/useActionModal.d.ts +0 -16
  116. package/dist/hooks/useActionModal.d.ts.map +0 -1
  117. package/dist/hooks/useActionModal.js +0 -25
@@ -17,4 +17,4 @@ type __VLS_TypePropsToOption<T> = {
17
17
  required: true;
18
18
  };
19
19
  };
20
- //# sourceMappingURL=ActionModalVariant.vue.d.ts.map
20
+ //# sourceMappingURL=CommandPaletteImport.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandPaletteImport.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteImport.vue"],"names":[],"mappings":";WA+FS,MAAM;;;;WAAN,MAAM;;;;AAgMf,wBAOG;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"}
@@ -0,0 +1,86 @@
1
+ import { defineComponent as v, ref as m, onMounted as S, openBlock as y, createElementBlock as F, Fragment as C, createElementVNode as t, toDisplayString as k, withModifiers as I, createVNode as a, unref as o, withCtx as u, createTextVNode as d } from "vue";
2
+ import { useWorkspace as N } from "../../store/workspace.js";
3
+ import { ScalarButton as f, ScalarIcon as R } from "@scalar/components";
4
+ import { useFileDialog as U } from "../../hooks/useFileDialog.js";
5
+ const A = { class: "gap-3 rounded bg-b-2 focus-within:bg-b-1 focus-within:shadow-border min-h-20 relative" }, B = /* @__PURE__ */ t("label", {
6
+ class: "absolute w-full h-full opacity-0 cursor-text",
7
+ for: "requestimport"
8
+ }, null, -1), D = { class: "flex gap-2" }, L = { class: "flex flex-1 gap-2 max-h-8" }, T = /* @__PURE__ */ v({
9
+ __name: "CommandPaletteImport",
10
+ props: {
11
+ title: {}
12
+ },
13
+ emits: ["close"],
14
+ setup(M, { emit: h }) {
15
+ const s = h, { importSpecFile: x, importSpecFromUrl: g } = N(), r = m(""), { open: _ } = U({
16
+ onChange: async (e) => {
17
+ const l = e == null ? void 0 : e[0];
18
+ if (l) {
19
+ const c = new FileReader();
20
+ c.onload = async (b) => {
21
+ var p;
22
+ const w = (p = b.target) == null ? void 0 : p.result;
23
+ x(w), n(), s("close");
24
+ }, c.readAsText(l);
25
+ }
26
+ },
27
+ multiple: !1,
28
+ accept: ".json,.yaml,.yml"
29
+ }), n = async () => {
30
+ r.value && (await g(r.value), s("close"));
31
+ }, i = m(null);
32
+ return S(() => {
33
+ var e;
34
+ (e = i.value) == null || e.focus();
35
+ }), (e, l) => (y(), F(C, null, [
36
+ t("h2", null, k(e.title), 1),
37
+ t("form", {
38
+ class: "flex w-full flex-col gap-3",
39
+ onSubmit: I(n, ["prevent"])
40
+ }, [
41
+ t("div", A, [
42
+ B,
43
+ t("input", {
44
+ id: "requestimport",
45
+ ref_key: "importInput",
46
+ ref: i,
47
+ class: "border-transparent outline-none w-full pl-8 text-sm min-h-8 py-1.5",
48
+ label: "Paste Swagger File URL",
49
+ placeholder: "Paste Swagger File URL"
50
+ }, null, 512)
51
+ ]),
52
+ t("div", D, [
53
+ t("div", L, [
54
+ a(o(f), {
55
+ class: "p-2 max-h-8 gap-1 text-xs hover:bg-b-2 relative",
56
+ variant: "outlined",
57
+ onClick: o(_)
58
+ }, {
59
+ default: u(() => [
60
+ d(" JSON, or YAML Files "),
61
+ a(o(R), {
62
+ class: "text-c-3 -rotate-90",
63
+ icon: "ArrowRight",
64
+ size: "sm"
65
+ })
66
+ ]),
67
+ _: 1
68
+ }, 8, ["onClick"])
69
+ ]),
70
+ a(o(f), {
71
+ class: "max-h-8 text-xs p-0 px-3",
72
+ type: "submit"
73
+ }, {
74
+ default: u(() => [
75
+ d(" Import Collection ")
76
+ ]),
77
+ _: 1
78
+ })
79
+ ])
80
+ ], 32)
81
+ ], 64));
82
+ }
83
+ });
84
+ export {
85
+ T as default
86
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./CommandPaletteImport.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -17,4 +17,4 @@ type __VLS_TypePropsToOption<T> = {
17
17
  required: true;
18
18
  };
19
19
  };
20
- //# sourceMappingURL=ActionModalFolder.vue.d.ts.map
20
+ //# sourceMappingURL=CommandPaletteRequest.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandPaletteRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteRequest.vue"],"names":[],"mappings":";WAwIS,MAAM;;;;WAAN,MAAM;;;;AA0Pf,wBAOG;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"}
@@ -0,0 +1,119 @@
1
+ import { defineComponent as y, ref as u, computed as v, onMounted as M, openBlock as V, createElementBlock as N, Fragment as R, createElementVNode as l, toDisplayString as h, withModifiers as I, withDirectives as k, vModelText as E, createVNode as s, unref as n, withCtx as c, normalizeClass as F, createTextVNode as U } from "vue";
2
+ import B from "../HttpMethod/HttpMethod.vue.js";
3
+ import { useWorkspace as D } from "../../store/workspace.js";
4
+ import { ScalarListbox as T, ScalarButton as x, ScalarIcon as j } from "@scalar/components";
5
+ import { useRouter as z } from "vue-router";
6
+ const $ = { class: "gap-3 rounded bg-b-2 focus-within:bg-b-1 focus-within:shadow-border min-h-20 relative" }, G = /* @__PURE__ */ l("label", {
7
+ class: "absolute w-full h-full opacity-0 cursor-text",
8
+ for: "requestname"
9
+ }, null, -1), L = { class: "flex" }, O = { class: "flex flex-1 gap-2 max-h-8" }, Q = /* @__PURE__ */ y({
10
+ __name: "CommandPaletteRequest",
11
+ props: {
12
+ title: {}
13
+ },
14
+ emits: ["close"],
15
+ setup(P, { emit: b }) {
16
+ const _ = b, { push: q } = z(), { requestMutators: g, activeCollection: r, folders: w } = D(), a = u(""), i = u("GET"), m = u(""), f = v(() => r.value ? Object.values(r.value.childUids).flatMap((e) => {
17
+ const t = w[e];
18
+ return t ? [
19
+ {
20
+ id: t.uid,
21
+ label: t.name
22
+ }
23
+ ] : [];
24
+ }) : []), o = v({
25
+ get: () => f.value.find(({ id: e }) => e === m.value),
26
+ set: (e) => {
27
+ e != null && e.id && (m.value = e.id);
28
+ }
29
+ });
30
+ function C(e) {
31
+ i.value = e;
32
+ }
33
+ function S() {
34
+ if (!r.value) return;
35
+ const e = g.add({
36
+ path: "",
37
+ method: i.value.toUpperCase(),
38
+ description: a.value,
39
+ operationId: a.value,
40
+ summary: a.value,
41
+ tags: ["default"]
42
+ });
43
+ q(`/request/${e.uid}`), _("close");
44
+ }
45
+ const p = u(null);
46
+ return M(() => {
47
+ var e;
48
+ (e = p.value) == null || e.focus();
49
+ }), (e, t) => (V(), N(R, null, [
50
+ l("h2", null, h(e.title), 1),
51
+ l("form", {
52
+ class: "flex w-full flex-col gap-3",
53
+ onSubmit: I(S, ["prevent"])
54
+ }, [
55
+ l("div", $, [
56
+ G,
57
+ k(l("input", {
58
+ id: "requestname",
59
+ ref_key: "requestInput",
60
+ ref: p,
61
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => a.value = d),
62
+ class: "border-transparent outline-none w-full pl-8 text-sm min-h-8 py-1.5",
63
+ label: "Request Name",
64
+ placeholder: "Request Name"
65
+ }, null, 512), [
66
+ [E, a.value]
67
+ ])
68
+ ]),
69
+ l("div", L, [
70
+ l("div", O, [
71
+ s(B, {
72
+ isEditable: !0,
73
+ isSquare: "",
74
+ method: i.value,
75
+ onChange: C
76
+ }, null, 8, ["method"]),
77
+ s(n(T), {
78
+ modelValue: o.value,
79
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => o.value = d),
80
+ options: f.value
81
+ }, {
82
+ default: c(() => [
83
+ s(n(x), {
84
+ class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
85
+ variant: "outlined"
86
+ }, {
87
+ default: c(() => [
88
+ l("span", {
89
+ class: F(o.value ? "text-c-1" : "text-c-3")
90
+ }, h(o.value ? o.value.label : "Select Folder"), 3),
91
+ s(n(j), {
92
+ class: "text-c-3",
93
+ icon: "ChevronDown",
94
+ size: "xs"
95
+ })
96
+ ]),
97
+ _: 1
98
+ })
99
+ ]),
100
+ _: 1
101
+ }, 8, ["modelValue", "options"])
102
+ ]),
103
+ s(n(x), {
104
+ class: "max-h-8 text-xs p-0 px-3",
105
+ type: "submit"
106
+ }, {
107
+ default: c(() => [
108
+ U(" Create Request ")
109
+ ]),
110
+ _: 1
111
+ })
112
+ ])
113
+ ], 32)
114
+ ], 64));
115
+ }
116
+ });
117
+ export {
118
+ Q as default
119
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./CommandPaletteRequest.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as r, openBlock as n, createElementBlock as o, Fragment as i, renderList as s, normalizeClass as c, toDisplayString as a } from "vue";
2
- const b = { class: "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 sticky top-0 z-10 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs" }, l = ["isActive", "onClick"], v = /* @__PURE__ */ r({
2
+ const b = { class: "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 sticky top-0 z-10 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs gap-0.5" }, l = ["isActive", "onClick"], v = /* @__PURE__ */ r({
3
3
  __name: "ContextBar",
4
4
  props: {
5
5
  sections: {},
6
6
  activeSection: {}
7
7
  },
8
8
  emits: ["setActiveSection"],
9
- setup(d) {
10
- return (t, p) => (n(), o("div", b, [
9
+ setup(p) {
10
+ return (t, d) => (n(), o("div", b, [
11
11
  (n(!0), o(i, null, s(t.sections, (e) => (n(), o("button", {
12
12
  key: e,
13
- class: c(["hover:text-c-1 hover:bg-b-3 w-full rounded px-1 py-1 text-center font-medium", [
14
- t.activeSection === e ? "bg-b-1 text-c-1 dark:bg-b-3 border hover:bg-b-1" : "border border-transparent"
13
+ class: c(["hover:bg-b-3 w-full rounded px-1 py-1 text-center font-medium", [
14
+ t.activeSection === e ? "!bg-b-1 text-c-1 dark:bg-b-3 border hover:bg-b-1" : "border border-transparent"
15
15
  ]]),
16
16
  isActive: t.activeSection === e,
17
17
  type: "button",
@@ -2,18 +2,18 @@ import { defineComponent as c, openBlock as l, createElementBlock as i, unref as
2
2
  import m from "../ScreenReader.vue.js";
3
3
  import { ScalarIcon as u } from "@scalar/components";
4
4
  import { useDarkModeState as f } from "../../hooks/useDarkModeState.js";
5
- const M = /* @__PURE__ */ c({
5
+ const h = /* @__PURE__ */ c({
6
6
  __name: "DarkModeIconToggle",
7
- setup(k) {
7
+ setup(g) {
8
8
  const { toggleDarkMode: t, isDark: n } = f();
9
- return (g, o) => (l(), i("button", {
10
- class: "w-[37px] hover:text-c-1 flex items-center justify-center rounded-lg p-[7px]",
9
+ return (k, o) => (l(), i("button", {
10
+ class: "w-[37px] hover:bg-b-2 flex items-center justify-center rounded-lg p-[7px]",
11
11
  type: "button",
12
12
  onClick: o[0] || (o[0] = //@ts-ignore
13
13
  (...a) => e(t) && e(t)(...a))
14
14
  }, [
15
15
  r(e(u), {
16
- class: "block h-6 w-6 stroke-[0.75]",
16
+ class: "block h-6 w-6 stroke-[1.5]",
17
17
  icon: "LightDarkModeToggle"
18
18
  }),
19
19
  r(m, null, {
@@ -26,5 +26,5 @@ const M = /* @__PURE__ */ c({
26
26
  }
27
27
  });
28
28
  export {
29
- M as default
29
+ h as default
30
30
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCell.vue"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAiBpC,iBAAS,cAAc;qBAoCM,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;SA/DZ,MAAM,GAAG,SAAS;;;;SAAlB,MAAM,GAAG,SAAS;;;;QAAlB,MAAM,GAAG,SAAS;MAqEzB,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,SAA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AG,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,16 +1,16 @@
1
- import { defineComponent as r, openBlock as t, createBlock as o, resolveDynamicComponent as l, withCtx as a, renderSlot as s } from "vue";
1
+ import { defineComponent as r, openBlock as t, createBlock as o, resolveDynamicComponent as l, withCtx as a, renderSlot as n } from "vue";
2
2
  const m = /* @__PURE__ */ r({
3
3
  __name: "DataTableCell",
4
4
  props: {
5
5
  is: { default: "td" }
6
6
  },
7
- setup(n) {
7
+ setup(s) {
8
8
  return (e, d) => (t(), o(l(e.is), {
9
- class: "min-h-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0",
9
+ class: "min-h-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative min-w-full",
10
10
  role: "cell"
11
11
  }, {
12
12
  default: a(() => [
13
- s(e.$slots, "default")
13
+ n(e.$slots, "default")
14
14
  ]),
15
15
  _: 3
16
16
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAyNA,iBAAS,cAAc;qBA+LM,GAAG;qBACF,GAAG;kBACN,GAAG;EA4B7B;AACD,QAAA,MAAM,eAAe;SAjSZ,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;SATP,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;;;;cAHD,OAAO;cAFP,OAAO;MAoSpB,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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AAG;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,7 +1,7 @@
1
1
  import t from "./DataTableInput.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-81f52ee6"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-01e08774"]]);
5
5
  export {
6
- r as default
6
+ e as default
7
7
  };
@@ -1,15 +1,18 @@
1
- import { defineComponent as $, ref as s, computed as x, openBlock as a, createBlock as d, normalizeClass as c, withCtx as B, createElementBlock as i, renderSlot as p, createCommentVNode as m, createElementVNode as q, mergeProps as C, unref as S, createVNode as D } from "vue";
2
- import I from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
3
- import { ScalarIconButton as M } from "@scalar/components";
4
- import O from "./DataTableCell.vue.js";
5
- import F from "./DataTableInputEnumSelect.vue.js";
1
+ import { defineComponent as $, ref as d, computed as x, openBlock as o, createBlock as p, normalizeClass as B, withCtx as q, createElementBlock as r, renderSlot as m, createCommentVNode as s, createElementVNode as f, Fragment as C, mergeProps as S, unref as D, createVNode as _ } from "vue";
2
+ import F from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
3
+ import { ScalarIconButton as I } from "@scalar/components";
4
+ import M from "./DataTableCell.vue.js";
5
+ import O from "./DataTableInputEnumSelect.vue.js";
6
6
  const N = {
7
7
  key: 0,
8
8
  class: "text-c-2 flex min-w-[100px] items-center border-r-1/2 pl-2 pr-0"
9
- }, P = ["id", "max", "min", "readOnly", "required", "type", "value"], E = {
9
+ }, P = { class: "row-1" }, E = ["id", "max", "min", "readOnly", "required", "type", "value"], H = {
10
+ key: 0,
11
+ class: "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-focus:opacity-0"
12
+ }, T = {
10
13
  key: 1,
11
14
  class: "absolute centered-y right-7 text-orange text-xs"
12
- }, W = /* @__PURE__ */ $({
15
+ }, j = /* @__PURE__ */ $({
13
16
  inheritAttrs: !1,
14
17
  __name: "DataTableInput",
15
18
  props: {
@@ -24,71 +27,70 @@ const N = {
24
27
  max: {}
25
28
  },
26
29
  emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
27
- setup(v, { emit: y }) {
28
- const o = v, l = y, n = s(!0), f = s(""), r = s(!1), w = () => {
29
- r.value || l("inputBlur");
30
+ setup(y, { emit: v }) {
31
+ const n = y, l = v, a = d(!0), c = d(""), u = d(!1), w = () => {
32
+ u.value || l("inputBlur");
30
33
  }, h = x(
31
- () => o.type === "password" ? n.value ? "password" : "text" : o.type ?? "text"
32
- ), g = (e) => {
34
+ () => n.type === "password" ? a.value ? "password" : "text" : n.type ?? "text"
35
+ ), V = (e) => {
33
36
  const t = e.target;
34
- f.value = t.value, l("update:modelValue", t.value);
35
- }, V = (e) => {
37
+ c.value = t.value, l("update:modelValue", t.value);
38
+ }, g = (e) => {
36
39
  l("update:modelValue", e);
37
40
  }, k = () => {
38
- r.value = !0;
41
+ u.value = !0;
39
42
  }, b = () => {
40
- r.value = !1;
43
+ u.value = !1;
41
44
  };
42
- return (e, t) => (a(), d(O, {
43
- class: c(["relative row", e.containerClass])
45
+ return (e, t) => (o(), p(M, {
46
+ class: B(["relative row", e.containerClass])
44
47
  }, {
45
- default: B(() => [
46
- e.$slots.default ? (a(), i("div", N, [
47
- p(e.$slots, "default", {}, void 0, !0)
48
- ])) : m("", !0),
49
- q("div", {
50
- class: c(["group row-1", {
51
- "relative required after:absolute after:centered-y after:right-0 after:pt-px after:pr-2 after:text-xxs after:font-medium after:text-c-3 after:bg-b-1 after:shadow-[-8px_0_4px_var(--scalar-background-1)] group-has-[:focus]:after:hidden": e.required
52
- }])
53
- }, [
54
- o.enum && o.enum.length ? (a(), d(F, {
48
+ default: q(() => [
49
+ e.$slots.default ? (o(), r("div", N, [
50
+ m(e.$slots, "default", {}, void 0, !0)
51
+ ])) : s("", !0),
52
+ f("div", P, [
53
+ n.enum && n.enum.length ? (o(), p(O, {
55
54
  key: 0,
56
- enum: o.enum,
57
- modelValue: o.modelValue,
58
- "onUpdate:modelValue": t[0] || (t[0] = (u) => l("update:modelValue", u))
59
- }, null, 8, ["enum", "modelValue"])) : (a(), i("input", C({ key: 1 }, e.$attrs, {
60
- id: e.id,
61
- autocomplete: "off",
62
- class: "border-none focus:text-c-1 text-c-2 min-w-0 w-full px-2 py-1.5 outline-none",
63
- "data-1p-ignore": "",
64
- max: e.max,
65
- min: e.min,
66
- readOnly: e.readOnly,
67
- required: e.required,
68
- spellcheck: "false",
69
- type: h.value,
70
- value: e.modelValue,
71
- onBlur: w,
72
- onFocus: t[1] || (t[1] = (u) => l("inputFocus")),
73
- onInput: g
74
- }), null, 16, P))
75
- ], 2),
76
- e.$slots.warning ? (a(), i("div", E, [
77
- p(e.$slots, "warning", {}, void 0, !0)
78
- ])) : m("", !0),
79
- p(e.$slots, "icon", {}, void 0, !0),
80
- e.type === "password" ? (a(), d(S(M), {
55
+ enum: n.enum,
56
+ modelValue: n.modelValue,
57
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => l("update:modelValue", i))
58
+ }, null, 8, ["enum", "modelValue"])) : (o(), r(C, { key: 1 }, [
59
+ f("input", S(e.$attrs, {
60
+ id: e.id,
61
+ autocomplete: "off",
62
+ class: "border-none focus:text-c-1 text-c-2 min-w-0 w-full peer px-2 py-1.5 outline-none",
63
+ "data-1p-ignore": "",
64
+ max: e.max,
65
+ min: e.min,
66
+ readOnly: e.readOnly,
67
+ required: e.required,
68
+ spellcheck: "false",
69
+ type: h.value,
70
+ value: e.modelValue,
71
+ onBlur: w,
72
+ onFocus: t[1] || (t[1] = (i) => l("inputFocus")),
73
+ onInput: V
74
+ }), null, 16, E),
75
+ e.required ? (o(), r("div", H, " Required ")) : s("", !0)
76
+ ], 64))
77
+ ]),
78
+ e.$slots.warning ? (o(), r("div", T, [
79
+ m(e.$slots, "warning", {}, void 0, !0)
80
+ ])) : s("", !0),
81
+ m(e.$slots, "icon", {}, void 0, !0),
82
+ e.type === "password" ? (o(), p(D(I), {
81
83
  key: 2,
82
84
  class: "-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
83
- icon: n.value ? "Show" : "Hide",
84
- label: n.value ? "Show Password" : "Hide Password",
85
- onClick: t[2] || (t[2] = (u) => n.value = !n.value)
86
- }, null, 8, ["icon", "label"])) : m("", !0),
87
- D(I, {
88
- query: f.value,
85
+ icon: a.value ? "Show" : "Hide",
86
+ label: a.value ? "Show Password" : "Hide Password",
87
+ onClick: t[2] || (t[2] = (i) => a.value = !a.value)
88
+ }, null, 8, ["icon", "label"])) : s("", !0),
89
+ _(F, {
90
+ query: c.value,
89
91
  onMousedown: k,
90
92
  onMouseup: b,
91
- onSelect: V
93
+ onSelect: g
92
94
  }, null, 8, ["query"])
93
95
  ]),
94
96
  _: 3
@@ -96,5 +98,5 @@ const N = {
96
98
  }
97
99
  });
98
100
  export {
99
- W as default
101
+ j as default
100
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInputEnumSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputEnumSelect.vue"],"names":[],"mappings":";gBA+Hc,MAAM,GAAG,MAAM;WACpB,MAAM,EAAE;;;;gBADH,MAAM,GAAG,MAAM;WACpB,MAAM,EAAE;;;;AA4SjB,wBAOG;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":"DataTableInputEnumSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputEnumSelect.vue"],"names":[],"mappings":";gBA+Hc,MAAM,GAAG,MAAM;WACpB,MAAM,EAAE;;;;gBADH,MAAM,GAAG,MAAM;WACpB,MAAM,EAAE;;;;AA8SjB,wBAOG;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"}
@@ -45,7 +45,7 @@ const M = { class: "w-full" }, U = { class: "flex items-center justify-center h-
45
45
  default: u(() => [
46
46
  i("div", {
47
47
  class: T([
48
- "flex items-center justify-center rounded-full p-[3px] group-hover/item:shadow-border",
48
+ "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
49
49
  S(e) ? "bg-blue text-b-1" : "text-transparent"
50
50
  ])
51
51
  }, [
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavLink.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNavLink.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAI/C,KAAK,SAAS,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;AAa1D,iBAAS,cAAc;qBAuDO,GAAG;EAehC;AACD,QAAA,MAAM,eAAe;UAjFb,SAAS,CAAC,MAAM,CAAC;UACjB,MAAM;aACH,OAAO;;UAFV,SAAS,CAAC,MAAM,CAAC;UACjB,MAAM;aACH,OAAO;aAqFhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;I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,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,4 +1,4 @@
1
- import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as s, normalizeClass as a, withCtx as c, createVNode as l, unref as i, createElementVNode as p, renderSlot as u } from "vue";
1
+ import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as a, normalizeClass as s, withCtx as c, createVNode as l, unref as i, createElementVNode as p, renderSlot as u } from "vue";
2
2
  import { ScalarIcon as m } from "@scalar/components";
3
3
  const d = { class: "sr-only" }, k = /* @__PURE__ */ t({
4
4
  __name: "SideNavLink",
@@ -10,9 +10,9 @@ const d = { class: "sr-only" }, k = /* @__PURE__ */ t({
10
10
  setup(f) {
11
11
  return (e, _) => {
12
12
  const o = n("router-link");
13
- return r(), s(o, {
13
+ return r(), a(o, {
14
14
  activeClass: "active-link",
15
- class: a(["w-[37px] hover:text-c-1 flex items-center justify-center rounded-lg p-[7px]", { "bg-b-2 transition-none hover:cursor-auto text-c-1": e.active }]),
15
+ class: s(["w-[37px] hover:bg-b-2 active:text-c-1 flex items-center justify-center rounded-lg p-[7px]", { "bg-b-2 transition-none hover:cursor-auto text-c-1": e.active }]),
16
16
  to: e.path
17
17
  }, {
18
18
  default: c(() => [
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AAwNA,wBAKG"}
1
+ {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";AA+NA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./TopNav.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-644455b8"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d4581e27"]]);
5
5
  export {
6
6
  m as default
7
7
  };