@scalar/api-client 2.1.18 → 2.1.20

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 (213) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts +5 -1
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  5. package/dist/components/AddressBar/AddressBar.vue2.js +70 -69
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  7. package/dist/components/AddressBar/AddressBarHistory.vue2.js +8 -8
  8. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  9. package/dist/components/AddressBar/AddressBarServer.vue.js +29 -29
  10. package/dist/components/CodeInput/CodeInput.vue.d.ts +6 -2
  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 +57 -49
  14. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +1 -1
  15. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +1 -1
  16. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +1 -1
  19. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +62 -45
  21. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +1 -1
  23. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +13 -7
  24. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  25. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  26. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +87 -89
  27. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  28. package/dist/components/ContextBar.vue.js +2 -2
  29. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +19 -3
  30. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  31. package/dist/components/DataTable/DataTableCheckbox.vue.js +27 -14
  32. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  33. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +8 -8
  34. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  35. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  36. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +29 -32
  37. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +39 -0
  38. package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -0
  39. package/dist/components/ImportCurl/ImportCurlModal.vue.js +7 -0
  40. package/dist/components/ImportCurl/ImportCurlModal.vue2.js +88 -0
  41. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -1
  42. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  43. package/dist/components/SideNav/SideNav.vue.js +1 -1
  44. package/dist/components/SideNav/SideNav.vue2.js +37 -26
  45. package/dist/components/SideNav/SideNavLink.vue.d.ts +2 -2
  46. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  47. package/dist/components/SideNav/SideNavLink.vue.js +10 -11
  48. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +1 -1
  49. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  50. package/dist/components/Sidebar/Sidebar.vue.js +1 -1
  51. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  52. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  53. package/dist/components/Sidebar/SidebarButton.vue.js +1 -1
  54. package/dist/components/Sidebar/SidebarListElement.vue.d.ts +24 -3
  55. package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
  56. package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
  57. package/dist/components/Sidebar/SidebarListElement.vue2.js +26 -22
  58. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +4 -0
  59. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  60. package/dist/components/Sidebar/SidebarListElementActions.vue.js +35 -32
  61. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  62. package/dist/components/TopNav/TopNav.vue.js +3 -3
  63. package/dist/components/TopNav/TopNav.vue2.js +41 -40
  64. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  65. package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
  66. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  67. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
  68. package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
  69. package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
  70. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  71. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +11 -11
  72. package/dist/constants.d.ts +4 -0
  73. package/dist/constants.d.ts.map +1 -1
  74. package/dist/constants.js +2 -1
  75. package/dist/hooks/useDarkModeState.d.ts +4 -3
  76. package/dist/hooks/useDarkModeState.d.ts.map +1 -1
  77. package/dist/hooks/useDarkModeState.js +36 -21
  78. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  79. package/dist/layouts/App/ApiClientApp.vue.js +40 -44
  80. package/dist/layouts/App/create-api-client-app.d.ts +46 -36
  81. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  82. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  83. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  84. package/dist/layouts/Modal/ApiClientModal.vue2.js +17 -17
  85. package/dist/layouts/Modal/create-api-client-modal.d.ts +92 -72
  86. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  87. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  88. package/dist/layouts/Web/ApiClientWeb.vue.js +30 -34
  89. package/dist/layouts/Web/create-api-client-web.d.ts +46 -36
  90. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  91. package/dist/libs/create-client.d.ts +46 -36
  92. package/dist/libs/create-client.d.ts.map +1 -1
  93. package/dist/libs/event-bus.d.ts +41 -0
  94. package/dist/libs/event-bus.d.ts.map +1 -0
  95. package/dist/libs/event-bus.js +32 -0
  96. package/dist/libs/{event-busses/hot-keys-bus.d.ts → hot-keys.d.ts} +6 -7
  97. package/dist/libs/hot-keys.d.ts.map +1 -0
  98. package/dist/libs/hot-keys.js +45 -0
  99. package/dist/libs/importers/curl.d.ts +3 -0
  100. package/dist/libs/importers/curl.d.ts.map +1 -0
  101. package/dist/libs/importers/curl.js +61 -0
  102. package/dist/libs/importers/index.d.ts +2 -0
  103. package/dist/libs/importers/index.d.ts.map +1 -0
  104. package/dist/libs/importers/index.js +4 -0
  105. package/dist/libs/index.d.ts +4 -1
  106. package/dist/libs/index.d.ts.map +1 -1
  107. package/dist/libs/index.js +31 -31
  108. package/dist/libs/parse-curl.d.ts +12 -0
  109. package/dist/libs/parse-curl.d.ts.map +1 -0
  110. package/dist/libs/parse-curl.js +70 -0
  111. package/dist/libs/send-request.d.ts +4 -1
  112. package/dist/libs/send-request.d.ts.map +1 -1
  113. package/dist/libs/send-request.js +103 -103
  114. package/dist/router.d.ts +2 -1
  115. package/dist/router.d.ts.map +1 -1
  116. package/dist/router.js +33 -24
  117. package/dist/store/collections.d.ts +4 -4
  118. package/dist/store/cookies.d.ts +4 -4
  119. package/dist/store/environment.d.ts +4 -4
  120. package/dist/store/events.d.ts +29 -0
  121. package/dist/store/events.d.ts.map +1 -0
  122. package/dist/store/events.js +31 -0
  123. package/dist/store/request-example.d.ts +4 -4
  124. package/dist/store/requests.d.ts +4 -4
  125. package/dist/store/router-params.d.ts +1 -0
  126. package/dist/store/router-params.d.ts.map +1 -1
  127. package/dist/store/router-params.js +2 -1
  128. package/dist/store/security-schemes.d.ts +4 -4
  129. package/dist/store/servers.d.ts +4 -4
  130. package/dist/store/store.d.ts +92 -72
  131. package/dist/store/store.d.ts.map +1 -1
  132. package/dist/store/store.js +138 -129
  133. package/dist/store/tags.d.ts +4 -4
  134. package/dist/store/workspace.d.ts +4 -4
  135. package/dist/style.css +1 -1
  136. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  137. package/dist/views/Cookies/Cookies.vue2.js +18 -18
  138. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  139. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +9 -9
  140. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  141. package/dist/views/Request/Request.vue.js +1 -1
  142. package/dist/views/Request/Request.vue2.js +148 -98
  143. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  145. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
  146. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  147. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +4 -4
  148. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  149. package/dist/views/Request/RequestSidebar.vue.js +3 -3
  150. package/dist/views/Request/RequestSidebar.vue2.js +101 -102
  151. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  152. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  153. package/dist/views/Request/RequestSidebarItem.vue2.js +73 -73
  154. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  155. package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
  156. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +33 -34
  157. package/dist/views/Request/RequestSubpageHeader.vue.d.ts +2 -0
  158. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  159. package/dist/views/Request/RequestSubpageHeader.vue.js +4 -4
  160. package/dist/views/Request/RequestSubpageHeader.vue2.js +17 -15
  161. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +16 -0
  162. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -0
  163. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +31 -0
  164. package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +5 -0
  165. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  166. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  167. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +30 -33
  168. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  169. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +3 -3
  170. package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +18 -19
  171. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  172. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +20 -20
  173. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  174. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +68 -56
  175. package/dist/views/Request/components/WorkspaceDropdown.vue.js +29 -30
  176. package/dist/views/Settings/Settings.vue.d.ts +4 -0
  177. package/dist/views/Settings/Settings.vue.d.ts.map +1 -0
  178. package/dist/views/Settings/Settings.vue.js +4 -0
  179. package/dist/views/Settings/Settings.vue2.js +59 -0
  180. package/dist/{components/DarkModeToggle/DarkModeIconToggle.vue.d.ts → views/Settings/SettingsGeneral.vue.d.ts} +1 -1
  181. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -0
  182. package/dist/views/Settings/SettingsGeneral.vue.js +124 -0
  183. package/dist/views/Settings/SettingsGeneral.vue2.js +4 -0
  184. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts +3 -0
  185. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -0
  186. package/dist/views/Settings/SettingsGeneralMode.vue.js +78 -0
  187. package/dist/views/Settings/SettingsGeneralMode.vue2.js +4 -0
  188. package/package.json +59 -35
  189. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +0 -1
  190. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +0 -31
  191. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue2.js +0 -4
  192. package/dist/components/DarkModeToggle/index.d.ts +0 -2
  193. package/dist/components/DarkModeToggle/index.d.ts.map +0 -1
  194. package/dist/components/DarkModeToggle/index.js +0 -4
  195. package/dist/components/ScreenReader.vue.js +0 -7
  196. package/dist/components/ScreenReader.vue2.js +0 -18
  197. package/dist/libs/event-busses/cancel-request-bus.d.ts +0 -2
  198. package/dist/libs/event-busses/cancel-request-bus.d.ts.map +0 -1
  199. package/dist/libs/event-busses/cancel-request-bus.js +0 -5
  200. package/dist/libs/event-busses/command-palette-bus.d.ts +0 -14
  201. package/dist/libs/event-busses/command-palette-bus.d.ts.map +0 -1
  202. package/dist/libs/event-busses/command-palette-bus.js +0 -5
  203. package/dist/libs/event-busses/execute-request-bus.d.ts +0 -2
  204. package/dist/libs/event-busses/execute-request-bus.d.ts.map +0 -1
  205. package/dist/libs/event-busses/execute-request-bus.js +0 -5
  206. package/dist/libs/event-busses/hot-keys-bus.d.ts.map +0 -1
  207. package/dist/libs/event-busses/hot-keys-bus.js +0 -47
  208. package/dist/libs/event-busses/index.d.ts +0 -6
  209. package/dist/libs/event-busses/index.d.ts.map +0 -1
  210. package/dist/libs/event-busses/index.js +0 -15
  211. package/dist/libs/event-busses/request-status-bus.d.ts +0 -5
  212. package/dist/libs/event-busses/request-status-bus.d.ts.map +0 -1
  213. package/dist/libs/event-busses/request-status-bus.js +0 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.1.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 0ddd4f3: feat: added virtual text component
