@scalar/api-client 2.2.48 → 2.2.50

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 (217) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +15 -3
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  5. package/dist/components/AddressBar/AddressBar.vue2.js +102 -94
  6. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -0
  7. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  8. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  9. package/dist/components/AddressBar/AddressBarHistory.vue2.js +54 -58
  10. package/dist/components/CodeInput/CodeInput.vue.d.ts +9 -0
  11. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  12. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  13. package/dist/components/CodeInput/CodeInput.vue2.js +95 -93
  14. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  15. package/dist/components/CodeInput/codeVariableWidget.js +1 -3
  16. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -22
  18. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  19. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +13 -13
  20. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  21. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
  22. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +54 -49
  24. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  25. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +9 -9
  26. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  27. package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
  28. package/dist/components/DataTable/DataTableCell.vue.js +11 -8
  29. package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -0
  30. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  31. package/dist/components/DataTable/DataTableInput.vue.js +4 -4
  32. package/dist/components/DataTable/DataTableInput.vue2.js +36 -30
  33. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  34. package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -15
  35. package/dist/components/Form/Form.vue.d.ts +3 -1
  36. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  37. package/dist/components/Form/Form.vue.js +30 -25
  38. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  39. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +41 -41
  40. package/dist/components/ImportCollection/ImportNowButton.vue.js +24 -24
  41. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  42. package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
  43. package/dist/components/Server/ServerDropdown.vue.js +13 -13
  44. package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
  45. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  46. package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
  47. package/dist/components/Server/ServerDropdownItem.vue2.js +19 -19
  48. package/dist/layouts/App/create-api-client-app.d.ts +387 -477
  49. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  50. package/dist/layouts/Modal/create-api-client-modal.d.ts +774 -954
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  52. package/dist/layouts/Web/create-api-client-web.d.ts +387 -477
  53. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  54. package/dist/libs/create-client.d.ts +390 -479
  55. package/dist/libs/create-client.d.ts.map +1 -1
  56. package/dist/libs/create-client.js +3 -15
  57. package/dist/libs/env-helpers.d.ts.map +1 -1
  58. package/dist/libs/find-request.d.ts +7 -7
  59. package/dist/libs/find-request.d.ts.map +1 -1
  60. package/dist/libs/hot-keys.d.ts +3 -1
  61. package/dist/libs/hot-keys.d.ts.map +1 -1
  62. package/dist/libs/hot-keys.js +11 -15
  63. package/dist/libs/hot-keys.test.d.ts +2 -0
  64. package/dist/libs/hot-keys.test.d.ts.map +1 -0
  65. package/dist/libs/index.js +27 -26
  66. package/dist/libs/send-request/build-request-security.d.ts +1 -1
  67. package/dist/libs/send-request/build-request-security.js +19 -16
  68. package/dist/libs/send-request/create-request-operation.test.d.ts +10 -10
  69. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  70. package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
  71. package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
  72. package/dist/libs/send-request/set-request-cookies.js +37 -34
  73. package/dist/store/active-entities.d.ts +58 -67
  74. package/dist/store/active-entities.d.ts.map +1 -1
  75. package/dist/store/active-entities.js +61 -74
  76. package/dist/store/collections.d.ts +90 -90
  77. package/dist/store/collections.d.ts.map +1 -1
  78. package/dist/store/collections.js +4 -17
  79. package/dist/store/cookies.d.ts +14 -14
  80. package/dist/store/environment.d.ts +19 -18
  81. package/dist/store/environment.d.ts.map +1 -1
  82. package/dist/store/environment.js +2 -8
  83. package/dist/store/import-spec.d.ts +16 -106
  84. package/dist/store/import-spec.d.ts.map +1 -1
  85. package/dist/store/import-spec.js +9 -14
  86. package/dist/store/request-example.d.ts +25 -25
  87. package/dist/store/request-example.d.ts.map +1 -1
  88. package/dist/store/request-example.js +15 -20
  89. package/dist/store/requests.d.ts +84 -84
  90. package/dist/store/requests.d.ts.map +1 -1
  91. package/dist/store/requests.js +17 -40
  92. package/dist/store/router-params.d.ts +13 -11
  93. package/dist/store/router-params.d.ts.map +1 -1
  94. package/dist/store/router-params.js +5 -5
  95. package/dist/store/security-schemes.d.ts +58 -58
  96. package/dist/store/security-schemes.d.ts.map +1 -1
  97. package/dist/store/security-schemes.js +1 -3
  98. package/dist/store/servers.d.ts +17 -17
  99. package/dist/store/servers.d.ts.map +1 -1
  100. package/dist/store/servers.js +2 -9
  101. package/dist/store/store.d.ts +387 -477
  102. package/dist/store/store.d.ts.map +1 -1
  103. package/dist/store/store.js +2 -4
  104. package/dist/store/tags.d.ts +28 -28
  105. package/dist/store/tags.d.ts.map +1 -1
  106. package/dist/store/tags.js +19 -34
  107. package/dist/store/workspace.d.ts +36 -36
  108. package/dist/store/workspace.d.ts.map +1 -1
  109. package/dist/store/workspace.js +1 -5
  110. package/dist/style.css +1 -1
  111. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  112. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  113. package/dist/views/Cookies/CookieForm.vue.js +18 -18
  114. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  115. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  116. package/dist/views/Cookies/Cookies.vue2.js +24 -24
  117. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  118. package/dist/views/Environment/Environment.vue2.js +140 -132
  119. package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -2
  120. package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
  121. package/dist/views/Environment/EnvironmentModal.vue.js +15 -15
  122. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  123. package/dist/views/Request/Request.vue.js +2 -2
  124. package/dist/views/Request/Request.vue2.js +160 -141
  125. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
  126. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +7 -7
  128. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +6 -2
  129. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  130. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +99 -95
  131. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +4 -0
  132. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  133. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  134. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +70 -64
  135. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +4 -0
  136. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
  137. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
  138. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +40 -34
  139. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -0
  140. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  141. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +32 -26
  142. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +4 -0
  143. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  145. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +93 -85
  146. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +9 -0
  147. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  148. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  149. package/dist/views/Request/RequestSection/RequestBody.vue2.js +214 -244
  150. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +10 -1
  151. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  152. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  153. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +77 -80
  154. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
  155. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  156. package/dist/views/Request/RequestSection/RequestParams.vue.js +89 -96
  157. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +10 -2
  158. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  159. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +59 -66
  160. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +11 -0
  161. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  162. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  163. package/dist/views/Request/RequestSection/RequestSection.vue2.js +176 -155
  164. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +6 -0
  165. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  166. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  167. package/dist/views/Request/RequestSection/RequestTable.vue2.js +97 -100
  168. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  169. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
  170. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +31 -22
  171. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +2 -2
  172. package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
  173. package/dist/views/Request/RequestSection/helpers/getting-started.js +11 -13
  174. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  175. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  176. package/dist/views/Request/RequestSidebar.vue2.js +50 -48
  177. package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
  178. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  179. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  180. package/dist/views/Request/RequestSidebarItem.vue2.js +38 -44
  181. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +10 -0
  182. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  183. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  184. package/dist/views/Request/RequestSubpageHeader.vue2.js +77 -69
  185. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +7 -7
  186. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +4 -1
  187. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  188. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  189. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +41 -39
  190. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -0
  191. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  192. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
  193. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +56 -52
  194. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  195. package/dist/views/Request/components/WorkspaceDropdown.vue.js +68 -68
  196. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  197. package/dist/views/Request/handle-drag.d.ts +1 -1
  198. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  199. package/dist/views/Request/handle-drag.js +38 -55
  200. package/dist/views/Request/libs/auth.d.ts +2 -2
  201. package/dist/views/Request/libs/auth.d.ts.map +1 -1
  202. package/dist/views/Request/libs/auth.js +28 -29
  203. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  204. package/dist/views/Request/libs/oauth2.js +42 -65
  205. package/dist/views/Request/libs/request.d.ts +5 -0
  206. package/dist/views/Request/libs/request.d.ts.map +1 -1
  207. package/dist/views/Request/libs/request.js +37 -2
  208. package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
  209. package/dist/views/Request/libs/watch-mode.js +10 -34
  210. package/dist/views/Servers/ServerForm.vue.d.ts +1 -8
  211. package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
  212. package/dist/views/Servers/ServerForm.vue.js +21 -22
  213. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  214. package/dist/views/Servers/Servers.vue2.js +73 -81
  215. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  216. package/dist/views/Settings/SettingsGeneral.vue.js +118 -134
  217. package/package.json +14 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.2.50
