@scalar/api-client 2.0.22 → 2.0.25
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 +48 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +80 -84
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +11 -10
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +3 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +42 -37
- package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
- package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
- package/dist/components/CodeInput/codeVariableWidget.js +124 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
- package/dist/components/CommandPalette/index.d.ts +2 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.js +4 -0
- package/dist/components/ContextBar.vue.js +4 -4
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +7 -6
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +3 -2
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- 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 +36 -49
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -14
- package/dist/components/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/components/Search/SearchButton.vue.js +7 -6
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +26 -23
- package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +18 -16
- package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +14 -12
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +31 -29
- package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +18 -18
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
- package/dist/constants.d.ts +13 -7
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -4
- package/dist/index.d.ts +2 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -16
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
- package/dist/layouts/App/ApiClientApp.vue.js +72 -0
- package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
- package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
- package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
- package/dist/layouts/App/index.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
- package/dist/{Modal → layouts/Modal}/api-client-modal.js +7 -7
- package/dist/layouts/Modal/index.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.d.ts +14 -0
- package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
- package/dist/libs/eventBusses/command-palette.js +5 -0
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +19 -19
- package/dist/router.d.ts +18 -6
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +107 -71
- package/dist/store/topNav.d.ts +94 -82
- package/dist/store/topNav.d.ts.map +1 -1
- package/dist/store/topNav.js +21 -20
- package/dist/store/workspace.d.ts +312 -82
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +299 -224
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +9 -12
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +22 -25
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +125 -108
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +5 -4
- package/dist/views/Request/RequestSection/RequestSection.vue.js +3 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +22 -21
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +84 -79
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +58 -38
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -2
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/components/OAuth2.vue.js +2 -0
- package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
- package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
- package/dist/views/Request/components/index.d.ts +1 -0
- package/dist/views/Request/components/index.d.ts.map +1 -1
- package/dist/views/Request/components/index.js +4 -2
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +12 -15
- package/package.json +19 -15
- package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
- package/dist/App/ApiClientApp.vue.js +0 -56
- package/dist/App/createApiClientApp.d.ts.map +0 -1
- package/dist/App/index.d.ts.map +0 -1
- package/dist/App.vue.d.ts.map +0 -1
- package/dist/App.vue.js +0 -77
- package/dist/App.vue3.js +0 -5
- package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
- package/dist/Modal/api-client-modal.d.ts.map +0 -1
- package/dist/Modal/index.d.ts.map +0 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +0 -106
- package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
- package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
- package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -184
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- package/dist/views/Collection/Collection.vue.js +0 -4
- package/dist/views/Collection/Collection.vue2.js +0 -136
- package/dist/views/Components/Schemas/Schemas.vue.js +0 -4
- package/dist/views/Components/Schemas/Schemas.vue2.js +0 -20
- /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
- /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
- /package/dist/{App → layouts/App}/index.d.ts +0 -0
- /package/dist/{App → layouts/App}/index.js +0 -0
- /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
- /package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +0 -0
- /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
- /package/dist/{Modal → layouts/Modal}/index.js +0 -0
package/dist/router.js
CHANGED
|
@@ -1,97 +1,133 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { createRouter as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
5
|
-
{ path: "/", redirect: "/request/default" },
|
|
1
|
+
import { computed as n } from "vue";
|
|
2
|
+
import { createRouter as u, createWebHistory as p, createMemoryHistory as m } from "vue-router";
|
|
3
|
+
var c = /* @__PURE__ */ ((e) => (e.Request = "request", e.Examples = "examples", e.Cookies = "cookies", e.Collection = "collection", e.Schema = "schema", e.Environment = "environment", e.Servers = "servers", e.Workspace = "workspace", e))(c || {});
|
|
4
|
+
const l = [
|
|
6
5
|
{
|
|
7
|
-
path: "
|
|
8
|
-
redirect: "/request/default
|
|
6
|
+
path: "",
|
|
7
|
+
redirect: (e) => `${e.fullPath.replace(/\/$/, "")}/request/default`
|
|
9
8
|
},
|
|
10
9
|
{
|
|
11
|
-
path: "
|
|
12
|
-
|
|
10
|
+
path: "request",
|
|
11
|
+
redirect: (e) => `${e.fullPath.replace(/\/$/, "")}/default`
|
|
13
12
|
},
|
|
14
13
|
{
|
|
15
|
-
|
|
14
|
+
name: "request",
|
|
15
|
+
path: "request/:request",
|
|
16
16
|
component: () => import("./views/Request/Request.vue.js")
|
|
17
|
-
}
|
|
18
|
-
], p = [
|
|
19
|
-
...s,
|
|
20
|
-
{
|
|
21
|
-
path: "/collection",
|
|
22
|
-
redirect: "/collection/default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: "collection",
|
|
26
|
-
path: "/collection/:collection",
|
|
27
|
-
component: () => import("./views/Collection/Collection.vue.js"),
|
|
28
|
-
children: [
|
|
29
|
-
// Nested collection request
|
|
30
|
-
{
|
|
31
|
-
path: "request/request",
|
|
32
|
-
component: () => import("./views/Request/Request.vue.js")
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
17
|
},
|
|
36
|
-
/** Components will map to each section of the spec components object */
|
|
37
18
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
component: () => import("./views/Components/Schemas/Schemas.vue.js")
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
},
|
|
19
|
+
name: "requestExamples",
|
|
20
|
+
path: "request/:request/examples/:examples",
|
|
21
|
+
component: () => import("./views/Request/Request.vue.js")
|
|
22
|
+
}
|
|
23
|
+
], i = [
|
|
47
24
|
{
|
|
48
|
-
path: "/
|
|
49
|
-
redirect: "/
|
|
25
|
+
path: "/",
|
|
26
|
+
redirect: "/workspace/default/request/default"
|
|
50
27
|
},
|
|
51
28
|
{
|
|
52
|
-
path: "/
|
|
53
|
-
|
|
29
|
+
path: "/workspace",
|
|
30
|
+
redirect: "/workspace/default/request/default"
|
|
54
31
|
},
|
|
55
32
|
{
|
|
56
|
-
path: "/
|
|
57
|
-
|
|
58
|
-
}
|
|
33
|
+
path: "/workspace/:workspace",
|
|
34
|
+
children: l
|
|
35
|
+
}
|
|
36
|
+
], f = [
|
|
59
37
|
{
|
|
60
|
-
path: "/
|
|
61
|
-
|
|
38
|
+
path: "/",
|
|
39
|
+
redirect: "/workspace/default/request/default"
|
|
62
40
|
},
|
|
63
41
|
{
|
|
64
|
-
path: "/
|
|
65
|
-
redirect: "/
|
|
42
|
+
path: "/workspace",
|
|
43
|
+
redirect: "/workspace/default/request/default"
|
|
66
44
|
},
|
|
67
45
|
{
|
|
68
|
-
path: "/
|
|
69
|
-
|
|
46
|
+
path: "/workspace/:workspace",
|
|
47
|
+
children: [
|
|
48
|
+
...l,
|
|
49
|
+
// {
|
|
50
|
+
// path: 'collection',
|
|
51
|
+
// redirect: (to) =>
|
|
52
|
+
// `${to.fullPath.replace(/\/$/, '')}/default`,
|
|
53
|
+
// },
|
|
54
|
+
// {
|
|
55
|
+
// name: PathId.Collection,
|
|
56
|
+
// path: `collection/:${PathId.Collection}`,
|
|
57
|
+
// component: () => import('./views/Collection/Collection.vue'),
|
|
58
|
+
// children: [
|
|
59
|
+
// // Nested collection request
|
|
60
|
+
// {
|
|
61
|
+
// path: `request/${PathId.Request}`,
|
|
62
|
+
// component: () => import('./views/Request/Request.vue.js'),
|
|
63
|
+
// },
|
|
64
|
+
// ],
|
|
65
|
+
// },
|
|
66
|
+
/** Components will map to each section of the spec components object */
|
|
67
|
+
// {
|
|
68
|
+
// path: 'components',
|
|
69
|
+
// redirect: '/components/schemas/default',
|
|
70
|
+
// children: [
|
|
71
|
+
// {
|
|
72
|
+
// path: `schemas/:${PathId.Schema}`,
|
|
73
|
+
// component: () => import('./views/Components/Schemas/Schemas.vue'),
|
|
74
|
+
// },
|
|
75
|
+
// ],
|
|
76
|
+
// },
|
|
77
|
+
{
|
|
78
|
+
path: "environment",
|
|
79
|
+
redirect: (e) => `${e.fullPath.replace(/\/$/, "")}/default`
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "environment",
|
|
83
|
+
path: "environment/:environment",
|
|
84
|
+
component: () => import("./views/Environment/Environment.vue.js")
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
path: "cookies",
|
|
88
|
+
redirect: (e) => `${e.fullPath.replace(/\/$/, "")}/default`
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "cookies",
|
|
92
|
+
path: "cookies/:cookies",
|
|
93
|
+
component: () => import("./views/Cookies/Cookies.vue.js")
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
path: "servers",
|
|
97
|
+
redirect: (e) => `${e.fullPath.replace(/\/$/, "")}/default`
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "servers",
|
|
101
|
+
path: "servers/:servers",
|
|
102
|
+
component: () => import("./views/Servers/Servers.vue.js")
|
|
103
|
+
}
|
|
104
|
+
]
|
|
70
105
|
}
|
|
71
|
-
], t =
|
|
72
|
-
history:
|
|
73
|
-
routes:
|
|
74
|
-
}),
|
|
75
|
-
history:
|
|
76
|
-
routes:
|
|
77
|
-
}),
|
|
106
|
+
], t = u({
|
|
107
|
+
history: p(),
|
|
108
|
+
routes: f
|
|
109
|
+
}), s = u({
|
|
110
|
+
history: m(),
|
|
111
|
+
routes: i
|
|
112
|
+
}), v = n(() => {
|
|
78
113
|
const e = {
|
|
79
114
|
collection: "default",
|
|
80
115
|
environment: "default",
|
|
81
116
|
request: "default",
|
|
82
|
-
|
|
117
|
+
examples: "default",
|
|
83
118
|
schema: "default",
|
|
84
119
|
cookies: "default",
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
120
|
+
servers: "default",
|
|
121
|
+
workspace: "default"
|
|
122
|
+
}, a = s.currentRoute.value.matched.length ? s.currentRoute.value : t.currentRoute.value;
|
|
123
|
+
return a && Object.values(c).forEach((r) => {
|
|
124
|
+
a.params[r] && (e[r] = a.params[r]);
|
|
89
125
|
}), e;
|
|
90
126
|
});
|
|
91
|
-
function
|
|
92
|
-
var r,
|
|
127
|
+
function $(e, a) {
|
|
128
|
+
var r, o;
|
|
93
129
|
t.currentRoute.value && // If the item is missing then we know the UID is no longer in use and redirect to the default
|
|
94
|
-
!
|
|
130
|
+
!a && ((r = t.currentRoute.value) != null && r.params[e]) && ((o = t.currentRoute.value) == null ? void 0 : o.params[e]) !== "default" && // We only redirect if the key is missing for the matching route
|
|
95
131
|
t.currentRoute.value.path.includes(e) && t.push({
|
|
96
132
|
params: {
|
|
97
133
|
...t.currentRoute.value.params,
|
|
@@ -100,10 +136,10 @@ function f(e, o) {
|
|
|
100
136
|
});
|
|
101
137
|
}
|
|
102
138
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
139
|
+
c as PathId,
|
|
140
|
+
v as activeRouterParams,
|
|
141
|
+
$ as fallbackMissingParams,
|
|
142
|
+
s as modalRouter,
|
|
143
|
+
i as modalRoutes,
|
|
108
144
|
t as router
|
|
109
145
|
};
|
package/dist/store/topNav.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Icon } from '@scalar/components';
|
|
2
2
|
/**
|
|
3
3
|
* adding a nav item sets the new index and nav item
|
|
4
4
|
* based on the route
|
|
@@ -14,8 +14,8 @@ export declare function useTopNav(): {
|
|
|
14
14
|
topNavItems: {
|
|
15
15
|
readonly [x: number]: {
|
|
16
16
|
readonly label: string;
|
|
17
|
-
readonly icon: import("@scalar/components").Icon;
|
|
18
17
|
readonly path: string;
|
|
18
|
+
readonly icon: Icon;
|
|
19
19
|
};
|
|
20
20
|
readonly length: number;
|
|
21
21
|
readonly toString: () => string;
|
|
@@ -25,365 +25,377 @@ export declare function useTopNav(): {
|
|
|
25
25
|
};
|
|
26
26
|
readonly pop: () => {
|
|
27
27
|
label: string;
|
|
28
|
-
icon: import("@scalar/components").Icon;
|
|
29
28
|
path: string;
|
|
29
|
+
icon: Icon;
|
|
30
30
|
} | undefined;
|
|
31
31
|
readonly push: (...items: {
|
|
32
32
|
label: string;
|
|
33
|
-
icon: import("@scalar/components").Icon;
|
|
34
33
|
path: string;
|
|
34
|
+
icon: Icon;
|
|
35
35
|
}[]) => number;
|
|
36
36
|
readonly concat: {
|
|
37
37
|
(...items: ConcatArray<{
|
|
38
38
|
label: string;
|
|
39
|
-
icon: import("@scalar/components").Icon;
|
|
40
39
|
path: string;
|
|
40
|
+
icon: Icon;
|
|
41
41
|
}>[]): {
|
|
42
42
|
label: string;
|
|
43
|
-
icon: import("@scalar/components").Icon;
|
|
44
43
|
path: string;
|
|
44
|
+
icon: Icon;
|
|
45
45
|
}[];
|
|
46
46
|
(...items: ({
|
|
47
47
|
label: string;
|
|
48
|
-
icon: import("@scalar/components").Icon;
|
|
49
48
|
path: string;
|
|
49
|
+
icon: Icon;
|
|
50
50
|
} | ConcatArray<{
|
|
51
51
|
label: string;
|
|
52
|
-
icon: import("@scalar/components").Icon;
|
|
53
52
|
path: string;
|
|
53
|
+
icon: Icon;
|
|
54
54
|
}>)[]): {
|
|
55
55
|
label: string;
|
|
56
|
-
icon: import("@scalar/components").Icon;
|
|
57
56
|
path: string;
|
|
57
|
+
icon: Icon;
|
|
58
58
|
}[];
|
|
59
59
|
};
|
|
60
60
|
readonly join: (separator?: string) => string;
|
|
61
61
|
readonly reverse: () => {
|
|
62
62
|
label: string;
|
|
63
|
-
icon: import("@scalar/components").Icon;
|
|
64
63
|
path: string;
|
|
64
|
+
icon: Icon;
|
|
65
65
|
}[];
|
|
66
66
|
readonly shift: () => {
|
|
67
67
|
label: string;
|
|
68
|
-
icon: import("@scalar/components").Icon;
|
|
69
68
|
path: string;
|
|
69
|
+
icon: Icon;
|
|
70
70
|
} | undefined;
|
|
71
71
|
readonly slice: (start?: number, end?: number) => {
|
|
72
72
|
label: string;
|
|
73
|
-
icon: import("@scalar/components").Icon;
|
|
74
73
|
path: string;
|
|
74
|
+
icon: Icon;
|
|
75
75
|
}[];
|
|
76
76
|
readonly sort: (compareFn?: ((a: {
|
|
77
77
|
label: string;
|
|
78
|
-
icon: import("@scalar/components").Icon;
|
|
79
78
|
path: string;
|
|
79
|
+
icon: Icon;
|
|
80
80
|
}, b: {
|
|
81
81
|
label: string;
|
|
82
|
-
icon: import("@scalar/components").Icon;
|
|
83
82
|
path: string;
|
|
84
|
-
|
|
83
|
+
icon: Icon;
|
|
84
|
+
}) => number) | undefined) => import("vue").Reactive<{
|
|
85
|
+
label: string;
|
|
86
|
+
path: string;
|
|
87
|
+
icon: Icon;
|
|
88
|
+
}[]>;
|
|
85
89
|
readonly splice: {
|
|
86
90
|
(start: number, deleteCount?: number): {
|
|
87
91
|
label: string;
|
|
88
|
-
icon: import("@scalar/components").Icon;
|
|
89
92
|
path: string;
|
|
93
|
+
icon: Icon;
|
|
90
94
|
}[];
|
|
91
95
|
(start: number, deleteCount: number, ...items: {
|
|
92
96
|
label: string;
|
|
93
|
-
icon: import("@scalar/components").Icon;
|
|
94
97
|
path: string;
|
|
98
|
+
icon: Icon;
|
|
95
99
|
}[]): {
|
|
96
100
|
label: string;
|
|
97
|
-
icon: import("@scalar/components").Icon;
|
|
98
101
|
path: string;
|
|
102
|
+
icon: Icon;
|
|
99
103
|
}[];
|
|
100
104
|
};
|
|
101
105
|
readonly unshift: (...items: {
|
|
102
106
|
label: string;
|
|
103
|
-
icon: import("@scalar/components").Icon;
|
|
104
107
|
path: string;
|
|
108
|
+
icon: Icon;
|
|
105
109
|
}[]) => number;
|
|
106
110
|
readonly indexOf: (searchElement: {
|
|
107
111
|
label: string;
|
|
108
|
-
icon: import("@scalar/components").Icon;
|
|
109
112
|
path: string;
|
|
113
|
+
icon: Icon;
|
|
110
114
|
}, fromIndex?: number) => number;
|
|
111
115
|
readonly lastIndexOf: (searchElement: {
|
|
112
116
|
label: string;
|
|
113
|
-
icon: import("@scalar/components").Icon;
|
|
114
117
|
path: string;
|
|
118
|
+
icon: Icon;
|
|
115
119
|
}, fromIndex?: number) => number;
|
|
116
120
|
readonly every: {
|
|
117
121
|
<S extends {
|
|
118
122
|
label: string;
|
|
119
|
-
icon: import("@scalar/components").Icon;
|
|
120
123
|
path: string;
|
|
124
|
+
icon: Icon;
|
|
121
125
|
}>(predicate: (value: {
|
|
122
126
|
label: string;
|
|
123
|
-
icon: import("@scalar/components").Icon;
|
|
124
127
|
path: string;
|
|
128
|
+
icon: Icon;
|
|
125
129
|
}, index: number, array: {
|
|
126
130
|
label: string;
|
|
127
|
-
icon: import("@scalar/components").Icon;
|
|
128
131
|
path: string;
|
|
132
|
+
icon: Icon;
|
|
129
133
|
}[]) => value is S, thisArg?: any): this is S[];
|
|
130
134
|
(predicate: (value: {
|
|
131
135
|
label: string;
|
|
132
|
-
icon: import("@scalar/components").Icon;
|
|
133
136
|
path: string;
|
|
137
|
+
icon: Icon;
|
|
134
138
|
}, index: number, array: {
|
|
135
139
|
label: string;
|
|
136
|
-
icon: import("@scalar/components").Icon;
|
|
137
140
|
path: string;
|
|
141
|
+
icon: Icon;
|
|
138
142
|
}[]) => unknown, thisArg?: any): boolean;
|
|
139
143
|
};
|
|
140
144
|
readonly some: (predicate: (value: {
|
|
141
145
|
label: string;
|
|
142
|
-
icon: import("@scalar/components").Icon;
|
|
143
146
|
path: string;
|
|
147
|
+
icon: Icon;
|
|
144
148
|
}, index: number, array: {
|
|
145
149
|
label: string;
|
|
146
|
-
icon: import("@scalar/components").Icon;
|
|
147
150
|
path: string;
|
|
151
|
+
icon: Icon;
|
|
148
152
|
}[]) => unknown, thisArg?: any) => boolean;
|
|
149
153
|
readonly forEach: (callbackfn: (value: {
|
|
150
154
|
label: string;
|
|
151
|
-
icon: import("@scalar/components").Icon;
|
|
152
155
|
path: string;
|
|
156
|
+
icon: Icon;
|
|
153
157
|
}, index: number, array: {
|
|
154
158
|
label: string;
|
|
155
|
-
icon: import("@scalar/components").Icon;
|
|
156
159
|
path: string;
|
|
160
|
+
icon: Icon;
|
|
157
161
|
}[]) => void, thisArg?: any) => void;
|
|
158
162
|
readonly map: <U>(callbackfn: (value: {
|
|
159
163
|
label: string;
|
|
160
|
-
icon: import("@scalar/components").Icon;
|
|
161
164
|
path: string;
|
|
165
|
+
icon: Icon;
|
|
162
166
|
}, index: number, array: {
|
|
163
167
|
label: string;
|
|
164
|
-
icon: import("@scalar/components").Icon;
|
|
165
168
|
path: string;
|
|
169
|
+
icon: Icon;
|
|
166
170
|
}[]) => U, thisArg?: any) => U[];
|
|
167
171
|
readonly filter: {
|
|
168
172
|
<S extends {
|
|
169
173
|
label: string;
|
|
170
|
-
icon: import("@scalar/components").Icon;
|
|
171
174
|
path: string;
|
|
175
|
+
icon: Icon;
|
|
172
176
|
}>(predicate: (value: {
|
|
173
177
|
label: string;
|
|
174
|
-
icon: import("@scalar/components").Icon;
|
|
175
178
|
path: string;
|
|
179
|
+
icon: Icon;
|
|
176
180
|
}, index: number, array: {
|
|
177
181
|
label: string;
|
|
178
|
-
icon: import("@scalar/components").Icon;
|
|
179
182
|
path: string;
|
|
183
|
+
icon: Icon;
|
|
180
184
|
}[]) => value is S, thisArg?: any): S[];
|
|
181
185
|
(predicate: (value: {
|
|
182
186
|
label: string;
|
|
183
|
-
icon: import("@scalar/components").Icon;
|
|
184
187
|
path: string;
|
|
188
|
+
icon: Icon;
|
|
185
189
|
}, index: number, array: {
|
|
186
190
|
label: string;
|
|
187
|
-
icon: import("@scalar/components").Icon;
|
|
188
191
|
path: string;
|
|
192
|
+
icon: Icon;
|
|
189
193
|
}[]) => unknown, thisArg?: any): {
|
|
190
194
|
label: string;
|
|
191
|
-
icon: import("@scalar/components").Icon;
|
|
192
195
|
path: string;
|
|
196
|
+
icon: Icon;
|
|
193
197
|
}[];
|
|
194
198
|
};
|
|
195
199
|
readonly reduce: {
|
|
196
200
|
(callbackfn: (previousValue: {
|
|
197
201
|
label: string;
|
|
198
|
-
icon: import("@scalar/components").Icon;
|
|
199
202
|
path: string;
|
|
203
|
+
icon: Icon;
|
|
200
204
|
}, currentValue: {
|
|
201
205
|
label: string;
|
|
202
|
-
icon: import("@scalar/components").Icon;
|
|
203
206
|
path: string;
|
|
207
|
+
icon: Icon;
|
|
204
208
|
}, currentIndex: number, array: {
|
|
205
209
|
label: string;
|
|
206
|
-
icon: import("@scalar/components").Icon;
|
|
207
210
|
path: string;
|
|
211
|
+
icon: Icon;
|
|
208
212
|
}[]) => {
|
|
209
213
|
label: string;
|
|
210
|
-
icon: import("@scalar/components").Icon;
|
|
211
214
|
path: string;
|
|
215
|
+
icon: Icon;
|
|
212
216
|
}): {
|
|
213
217
|
label: string;
|
|
214
|
-
icon: import("@scalar/components").Icon;
|
|
215
218
|
path: string;
|
|
219
|
+
icon: Icon;
|
|
216
220
|
};
|
|
217
221
|
(callbackfn: (previousValue: {
|
|
218
222
|
label: string;
|
|
219
|
-
icon: import("@scalar/components").Icon;
|
|
220
223
|
path: string;
|
|
224
|
+
icon: Icon;
|
|
221
225
|
}, currentValue: {
|
|
222
226
|
label: string;
|
|
223
|
-
icon: import("@scalar/components").Icon;
|
|
224
227
|
path: string;
|
|
228
|
+
icon: Icon;
|
|
225
229
|
}, currentIndex: number, array: {
|
|
226
230
|
label: string;
|
|
227
|
-
icon: import("@scalar/components").Icon;
|
|
228
231
|
path: string;
|
|
232
|
+
icon: Icon;
|
|
229
233
|
}[]) => {
|
|
230
234
|
label: string;
|
|
231
|
-
icon: import("@scalar/components").Icon;
|
|
232
235
|
path: string;
|
|
236
|
+
icon: Icon;
|
|
233
237
|
}, initialValue: {
|
|
234
238
|
label: string;
|
|
235
|
-
icon: import("@scalar/components").Icon;
|
|
236
239
|
path: string;
|
|
240
|
+
icon: Icon;
|
|
237
241
|
}): {
|
|
238
242
|
label: string;
|
|
239
|
-
icon: import("@scalar/components").Icon;
|
|
240
243
|
path: string;
|
|
244
|
+
icon: Icon;
|
|
241
245
|
};
|
|
242
246
|
<U>(callbackfn: (previousValue: U, currentValue: {
|
|
243
247
|
label: string;
|
|
244
|
-
icon: import("@scalar/components").Icon;
|
|
245
248
|
path: string;
|
|
249
|
+
icon: Icon;
|
|
246
250
|
}, currentIndex: number, array: {
|
|
247
251
|
label: string;
|
|
248
|
-
icon: import("@scalar/components").Icon;
|
|
249
252
|
path: string;
|
|
253
|
+
icon: Icon;
|
|
250
254
|
}[]) => U, initialValue: U): U;
|
|
251
255
|
};
|
|
252
256
|
readonly reduceRight: {
|
|
253
257
|
(callbackfn: (previousValue: {
|
|
254
258
|
label: string;
|
|
255
|
-
icon: import("@scalar/components").Icon;
|
|
256
259
|
path: string;
|
|
260
|
+
icon: Icon;
|
|
257
261
|
}, currentValue: {
|
|
258
262
|
label: string;
|
|
259
|
-
icon: import("@scalar/components").Icon;
|
|
260
263
|
path: string;
|
|
264
|
+
icon: Icon;
|
|
261
265
|
}, currentIndex: number, array: {
|
|
262
266
|
label: string;
|
|
263
|
-
icon: import("@scalar/components").Icon;
|
|
264
267
|
path: string;
|
|
268
|
+
icon: Icon;
|
|
265
269
|
}[]) => {
|
|
266
270
|
label: string;
|
|
267
|
-
icon: import("@scalar/components").Icon;
|
|
268
271
|
path: string;
|
|
272
|
+
icon: Icon;
|
|
269
273
|
}): {
|
|
270
274
|
label: string;
|
|
271
|
-
icon: import("@scalar/components").Icon;
|
|
272
275
|
path: string;
|
|
276
|
+
icon: Icon;
|
|
273
277
|
};
|
|
274
278
|
(callbackfn: (previousValue: {
|
|
275
279
|
label: string;
|
|
276
|
-
icon: import("@scalar/components").Icon;
|
|
277
280
|
path: string;
|
|
281
|
+
icon: Icon;
|
|
278
282
|
}, currentValue: {
|
|
279
283
|
label: string;
|
|
280
|
-
icon: import("@scalar/components").Icon;
|
|
281
284
|
path: string;
|
|
285
|
+
icon: Icon;
|
|
282
286
|
}, currentIndex: number, array: {
|
|
283
287
|
label: string;
|
|
284
|
-
icon: import("@scalar/components").Icon;
|
|
285
288
|
path: string;
|
|
289
|
+
icon: Icon;
|
|
286
290
|
}[]) => {
|
|
287
291
|
label: string;
|
|
288
|
-
icon: import("@scalar/components").Icon;
|
|
289
292
|
path: string;
|
|
293
|
+
icon: Icon;
|
|
290
294
|
}, initialValue: {
|
|
291
295
|
label: string;
|
|
292
|
-
icon: import("@scalar/components").Icon;
|
|
293
296
|
path: string;
|
|
297
|
+
icon: Icon;
|
|
294
298
|
}): {
|
|
295
299
|
label: string;
|
|
296
|
-
icon: import("@scalar/components").Icon;
|
|
297
300
|
path: string;
|
|
301
|
+
icon: Icon;
|
|
298
302
|
};
|
|
299
303
|
<U>(callbackfn: (previousValue: U, currentValue: {
|
|
300
304
|
label: string;
|
|
301
|
-
icon: import("@scalar/components").Icon;
|
|
302
305
|
path: string;
|
|
306
|
+
icon: Icon;
|
|
303
307
|
}, currentIndex: number, array: {
|
|
304
308
|
label: string;
|
|
305
|
-
icon: import("@scalar/components").Icon;
|
|
306
309
|
path: string;
|
|
310
|
+
icon: Icon;
|
|
307
311
|
}[]) => U, initialValue: U): U;
|
|
308
312
|
};
|
|
309
313
|
readonly find: {
|
|
310
314
|
<S extends {
|
|
311
315
|
label: string;
|
|
312
|
-
icon: import("@scalar/components").Icon;
|
|
313
316
|
path: string;
|
|
317
|
+
icon: Icon;
|
|
314
318
|
}>(predicate: (value: {
|
|
315
319
|
label: string;
|
|
316
|
-
icon: import("@scalar/components").Icon;
|
|
317
320
|
path: string;
|
|
321
|
+
icon: Icon;
|
|
318
322
|
}, index: number, obj: {
|
|
319
323
|
label: string;
|
|
320
|
-
icon: import("@scalar/components").Icon;
|
|
321
324
|
path: string;
|
|
325
|
+
icon: Icon;
|
|
322
326
|
}[]) => value is S, thisArg?: any): S | undefined;
|
|
323
327
|
(predicate: (value: {
|
|
324
328
|
label: string;
|
|
325
|
-
icon: import("@scalar/components").Icon;
|
|
326
329
|
path: string;
|
|
330
|
+
icon: Icon;
|
|
327
331
|
}, index: number, obj: {
|
|
328
332
|
label: string;
|
|
329
|
-
icon: import("@scalar/components").Icon;
|
|
330
333
|
path: string;
|
|
334
|
+
icon: Icon;
|
|
331
335
|
}[]) => unknown, thisArg?: any): {
|
|
332
336
|
label: string;
|
|
333
|
-
icon: import("@scalar/components").Icon;
|
|
334
337
|
path: string;
|
|
338
|
+
icon: Icon;
|
|
335
339
|
} | undefined;
|
|
336
340
|
};
|
|
337
341
|
readonly findIndex: (predicate: (value: {
|
|
338
342
|
label: string;
|
|
339
|
-
icon: import("@scalar/components").Icon;
|
|
340
343
|
path: string;
|
|
344
|
+
icon: Icon;
|
|
341
345
|
}, index: number, obj: {
|
|
342
346
|
label: string;
|
|
343
|
-
icon: import("@scalar/components").Icon;
|
|
344
347
|
path: string;
|
|
348
|
+
icon: Icon;
|
|
345
349
|
}[]) => unknown, thisArg?: any) => number;
|
|
346
350
|
readonly fill: (value: {
|
|
347
351
|
label: string;
|
|
348
|
-
icon: import("@scalar/components").Icon;
|
|
349
352
|
path: string;
|
|
350
|
-
|
|
351
|
-
|
|
353
|
+
icon: Icon;
|
|
354
|
+
}, start?: number, end?: number) => import("vue").Reactive<{
|
|
355
|
+
label: string;
|
|
356
|
+
path: string;
|
|
357
|
+
icon: Icon;
|
|
358
|
+
}[]>;
|
|
359
|
+
readonly copyWithin: (target: number, start: number, end?: number) => import("vue").Reactive<{
|
|
360
|
+
label: string;
|
|
361
|
+
path: string;
|
|
362
|
+
icon: Icon;
|
|
363
|
+
}[]>;
|
|
352
364
|
readonly entries: () => IterableIterator<[number, {
|
|
353
365
|
label: string;
|
|
354
|
-
icon: import("@scalar/components").Icon;
|
|
355
366
|
path: string;
|
|
367
|
+
icon: Icon;
|
|
356
368
|
}]>;
|
|
357
369
|
readonly keys: () => IterableIterator<number>;
|
|
358
370
|
readonly values: () => IterableIterator<{
|
|
359
371
|
label: string;
|
|
360
|
-
icon: import("@scalar/components").Icon;
|
|
361
372
|
path: string;
|
|
373
|
+
icon: Icon;
|
|
362
374
|
}>;
|
|
363
375
|
readonly includes: (searchElement: {
|
|
364
376
|
label: string;
|
|
365
|
-
icon: import("@scalar/components").Icon;
|
|
366
377
|
path: string;
|
|
378
|
+
icon: Icon;
|
|
367
379
|
}, fromIndex?: number) => boolean;
|
|
368
380
|
readonly flatMap: <U, This = undefined>(callback: (this: This, value: {
|
|
369
381
|
label: string;
|
|
370
|
-
icon: import("@scalar/components").Icon;
|
|
371
382
|
path: string;
|
|
383
|
+
icon: Icon;
|
|
372
384
|
}, index: number, array: {
|
|
373
385
|
label: string;
|
|
374
|
-
icon: import("@scalar/components").Icon;
|
|
375
386
|
path: string;
|
|
387
|
+
icon: Icon;
|
|
376
388
|
}[]) => U | ReadonlyArray<U>, thisArg?: This | undefined) => U[];
|
|
377
389
|
readonly flat: <A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[];
|
|
378
390
|
readonly at: (index: number) => {
|
|
379
391
|
label: string;
|
|
380
|
-
icon: import("@scalar/components").Icon;
|
|
381
392
|
path: string;
|
|
393
|
+
icon: Icon;
|
|
382
394
|
} | undefined;
|
|
383
395
|
readonly [Symbol.iterator]: () => IterableIterator<{
|
|
384
396
|
label: string;
|
|
385
|
-
icon: import("@scalar/components").Icon;
|
|
386
397
|
path: string;
|
|
398
|
+
icon: Icon;
|
|
387
399
|
}>;
|
|
388
400
|
readonly [Symbol.unscopables]: {
|
|
389
401
|
readonly [x: number]: boolean | undefined;
|