8
+ - deb13b9: fix: updates command palette server collection logic
9
+ - b99799e: refactor(api-client): localize event bus in workspace store
10
+ - Updated dependencies [0ddd4f3]
11
+ - @scalar/components@0.12.52
12
+ - @scalar/oas-utils@0.2.55
13
+ - @scalar/use-codemirror@0.11.19
14
+
15
+ ## 2.1.19
16
+
17
+ ### Patch Changes
18
+
19
+ - e5ee02f: fix: too many z-index layers
20
+ - 8da2152: style: enhances responsiveness
21
+ - 2a77f7b: fix: comment out stackBlitz in the ci
22
+ - d02d70c: feat: add settings page to api client
23
+ - e911047: Add default exports
24
+ - 9a2d5ca: feat: adds curl importer
25
+ - Updated dependencies [d064a78]
26
+ - Updated dependencies [3db9355]
27
+ - Updated dependencies [2ff5905]
28
+ - Updated dependencies [9a2d5ca]
29
+ - Updated dependencies [e911047]
30
+ - Updated dependencies [d02d70c]
31
+ - Updated dependencies [3acbf26]
32
+ - @scalar/openapi-parser@0.8.6
33
+ - @scalar/oas-utils@0.2.54
34
+ - @scalar/object-utils@1.1.10
35
+ - @scalar/openapi-types@0.1.2
36
+ - @scalar/types@0.0.14
37
+ - @scalar/themes@0.9.36
38
+ - @scalar/components@0.12.51
39
+ - @scalar/icons@0.1.0
40
+ - @scalar/use-codemirror@0.11.18
41
+ - @scalar/use-toasts@0.7.6
42
+ - @scalar/use-tooltip@1.0.2
43
+
3
44
  ## 2.1.18