4
+
5
+ ### Patch Changes
6
+
7
+ - e350f23: chore: code style
8
+ - e47a698: feat: adds request parameter value validation alert
9
+ - debcb82: fix: allow pressing modified hotkeys in inputs
10
+ - debcb82: fix: allow hitting enter to submit in the address bar
11
+ - 738d21c: chore: add brand to uids
12
+ - 459ad57: chore: remove active entities for prop drilling
13
+ - Updated dependencies [e350f23]
14
+ - Updated dependencies [e47a698]
15
+ - Updated dependencies [738d21c]
16
+ - Updated dependencies [e47a698]
17
+ - @scalar/openapi-parser@0.10.8
18
+ - @scalar/openapi-types@0.1.8
19
+ - @scalar/components@0.13.25
20
+ - @scalar/oas-utils@0.2.107
21
+ - @scalar/snippetz@0.2.14
22
+ - @scalar/themes@0.9.68
23
+ - @scalar/import@0.2.27
24
+ - @scalar/draggable@0.1.10
25
+ - @scalar/icons@0.1.3
26
+ - @scalar/object-utils@1.1.13
27
+ - @scalar/postman-to-openapi@0.1.30
28
+ - @scalar/types@0.0.34
29
+ - @scalar/use-codemirror@0.11.70
30
+ - @scalar/use-hooks@0.1.22
31
+ - @scalar/use-toasts@0.7.9
32
+ - @scalar/use-tooltip@1.0.6
33
+
34
+ ## 2.2.49
35
+
36
+ ### Patch Changes
37
+
38
+ - c62884d: fix: virtualization issues causing tab to be unresponsive
39
+ - Updated dependencies [ed92564]
40
+ - @scalar/oas-utils@0.2.106
41
+ - @scalar/import@0.2.26
42
+ - @scalar/postman-to-openapi@0.1.29
43
+
3
44
  ## 2.2.48
