@scalar/api-client 2.5.31 → 2.5.33

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 (235) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue2.js +120 -128
  4. package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
  5. package/dist/components/AddressBar/AddressBarHistory.vue2.js +57 -63
  6. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  7. package/dist/components/CodeInput/CodeInput.vue2.js +143 -150
  8. package/dist/components/CodeInput/codeVariableWidget.js +70 -75
  9. package/dist/components/CommandPalette/CommandActionInput.vue.js +17 -19
  10. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -27
  11. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +53 -55
  12. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +129 -133
  13. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +1 -1
  14. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue2.js +84 -98
  15. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +64 -74
  16. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +5 -11
  17. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  18. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +164 -183
  19. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  20. package/dist/components/DataTable/DataTableInput.vue.js +4 -4
  21. package/dist/components/DataTable/DataTableInput.vue2.js +31 -31
  22. package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -2
  23. package/dist/components/EmptyState.vue.js +1 -1
  24. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +75 -84
  25. package/dist/components/Form/LabelInput.vue.js +1 -1
  26. package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
  27. package/dist/components/HttpMethod/HttpMethod.vue2.js +11 -11
  28. package/dist/components/ImportCollection/DropEventListener.vue.js +42 -44
  29. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -23
  30. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +141 -149
  31. package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +1 -1
  32. package/dist/components/ImportCollection/ImportNowButton.vue.js +22 -23
  33. package/dist/components/ImportCollection/IntegrationLogo.vue.js +12 -13
  34. package/dist/components/ImportCollection/PasteEventListener.vue.js +11 -12
  35. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +69 -76
  36. package/dist/components/ImportCollection/utils/get-openapi-version.js +8 -8
  37. package/dist/components/ImportCollection/utils/import-collection.js +14 -14
  38. package/dist/components/OpenApiClientButton.vue.js +1 -1
  39. package/dist/components/OpenApiClientButton.vue2.js +10 -10
  40. package/dist/components/ScalarAsciiArt.vue.js +1 -1
  41. package/dist/components/ScalarAsciiArt.vue2.js +19 -22
  42. package/dist/components/Search/useSearch.js +51 -61
  43. package/dist/components/SectionFilter.vue.js +1 -1
  44. package/dist/components/SectionFilter.vue2.js +26 -29
  45. package/dist/components/Server/ServerDropdown.vue.js +70 -96
  46. package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
  47. package/dist/components/Server/ServerDropdownItem.vue2.js +57 -67
  48. package/dist/components/Server/ServerSelector.vue.js +44 -55
  49. package/dist/components/Server/ServerVariablesForm.vue.js +36 -42
  50. package/dist/components/Server/ServerVariablesSelect.vue.js +6 -6
  51. package/dist/components/SideNav/DownloadAppButton.vue.js +1 -1
  52. package/dist/components/SideNav/SideNav.vue.js +68 -74
  53. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  54. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  55. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  56. package/dist/components/TopNav/TopNav.vue.js +107 -122
  57. package/dist/components/TopNav/TopNavItem.vue.js +1 -1
  58. package/dist/hooks/useFileDialog.js +12 -12
  59. package/dist/hooks/useResponseBody.js +14 -16
  60. package/dist/index.d.ts +1 -1
  61. package/dist/index.js +2 -2
  62. package/dist/layouts/App/ApiClientApp.vue.js +50 -56
  63. package/dist/layouts/App/ApiClientApp.vue3.js +1 -1
  64. package/dist/layouts/App/create-api-client-app.js +19 -20
  65. package/dist/layouts/App/index.js +1 -1
  66. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  67. package/dist/layouts/Modal/ApiClientModal.vue2.js +18 -21
  68. package/dist/layouts/Web/ApiClientWeb.vue.js +45 -51
  69. package/dist/layouts/Web/ApiClientWeb.vue3.js +1 -1
  70. package/dist/layouts/Web/create-api-client-web.js +19 -20
  71. package/dist/layouts/Web/index.js +1 -1
  72. package/dist/libs/create-client.js +102 -109
  73. package/dist/libs/env-helpers.js +3 -3
  74. package/dist/libs/event-bus.js +15 -15
  75. package/dist/libs/extractAttachmentFilename.js +5 -6
  76. package/dist/libs/find-request.js +9 -10
  77. package/dist/libs/get-request-uid-by-path-method.js +12 -12
  78. package/dist/libs/getOpenApiDocumentDetails.js +7 -7
  79. package/dist/libs/importers/curl.js +3 -3
  80. package/dist/libs/normalize-headers.js +9 -10
  81. package/dist/libs/postman.js +15 -17
  82. package/dist/libs/send-request/build-request-security.js +9 -10
  83. package/dist/libs/send-request/create-fetch-body.js +11 -12
  84. package/dist/libs/send-request/create-fetch-query-params.js +13 -13
  85. package/dist/libs/send-request/create-request-operation.js +83 -84
  86. package/dist/libs/send-request/decode-buffer.d.ts.map +1 -1
  87. package/dist/libs/send-request/set-request-cookies.js +12 -12
  88. package/dist/libs/string-template.js +21 -21
  89. package/dist/libs/validate-parameters.js +5 -8
  90. package/dist/plugins/plugin-manager.js +11 -17
  91. package/dist/store/active-entities.js +90 -117
  92. package/dist/store/collections.js +41 -42
  93. package/dist/store/import-spec.js +25 -26
  94. package/dist/store/request-example.js +20 -24
  95. package/dist/store/requests.js +63 -81
  96. package/dist/store/router-params.js +7 -7
  97. package/dist/store/security-schemes.js +35 -36
  98. package/dist/store/store.js +2 -2
  99. package/dist/store/tags.js +20 -21
  100. package/dist/style.css +1 -1
  101. package/dist/views/Collection/Collection.vue2.js +21 -22
  102. package/dist/views/Collection/CollectionAuthentication.vue.js +1 -1
  103. package/dist/views/Collection/CollectionAuthentication.vue2.js +43 -47
  104. package/dist/views/Collection/CollectionEnvironment.vue.js +1 -1
  105. package/dist/views/Collection/CollectionEnvironment.vue2.js +196 -207
  106. package/dist/views/Collection/CollectionInfoForm.vue.js +1 -1
  107. package/dist/views/Collection/CollectionInfoForm.vue2.js +34 -41
  108. package/dist/views/Collection/CollectionNavigation.vue.js +116 -125
  109. package/dist/views/Collection/CollectionOverview.vue2.js +22 -25
  110. package/dist/views/Collection/CollectionServerForm.vue.js +39 -45
  111. package/dist/views/Collection/CollectionServers.vue2.js +88 -98
  112. package/dist/views/Collection/CollectionSettings.vue.js +1 -1
  113. package/dist/views/Collection/CollectionSettings.vue2.js +101 -108
  114. package/dist/views/Collection/components/EnvironmentForm.vue.js +1 -1
  115. package/dist/views/Collection/components/EnvironmentForm.vue2.js +141 -145
  116. package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
  117. package/dist/views/Collection/components/MarkdownInput.vue2.js +1 -2
  118. package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +15 -15
  119. package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +15 -16
  120. package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +61 -64
  121. package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +9 -10
  122. package/dist/views/Cookies/CookieModal.vue.js +1 -1
  123. package/dist/views/Cookies/Cookies.vue2.js +90 -93
  124. package/dist/views/Environment/Environment.vue2.js +267 -295
  125. package/dist/views/Environment/EnvironmentModal.vue.js +63 -70
  126. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -42
  127. package/dist/views/Request/Request.vue.js +1 -1
  128. package/dist/views/Request/Request.vue2.js +60 -67
  129. package/dist/views/Request/RequestRoot.vue.js +1 -1
  130. package/dist/views/Request/RequestRoot.vue2.js +78 -89
  131. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +37 -44
  132. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +44 -45
  133. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +111 -127
  134. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  135. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +120 -139
  136. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
  137. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +97 -97
  138. package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
  139. package/dist/views/Request/RequestSection/RequestBody.vue2.js +287 -310
  140. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
  141. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +86 -94
  142. package/dist/views/Request/RequestSection/RequestParams.vue.js +37 -38
  143. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +36 -38
  144. package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
  145. package/dist/views/Request/RequestSection/RequestSection.vue2.js +28 -31
  146. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  147. package/dist/views/Request/RequestSection/RequestTable.vue2.js +49 -52
  148. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
  149. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +16 -16
  150. package/dist/views/Request/RequestSection/helpers/getting-started.js +7 -11
  151. package/dist/views/Request/RequestSection/helpers/update-scheme.js +7 -8
  152. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  153. package/dist/views/Request/RequestSidebar.vue2.js +199 -211
  154. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  155. package/dist/views/Request/RequestSidebarItem.vue2.js +332 -349
  156. package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
  157. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +210 -240
  158. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  159. package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +38 -41
  160. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +1 -1
  161. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +58 -64
  162. package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -2
  163. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
  164. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +1 -1
  165. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +20 -23
  166. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +1 -1
  167. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  168. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +29 -30
  169. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +38 -41
  170. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
  171. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +28 -29
  172. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  173. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +128 -140
  174. package/dist/views/Request/components/WorkspaceDropdown.vue.js +116 -124
  175. package/dist/views/Request/consts/mediaTypes.js +2 -3
  176. package/dist/views/Request/handle-drag.js +24 -28
  177. package/dist/views/Request/hooks/useOpenApiWatcher.js +26 -33
  178. package/dist/views/Request/libs/auth.js +37 -43
  179. package/dist/views/Request/libs/oauth2.js +30 -32
  180. package/dist/views/Request/libs/watch-mode.js +100 -103
  181. package/dist/views/Settings/SettingsGeneral.vue.js +206 -236
  182. package/package.json +22 -22
  183. package/dist/components/AddressBar/AddressBar.vue3.js +0 -4
  184. package/dist/components/AddressBar/AddressBarHistory.vue3.js +0 -4
  185. package/dist/components/CodeInput/CodeInput.vue3.js +0 -4
  186. package/dist/components/CodeInput/CodeInput.vue4.js +0 -4
  187. package/dist/components/CommandPalette/CommandPaletteImportCurl.vue3.js +0 -4
  188. package/dist/components/CommandPalette/TheCommandPalette.vue3.js +0 -4
  189. package/dist/components/DataTable/DataTableInput.vue3.js +0 -4
  190. package/dist/components/EmptyState.vue3.js +0 -4
  191. package/dist/components/Form/LabelInput.vue3.js +0 -4
  192. package/dist/components/HttpMethod/HttpMethod.vue3.js +0 -4
  193. package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +0 -4
  194. package/dist/components/OpenApiClientButton.vue3.js +0 -4
  195. package/dist/components/ScalarAsciiArt.vue3.js +0 -4
  196. package/dist/components/SectionFilter.vue3.js +0 -4
  197. package/dist/components/Server/ServerDropdownItem.vue3.js +0 -4
  198. package/dist/components/SideNav/DownloadAppButton.vue3.js +0 -4
  199. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue3.js +0 -4
  200. package/dist/components/Sidebar/Sidebar.vue3.js +0 -4
  201. package/dist/components/Sidebar/SidebarListElement.vue3.js +0 -4
  202. package/dist/components/Sidebar/SidebarListElement.vue4.js +0 -4
  203. package/dist/components/TopNav/TopNavItem.vue3.js +0 -4
  204. package/dist/layouts/App/ApiClientApp.vue2.js +0 -4
  205. package/dist/layouts/Modal/ApiClientModal.vue3.js +0 -4
  206. package/dist/layouts/Web/ApiClientWeb.vue2.js +0 -4
  207. package/dist/style.css.js +0 -4
  208. package/dist/views/Collection/CollectionAuthentication.vue3.js +0 -4
  209. package/dist/views/Collection/CollectionEnvironment.vue3.js +0 -4
  210. package/dist/views/Collection/CollectionInfoForm.vue3.js +0 -4
  211. package/dist/views/Collection/CollectionSettings.vue3.js +0 -4
  212. package/dist/views/Collection/components/EnvironmentForm.vue3.js +0 -4
  213. package/dist/views/Collection/components/MarkdownInput.vue3.js +0 -4
  214. package/dist/views/Cookies/CookieModal.vue3.js +0 -4
  215. package/dist/views/Request/Request.vue3.js +0 -4
  216. package/dist/views/Request/RequestRoot.vue3.js +0 -4
  217. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue3.js +0 -4
  218. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue3.js +0 -4
  219. package/dist/views/Request/RequestSection/RequestBody.vue3.js +0 -4
  220. package/dist/views/Request/RequestSection/RequestCodeExample.vue3.js +0 -4
  221. package/dist/views/Request/RequestSection/RequestSection.vue3.js +0 -4
  222. package/dist/views/Request/RequestSection/RequestTable.vue3.js +0 -4
  223. package/dist/views/Request/RequestSection/RequestTableTooltip.vue3.js +0 -4
  224. package/dist/views/Request/RequestSidebar.vue3.js +0 -4
  225. package/dist/views/Request/RequestSidebarItem.vue3.js +0 -4
  226. package/dist/views/Request/RequestSidebarItem.vue4.js +0 -4
  227. package/dist/views/Request/RequestSidebarItemMenu.vue3.js +0 -4
  228. package/dist/views/Request/RequestSubpageHeader.vue3.js +0 -4
  229. package/dist/views/Request/ResponseSection/ResponseBody.vue3.js +0 -4
  230. package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue3.js +0 -4
  231. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue3.js +0 -4
  232. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue2.js +0 -4
  233. package/dist/views/Request/ResponseSection/ResponseEmpty.vue3.js +0 -4
  234. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue3.js +0 -4
  235. package/dist/views/Request/ResponseSection/ResponseSection.vue3.js +0 -4