4
45
 
5
46
  ### Patch Changes
@@ -1,3 +1,7 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ importCurl: (value: string) => void;
3
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
+ onImportCurl?: ((value: string) => any) | undefined;
5
+ }, {}, {}>;
2
6
  export default _default;
3
7
  //# 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":";AAouBA,wBAKG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAmvBA,wBAMG"}
@@ -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 e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ef489963"]]);
4
+ const s = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b2aad57d"]]);
5
5
  export {
6
- e as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, ref as i, watch as O, onMounted as A, onBeforeUnmount as K, unref as l, openBlock as N, createElementBlock as T, createElementVNode as o, createVNode as s, withCtx as w, normalizeClass as B, normalizeStyle as $, createCommentVNode as D, pushScopeId as P, popScopeId as Q } from "vue";
1
+ import { defineComponent as K, ref as u, watch as O, onMounted as z, onBeforeUnmount as A, unref as l, openBlock as N, createElementBlock as T, createElementVNode as o, createVNode as n, withCtx as C, normalizeClass as y, normalizeStyle as $, createCommentVNode as D, pushScopeId as P, popScopeId as Q } from "vue";
2
2
  import W from "../CodeInput/CodeInput.vue.js";
3
3
  import { Listbox as j } from "@headlessui/vue";
4
4
  import { ScalarButton as F, ScalarIcon as G } from "@scalar/components";
@@ -8,30 +8,29 @@ import { useMagicKeys as Y, whenever as Z } from "@vueuse/core";
8
8
  import ee from "../HttpMethod/HttpMethod.vue.js";
9
9
  import te from "./AddressBarHistory.vue.js";
10
10
  import le from "./AddressBarServer.vue.js";
11
- import { executeRequestBus as S } from "../../libs/event-busses/execute-request-bus.js";
12
11
  import { useWorkspace as oe } from "../../store/store.js";