4
45
 
5
46
  ### Patch Changes
@@ -1,7 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
1
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
2
+ import type { Collection, Operation, Server } from '@scalar/oas-utils/entities/spec';
3
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
+ import type { EnvVariable } from '../../store/active-entities';
5
+ type __VLS_Props = {
6
+ collection: Collection;
7
+ operation: Operation;
8
+ server: Server | undefined;
9
+ environment: Environment;
10
+ envVariables: EnvVariable[];
11
+ workspace: Workspace;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
2
14
  importCurl: (value: string) => any;
3
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
4
16
  onImportCurl?: (value: string) => any;
5
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
6
18
  export default _default;
7
19
  //# sourceMappingURL=AddressBar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AA8vBA,wBAMG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAuVA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AA6ZJ,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 d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f37ba3d4"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b4d63e6c"]]);
5
5
  export {
6
6
  d as default
7
7
  };
@@ -1,145 +1,153 @@
1
- import { defineComponent as M, useId as H, ref as n, watch as N, unref as t, openBlock as y, createElementBlock as T, createElementVNode as r, normalizeClass as $, normalizeStyle as O, createVNode as u, createBlock as P, createCommentVNode as q, withCtx as D } from "vue";
2
- import K from "../CodeInput/CodeInput.vue.js";
3
- import { useActiveEntities as Q } from "../../store/active-entities.js";
4
- import { ScalarButton as W, ScalarIcon as j } from "@scalar/components";
5
- import { REQUEST_METHODS as F } from "@scalar/oas-utils/helpers";
6
- import G from "../HttpMethod/HttpMethod.vue.js";
7
- import J from "./AddressBarHistory.vue.js";
8
- import X from "../Server/ServerDropdown.vue.js";
9
- import { useWorkspace as Y } from "../../store/store.js";
10
- import { useLayout as Z } from "../../hooks/useLayout.js";
11
- const ee = ["id"], te = { class: "m-auto flex flex-row items-center" }, le = { class: "addressbar-bg-states group text-xxs relative flex w-full xl:min-w-[720px] xl:max-w-[720px] lg:min-w-[580px] lg:max-w-[580px] order-last lg:order-none flex-1 flex-row items-stretch rounded-lg p-0.75 max-w-[calc(100dvw-24px)]" }, ae = { class: "border rounded-lg pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden" }, re = { class: "flex gap-1 z-context-plus" }, oe = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full" }, se = {
1
+ import { defineComponent as S, useId as V, ref as i, watch as z, openBlock as b, createElementBlock as I, unref as a, createElementVNode as o, normalizeClass as L, normalizeStyle as U, createVNode as d, createBlock as M, createCommentVNode as A, withCtx as H } from "vue";
2
+ import { ScalarButton as N, ScalarIcon as T } from "@scalar/components";
3
+ import { REQUEST_METHODS as $ } from "@scalar/oas-utils/helpers";
4
+ import O from "../CodeInput/CodeInput.vue.js";
5
+ import P from "../HttpMethod/HttpMethod.vue.js";
6
+ import D from "./AddressBarHistory.vue.js";
7
+ import K from "../Server/ServerDropdown.vue.js";
8
+ import { useWorkspace as Q } from "../../store/store.js";
9
+ import { useLayout as W } from "../../hooks/useLayout.js";
10
+ const j = ["id"], F = { class: "m-auto flex flex-row items-center" }, G = { class: "addressbar-bg-states text-xxs p-0.75 group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg lg:order-none lg:min-w-[580px] lg:max-w-[580px] xl:min-w-[720px] xl:max-w-[720px]" }, J = { class: "pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden rounded-lg border" }, X = { class: "z-context-plus flex gap-1" }, Y = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full" }, Z = {
12
11
  "aria-hidden": "true",
13
- class: "inline-flex gap-1 items-center"
14
- }, ge = /* @__PURE__ */ M({
12
+ class: "inline-flex items-center gap-1"
13
+ }, ie = /* @__PURE__ */ S({
15
14
  __name: "AddressBar",
15
+ props: {
16
+ collection: {},
17
+ operation: {},
18
+ server: {},
19
+ environment: {},
20
+ envVariables: {},
21
+ workspace: {}
22
+ },
16
23
  emits: ["importCurl"],
17
- setup(ie) {
18
- const d = H(), { activeRequest: l, activeExample: B, activeServer: c, activeCollection: f } = Q(), { requestMutators: m, events: v } = Y(), { layout: x } = Z(), h = n(null), E = (e) => {
19
- !l.value || l.value.path === e || m.edit(l.value.uid, "path", e);
24
+ setup(n) {
25
+ const u = V(), { requestMutators: c, events: f } = Q(), { layout: p } = W(), v = i(null), x = (e) => {
26
+ n.operation.path !== e && c.edit(n.operation.uid, "path", e);
20
27
  };
21
- N(
22
- () => {
23
- var e;
24
- return (e = l.value) == null ? void 0 : e.path;
25
- },
28
+ z(
29
+ () => n.operation.path,
26
30
  (e) => {
27
- !l.value || !e || E(e);
31
+ e && x(e);
28
32
  }
29
33
  );
30
- const o = n(100), g = n(0), s = n(!1), i = n();
31
- function R() {
32
- s.value ? o.value -= (o.value - 15) / 60 : o.value -= g.value / 20, o.value <= 0 && (clearInterval(i.value), i.value = void 0, o.value = 100, s.value = !1);
34
+ const l = i(100), h = i(0), r = i(!1), s = i();
35
+ function w() {
36
+ r.value ? l.value -= (l.value - 15) / 60 : l.value -= h.value / 20, l.value <= 0 && (clearInterval(s.value), s.value = void 0, l.value = 100, r.value = !1);
33
37
  }
34
- function S() {
35
- i.value || (s.value = !0, i.value = setInterval(R, 20));
38
+ function k() {
39
+ s.value || (r.value = !0, s.value = setInterval(w, 20));
36
40
  }
37
- function z() {
38
- g.value = o.value, s.value = !1;
41
+ function C() {
42
+ h.value = l.value, r.value = !1;
39
43
  }
40
- function I() {
41
- clearInterval(i.value), i.value = void 0, o.value = 100, s.value = !1;
44
+ function y() {
45
+ clearInterval(s.value), s.value = void 0, l.value = 100, r.value = !1;
42
46
  }
43
- v.requestStatus.on((e) => {
44
- e === "start" && S(), e === "stop" && z(), e === "abort" && I();
47
+ f.requestStatus.on((e) => {
48
+ e === "start" && k(), e === "stop" && C(), e === "abort" && y();
45
49
  });
46
- function V(e) {
47
- l.value && m.edit(l.value.uid, "method", e);
50
+ function B(e) {
51
+ c.edit(n.operation.uid, "method", e);
48
52
  }
49
- function L() {
50
- if (!l.value) return;
51
- const { method: e } = l.value;
52
- return F[e].backgroundColor;
53
+ function q() {
54
+ const { method: e } = n.operation;
55
+ return $[e].backgroundColor;
53
56
  }
54
- function p() {
55
- s.value || !l.value || (s.value = !0, v.executeRequest.emit({ requestUid: l.value.uid }));
57
+ function m() {
58
+ r.value || (r.value = !0, f.executeRequest.emit({ requestUid: n.operation.uid }));
56
59
  }
57
- v.hotKeys.on((e) => {
58
- var a;
59
- e != null && e.focusAddressBar && ((a = h.value) == null || a.focus()), e != null && e.executeRequest && p();
60
+ f.hotKeys.on((e) => {
61
+ var t;
62
+ e != null && e.focusAddressBar && ((t = v.value) == null || t.focus()), e != null && e.executeRequest && m();
60
63
  });
61
- function U(e) {
62
- l.value && m.edit(l.value.uid, "path", e);
64
+ function R(e) {
65
+ c.edit(n.operation.uid, "path", e);
63
66
  }
64
- return (e, a) => {
65
- var b, w, C, _, k;
66
- return t(l) && t(B) ? (y(), T("div", {
67
- key: 0,
68
- id: t(d),
69
- class: "scalar-address-bar order-last lg:order-none lg:w-auto w-full [--scalar-address-bar-height:32px] h-[--scalar-address-bar-height]"
67
+ return (e, t) => {
68
+ var g;
69
+ return b(), I("div", {
70
+ id: a(u),
71
+ class: "scalar-address-bar order-last h-[--scalar-address-bar-height] w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"
70
72
  }, [
71
- r("div", te, [
72
- r("div", le, [
73
- r("div", ae, [
74
- r("div", {
75
- class: $(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context", L()]),
76
- style: O({ transform: `translate3d(-${o.value}%,0,0)` })
73
+ o("div", F, [
74
+ o("div", G, [
75
+ o("div", J, [
76
+ o("div", {
77
+ class: L(["bg-mix-transparent bg-mix-amount-90 z-context absolute left-0 top-0 h-full w-full", q()]),
78
+ style: U({ transform: `translate3d(-${l.value}%,0,0)` })
77
79
  }, null, 6)
78
80
  ]),
79
- r("div", re, [
80
- u(G, {
81
- isEditable: t(x) !== "modal",
81
+ o("div", X, [
82
+ d(P, {
83
+ isEditable: a(p) !== "modal",
82
84
  isSquare: "",
83
- method: t(l).method,
85
+ method: e.operation.method,
84
86
  teleport: "",
85
- onChange: V
87
+ onChange: B
86
88
  }, null, 8, ["isEditable", "method"])
87
89
  ]),
88
- r("div", oe, [
89
- (w = (b = t(f)) == null ? void 0 : b.servers) != null && w.length ? (y(), P(t(X), {
90
+ o("div", Y, [
91
+ e.collection.servers.length ? (b(), M(a(K), {
90
92
  key: 0,
91
- collection: t(f),
93
+ collection: e.collection,
92
94
  layout: "client",
93
- operation: t(l),
94
- server: t(c),
95
- target: t(d)
96
- }, null, 8, ["collection", "operation", "server", "target"])) : q("", !0),
97
- a[1] || (a[1] = r("div", { class: "fade-left" }, null, -1)),
98
- u(K, {
95
+ operation: e.operation,
96
+ server: e.server,
97
+ target: a(u)
98
+ }, null, 8, ["collection", "operation", "server", "target"])) : A("", !0),
99
+ t[1] || (t[1] = o("div", { class: "fade-left" }, null, -1)),
100
+ d(O, {
99
101
  ref_key: "addressBarRef",
100
- ref: h,
102
+ ref: v,
101
103
  "aria-label": "Path",
102
- class: "outline-none min-w-fit",
104
+ class: "min-w-fit outline-none",
103
105
  disableCloseBrackets: "",
104
- disabled: t(x) === "modal",
106
+ disabled: a(p) === "modal",
105
107
  disableEnter: "",
106
108
  disableTabIndent: "",
107
109
  emitOnBlur: !1,
110
+ envVariables: e.envVariables,
111
+ environment: e.environment,
108
112
  importCurl: "",
109
- modelValue: t(l).path,
110
- placeholder: (C = t(c)) != null && C.uid && ((k = (_ = t(f)) == null ? void 0 : _.servers) != null && k.includes(t(c).uid)) ? "" : "Enter a URL or cURL command",
113
+ modelValue: e.operation.path,
114
+ placeholder: (g = e.server) != null && g.uid && e.collection.servers.includes(e.server.uid) ? "" : "Enter a URL or cURL command",
111
115
  server: "",
112
- onCurl: a[0] || (a[0] = (A) => e.$emit("importCurl", A)),
113
- onSubmit: p,
114
- "onUpdate:modelValue": U
115
- }, null, 8, ["disabled", "modelValue", "placeholder"]),
116
- a[2] || (a[2] = r("div", { class: "fade-right" }, null, -1))
116
+ workspace: e.workspace,
117
+ onCurl: t[0] || (t[0] = (E) => e.$emit("importCurl", E)),
118
+ onSubmit: m,
119
+ "onUpdate:modelValue": R
120
+ }, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder", "workspace"]),
121
+ t[2] || (t[2] = o("div", { class: "fade-right" }, null, -1))
117
122
  ]),
118
- u(J, { target: t(d) }, null, 8, ["target"]),
119
- u(t(W), {
120
- class: "relative h-auto shrink-0 z-context-plus overflow-hidden pl-2 pr-2.5 py-1 font-bold",
121
- disabled: s.value,
122
- onClick: p
123
+ d(D, {
124
+ operation: e.operation,
125
+ target: a(u)
126
+ }, null, 8, ["operation", "target"]),
127
+ d(a(N), {
128
+ class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pl-2 pr-2.5 font-bold",
129
+ disabled: r.value,
130
+ onClick: m
123
131
  }, {
124
- default: D(() => [
125
- r("span", se, [
126
- u(t(j), {
132
+ default: H(() => [
133
+ o("span", Z, [
134
+ d(a(T), {
127
135
  class: "relative shrink-0 fill-current",
128
136
  icon: "Play",
129
137
  size: "xs"
130
138
  }),
131
- a[3] || (a[3] = r("span", { class: "text-xxs lg:flex hidden" }, "Send", -1))
139
+ t[3] || (t[3] = o("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
132
140
  ]),
133
- a[4] || (a[4] = r("span", { class: "sr-only" }, " Send Request ", -1))
141
+ t[4] || (t[4] = o("span", { class: "sr-only" }, " Send Request ", -1))
134
142
  ]),
135
143
  _: 1
136
144
  }, 8, ["disabled"])
137
145
  ])
138
146
  ])
139
- ], 8, ee)) : q("", !0);
147
+ ], 8, j);
140
148
  };
141
149
  }
142
150
  });
143
151
  export {
144
- ge as default
152
+ ie as default
145
153
  };
@@ -1,4 +1,6 @@
1
+ import type { Operation } from '@scalar/oas-utils/entities/spec';
1
2
  type __VLS_Props = {
3
+ operation: Operation;
2
4
  /** The id of the target to use for the popover (e.g. address bar) */
3
5
  target: string;
4
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":"AA0LA,KAAK,WAAW,GAAG;IACjB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA0QF,wBAOG"}
1
+ {"version":3,"file":"AddressBarHistory.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarHistory.vue"],"names":[],"mappings":"AA8KA,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,iCAAiC,CAAA;AAU9E,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,SAAS,CAAA;IACpB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA0QF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBarHistory.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-3f107c93"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a323ca24"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,98 +1,94 @@
1
- import { defineComponent as C, ref as y, computed as S, openBlock as n, createBlock as i, unref as e, withCtx as a, createVNode as d, createSlots as B, createElementVNode as l, createCommentVNode as h, normalizeStyle as H, createElementBlock as V, Fragment as w, renderList as z, toDisplayString as m, normalizeClass as L } from "vue";
2
- import { formatMs as E } from "../../libs/formatters.js";
3
- import { PathId as k } from "../../routes.js";
4
- import { useActiveEntities as R } from "../../store/active-entities.js";
5
- import { Listbox as U, ListboxButton as F, ListboxOptions as I, ListboxOption as M } from "@headlessui/vue";
6
- import { ScalarFloating as N, ScalarIcon as A, ScalarFloatingBackdrop as O } from "@scalar/components";
1
+ import { defineComponent as y, ref as S, computed as _, openBlock as n, createBlock as i, unref as e, withCtx as r, createVNode as u, createSlots as B, createElementVNode as a, createCommentVNode as k, normalizeStyle as H, createElementBlock as V, Fragment as w, renderList as z, toDisplayString as d, normalizeClass as L } from "vue";
2
+ import { formatMs as U } from "../../libs/formatters.js";
3
+ import { PathId as v } from "../../routes.js";
4
+ import { Listbox as E, ListboxButton as F, ListboxOptions as I, ListboxOption as M } from "@headlessui/vue";
5
+ import { ScalarFloating as N, ScalarIcon as R, ScalarFloatingBackdrop as O } from "@scalar/components";
7
6
  import { httpStatusCodes as W } from "@scalar/oas-utils/helpers";
8
- import { useRouter as D } from "vue-router";
9
- import P from "../HttpMethod/HttpMethod.vue.js";
10
- import { getStatusCodeColor as $ } from "./httpStatusCodeColors.js";
11
- import { useWorkspace as j } from "../../store/store.js";
12
- const G = { class: "min-w-0" }, J = { class: "min-w-0 truncate text-c-1" }, le = /* @__PURE__ */ C({
7
+ import { useRouter as A } from "vue-router";
8
+ import D from "../HttpMethod/HttpMethod.vue.js";
9
+ import { getStatusCodeColor as P } from "./httpStatusCodeColors.js";
10
+ import { useWorkspace as $ } from "../../store/store.js";
11
+ const j = { class: "min-w-0" }, G = { class: "min-w-0 truncate text-c-1" }, se = /* @__PURE__ */ y({
13
12
  __name: "AddressBarHistory",
14
13
  props: {
14
+ operation: {},
15
15
  target: {}
16
16
  },
17
- setup(K) {
18
- const { activeRequest: p } = R(), { requestHistory: f, requestExampleMutators: q } = j(), v = D(), x = y(f[0] ?? null), g = S(
19
- () => f.filter((o) => {
20
- var t;
21
- return o.request.requestUid === ((t = p.value) == null ? void 0 : t.uid);
22
- }).slice().reverse()
17
+ setup(p) {
18
+ const { requestHistory: f, requestExampleMutators: b } = $(), x = A(), g = S(f[0] ?? null), h = _(
19
+ () => f.filter((o) => o.request.requestUid === p.operation.uid).slice().reverse()
23
20
  );
24
- function _(o) {
25
- var r;
26
- const t = v.currentRoute.value.params.workspace;
27
- ((r = p.value) == null ? void 0 : r.uid) !== o.request.requestUid && v.push({
21
+ function q(o) {
22
+ const s = x.currentRoute.value.params.workspace;
23
+ p.operation.uid !== o.request.requestUid && x.push({
28
24
  name: "request",
29
25
  params: {
30
- [k.Workspace]: t,
31
- [k.Request]: o.request.requestUid
26
+ [v.Workspace]: s,
27
+ [v.Request]: o.request.requestUid
32
28
  }
33
- }), q.set({ ...o.request });
29
+ }), b.set({ ...o.request });
34
30
  }
35
- return (o, t) => (n(), i(e(U), {
36
- modelValue: x.value,
37
- "onUpdate:modelValue": t[0] || (t[0] = (r) => x.value = r)
31
+ return (o, s) => (n(), i(e(E), {
32
+ modelValue: g.value,
33
+ "onUpdate:modelValue": s[0] || (s[0] = (m) => g.value = m)
38
34
  }, {
39
- default: a(({ open: r }) => [
40
- d(e(N), {
35
+ default: r(({ open: m }) => [
36
+ u(e(N), {
41
37
  offset: 0,
42
38
  resize: "",
43
39
  target: o.target
44
40
  }, B({
45
- default: a(() => {
46
- var u;
41
+ default: r(() => {
42
+ var l;
47
43
  return [
48
- (u = g.value) != null && u.length ? (n(), i(e(F), {
44
+ (l = h.value) != null && l.length ? (n(), i(e(F), {
49
45
  key: 0,
50
46
  class: "addressbar-history-button z-context-plus mr-1 rounded-lg p-1.5 text-c-3 focus:text-c-1"
51
47
  }, {
52
- default: a(() => [
53
- d(e(A), {
48
+ default: r(() => [
49
+ u(e(R), {
54
50
  icon: "History",
55
51
  size: "sm",
56
52
  thickness: "2.25"
57
53
  }),
58
- t[1] || (t[1] = l("span", { class: "sr-only" }, "Request History", -1))
54
+ s[1] || (s[1] = a("span", { class: "sr-only" }, "Request History", -1))
59
55
  ]),
60
56
  _: 1
61
- })) : h("", !0)
57
+ })) : k("", !0)
62
58
  ];
63
59
  }),
64
60
  _: 2
65
61
  }, [
66
- r ? {
62
+ m ? {
67
63
  name: "floating",
68
- fn: a(({ width: u }) => [
69
- d(e(I), {
64
+ fn: r(({ width: l }) => [
65
+ u(e(I), {
70
66
  class: "address-bg-states border-t custom-scroll max-h-[inherit] p-0.75 grid grid-cols-[44px,1fr,repeat(3,auto)] items-center",
71
- style: H({ width: u })
67
+ style: H({ width: l })
72
68
  }, {
73
- default: a(() => [
74
- (n(!0), V(w, null, z(g.value, (s, b) => (n(), i(e(M), {
75
- key: s.timestamp,
69
+ default: r(() => [
70
+ (n(!0), V(w, null, z(h.value, (t, C) => (n(), i(e(M), {
71
+ key: t.timestamp,
76
72
  class: "contents font-code text-sm *:rounded-none first:*:rounded-l last:*:rounded-r *:h-8 *:ui-active:bg-b-2 *:flex *:items-center *:cursor-pointer *:px-1.5 text-c-2 font-medium",
77
- value: b,
78
- onClick: (c) => _(s)
73
+ value: C,
74
+ onClick: (c) => q(t)
79
75
  }, {
80
- default: a(() => {
76
+ default: r(() => {
81
77
  var c;
82
78
  return [
83
- s.response.method ? (n(), i(P, {
79
+ t.response.method ? (n(), i(D, {
84
80
  key: 0,
85
81
  class: "text-[11px]",
86
- method: s.response.method
87
- }, null, 8, ["method"])) : h("", !0),
88
- l("div", G, [
89
- l("div", J, m(s.response.path), 1)
82
+ method: t.response.method
83
+ }, null, 8, ["method"])) : k("", !0),
84
+ a("div", j, [
85
+ a("div", G, d(t.response.path), 1)
90
86
  ]),
91
- l("div", null, m(e(E)(s.response.duration)), 1),
92
- l("div", {
93
- class: L([e($)(s.response.status).color])
94
- }, m(s.response.status), 3),
95
- l("div", null, m((c = e(W)[s.response.status]) == null ? void 0 : c.name), 1)
87
+ a("div", null, d(e(U)(t.response.duration)), 1),
88
+ a("div", {
89
+ class: L([e(P)(t.response.status).color])
90
+ }, d(t.response.status), 3),
91
+ a("div", null, d((c = e(W)[t.response.status]) == null ? void 0 : c.name), 1)
96
92
  ];
97
93
  }),
98
94
  _: 2
@@ -100,7 +96,7 @@ const G = { class: "min-w-0" }, J = { class: "min-w-0 truncate text-c-1" }, le =
100
96
  ]),
101
97
  _: 2
102
98
  }, 1032, ["style"]),
103
- d(e(O), { class: "-top-[--scalar-address-bar-height] rounded-lg" })
99
+ u(e(O), { class: "-top-[--scalar-address-bar-height] rounded-lg" })
104
100
  ]),
105
101
  key: "0"
106
102
  } : void 0
@@ -111,5 +107,5 @@ const G = { class: "min-w-0" }, J = { class: "min-w-0 truncate text-c-1" }, le =
111
107
  }
112
108
  });
113
109
  export {
114
- le as default
110
+ se as default
115
111
  };
@@ -1,4 +1,7 @@
1
+ import type { Workspace } from '@scalar/oas-utils/entities';
2
+ import type { Environment } from '@scalar/oas-utils/entities/environment';
1
3
  import { type CodeMirrorLanguage } from '@scalar/use-codemirror';
4
+ import type { EnvVariable } from '../../store/active-entities';
2
5
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
6
  colorPicker?: boolean;
4
7
  disabled?: boolean;
@@ -23,6 +26,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
26
  importCurl?: boolean;
24
27
  isCopyable?: boolean;
25
28
  default?: string | number;
29
+ environment: Environment;
30
+ envVariables: EnvVariable[];
31
+ workspace: Workspace;
26
32
  }, {
27
33
  focus: () => void;
28
34
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -53,6 +59,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
53
59
  importCurl?: boolean;
54
60
  isCopyable?: boolean;
55
61
  default?: string | number;
62
+ environment: Environment;
63
+ envVariables: EnvVariable[];
64
+ workspace: Workspace;
56
65
  }> & Readonly<{
57
66
  onSubmit?: (v: string) => any;
58
67
  "onUpdate:modelValue"?: (v: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA6eA,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;;kBAkBb,OAAO;eACV,OAAO;gBACN,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;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;;;kBAtBX,OAAO;eACV,OAAO;gBACN,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;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;;;;;;cArBd,OAAO;gBAGL,OAAO;iBAJN,OAAO;sBAOF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAInB,OAAO;mBACF,OAAO;gBAEV,OAAO;;qBAgdM,GAAG;kBACN,GAAG;;AAze9B,wBAsiBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,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":"AAgfA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;AAM/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAYxC,OAAO;eACV,OAAO;gBACN,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;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;;;kBAzBN,OAAO;eACV,OAAO;gBACN,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;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;cAxBT,OAAO;gBAGL,OAAO;iBAJN,OAAO;sBAOF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAInB,OAAO;mBACF,OAAO;gBAEV,OAAO;;qBAqdM,GAAG;kBACN,GAAG;;AA9e9B,wBAyiBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,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 _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5ee3c100"]]);
5
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4d46a9ea"]]);
6
6
  export {
7
- _ as default
7
+ e as default
8
8
  };