@@ -1,133 +1,126 @@
1
- import { defineComponent as W, ref as D, createElementBlock as w, openBlock as m, Fragment as k, createElementVNode as s, createVNode as a, unref as e, withCtx as r, toDisplayString as v, renderList as z, createBlock as N, withModifiers as h, normalizeClass as M, withDirectives as B, vModelText as V, createTextVNode as j } from "vue";
2
- import { useModal as E, ScalarDropdown as T, ScalarButton as _, ScalarIcon as u, ScalarDropdownItem as b, ScalarDropdownDivider as $, ScalarModal as A } from "@scalar/components";
3
- import { useToasts as I } from "@scalar/use-toasts";
4
- import { useRouter as F } from "vue-router";
5
- import { useActiveEntities as L } from "../../store/active-entities.js";
6
- import { useWorkspace as P } from "../../store/store.js";
7
- const R = { class: "flex w-[inherit] items-center text-base" }, U = { class: "m-0 flex items-center gap-1 text-sm font-medium" }, q = { class: "line-clamp-1 w-[calc(100%-10px)] text-left text-xs" }, G = { class: "overflow-hidden text-ellipsis" }, H = { class: "flex h-4 w-4 items-center justify-center" }, ee = /* @__PURE__ */ W({
1
+ import { defineComponent as S, ref as W, createElementBlock as x, openBlock as d, Fragment as w, createElementVNode as t, createVNode as s, unref as e, withCtx as o, toDisplayString as k, renderList as D, createBlock as z, withModifiers as v, normalizeClass as N, withDirectives as M, vModelText as B, createTextVNode as V } from "vue";
2
+ import { useModal as j, ScalarDropdown as E, ScalarButton as h, ScalarIcon as m, ScalarDropdownItem as _, ScalarDropdownDivider as T, ScalarModal as $ } from "@scalar/components";
3
+ import { useToasts as A } from "@scalar/use-toasts";
4
+ import { useRouter as I } from "vue-router";
5
+ import { useActiveEntities as F } from "../../store/active-entities.js";
6
+ import { useWorkspace as L } from "../../store/store.js";
7
+ const P = { class: "flex w-[inherit] items-center text-base" }, R = { class: "m-0 flex items-center gap-1 text-sm font-medium" }, U = { class: "line-clamp-1 w-[calc(100%-10px)] text-left text-xs" }, q = { class: "overflow-hidden text-ellipsis" }, G = { class: "flex h-4 w-4 items-center justify-center" }, ee = /* @__PURE__ */ S({
8
8
  __name: "WorkspaceSelector",
9
- setup(J) {
10
- const { activeWorkspace: i } = L(), { workspaces: g, workspaceMutators: C } = P(), { push: f } = F(), c = E(), { toast: x } = I(), l = D(""), y = (n) => {
11
- var t;
12
- n !== ((t = i.value) == null ? void 0 : t.uid) && f({
9
+ setup(H) {
10
+ const { activeWorkspace: i } = F(), { workspaces: b, workspaceMutators: g } = L(), { push: u } = I(), c = j(), { toast: f } = A(), r = W(""), C = (l) => {
11
+ l !== i.value?.uid && u({
13
12
  name: "workspace",
14
13
  params: {
15
- workspace: n
14
+ workspace: l
16
15
  }
17
16
  });
18
- }, S = () => {
19
- if (!l.value.trim()) {
20
- x("Please enter a name before creating a workspace.", "error");
17
+ }, y = () => {
18
+ if (!r.value.trim()) {
19
+ f("Please enter a name before creating a workspace.", "error");
21
20
  return;
22
21
  }
23
- const n = C.add({
24
- name: l.value
22
+ const l = g.add({
23
+ name: r.value
25
24
  });
26
- x(`Created new workspace '${n.name}'`), f({
25
+ f(`Created new workspace '${l.name}'`), u({
27
26
  name: "workspace",
28
27
  params: {
29
- workspace: n.uid
28
+ workspace: l.uid
30
29
  }
31
- }), l.value = "", c.hide();
30
+ }), r.value = "", c.hide();
32
31
  };
33
- return (n, t) => (m(), w(k, null, [
34
- s("div", R, [
35
- a(e(T), null, {
36
- items: r(() => [
37
- (m(!0), w(k, null, z(e(g), (o, p) => (m(), N(e(b), {
32
+ return (l, a) => (d(), x(w, null, [
33
+ t("div", P, [
34
+ s(e(E), null, {
35
+ items: o(() => [
36
+ (d(!0), x(w, null, D(e(b), (n, p) => (d(), z(e(_), {
38
37
  key: p,
39
38
  class: "group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
40
- onClick: h((d) => y(p), ["stop"])
39
+ onClick: v((J) => C(p), ["stop"])
41
40
  }, {
42
- default: r(() => {
43
- var d;
44
- return [
45
- s("div", {
46
- class: M([
47
- "flex h-4 w-4 items-center justify-center rounded-full p-[3px]",
48
- ((d = e(i)) == null ? void 0 : d.uid) === p ? "bg-c-accent text-b-1" : "shadow-border text-transparent"
49
- ])
50
- }, [
51
- a(e(u), {
52
- class: "size-2.5",
53
- icon: "Checkmark",
54
- thickness: "3"
55
- })
56
- ], 2),
57
- s("span", G, v(o.name), 1)
58
- ];
59
- }),
41
+ default: o(() => [
42
+ t("div", {
43
+ class: N([
44
+ "flex h-4 w-4 items-center justify-center rounded-full p-[3px]",
45
+ e(i)?.uid === p ? "bg-c-accent text-b-1" : "shadow-border text-transparent"
46
+ ])
47
+ }, [
48
+ s(e(m), {
49
+ class: "size-2.5",
50
+ icon: "Checkmark",
51
+ thickness: "3"
52
+ })
53
+ ], 2),
54
+ t("span", q, k(n.name), 1)
55
+ ]),
60
56
  _: 2
61
57
  }, 1032, ["onClick"]))), 128)),
62
- a(e($)),
63
- a(e(b), {
58
+ s(e(T)),
59
+ s(e(_), {
64
60
  class: "flex items-center gap-1.5",
65
- onClick: t[0] || (t[0] = (o) => e(c).show())
61
+ onClick: a[0] || (a[0] = (n) => e(c).show())
66
62
  }, {
67
- default: r(() => [
68
- s("div", H, [
69
- a(e(u), {
63
+ default: o(() => [
64
+ t("div", G, [
65
+ s(e(m), {
70
66
  icon: "Add",
71
67
  size: "sm"
72
68
  })
73
69
  ]),
74
- t[2] || (t[2] = s("span", null, "New Workspace", -1))
70
+ a[2] || (a[2] = t("span", null, "New Workspace", -1))
75
71
  ]),
76
72
  _: 1,
77
73
  __: [2]
78
74
  })
79
75
  ]),
80
- default: r(() => [
81
- a(e(_), {
76
+ default: o(() => [
77
+ s(e(h), {
82
78
  class: "text-c-1 hover:bg-b-2 text-c-3 line-clamp-1 h-full w-fit justify-start px-1.5 py-1 font-normal",
83
79
  fullWidth: "",
84
80
  variant: "ghost"
85
81
  }, {
86
- default: r(() => {
87
- var o;
88
- return [
89
- s("div", U, [
90
- s("h2", q, v((o = e(i)) == null ? void 0 : o.name), 1),
91
- a(e(u), {
92
- icon: "ChevronDown",
93
- size: "md"
94
- })
95
- ])
96
- ];
97
- }),
82
+ default: o(() => [
83
+ t("div", R, [
84
+ t("h2", U, k(e(i)?.name), 1),
85
+ s(e(m), {
86
+ icon: "ChevronDown",
87
+ size: "md"
88
+ })
89
+ ])
90
+ ]),
98
91
  _: 1
99
92
  })
100
93
  ]),
101
94
  _: 1
102
95
  })
103
96
  ]),
104
- a(e(A), {
97
+ s(e($), {
105
98
  bodyClass: "m-0 p-1 rounded-lg border-t-0",
106
99
  class: "z-overlay absolute",
107
100
  size: "xxs",
108
101
  state: e(c),
109
102
  variant: "form"
110
103
  }, {
111
- default: r(() => [
112
- s("form", {
104
+ default: o(() => [
105
+ t("form", {
113
106
  class: "flex gap-1",
114
- onSubmit: h(S, ["prevent"])
107
+ onSubmit: v(y, ["prevent"])
115
108
  }, [
116
- B(s("input", {
117
- "onUpdate:modelValue": t[1] || (t[1] = (o) => l.value = o),
109
+ M(t("input", {
110
+ "onUpdate:modelValue": a[1] || (a[1] = (n) => r.value = n),
118
111
  class: "min-h-8 w-full flex-1 border-none p-1.5 text-sm outline-none",
119
112
  placeholder: "New Workspace",
120
113
  type: "text"
121
114
  }, null, 512), [
122
- [V, l.value]
115
+ [B, r.value]
123
116
  ]),
124
- a(e(_), {
117
+ s(e(h), {
125
118
  class: "max-h-8 p-0 px-3 text-xs",
126
- disabled: !l.value.trim(),
119
+ disabled: !r.value.trim(),
127
120
  type: "submit"
128
121
  }, {
129
- default: r(() => t[3] || (t[3] = [
130
- j(" Continue ")
122
+ default: o(() => a[3] || (a[3] = [
123
+ V(" Continue ")
131
124
  ])),
132
125
  _: 1,
133
126
  __: [3]
@@ -1,20 +1,20 @@
1
- import { parse as n } from "yaml";
2
- import { isDocument as t } from "./is-document.js";
3
- function o(e) {
4
- if (!t(e))
1
+ import { parse as t } from "yaml";
2
+ import { isDocument as n } from "./is-document.js";
3
+ function a(e) {
4
+ if (!n(e))
5
5
  return !1;
6
6
  try {
7
7
  const r = JSON.parse(e ?? "");
8
- return typeof (r == null ? void 0 : r.openapi) == "string" ? `OpenAPI ${r.openapi} JSON` : typeof (r == null ? void 0 : r.swagger) == "string" ? `Swagger ${r.swagger} JSON` : !1;
8
+ return typeof r?.openapi == "string" ? `OpenAPI ${r.openapi} JSON` : typeof r?.swagger == "string" ? `Swagger ${r.swagger} JSON` : !1;
9
9
  } catch {
10
10
  }
11
11
  try {
12
- const r = n(e ?? "");
13
- return typeof (r == null ? void 0 : r.openapi) == "string" ? `OpenAPI ${r.openapi} YAML` : typeof (r == null ? void 0 : r.swagger) == "string" ? `Swagger ${r.swagger} YAML` : !1;
12
+ const r = t(e ?? "");
13
+ return typeof r?.openapi == "string" ? `OpenAPI ${r.openapi} YAML` : typeof r?.swagger == "string" ? `Swagger ${r.swagger} YAML` : !1;
14
14
  } catch {
15
15
  }
16
16
  return !1;
17
17
  }
18
18
  export {
19
- o as getOpenApiVersion
19
+ a as getOpenApiVersion
20
20
  };
@@ -1,29 +1,29 @@
1
- import { isUrl as f } from "./is-url.js";
2
- async function U({
3
- store: t,
1
+ import { isUrl as c } from "./is-url.js";
2
+ async function y({
3
+ store: o,
4
4
  workspace: i,
5
- source: o,
5
+ source: t,
6
6
  watchMode: n,
7
- onSuccess: m,
8
- onError: p
7
+ onSuccess: l,
8
+ onError: e
9
9
  }) {
10
10
  try {
11
- if (o && i) {
12
- if (f(o)) {
13
- const [c, l] = await t.importSpecFromUrl(o, i.uid, {
11
+ if (t && i) {
12
+ if (c(t)) {
13
+ const [m, p] = await o.importSpecFromUrl(t, i.uid, {
14
14
  proxyUrl: i.proxyUrl,
15
15
  watchMode: n
16
16
  });
17
- c || m(l == null ? void 0 : l.collection);
17
+ m || l(p?.collection);
18
18
  return;
19
19
  }
20
- const r = await t.importSpecFile(o, i.uid);
21
- m(r == null ? void 0 : r.collection);
20
+ const r = await o.importSpecFile(t, i.uid);
21
+ l(r?.collection);
22
22
  }
23
23
  } catch (r) {
24
- p(r);
24
+ e(r);
25
25
  }
26
26
  }
27
27
  export {
28
- U as importCollection
28
+ y as importCollection
29
29
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./OpenApiClientButton.vue2.js";
2
- import "./OpenApiClientButton.vue3.js";
2
+ /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-f016469d"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, computed as s, createElementBlock as m, createCommentVNode as l, openBlock as u, createVNode as d, createTextVNode as f, unref as g } from "vue";
1
+ import { defineComponent as i, computed as s, createElementBlock as l, createCommentVNode as m, openBlock as u, createVNode as d, createTextVNode as f, unref as g } from "vue";
2
2
  import { ScalarIcon as h } from "@scalar/components";
3
3
  import { makeUrlAbsolute as p } from "@scalar/oas-utils/helpers";
4
4
  const k = ["href"], L = /* @__PURE__ */ i({
@@ -10,25 +10,25 @@ const k = ["href"], L = /* @__PURE__ */ i({
10
10
  integration: {},
11
11
  url: {}
12
12
  },
13
- setup(o) {
13
+ setup(t) {
14
14
  const c = s(() => {
15
- const n = o.url ?? (typeof window < "u" ? window.location.href : void 0);
15
+ const n = t.url ?? (typeof window < "u" ? window.location.href : void 0);
16
16
  if (!n)
17
17
  return;
18
- const t = p(n);
19
- if (!(t != null && t.length))
18
+ const o = p(n);
19
+ if (!o?.length)
20
20
  return;
21
21
  const e = new URL(
22
- o.isDevelopment ? "http://localhost:5065" : "https://client.scalar.com"
22
+ t.isDevelopment ? "http://localhost:5065" : "https://client.scalar.com"
23
23
  );
24
- if (e.searchParams.set("url", t), o.integration !== null && e.searchParams.set("integration", o.integration ?? "vue"), e.searchParams.set("utm_source", "api-reference"), e.searchParams.set("utm_medium", "button"), e.searchParams.set("utm_campaign", o.buttonSource), o.source === "gitbook") {
24
+ if (e.searchParams.set("url", o), t.integration !== null && e.searchParams.set("integration", t.integration ?? "vue"), e.searchParams.set("utm_source", "api-reference"), e.searchParams.set("utm_medium", "button"), e.searchParams.set("utm_campaign", t.buttonSource), t.source === "gitbook") {
25
25
  e.searchParams.set("utm_source", "gitbook");
26
26
  const r = document.querySelector("img.dark\\:block[alt='Logo']"), a = document.querySelector("img.dark\\:hidden[alt='Logo']");
27
27
  r && r instanceof HTMLImageElement && e.searchParams.set("dark_logo", encodeURIComponent(r.src)), a && a instanceof HTMLImageElement && e.searchParams.set("light_logo", encodeURIComponent(a.src));
28
28
  }
29
29
  return e.toString();
30
30
  });
31
- return (n, t) => c.value ? (u(), m("a", {
31
+ return (n, o) => c.value ? (u(), l("a", {
32
32
  key: 0,
33
33
  class: "open-api-client-button",
34
34
  href: c.value,
@@ -39,8 +39,8 @@ const k = ["href"], L = /* @__PURE__ */ i({
39
39
  size: "xs",
40
40
  thickness: "2.5"
41
41
  }),
42
- t[0] || (t[0] = f(" Open API Client "))
43
- ], 8, k)) : l("", !0);
42
+ o[0] || (o[0] = f(" Open API Client "))
43
+ ], 8, k)) : m("", !0);
44
44
  }
45
45
  });
46
46
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./ScalarAsciiArt.vue2.js";
2
- import "./ScalarAsciiArt.vue3.js";
2
+ /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const i = /* @__PURE__ */ r(o, [["__scopeId", "data-v-69ebd973"]]);
5
5
  export {
@@ -1,40 +1,37 @@
1
- import { defineComponent as h, computed as f, createElementBlock as i, openBlock as o, normalizeClass as y, Fragment as v, renderList as x, normalizeStyle as m, createElementVNode as $, toDisplayString as k } from "vue";
2
- const p = 500, l = 100, B = /* @__PURE__ */ h({
1
+ import { defineComponent as d, computed as g, createElementBlock as a, openBlock as i, normalizeClass as h, Fragment as f, renderList as y, normalizeStyle as r, createElementVNode as v, toDisplayString as x } from "vue";
2
+ const c = 500, o = 100, k = /* @__PURE__ */ d({
3
3
  __name: "ScalarAsciiArt",
4
4
  props: {
5
5
  art: {},
6
6
  animate: { type: Boolean }
7
7
  },
8
- setup(u) {
9
- const d = u, n = f(() => d.art.split(`
10
- `)), g = (a, s) => {
11
- var e, t, r, c;
12
- return {
13
- animationDuration: `${a * l}ms, ${p}ms`,
14
- animationTimingFunction: `steps(${a}), step-end`,
15
- animationDelay: `${s * l}ms, 0ms`,
16
- animationIterationCount: `1, ${((((e = n.value) == null ? void 0 : e.length) ?? 0) + (((c = (r = n.value) == null ? void 0 : r[((t = n.value) == null ? void 0 : t.length) - 1]) == null ? void 0 : c.length) ?? 0) + 5) * l / p}`
17
- };
18
- };
19
- return (a, s) => (o(), i("div", {
8
+ setup(m) {
9
+ const p = m, e = g(() => p.art.split(`
10
+ `)), u = (t, l) => ({
11
+ animationDuration: `${t * o}ms, ${c}ms`,
12
+ animationTimingFunction: `steps(${t}), step-end`,
13
+ animationDelay: `${l * o}ms, 0ms`,
14
+ animationIterationCount: `1, ${((e.value?.length ?? 0) + (e.value?.[e.value?.length - 1]?.length ?? 0) + 5) * o / c}`
15
+ });
16
+ return (t, l) => (i(), a("div", {
20
17
  "aria-hidden": "true",
21
- class: y(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]", { "ascii-art-animate": a.animate }]),
18
+ class: h(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]", { "ascii-art-animate": t.animate }]),
22
19
  role: "presentation",
23
20
  inert: ""
24
21
  }, [
25
- (o(!0), i(v, null, x(n.value, (e, t) => (o(), i("span", {
26
- key: t,
22
+ (i(!0), a(f, null, y(e.value, (n, s) => (i(), a("span", {
23
+ key: s,
27
24
  class: "inline-block",
28
- style: m({ width: `calc(${e.length + 1}ch)` })
25
+ style: r({ width: `calc(${n.length + 1}ch)` })
29
26
  }, [
30
- $("span", {
27
+ v("span", {
31
28
  class: "inline-block whitespace-pre overflow-hidden",
32
- style: m(g(e.length, t))
33
- }, k(e), 5)
29
+ style: r(u(n.length, s))
30
+ }, x(n), 5)
34
31
  ], 4))), 128))
35
32
  ], 2));
36
33
  }
37
34
  });
38
35
  export {
39
- B as default
36
+ k as default
40
37
  };
@@ -1,88 +1,78 @@
1
- import { PathId as S } from "../../routes.js";
2
- import { useActiveEntities as L } from "../../store/active-entities.js";
3
- import { isDefined as y, shouldIgnoreEntity as T } from "@scalar/oas-utils/helpers";
4
- import M from "fuse.js";
5
- import { ref as n, watch as W, computed as b, nextTick as P } from "vue";
6
- import { useRouter as V } from "vue-router";
7
- import { useWorkspace as B } from "../../store/store.js";
8
- function Q() {
9
- const u = V(), { activeWorkspace: E, activeWorkspaceRequests: f, activeWorkspaceCollections: w } = L(), { requests: x, tags: A } = B(), c = n([]), i = n([]), a = n(0), r = n(""), v = n(null), m = n([]), p = new M(c.value, {
1
+ import { PathId as k } from "../../routes.js";
2
+ import { useActiveEntities as F } from "../../store/active-entities.js";
3
+ import { isDefined as I, shouldIgnoreEntity as S } from "@scalar/oas-utils/helpers";
4
+ import H from "fuse.js";
5
+ import { ref as l, watch as y, computed as T, nextTick as L } from "vue";
6
+ import { useRouter as M } from "vue-router";
7
+ import { useWorkspace as P } from "../../store/store.js";
8
+ function N() {
9
+ const h = M(), { activeWorkspace: W, activeWorkspaceRequests: f, activeWorkspaceCollections: b } = F(), { requests: E, tags: w } = P(), n = l([]), c = l([]), s = l(0), o = l(""), r = l(null), m = l([]), p = new H(n.value, {
10
10
  keys: ["title", "description", "body"]
11
- }), C = () => {
12
- r.value = "", a.value = 0, i.value = [], v.value instanceof HTMLInputElement && v.value.blur();
11
+ }), x = () => {
12
+ o.value = "", s.value = 0, c.value = [], r.value instanceof HTMLInputElement && r.value.blur();
13
13
  }, d = (e) => {
14
- c.value = e.filter((t) => !T(t)).filter((t) => {
15
- var k;
16
- const s = (k = w.value) == null ? void 0 : k.find(
17
- (l) => l.requests.includes(t.uid)
18
- );
19
- return !!!(s != null && s.tags.map((l) => A[l]).filter(y).filter((l) => {
20
- var I;
21
- return (I = t.tags) == null ? void 0 : I.includes(l.name);
22
- }).filter((l) => T(l)).length);
23
- }).map((t) => {
24
- var s, o;
25
- return {
26
- id: t.uid,
27
- title: t.summary ?? t.method,
28
- description: t.description ?? "",
29
- httpVerb: t.method,
30
- path: t.path,
31
- link: (o = u == null ? void 0 : u.resolve({
32
- name: "request",
33
- params: {
34
- [S.Request]: t.uid,
35
- [S.Workspace]: (s = E.value) == null ? void 0 : s.uid
36
- }
37
- })) == null ? void 0 : o.href
38
- };
39
- }), p.setCollection(c.value);
14
+ n.value = e.filter((t) => !S(t)).filter((t) => !!!b.value?.find(
15
+ (a) => a.requests.includes(t.uid)
16
+ )?.tags.map((a) => w[a]).filter(I).filter((a) => t.tags?.includes(a.name)).filter((a) => S(a)).length).map((t) => ({
17
+ id: t.uid,
18
+ title: t.summary ?? t.method,
19
+ description: t.description ?? "",
20
+ httpVerb: t.method,
21
+ path: t.path,
22
+ link: h?.resolve({
23
+ name: "request",
24
+ params: {
25
+ [k.Request]: t.uid,
26
+ [k.Workspace]: W.value?.uid
27
+ }
28
+ })?.href
29
+ })), p.setCollection(n.value);
40
30
  }, R = () => {
41
- a.value = 0, i.value = p.search(r.value);
31
+ s.value = 0, c.value = p.search(o.value);
42
32
  };
43
- W(r, (e) => {
44
- e.length ? R() : i.value = [];
33
+ y(o, (e) => {
34
+ e.length ? R() : c.value = [];
45
35
  });
46
- const D = (e) => {
47
- const t = e === "up" ? -1 : 1, s = h.value.length;
48
- a.value = (a.value + t + s) % s, P(() => {
49
- const o = m.value[a.value];
50
- o instanceof HTMLElement && o.scrollIntoView({
36
+ const A = (e) => {
37
+ const t = e === "up" ? -1 : 1, i = u.value.length;
38
+ s.value = (s.value + t + i) % i, L(() => {
39
+ const v = m.value[s.value];
40
+ v instanceof HTMLElement && v.scrollIntoView({
51
41
  behavior: "smooth",
52
42
  block: "center"
53
43
  });
54
44
  });
55
- }, F = () => {
56
- if (a.value >= 0) {
57
- const e = h.value[a.value];
45
+ }, C = () => {
46
+ if (s.value >= 0) {
47
+ const e = u.value[s.value];
58
48
  e && g(e);
59
49
  }
60
- }, H = b(() => f.value.map((e) => x[e]).filter(y));
61
- W(
50
+ }, D = T(() => f.value.map((e) => E[e]).filter(I));
51
+ y(
62
52
  f,
63
53
  () => {
64
- d(H.value);
54
+ d(D.value);
65
55
  },
66
56
  { immediate: !0 }
67
57
  );
68
58
  const g = (e) => {
69
- u.push(e.item.id), C();
70
- }, h = b(() => r.value.length === 0 ? c.value.map((e) => ({
59
+ h.push(e.item.id), x();
60
+ }, u = T(() => o.value.length === 0 ? n.value.map((e) => ({
71
61
  item: e
72
- })) : i.value);
62
+ })) : c.value);
73
63
  return {
74
- searchText: r,
75
- searchResultsWithPlaceholderResults: h,
76
- selectedSearchResult: a,
64
+ searchText: o,
65
+ searchResultsWithPlaceholderResults: u,
66
+ selectedSearchResult: s,
77
67
  onSearchResultClick: g,
78
68
  fuseSearch: R,
79
- searchInputRef: v,
69
+ searchInputRef: r,
80
70
  searchResultRefs: m,
81
- navigateSearchResults: D,
82
- selectSearchResult: F,
71
+ navigateSearchResults: A,
72
+ selectSearchResult: C,
83
73
  populateFuseDataArray: d
84
74
  };
85
75
  }
86
76
  export {
87
- Q as useSearch
77
+ N as useSearch
88
78
  };
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionFilter.vue2.js";
2
- import "./SectionFilter.vue3.js";
2
+ /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f97cc68c"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, mergeModels as p, useModel as h, ref as g, createElementBlock as f, openBlock as i, withKeys as m, createElementVNode as c, Fragment as b, renderList as k, createBlock as y, withCtx as V, createTextVNode as w, toDisplayString as v, createVNode as S, unref as q, nextTick as B } from "vue";
1
+ import { defineComponent as x, mergeModels as p, useModel as h, ref as g, createElementBlock as u, openBlock as i, withKeys as f, createElementVNode as c, Fragment as b, renderList as k, createBlock as y, withCtx as V, createTextVNode as w, toDisplayString as m, createVNode as S, unref as q, nextTick as B } from "vue";
2
2
  import { ScalarIcon as C } from "@scalar/components";
3
3
  import I from "./SectionFilterButton.vue.js";
4
4
  const _ = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex" }, $ = { class: "filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center" }, F = { class: "context-bar-group-hover:hidden mr-1.5" }, K = /* @__PURE__ */ x({
@@ -11,47 +11,44 @@ const _ = { class: "request-section-content request-section-content-filter fade-
11
11
  modelModifiers: {}
12
12
  }),
13
13
  emits: ["update:modelValue"],
14
- setup(l) {
15
- const t = h(l, "modelValue"), r = g(), a = (s) => {
16
- const o = s === "prev" ? -1 : 1, e = t.value ? l.filters.indexOf(t.value) : 0, n = l.filters.length, d = (e + o + n) % n;
17
- t.value = l.filters[d], B(() => {
18
- if (r.value) {
19
- const u = r.value.querySelector(
14
+ setup(n) {
15
+ const t = h(n, "modelValue"), s = g(), a = (l) => {
16
+ const o = l === "prev" ? -1 : 1, e = t.value ? n.filters.indexOf(t.value) : 0, r = n.filters.length, v = (e + o + r) % r;
17
+ t.value = n.filters[v], B(() => {
18
+ if (s.value) {
19
+ const d = s.value.querySelector(
20
20
  'button[aria-selected="true"]'
21
21
  );
22
- u && u.focus();
22
+ d && d.focus();
23
23
  }
24
24
  });
25
25
  };
26
- return (s, o) => (i(), f("div", {
26
+ return (l, o) => (i(), u("div", {
27
27
  ref_key: "tablist",
28
- ref: r,
28
+ ref: s,
29
29
  class: "filter-hover context-bar-group ml-auto hidden lg:flex",
30
30
  role: "tablist",
31
31
  onKeydown: [
32
- o[0] || (o[0] = m((e) => a("prev"), ["left"])),
33
- o[1] || (o[1] = m((e) => a("next"), ["right"]))
32
+ o[0] || (o[0] = f((e) => a("prev"), ["left"])),
33
+ o[1] || (o[1] = f((e) => a("next"), ["right"]))
34
34
  ]
35
35
  }, [
36
36
  c("div", _, [
37
- (i(!0), f(b, null, k(s.filters, (e) => {
38
- var n;
39
- return i(), y(I, {
40
- key: e,
41
- class: "filter-hover-item",
42
- controls: (n = s.filterIds) == null ? void 0 : n[e],
43
- role: "tab",
44
- selected: t.value === e,
45
- onClick: (d) => t.value = e
46
- }, {
47
- default: V(() => [
48
- w(v(e), 1)
49
- ]),
50
- _: 2
51
- }, 1032, ["controls", "selected", "onClick"]);
52
- }), 128)),
37
+ (i(!0), u(b, null, k(l.filters, (e) => (i(), y(I, {
38
+ key: e,
39
+ class: "filter-hover-item",
40
+ controls: l.filterIds?.[e],
41
+ role: "tab",
42
+ selected: t.value === e,
43
+ onClick: (r) => t.value = e
44
+ }, {
45
+ default: V(() => [
46
+ w(m(e), 1)
47
+ ]),
48
+ _: 2
49
+ }, 1032, ["controls", "selected", "onClick"]))), 128)),
53
50
  c("div", $, [
54
- c("span", F, v(t.value), 1),
51
+ c("span", F, m(t.value), 1),
55
52
  S(q(C), {
56
53
  icon: "FilterList",
57
54
  size: "md",