13
- import { requestStatusBus as ae } from "../../libs/event-busses/request-status-bus.js";
14
- import { hotKeyBus as k } from "../../libs/event-busses/hot-keys-bus.js";
15
- const v = (d) => (P("data-v-ef489963"), d = d(), Q(), d), re = {
12
+ const v = (c) => (P("data-v-b2aad57d"), c = c(), Q(), c), ae = {
16
13
  key: 0,
17
14
  class: "order-last lg:order-none lg:w-auto w-full"
18
- }, se = { class: "m-auto flex flex-row items-center" }, ne = { class: "pointer-events-none absolute left-0 top-0 z-10 block h-full w-full overflow-hidden" }, ie = { class: "flex gap-1" }, ue = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, de = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-left" }, null, -1)), ce = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-right" }, null, -1)), fe = /* @__PURE__ */ v(() => /* @__PURE__ */ o("span", { class: "text-xxs relative z-10 lg:flex hidden" }, "Send", -1)), Ce = /* @__PURE__ */ L({
15
+ }, re = { class: "m-auto flex flex-row items-center" }, se = { class: "pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden" }, ne = { class: "flex gap-1" }, ie = { class: "codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" }, ue = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-left" }, null, -1)), de = /* @__PURE__ */ v(() => /* @__PURE__ */ o("div", { class: "fade-right" }, null, -1)), ce = /* @__PURE__ */ v(() => /* @__PURE__ */ o("span", { class: "text-xxs relative lg:flex hidden" }, "Send", -1)), ye = /* @__PURE__ */ K({
19
16
  __name: "AddressBar",
20
- setup(d) {
17
+ emits: ["importCurl"],
18
+ setup(c) {
21
19
  const {
22
20
  activeRequest: t,
23
- activeExample: y,
24
- activeServer: q,
25
- isReadOnly: m,
26
- requestMutators: f,
27
- requestHistory: C
28
- } = oe(), p = i(C[0]), h = i(null), _ = Y();
21
+ activeExample: S,
22
+ activeServer: k,
23
+ isReadOnly: p,
24
+ requestMutators: m,
25
+ requestHistory: R,
26
+ events: d
27
+ } = oe(), h = u(R[0]), x = u(null), b = Y();
29
28
  Z(
30
- X() ? _.meta_enter : _.ctrl_enter,
31
- () => S.emit()
29
+ X() ? b.meta_enter : b.ctrl_enter,
30
+ () => d.executeRequest.emit()
32
31
  );
33
- const E = (e) => {
34
- !t.value || t.value.path === e || f.edit(t.value.uid, "path", e);
32
+ const q = (e) => {
33
+ !t.value || t.value.path === e || m.edit(t.value.uid, "path", e);
35
34
  };
36
35
  O(
37
36
  () => {
@@ -39,103 +38,105 @@ const v = (d) => (P("data-v-ef489963"), d = d(), Q(), d), re = {
39
38
  return (e = t.value) == null ? void 0 : e.path;
40
39
  },
41
40
  (e) => {
42
- !t.value || !e || E(e);
41
+ !t.value || !e || q(e);
43
42
  }
44
43
  );
45
- const a = i(100), x = i(0), r = i(!1), n = i();
46
- function R() {
47
- r.value ? a.value -= (a.value - 15) / 60 : a.value -= x.value / 20, a.value <= 0 && (clearInterval(n.value), n.value = void 0, a.value = 100, r.value = !1);
44
+ const a = u(100), _ = u(0), r = u(!1), i = u();
45
+ function B() {
46
+ r.value ? a.value -= (a.value - 15) / 60 : a.value -= _.value / 20, a.value <= 0 && (clearInterval(i.value), i.value = void 0, a.value = 100, r.value = !1);
47
+ }
48
+ function E() {
49
+ i.value || (r.value = !0, i.value = setInterval(B, 20));
48
50
  }
49
51
  function I() {
50
- n.value || (r.value = !0, n.value = setInterval(R, 20));
52
+ _.value = a.value, r.value = !1;
51
53
  }
52
54
  function V() {
53
- x.value = a.value, r.value = !1;
54
- }
55
- function z() {
56
- clearInterval(n.value), n.value = void 0, a.value = 100, r.value = !1;
55
+ clearInterval(i.value), i.value = void 0, a.value = 100, r.value = !1;
57
56
  }
58
- ae.on((e) => {
59
- e === "start" && I(), e === "stop" && V(), e === "abort" && z();
57
+ d.requestStatus.on((e) => {
58
+ e === "start" && E(), e === "stop" && I(), e === "abort" && V();
60
59
  });
61
60
  function M(e) {
62
- t.value && f.edit(t.value.uid, "method", e);
61
+ t.value && m.edit(t.value.uid, "method", e);
63
62
  }
64
- function H() {
63
+ function U() {
65
64
  if (!t.value) return;
66
65
  const { method: e } = t.value;
67
66
  return J[e].backgroundColor;
68
67
  }
69
- function b() {
70
- r.value || (r.value = !0, S.emit());
68
+ function g() {
69
+ r.value || (r.value = !0, d.executeRequest.emit());
71
70
  }
72
- function U(e) {
73
- t.value && f.edit(t.value.uid, "path", e);
71
+ function H(e) {
72
+ t.value && m.edit(t.value.uid, "path", e);
74
73
  }
75
- function g(e) {
76
- var u;
77
- e.focusAddressBar && ((u = h.value) == null || u.focus());
74
+ function w(e) {
75
+ var s;
76
+ e != null && e.focusAddressBar && ((s = x.value) == null || s.focus());
78
77
  }
79
- return A(() => k.on(g)), K(() => k.off(g)), (e, u) => l(t) && l(y) ? (N(), T("div", re, [
80
- o("div", se, [
81
- s(l(j), {
82
- modelValue: p.value,
83
- "onUpdate:modelValue": u[0] || (u[0] = (c) => p.value = c)
78
+ return z(() => d.hotKeys.on(w)), A(() => d.hotKeys.off(w)), (e, s) => l(t) && l(S) ? (N(), T("div", ae, [
79
+ o("div", re, [
80
+ n(l(j), {
81
+ modelValue: h.value,
82
+ "onUpdate:modelValue": s[1] || (s[1] = (f) => h.value = f)
84
83
  }, {
85
- default: w(({ open: c }) => [
84
+ default: C(({ open: f }) => [
86
85
  o("div", {
87
- class: B([
86
+ class: y([
88
87
  "addressbar-bg-states text-xxs relative flex w-full lg:min-w-[720px] lg:max-w-[720px] order-last overflow-hidden lg:order-none flex-1 flex-row items-stretch rounded-lg border-1/2 p-[3px]",
89
- { "border-transparent overflow-visible rounded-b-none": c }
88
+ { "border-transparent overflow-visible rounded-b-none": f }
90
89
  ])
91
90
  }, [
92
- o("div", ne, [
91
+ o("div", se, [
93
92
  o("div", {
94
- class: B(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full", H()]),
93
+ class: y(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full", U()]),
95
94
  style: $({ transform: `translate3d(-${a.value}%,0,0)` })
96
95
  }, null, 6)
97
96
  ]),
98
- o("div", ie, [
99
- s(ee, {
100
- isEditable: !l(m),
97
+ o("div", ne, [
98
+ n(ee, {
99
+ isEditable: !l(p),
101
100
  isSquare: "",
102
101
  method: l(t).method,
103
102
  teleport: ".scalar-client",
104
103
  onChange: M
105
104
  }, null, 8, ["isEditable", "method"])
106
105
  ]),
107
- o("div", ue, [
108
- de,
109
- s(le),
110
- s(W, {
106
+ o("div", ie, [
107
+ ue,
108
+ n(le),
109
+ n(W, {
111
110
  ref_key: "addressBarRef",
112
- ref: h,
111
+ ref: x,
113
112
  disableCloseBrackets: "",
114
- disabled: l(m),
113
+ disabled: l(p),
115
114
  disableEnter: "",
116
115
  disableTabIndent: "",
117
116
  emitOnBlur: !1,
117
+ importCurl: "",
118
118
  modelValue: l(t).path,
119
- placeholder: l(q) ? "" : "Enter URL to get started",
119
+ placeholder: l(k) ? "" : "Enter a URL or cURL command",
120
120
  server: "",
121
- onSubmit: b,
122
- "onUpdate:modelValue": U
121
+ onCurl: s[0] || (s[0] = (L) => e.$emit("importCurl", L)),
122
+ onSubmit: g,
123
+ "onUpdate:modelValue": H
123
124
  }, null, 8, ["disabled", "modelValue", "placeholder"]),
124
- ce
125
+ de
125
126
  ]),
126
- s(te, { open: c }, null, 8, ["open"]),
127
- s(l(F), {
128
- class: "relative h-auto shrink-0 gap-1 overflow-hidden pl-2 pr-2.5 py-1 z-[1] font-bold",
127
+ n(te, { open: f }, null, 8, ["open"]),
128
+ n(l(F), {
129
+ class: "relative h-auto shrink-0 gap-1 overflow-hidden pl-2 pr-2.5 py-1 font-bold",
129
130
  disabled: r.value,
130
- onClick: b
131
+ onClick: g
131
132
  }, {
132
- default: w(() => [
133
- s(l(G), {
134
- class: "relative z-10 shrink-0 fill-current",
133
+ default: C(() => [
134
+ n(l(G), {
135
+ class: "relative shrink-0 fill-current",
135
136
  icon: "Play",
136
137
  size: "xs"
137
138
  }),
138
- fe
139
+ ce
139
140
  ]),
140
141
  _: 1
141
142
  }, 8, ["disabled"])
@@ -148,5 +149,5 @@ const v = (d) => (P("data-v-ef489963"), d = d(), Q(), d), re = {
148
149
  }
149
150
  });
150
151
  export {
151
- Ce as default
152
+ ye as default
152
153
  };
@@ -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 d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-38e0296d"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0e166ebf"]]);
5
5
  export {
6
- d as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, computed as q, openBlock as u, createElementBlock as b, Fragment as h, createBlock as i, unref as o, withCtx as c, createVNode as x, createCommentVNode as v, createElementVNode as r, normalizeClass as g, renderList as B, toDisplayString as l } from "vue";
1
+ import { defineComponent as C, computed as q, openBlock as u, createElementBlock as b, Fragment as h, createBlock as c, unref as o, withCtx as i, createVNode as x, createCommentVNode as v, createElementVNode as r, normalizeClass as g, renderList as B, toDisplayString as l } from "vue";
2
2
  import { formatMs as H } from "../../libs/formatters.js";
3
3
  import { ListboxButton as y, ListboxOptions as L, ListboxOption as S } from "@headlessui/vue";
4
4
  import { ScalarIcon as z } from "@scalar/components";
@@ -29,11 +29,11 @@ const $ = { class: "min-w-0" }, I = { class: "min-w-0 truncate text-c-1" }, P =
29
29
  return (t, s) => {
30
30
  var n;
31
31
  return u(), b(h, null, [
32
- (n = m.value) != null && n.length ? (u(), i(o(y), {
32
+ (n = m.value) != null && n.length ? (u(), c(o(y), {
33
33
  key: 0,
34
34
  class: "addressbar-history-button mr-1 rounded-lg p-1.5 text-c-3 focus:text-c-1"
35
35
  }, {
36
- default: c(() => [
36
+ default: i(() => [
37
37
  x(o(z), {
38
38
  icon: "History",
39
39
  size: "sm",
@@ -44,22 +44,22 @@ const $ = { class: "min-w-0" }, I = { class: "min-w-0 truncate text-c-1" }, P =
44
44
  })) : v("", !0),
45
45
  r("div", {
46
46
  class: g([
47
- "absolute bg-white left-0 top-8 w-full rounded-lg before:pointer-events-none before:absolute before:left-0 before:-top-8 before:h-[calc(100%+32px)] before:w-full before:rounded-lg z-50",
47
+ "absolute bg-white left-0 top-8 w-full rounded-lg before:pointer-events-none before:absolute before:left-0 before:-top-8 before:h-[calc(100%+32px)] before:w-full before:rounded-lg z-context",
48
48
  { "before:shadow-lg": t.open }
49
49
  ])
50
50
  }, [
51
51
  x(o(L), { class: "bg-b-1 border-t custom-scroll max-h-[300px] rounded-b-lg p-[3px] grid grid-cols-[44px,1fr,repeat(3,auto)] items-center" }, {
52
- default: c(() => [
53
- (u(!0), b(h, null, B(m.value, (e, f) => (u(), i(o(S), {
52
+ default: i(() => [
53
+ (u(!0), b(h, null, B(m.value, (e, f) => (u(), c(o(S), {
54
54
  key: f,
55
55
  class: "contents font-code text-sm *:rounded-none first:*:rounded-l last:*:rounded-r *:h-8 *:hover:bg-b-2 *:flex *:items-center *:cursor-pointer *:px-1.5 text-c-2 font-medium",
56
56
  value: f,
57
57
  onClick: (a) => w(e)
58
58
  }, {
59
- default: c(() => {
59
+ default: i(() => {
60
60
  var a;
61
61
  return [
62
- e.response.method ? (u(), i(N, {
62
+ e.response.method ? (u(), c(N, {
63
63
  key: 0,
64
64
  class: "text-[11px]",
65
65
  method: e.response.method
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBarServer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarServer.vue"],"names":[],"mappings":";AA+YA,wBAKG"}
1
+ {"version":3,"file":"AddressBarServer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBarServer.vue"],"names":[],"mappings":";AA8YA,wBAKG"}
@@ -1,32 +1,32 @@
1
- import { defineComponent as U, computed as u, watch as O, openBlock as l, createBlock as h, unref as s, withCtx as _, createElementBlock as n, createCommentVNode as v, Fragment as m, renderList as g, createVNode as p, createElementVNode as c, withModifiers as R, toDisplayString as b } from "vue";
2
- import { ScalarDropdown as V, ScalarDropdownDivider as C, ScalarDropdownItem as W, ScalarIcon as E } from "@scalar/components";
1
+ import { defineComponent as O, computed as u, watch as R, openBlock as l, createBlock as h, unref as o, withCtx as _, createElementBlock as n, createCommentVNode as v, Fragment as m, renderList as g, createVNode as p, createElementVNode as c, withModifiers as V, toDisplayString as b } from "vue";
2
+ import { ScalarDropdown as W, ScalarDropdownDivider as C, ScalarDropdownItem as E, ScalarIcon as I } from "@scalar/components";
3
3
  import D from "./AddressBarServerItem.vue.js";
4
- import { useWorkspace as I } from "../../store/store.js";
5
- import { commandPaletteBus as L } from "../../libs/event-busses/command-palette-bus.js";
4
+ import { useWorkspace as L } from "../../store/store.js";
6
5
  const M = {
7
6
  key: 0,
8
7
  class: "text-xxs text-c-2 ml-8"
9
- }, j = /* @__PURE__ */ c("div", { class: "text-xxs text-c-2 ml-8" }, "Collection Servers", -1), z = { class: "flex items-center justify-center h-4 w-4" }, F = /* @__PURE__ */ c("span", null, "Add Server", -1), P = {
8
+ }, j = /* @__PURE__ */ c("div", { class: "text-xxs text-c-2 ml-8" }, "Collection Servers", -1), F = { class: "flex items-center justify-center h-4 w-4" }, P = /* @__PURE__ */ c("span", null, "Add Server", -1), T = {
10
9
  key: 1,
11
10
  class: "flex whitespace-nowrap items-center font-code lg:text-sm text-xs"
12
- }, K = /* @__PURE__ */ U({
11
+ }, J = /* @__PURE__ */ O({
13
12
  __name: "AddressBarServer",
14
- setup(T) {
13
+ setup($) {
15
14
  const {
16
15
  activeRequest: S,
17
16
  activeCollection: k,
18
17
  activeServer: x,
19
18
  isReadOnly: A,
20
19
  servers: w,
21
- collectionMutators: B
22
- } = I(), i = u(
20
+ collectionMutators: B,
21
+ events: N
22
+ } = L(), i = u(
23
23
  () => {
24
24
  var t, e;
25
25
  return (e = (t = S.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
26
- var o;
26
+ var s;
27
27
  return {
28
28
  id: r,
29
- label: ((o = w[r]) == null ? void 0 : o.url) ?? "Unknown server"
29
+ label: ((s = w[r]) == null ? void 0 : s.url) ?? "Unknown server"
30
30
  };
31
31
  });
32
32
  }
@@ -34,10 +34,10 @@ const M = {
34
34
  () => {
35
35
  var t, e;
36
36
  return (e = (t = k.value) == null ? void 0 : t.servers) == null ? void 0 : e.map((r) => {
37
- var o;
37
+ var s;
38
38
  return {
39
39
  id: r,
40
- label: ((o = w[r]) == null ? void 0 : o.url) ?? "Unknown server"
40
+ label: ((s = w[r]) == null ? void 0 : s.url) ?? "Unknown server"
41
41
  };
42
42
  });
43
43
  }
@@ -47,22 +47,22 @@ const M = {
47
47
  return ((t = i.value) == null ? void 0 : t.length) && ((e = d.value) == null ? void 0 : e.length);
48
48
  }
49
49
  );
50
- O([k, S], ([t, e]) => {
50
+ R([k, S], ([t, e]) => {
51
51
  !t || t.selectedServerUid || e != null && e.selectedServerUid || B.edit(
52
52
  t.uid,
53
53
  "selectedServerUid",
54
54
  t.servers[0]
55
55
  );
56
56
  });
57
- const N = () => L.emit({
57
+ const U = () => N.commandPalette.emit({
58
58
  commandName: "Add Server"
59
59
  }), f = u(() => {
60
60
  var t, e, r;
61
61
  return (e = (t = x.value) == null ? void 0 : t.url) != null && e.endsWith("/") ? x.value.url.slice(0, -1) : ((r = x.value) == null ? void 0 : r.url) || "";
62
62
  });
63
63
  return (t, e) => {
64
- var r, o;
65
- return i.value && ((r = i.value) == null ? void 0 : r.length) > 1 || d.value && ((o = d.value) == null ? void 0 : o.length) > 1 ? (l(), h(s(V), {
64
+ var r, s;
65
+ return i.value && ((r = i.value) == null ? void 0 : r.length) > 1 || d.value && ((s = d.value) == null ? void 0 : s.length) > 1 ? (l(), h(o(W), {
66
66
  key: 0,
67
67
  teleport: ".scalar-client"
68
68
  }, {
@@ -74,7 +74,7 @@ const M = {
74
74
  type: "request"
75
75
  }, null, 8, ["serverOption"]))), 128)),
76
76
  y.value ? (l(), n(m, { key: 1 }, [
77
- p(s(C)),
77
+ p(o(C)),
78
78
  j
79
79
  ], 64)) : v("", !0),
80
80
  (l(!0), n(m, null, g(d.value, (a) => (l(), h(D, {
@@ -82,21 +82,21 @@ const M = {
82
82
  serverOption: a,
83
83
  type: "collection"
84
84
  }, null, 8, ["serverOption"]))), 128)),
85
- s(A) ? v("", !0) : (l(), n(m, { key: 2 }, [
86
- p(s(C)),
87
- p(s(W), null, {
85
+ o(A) ? v("", !0) : (l(), n(m, { key: 2 }, [
86
+ p(o(C)),
87
+ p(o(E), null, {
88
88
  default: _(() => [
89
89
  c("div", {
90
90
  class: "font-code text-xxs flex items-center gap-1.5",
91
- onClick: N
91
+ onClick: U
92
92
  }, [
93
- c("div", z, [
94
- p(s(E), {
93
+ c("div", F, [
94
+ p(o(I), {
95
95
  class: "h-2.5",
96
96
  icon: "Add"
97
97
  })
98
98
  ]),
99
- F
99
+ P
100
100
  ])
101
101
  ]),
102
102
  _: 1
@@ -105,17 +105,17 @@ const M = {
105
105
  ]),
106
106
  default: _(() => [
107
107
  c("button", {
108
- class: "font-code lg:text-sm text-xs whitespace-nowrap border border-b-3 border-solid rounded px-1.5 py-0.5 text-c-2 z-[1]",
108
+ class: "font-code lg:text-sm text-xs whitespace-nowrap border border-b-3 border-solid rounded px-1.5 py-0.5 text-c-2",
109
109
  type: "button",
110
- onClick: e[0] || (e[0] = R(() => {
110
+ onClick: e[0] || (e[0] = V(() => {
111
111
  }, ["stop"]))
112
112
  }, b(f.value), 1)
113
113
  ]),
114
114
  _: 1
115
- })) : f.value ? (l(), n("div", P, b(f.value), 1)) : v("", !0);
115
+ })) : f.value ? (l(), n("div", T, b(f.value), 1)) : v("", !0);
116
116
  };
117
117
  }
118
118
  });
119
119
  export {
120
- K as default
120
+ J as default
121
121
  };
@@ -18,6 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
18
  type?: string;
19
19
  nullable?: boolean;
20
20
  withVariables?: boolean;
21
+ importCurl?: boolean;
21
22
  }>, {
22
23
  disableCloseBrackets: boolean;
23
24
  disableEnter: boolean;
@@ -31,6 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
33
  submit: (v: string) => void;
33
34
  "update:modelValue": (v: string) => void;
35
+ curl: (v: string) => void;
34
36
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
35
37
  colorPicker?: boolean;
36
38
  modelValue: string | number;
@@ -50,6 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
52
  type?: string;
51
53
  nullable?: boolean;
52
54
  withVariables?: boolean;
55
+ importCurl?: boolean;
53
56
  }>, {
54
57
  disableCloseBrackets: boolean;
55
58
  disableEnter: boolean;
@@ -59,11 +62,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
59
62
  nullable: boolean;
60
63
  withVariables: boolean;
61
64
  }>>> & {
62
- onSubmit?: ((v: string) => any) | undefined;
63
65
  "onUpdate:modelValue"?: ((v: string) => any) | undefined;
66
+ onSubmit?: ((v: string) => any) | undefined;
67
+ onCurl?: ((v: string) => any) | undefined;
64
68
  }, {
65
- colorPicker: boolean;
66
69
  emitOnBlur: boolean;
70
+ colorPicker: boolean;
67
71
  disableTabIndent: boolean;
68
72
  disableEnter: boolean;
69
73
  disableCloseBrackets: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OA0VO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAcb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;;;;;;;;;;;;;;;kBAjBT,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;;;;;;;;;;;;;iBAjBT,OAAO;gBAGR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBAoTG,GAAG;kBACN,GAAG;;AAzU9B,wBAsXC;AAMD,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,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":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAAA,OAwWO,EAGL,KAAK,kBAAkB,EAGxB,MAAM,wBAAwB,CAAA;;kBAcb,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;;;;;;;;;;;kBAlBN,OAAO;gBACT,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;WACR,MAAM;eACF,OAAO;oBACF,OAAO;iBACV,OAAO;;;;;;;;;;;;;;gBAfP,OAAO;iBAHN,OAAO;sBAMF,OAAO;kBAMX,OAAO;0BACC,OAAO;cAGnB,OAAO;mBACF,OAAO;;qBAmUG,GAAG;kBACN,GAAG;;AAxV9B,wBAqYC;AAMD,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,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"}
@@ -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 e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1823eac1"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5c35162a"]]);
6
6
  export {
7
- e as default
7
+ _ as default
8
8
  };