@scalar/api-client 2.0.34 → 2.0.36

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 (67) hide show
  1. package/CHANGELOG.md +17 -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 +127 -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/index.js +1 -1
  20. package/dist/layouts/App/create-api-client-app.d.ts +512 -603
  21. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  22. package/dist/layouts/Modal/{api-client-modal.d.ts → create-api-client-modal.d.ts} +1037 -1219
  23. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -0
  24. package/dist/layouts/Modal/index.d.ts +1 -1
  25. package/dist/layouts/Modal/index.d.ts.map +1 -1
  26. package/dist/layouts/Modal/index.js +1 -1
  27. package/dist/libs/create-client.d.ts +513 -603
  28. package/dist/libs/create-client.d.ts.map +1 -1
  29. package/dist/libs/create-client.js +58 -68
  30. package/dist/libs/local-storage.js +5 -5
  31. package/dist/libs/sendRequest.d.ts +2 -5
  32. package/dist/libs/sendRequest.d.ts.map +1 -1
  33. package/dist/libs/sendRequest.js +60 -63
  34. package/dist/store/workspace.d.ts +1037 -1219
  35. package/dist/store/workspace.d.ts.map +1 -1
  36. package/dist/store/workspace.js +350 -277
  37. package/dist/style.css +1 -1
  38. package/dist/views/Request/Request.vue.js +2 -2
  39. package/dist/views/Request/Request.vue2.js +22 -22
  40. package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
  41. package/dist/views/Request/RequestSection/RequestAuth.vue.js +270 -177
  42. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  43. package/dist/views/Request/RequestSection/RequestSection.vue.js +52 -42
  44. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  45. package/dist/views/Request/RequestSidebarItemMenu.vue.js +141 -104
  46. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  47. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +5 -36
  48. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +50 -2
  49. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +20 -20
  50. package/dist/views/Request/components/OAuth2.vue.d.ts +3 -9
  51. package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
  52. package/dist/views/Request/components/OAuth2.vue.js +141 -112
  53. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts +2 -6
  54. package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +1 -1
  55. package/dist/views/Request/components/OAuthScopesInput.vue.js +35 -39
  56. package/dist/views/Request/consts/index.d.ts +2 -0
  57. package/dist/views/Request/consts/index.d.ts.map +1 -0
  58. package/dist/views/Request/consts/index.js +5 -0
  59. package/dist/views/Request/consts/new-auth-options.d.ts +92 -0
  60. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -0
  61. package/dist/views/Request/consts/new-auth-options.js +83 -0
  62. package/dist/views/Request/libs/oauth2.d.ts +3 -16
  63. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  64. package/dist/views/Request/libs/oauth2.js +28 -31
  65. package/package.json +10 -6
  66. package/dist/layouts/Modal/api-client-modal.d.ts.map +0 -1
  67. /package/dist/layouts/Modal/{api-client-modal.js → create-api-client-modal.js} +0 -0
@@ -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
  };
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { createModalRouter as a, router as i, webHashRouter as l } from "./route
3
3
  import { default as m } from "./layouts/App/ApiClientApp.vue.js";
4
4
  /* empty css */
5
5
  import { default as c } from "./layouts/Modal/ApiClientModal.vue.js";
6
- import { createApiClientModal as n, createApiClientModalSync as u } from "./layouts/Modal/api-client-modal.js";
6
+ import { createApiClientModal as n, createApiClientModalSync as u } from "./layouts/Modal/create-api-client-modal.js";
7
7
  import { createApiClientApp as s } from "./layouts/App/create-api-client-app.js";
8
8
  export {
9
9
  m as ApiClientApp,