@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.
- package/CHANGELOG.md +17 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts +7 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +33 -31
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +19 -3
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +37 -35
- package/dist/components/DataTable/index.d.ts +1 -0
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DataTable/index.js +6 -4
- package/dist/components/SideNav/SideHelp.vue.d.ts +3 -0
- package/dist/components/SideNav/SideHelp.vue.d.ts.map +1 -0
- package/dist/components/SideNav/SideHelp.vue.js +127 -0
- package/dist/components/SideNav/SideHelp.vue2.js +4 -0
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +3 -3
- package/dist/components/SideNav/SideNav.vue2.js +28 -24
- package/dist/index.js +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +512 -603
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/{api-client-modal.d.ts → create-api-client-modal.d.ts} +1037 -1219
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -0
- package/dist/layouts/Modal/index.d.ts +1 -1
- package/dist/layouts/Modal/index.d.ts.map +1 -1
- package/dist/layouts/Modal/index.js +1 -1
- package/dist/libs/create-client.d.ts +513 -603
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +58 -68
- package/dist/libs/local-storage.js +5 -5
- package/dist/libs/sendRequest.d.ts +2 -5
- package/dist/libs/sendRequest.d.ts.map +1 -1
- package/dist/libs/sendRequest.js +60 -63
- package/dist/store/workspace.d.ts +1037 -1219
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +350 -277
- package/dist/style.css +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +22 -22
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +270 -177
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +52 -42
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +141 -104
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +5 -36
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +50 -2
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +20 -20
- package/dist/views/Request/components/OAuth2.vue.d.ts +3 -9
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/components/OAuth2.vue.js +141 -112
- package/dist/views/Request/components/OAuthScopesInput.vue.d.ts +2 -6
- package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/components/OAuthScopesInput.vue.js +35 -39
- package/dist/views/Request/consts/index.d.ts +2 -0
- package/dist/views/Request/consts/index.d.ts.map +1 -0
- package/dist/views/Request/consts/index.js +5 -0
- package/dist/views/Request/consts/new-auth-options.d.ts +92 -0
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -0
- package/dist/views/Request/consts/new-auth-options.js +83 -0
- package/dist/views/Request/libs/oauth2.d.ts +3 -16
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +28 -31
- package/package.json +10 -6
- package/dist/layouts/Modal/api-client-modal.d.ts.map +0 -1
- /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
|
|
2
|
-
import
|
|
3
|
-
import { ROUTES as
|
|
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 "./
|
|
6
|
-
import y from "./
|
|
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
|
|
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" },
|
|
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(
|
|
15
|
-
const { currentRoute:
|
|
16
|
-
return (
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(
|
|
20
|
-
var
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
active: (
|
|
24
|
-
icon:
|
|
25
|
-
name:
|
|
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(
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
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,
|