@scalar/api-client 2.0.34 → 2.0.35

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 (57) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -0
  3. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  4. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  5. package/dist/components/DataTable/DataTableInput.vue2.js +33 -31
  6. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +19 -3
  7. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  8. package/dist/components/DataTable/DataTableInputSelect.vue.js +37 -35
  9. package/dist/components/DataTable/index.d.ts +1 -0
  10. package/dist/components/DataTable/index.d.ts.map +1 -1
  11. package/dist/components/DataTable/index.js +6 -4
  12. package/dist/components/SideNav/SideHelp.vue.d.ts +3 -0
  13. package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -0
  14. package/dist/components/SideNav/SideHelp.vue.js +125 -0
  15. package/dist/components/SideNav/SideHelp.vue2.js +4 -0
  16. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  17. package/dist/components/SideNav/SideNav.vue.js +3 -3
  18. package/dist/components/SideNav/SideNav.vue2.js +28 -24
  19. package/dist/layouts/App/create-api-client-app.d.ts +512 -603
  20. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  21. package/dist/layouts/Modal/api-client-modal.d.ts +1036 -1218
  22. package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -1
  23. package/dist/libs/create-client.d.ts +513 -603
  24. package/dist/libs/create-client.d.ts.map +1 -1
  25. package/dist/libs/create-client.js +58 -68
  26. package/dist/libs/local-storage.js +5 -5
  27. package/dist/libs/sendRequest.d.ts +2 -5
  28. package/dist/libs/sendRequest.d.ts.map +1 -1
  29. package/dist/libs/sendRequest.js +60 -63
  30. package/dist/store/workspace.d.ts +1037 -1219
  31. package/dist/store/workspace.d.ts.map +1 -1
  32. package/dist/store/workspace.js +350 -277
  33. package/dist/style.css +1 -1
  34. package/dist/views/Request/Request.vue.js +2 -2
  35. package/dist/views/Request/Request.vue2.js +22 -22
  36. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
  37. package/dist/views/Request/RequestSection/RequestAuth.vue.js +270 -177
  38. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  39. package/dist/views/Request/RequestSection/RequestSection.vue.js +52 -42
  40. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  41. package/dist/views/Request/RequestSidebarItemMenu.vue.js +141 -104
  42. package/dist/views/Request/components/OAuth2.vue.d.ts +3 -9
  43. package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
  44. package/dist/views/Request/components/OAuth2.vue.js +141 -112
  45. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts +2 -6
  46. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +1 -1
  47. package/dist/views/Request/components/OAuthScopesInput.vue.js +35 -39
  48. package/dist/views/Request/consts/index.d.ts +2 -0
  49. package/dist/views/Request/consts/index.d.ts.map +1 -0
  50. package/dist/views/Request/consts/index.js +5 -0
  51. package/dist/views/Request/consts/new-auth-options.d.ts +92 -0
  52. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -0
  53. package/dist/views/Request/consts/new-auth-options.js +83 -0
  54. package/dist/views/Request/libs/oauth2.d.ts +3 -16
  55. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  56. package/dist/views/Request/libs/oauth2.js +28 -31
  57. package/package.json +10 -6
@@ -1,46 +1,50 @@
1
- import { defineComponent as _, openBlock as t, createElementBlock as o, createVNode as r, createElementVNode as a, Fragment as f, renderList as p, unref as c, withCtx as u, createTextVNode as d, toDisplayString as x } from "vue";
2
- import v from "../DarkModeToggle/DarkModeIconToggle.vue.js";
3
- import { ROUTES as h } from "../../constants.js";
1
+ import { defineComponent as _, openBlock as r, createElementBlock as i, createVNode as e, createElementVNode as t, Fragment as f, renderList as p, unref as s, withCtx as u, createTextVNode as d, toDisplayString as x } from "vue";
2
+ import h from "../DarkModeToggle/DarkModeIconToggle.vue.js";
3
+ import { ROUTES as v } from "../../constants.js";
4
4
  import { useRouter as g } from "vue-router";
5
- import N from "./SideNavLink.vue.js";
6
- import y from "./WorkspaceProfileIcon.vue.js";
5
+ import N from "./SideHelp.vue.js";
6
+ import y from "./SideNavLink.vue.js";
7
+ import S from "./WorkspaceProfileIcon.vue.js";
7
8
  /* empty css */
8
- const S = {
9
+ const $ = {
9
10
  "aria-label": "Side Navigation",
10
11
  class: "text-c-2 w-15 flex flex-col items-center px-2 py-2 scalar-sidenav relative",
11
12
  role: "navigation"
12
- }, k = { class: "mt-3.5 flex flex-col gap-1.5" }, E = { class: "mt-auto flex flex-col gap-2 py-1.5" }, R = { class: "flex items-center" }, O = /* @__PURE__ */ _({
13
+ }, k = { class: "mt-3.5 flex flex-col gap-1.5" }, E = { class: "mt-auto flex flex-col gap-2 py-1.5" }, R = { class: "flex items-center" }, V = { class: "flex items-center" }, j = /* @__PURE__ */ _({
13
14
  __name: "SideNav",
14
- setup(V) {
15
- const { currentRoute: n } = g();
16
- return ($, w) => (t(), o("nav", S, [
17
- r(y),
18
- a("ul", k, [
19
- (t(!0), o(f, null, p(c(h), ({ icon: s, name: e, prettyName: l }, m) => {
20
- var i;
21
- return t(), o("li", { key: m }, [
22
- r(N, {
23
- active: (i = c(n).name) == null ? void 0 : i.startsWith(e),
24
- icon: s,
25
- name: e,
15
+ setup(w) {
16
+ const { currentRoute: c } = g();
17
+ return (B, C) => (r(), i("nav", $, [
18
+ e(S),
19
+ t("ul", k, [
20
+ (r(!0), i(f, null, p(s(v), ({ icon: n, name: o, prettyName: l }, m) => {
21
+ var a;
22
+ return r(), i("li", { key: m }, [
23
+ e(y, {
24
+ active: (a = s(c).name) == null ? void 0 : a.startsWith(o),
25
+ icon: n,
26
+ name: o,
26
27
  prettyName: l
27
28
  }, {
28
29
  default: u(() => [
29
- d(x(e), 1)
30
+ d(x(o), 1)
30
31
  ]),
31
32
  _: 2
32
33
  }, 1032, ["active", "icon", "name", "prettyName"])
33
34
  ]);
34
35
  }), 128))
35
36
  ]),
36
- a("ul", E, [
37
- a("li", R, [
38
- r(v)
37
+ t("ul", E, [
38
+ t("li", R, [
39
+ e(N)
40
+ ]),
41
+ t("li", V, [
42
+ e(h)
39
43
  ])
40
44
  ])
41
45
  ]));
42
46
  }
43
47
  });
44
48
  export {
45
- O as default
49
+ j as default
46
50
  };