@scalar/api-client 2.5.21 → 2.5.24

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 (71) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/README.md +2 -2
  3. package/dist/components/CodeInput/CodeInput.vue.d.ts +0 -3
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  5. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue2.js +86 -106
  7. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  8. package/dist/components/CodeInput/codeVariableWidget.js +55 -87
  9. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -6
  10. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  11. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  12. package/dist/components/EmptyState.vue.d.ts.map +1 -1
  13. package/dist/components/EmptyState.vue.js +1 -1
  14. package/dist/components/EmptyState.vue2.js +12 -12
  15. package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
  16. package/dist/components/Server/ServerVariablesTextbox.vue.js +1 -1
  17. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  18. package/dist/components/Sidebar/SidebarButton.vue.js +11 -12
  19. package/dist/components/TopNav/TopNav.vue.js +50 -51
  20. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  21. package/dist/components/TopNav/TopNavItem.vue.js +1 -1
  22. package/dist/components/TopNav/TopNavItem.vue2.js +19 -20
  23. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  24. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +8 -8
  25. package/dist/layouts/App/create-api-client-app.d.ts +50 -50
  26. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  27. package/dist/layouts/Modal/create-api-client-modal.d.ts +100 -100
  28. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  29. package/dist/layouts/Web/create-api-client-web.d.ts +50 -50
  30. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  31. package/dist/libs/create-client.d.ts +50 -50
  32. package/dist/libs/create-client.d.ts.map +1 -1
  33. package/dist/libs/send-request/create-request-operation.test.d.ts +5 -5
  34. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  35. package/dist/store/active-entities.d.ts +5 -5
  36. package/dist/store/active-entities.d.ts.map +1 -1
  37. package/dist/store/request-example.d.ts +50 -50
  38. package/dist/store/request-example.d.ts.map +1 -1
  39. package/dist/store/store.d.ts +50 -50
  40. package/dist/store/store.d.ts.map +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/views/Collection/components/EnvironmentForm.vue.js +2 -2
  43. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  44. package/dist/views/Environment/Environment.vue2.js +14 -15
  45. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  46. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +71 -65
  47. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  48. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +80 -59
  49. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  50. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +52 -52
  51. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  52. package/dist/views/Request/RequestSection/RequestBody.vue2.js +1 -1
  53. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  54. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  55. package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +5 -7
  56. package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
  57. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -1
  58. package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +26 -13
  59. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  60. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  61. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +26 -37
  62. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  63. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  64. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +9 -9
  65. package/package.json +16 -17
  66. package/dist/components/ScalarHotkey.test.d.ts +0 -2
  67. package/dist/components/ScalarHotkey.test.d.ts.map +0 -1
  68. package/dist/components/ScalarHotkey.vue.d.ts +0 -8
  69. package/dist/components/ScalarHotkey.vue.d.ts.map +0 -1
  70. package/dist/components/ScalarHotkey.vue.js +0 -44
  71. package/dist/components/ScalarHotkey.vue2.js +0 -4
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScalarHotkey.test.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.test.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import type { HotKeyModifiers } from '@scalar/oas-utils/entities/workspace';
2
- type __VLS_Props = {
3
- hotkey: string;
4
- modifier?: HotKeyModifiers;
5
- };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
7
- export default _default;
8
- //# sourceMappingURL=ScalarHotkey.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScalarHotkey.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAK3E,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,eAAe,CAAA;CAC3B,CAAC;;AAsGF,wBAOG"}
@@ -1,44 +0,0 @@
1
- import { defineComponent as u, computed as a, createElementBlock as p, openBlock as y, normalizeProps as h, guardReactiveProps as k, unref as b, createElementVNode as i, toDisplayString as s } from "vue";
2
- import { useBindCx as x } from "@scalar/components";
3
- import { isMacOS as r } from "@scalar/helpers/general/is-mac-os";
4
- const C = { "aria-hidden": "true" }, w = { class: "sr-only" }, A = /* @__PURE__ */ u({
5
- __name: "ScalarHotkey",
6
- props: {
7
- hotkey: {},
8
- modifier: { default: () => ["Meta"] }
9
- },
10
- setup(e) {
11
- const d = {
12
- "⌘": "Command",
13
- "^": "Control",
14
- "⌥": "Option",
15
- "⇧": "Shift",
16
- "⇪": "Caps Lock",
17
- "↵": "Enter",
18
- "←": "Left Arrow",
19
- "→": "Right Arrow",
20
- "↑": "Up Arrow",
21
- "↓": "Down Arrow"
22
- }, c = {
23
- Meta: r() ? "⌘" : "^",
24
- default: r() ? "⌘" : "^",
25
- Shift: "⇧",
26
- Alt: "⌥",
27
- Control: "^"
28
- }, { cx: l } = x(), m = a(() => `${e.modifier.map((o) => c[o]).join("+")} ${e.hotkey}`), f = a(() => {
29
- const t = e.modifier.map((n) => n === "Meta" ? r() ? "Command" : "Control" : n).join("+"), o = d[e.hotkey] ?? e.hotkey;
30
- return `${t} ${o}`;
31
- });
32
- return (t, o) => (y(), p("div", h(k(
33
- b(l)(
34
- "border-(--scalar-background-3) inline-block overflow-hidden rounded border text-xxs rounded-b px-1 font-medium uppercase"
35
- )
36
- )), [
37
- i("span", C, s(m.value), 1),
38
- i("span", w, s(f.value), 1)
39
- ], 16));
40
- }
41
- });
42
- export {
43
- A as default
44
- };
@@ -1,4 +0,0 @@
1
- import f from "./ScalarHotkey.vue.js";
2
- export {
3
- f as default
4
- };