@scalar/api-client 2.19.2 → 2.20.0
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 +55 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
- package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/hooks/useFileDialog.d.ts +4 -4
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +0 -9
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +126 -67
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +6 -0
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +25 -24
- package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-cookie-header.js +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts +0 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request-parameters.js +96 -48
- package/dist/v2/blocks/operation-block/helpers/build-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/build-request.js +41 -39
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts +42 -0
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-request.js +31 -0
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts +66 -0
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/har-to-fetch-response.js +43 -0
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts +1 -0
- package/dist/v2/blocks/operation-block/helpers/send-request.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/send-request.js +40 -38
- package/dist/v2/blocks/operation-block/helpers/serialize-parameter.d.ts +96 -0
- package/dist/v2/blocks/operation-block/helpers/serialize-parameter.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/helpers/serialize-parameter.js +49 -0
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +16 -17
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts +1 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.js +109 -152
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +6 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +24 -23
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts +2 -3
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue2.js +20 -20
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts +5 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +60 -54
- package/dist/v2/features/app/app-events.d.ts.map +1 -1
- package/dist/v2/features/app/app-events.js +53 -42
- package/dist/v2/features/app/app-state.d.ts.map +1 -1
- package/dist/v2/features/app/app-state.js +72 -72
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue2.js +84 -76
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.d.ts +2 -2
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +82 -43
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Settings.vue.js +9 -10
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +1 -3
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js +2 -2
- package/dist/v2/features/modal/Modal.vue2.js +31 -31
- package/dist/v2/features/modal/helpers/map-hidden-clients-config.d.ts +8 -0
- package/dist/v2/features/modal/helpers/map-hidden-clients-config.d.ts.map +1 -0
- package/dist/v2/features/modal/helpers/map-hidden-clients-config.js +36 -0
- package/dist/v2/features/modal/index.d.ts +1 -0
- package/dist/v2/features/modal/index.d.ts.map +1 -1
- package/dist/v2/features/modal/index.js +4 -2
- package/dist/v2/features/operation/Operation.vue.d.ts +5 -2
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +48 -35
- package/dist/v2/features/operation/helpers/get-selected-server.d.ts +2 -1
- package/dist/v2/features/operation/helpers/get-selected-server.d.ts.map +1 -1
- package/dist/v2/features/operation/helpers/get-selected-server.js +2 -2
- package/dist/v2/features/search/components/SearchResult.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -2
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +110 -135
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +1 -1
- package/dist/v2/helpers/get-servers.d.ts +23 -0
- package/dist/v2/helpers/get-servers.d.ts.map +1 -0
- package/dist/v2/helpers/get-servers.js +66 -0
- package/dist/v2/helpers/index.d.ts +1 -0
- package/dist/v2/helpers/index.d.ts.map +1 -1
- package/dist/v2/helpers/index.js +4 -2
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +12 -6
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/v2/blocks/operation-block/helpers/get-delimiter.js +0 -15
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { computed as E } from "vue";
|
|
2
2
|
import { initializeWorkspaceEventHandlers as h } from "../../workspace-events.js";
|
|
3
3
|
function g({
|
|
4
|
-
eventBus:
|
|
5
|
-
store:
|
|
6
|
-
router:
|
|
4
|
+
eventBus: o,
|
|
5
|
+
store: r,
|
|
6
|
+
router: c,
|
|
7
7
|
rebuildSidebar: p,
|
|
8
|
-
navigateToCurrentTab:
|
|
8
|
+
navigateToCurrentTab: n,
|
|
9
9
|
onSelectSidebarItem: i,
|
|
10
10
|
onAfterExampleCreation: s,
|
|
11
|
-
onOpenCommandPalette:
|
|
11
|
+
onOpenCommandPalette: l,
|
|
12
12
|
onCopyTabUrl: f,
|
|
13
13
|
onToggleSidebar: x
|
|
14
14
|
}) {
|
|
15
|
-
const u = E(() =>
|
|
15
|
+
const u = E(() => c.value?.currentRoute?.value), d = ({
|
|
16
16
|
documentName: e,
|
|
17
|
-
path:
|
|
18
|
-
method:
|
|
19
|
-
exampleName:
|
|
20
|
-
}) => !(e !== void 0 && e !== u.value?.params.documentSlug ||
|
|
17
|
+
path: a,
|
|
18
|
+
method: t,
|
|
19
|
+
exampleName: m
|
|
20
|
+
}) => !(e !== void 0 && e !== u.value?.params.documentSlug || a !== void 0 && encodeURIComponent(a) !== u.value?.params.pathEncoded || t !== void 0 && t !== u.value?.params.method || m !== void 0 && m !== u.value?.params.exampleName);
|
|
21
21
|
h({
|
|
22
|
-
eventBus:
|
|
23
|
-
store:
|
|
22
|
+
eventBus: o,
|
|
23
|
+
store: r,
|
|
24
24
|
hooks: {
|
|
25
25
|
//------------------------------------------------------------------------------------
|
|
26
26
|
// Document Related Hooks
|
|
27
27
|
//------------------------------------------------------------------------------------
|
|
28
28
|
"document:delete:document": {
|
|
29
29
|
onAfterExecute: async (e) => {
|
|
30
|
-
u?.value?.params.documentSlug === e.name && await
|
|
30
|
+
u?.value?.params.documentSlug === e.name && await c.value?.push({
|
|
31
31
|
name: "workspace.environment"
|
|
32
32
|
});
|
|
33
33
|
}
|
|
@@ -38,15 +38,15 @@ function g({
|
|
|
38
38
|
"operation:update:pathMethod": {
|
|
39
39
|
onBeforeExecute: (e) => ({
|
|
40
40
|
...e,
|
|
41
|
-
callback: async (
|
|
42
|
-
|
|
41
|
+
callback: async (a) => {
|
|
42
|
+
a === "success" && (await c.value?.replace({
|
|
43
43
|
name: "example",
|
|
44
44
|
params: {
|
|
45
45
|
method: e.payload.method,
|
|
46
46
|
pathEncoded: encodeURIComponent(e.payload.path),
|
|
47
47
|
exampleName: u.value?.params.exampleName
|
|
48
48
|
}
|
|
49
|
-
}), p(
|
|
49
|
+
}), p(r.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(a);
|
|
50
50
|
}
|
|
51
51
|
})
|
|
52
52
|
},
|
|
@@ -56,21 +56,24 @@ function g({
|
|
|
56
56
|
"operation:update:extra-parameters": {
|
|
57
57
|
onAfterExecute: (e) => s(e.meta)
|
|
58
58
|
},
|
|
59
|
+
"operation:reload:history": {
|
|
60
|
+
onAfterExecute: (e) => s({ ...e.meta, exampleKey: "draft" })
|
|
61
|
+
},
|
|
59
62
|
"operation:delete:operation": {
|
|
60
63
|
onAfterExecute: async (e) => {
|
|
61
64
|
p(e.documentName);
|
|
62
65
|
const {
|
|
63
|
-
documentName:
|
|
64
|
-
meta: { path:
|
|
66
|
+
documentName: a,
|
|
67
|
+
meta: { path: t, method: m }
|
|
65
68
|
} = e;
|
|
66
69
|
d({
|
|
67
|
-
documentName:
|
|
68
|
-
path:
|
|
69
|
-
method:
|
|
70
|
-
}) && await
|
|
70
|
+
documentName: a,
|
|
71
|
+
path: t,
|
|
72
|
+
method: m
|
|
73
|
+
}) && await c.value?.replace({
|
|
71
74
|
name: "document.overview",
|
|
72
75
|
params: {
|
|
73
|
-
documentSlug:
|
|
76
|
+
documentSlug: a
|
|
74
77
|
}
|
|
75
78
|
});
|
|
76
79
|
}
|
|
@@ -79,20 +82,20 @@ function g({
|
|
|
79
82
|
onAfterExecute: async (e) => {
|
|
80
83
|
p(e.documentName);
|
|
81
84
|
const {
|
|
82
|
-
documentName:
|
|
83
|
-
meta: { path:
|
|
85
|
+
documentName: a,
|
|
86
|
+
meta: { path: t, method: m, exampleKey: v }
|
|
84
87
|
} = e;
|
|
85
88
|
d({
|
|
86
|
-
documentName:
|
|
87
|
-
path:
|
|
88
|
-
method:
|
|
89
|
+
documentName: a,
|
|
90
|
+
path: t,
|
|
91
|
+
method: m,
|
|
89
92
|
exampleName: v
|
|
90
|
-
}) && await
|
|
93
|
+
}) && await c.value?.replace({
|
|
91
94
|
name: "example",
|
|
92
95
|
params: {
|
|
93
|
-
pathEncoded: encodeURIComponent(
|
|
94
|
-
method:
|
|
95
|
-
documentSlug:
|
|
96
|
+
pathEncoded: encodeURIComponent(t),
|
|
97
|
+
method: m,
|
|
98
|
+
documentSlug: a,
|
|
96
99
|
exampleName: "default"
|
|
97
100
|
}
|
|
98
101
|
});
|
|
@@ -120,33 +123,41 @@ function g({
|
|
|
120
123
|
// Tabs Related Event Hooks
|
|
121
124
|
//------------------------------------------------------------------------------------
|
|
122
125
|
"tabs:add:tab": {
|
|
123
|
-
onAfterExecute:
|
|
126
|
+
onAfterExecute: n
|
|
124
127
|
},
|
|
125
128
|
"tabs:close:tab": {
|
|
126
|
-
onAfterExecute:
|
|
129
|
+
onAfterExecute: n
|
|
127
130
|
},
|
|
128
131
|
"tabs:focus:tab": {
|
|
129
|
-
onAfterExecute:
|
|
132
|
+
onAfterExecute: n
|
|
130
133
|
},
|
|
131
134
|
"tabs:focus:tab-last": {
|
|
132
|
-
onAfterExecute:
|
|
135
|
+
onAfterExecute: n
|
|
133
136
|
},
|
|
134
137
|
"tabs:navigate:previous": {
|
|
135
|
-
onAfterExecute:
|
|
138
|
+
onAfterExecute: n
|
|
136
139
|
},
|
|
137
140
|
"tabs:navigate:next": {
|
|
138
|
-
onAfterExecute:
|
|
141
|
+
onAfterExecute: n
|
|
139
142
|
},
|
|
140
143
|
"tabs:update:tabs": {
|
|
141
|
-
onAfterExecute:
|
|
144
|
+
onAfterExecute: n
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
|
-
}),
|
|
147
|
+
}), o.on("scroll-to:nav-item", ({ id: e }) => i(e)), o.on("ui:toggle:sidebar", x), o.on(
|
|
145
148
|
"ui:open:command-palette",
|
|
146
149
|
(e) => {
|
|
147
|
-
e ?
|
|
150
|
+
e ? l(e.action, e.payload) : l();
|
|
148
151
|
}
|
|
149
|
-
),
|
|
152
|
+
), o.on("ui:route:page", ({ name: e }) => c.value?.push({ name: e })), o.on("ui:route:example", async ({ exampleName: e, callback: a }) => {
|
|
153
|
+
const t = await c.value?.replace({
|
|
154
|
+
name: "example",
|
|
155
|
+
params: {
|
|
156
|
+
exampleName: e
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
a(t ? "error" : "success");
|
|
160
|
+
}), o.on("tabs:copy:url", (e) => f(e.index));
|
|
150
161
|
}
|
|
151
162
|
export {
|
|
152
163
|
g as initializeAppEventHandlers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-state.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-state.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
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { isDefined as C } from "@scalar/helpers/array/is-defined";
|
|
2
|
-
import { sortByOrder as
|
|
3
|
-
import { isHttpMethod as
|
|
4
|
-
import { createSidebarState as
|
|
2
|
+
import { sortByOrder as H } from "@scalar/helpers/array/sort-by-order";
|
|
3
|
+
import { isHttpMethod as V } from "@scalar/helpers/http/is-http-method";
|
|
4
|
+
import { createSidebarState as Y, generateReverseIndex as j } from "@scalar/sidebar";
|
|
5
5
|
import { createWorkspaceStore as D } from "@scalar/workspace-store/client";
|
|
6
|
-
import { createWorkspaceEventBus as
|
|
7
|
-
import { generateUniqueValue as
|
|
6
|
+
import { createWorkspaceEventBus as q } from "@scalar/workspace-store/events";
|
|
7
|
+
import { generateUniqueValue as z } from "@scalar/workspace-store/helpers/generate-unique-value";
|
|
8
8
|
import { getParentEntry as p } from "@scalar/workspace-store/navigation";
|
|
9
|
-
import { createWorkspaceStorePersistence as
|
|
10
|
-
import { persistencePlugin as
|
|
11
|
-
import { extensions as
|
|
12
|
-
import { shallowRef as g, computed as i, ref as u, watch as
|
|
13
|
-
import { getActiveEnvironment as
|
|
14
|
-
import { getTabDetails as
|
|
15
|
-
import { slugify as
|
|
16
|
-
import { workspaceStorage as
|
|
17
|
-
import { useCommandPaletteState as
|
|
18
|
-
import { initializeAppEventHandlers as
|
|
19
|
-
const
|
|
9
|
+
import { createWorkspaceStorePersistence as J } from "@scalar/workspace-store/persistence";
|
|
10
|
+
import { persistencePlugin as M } from "@scalar/workspace-store/plugins/client";
|
|
11
|
+
import { extensions as G } from "@scalar/workspace-store/schemas/extensions";
|
|
12
|
+
import { shallowRef as g, computed as i, ref as u, watch as Q } from "vue";
|
|
13
|
+
import { getActiveEnvironment as X } from "../../helpers/get-active-environment.js";
|
|
14
|
+
import { getTabDetails as Z } from "../../helpers/get-tab-details.js";
|
|
15
|
+
import { slugify as ee } from "../../helpers/slugify.js";
|
|
16
|
+
import { workspaceStorage as te } from "../../helpers/storage.js";
|
|
17
|
+
import { useCommandPaletteState as ae } from "../command-palette/hooks/use-command-palette-state.js";
|
|
18
|
+
import { initializeAppEventHandlers as ne } from "./app-events.js";
|
|
19
|
+
const re = 1e3, v = q({
|
|
20
20
|
debug: !1
|
|
21
|
-
}), x = u(void 0),
|
|
22
|
-
|
|
23
|
-
e && e.afterEach((t) =>
|
|
21
|
+
}), x = u(void 0), f = u(void 0), R = u(void 0), A = u(void 0), U = u(void 0), m = u(!1), c = g(null);
|
|
22
|
+
Q(c, (e) => {
|
|
23
|
+
e && e.afterEach((t) => xe(t));
|
|
24
24
|
});
|
|
25
|
-
const
|
|
25
|
+
const d = i(() => c.value?.currentRoute.value ?? null);
|
|
26
26
|
function s(e, t) {
|
|
27
27
|
const a = t?.params[e];
|
|
28
28
|
if (typeof a == "string")
|
|
29
|
-
return e === "method" ? a &&
|
|
29
|
+
return e === "method" ? a && V(a) ? a : void 0 : decodeURIComponent(a);
|
|
30
30
|
}
|
|
31
|
-
const S = g(null), y = u([]), n = g(null), E = i(() => n.value?.workspace.documents[
|
|
31
|
+
const S = g(null), y = u([]), n = g(null), E = i(() => n.value?.workspace.documents[f.value ?? ""] || null), oe = i(() => X(n.value, E.value)), { workspace: h } = await J();
|
|
32
32
|
y.value = await h.getAll().then((e) => e.map(({ id: t, name: a }) => ({ id: t, label: a })));
|
|
33
|
-
const
|
|
34
|
-
plugins: [await
|
|
35
|
-
}),
|
|
33
|
+
const se = async ({ workspaceId: e }) => D({
|
|
34
|
+
plugins: [await M({ workspaceId: e, debounceDelay: re })]
|
|
35
|
+
}), ce = async (e) => {
|
|
36
36
|
const t = await h.getItem(e);
|
|
37
37
|
if (!t)
|
|
38
38
|
return {
|
|
39
39
|
success: !1
|
|
40
40
|
};
|
|
41
|
-
const a = await
|
|
41
|
+
const a = await se({ workspaceId: e });
|
|
42
42
|
return a.loadWorkspace(t.workspace), S.value = { id: e, label: t.name }, n.value = a, {
|
|
43
43
|
success: !0,
|
|
44
44
|
workspace: a.workspace
|
|
45
45
|
};
|
|
46
|
-
},
|
|
46
|
+
}, ie = async ({ id: e, name: t }) => {
|
|
47
47
|
const a = D();
|
|
48
48
|
await a.addDocument({
|
|
49
49
|
name: "drafts",
|
|
@@ -75,35 +75,35 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
75
75
|
name: t
|
|
76
76
|
}) => {
|
|
77
77
|
n.value = null;
|
|
78
|
-
const a = await
|
|
78
|
+
const a = await z({
|
|
79
79
|
defaultValue: e ?? t,
|
|
80
80
|
// Use the provided id if it exists, otherwise use the name
|
|
81
81
|
validation: async (l) => !await h.has(l),
|
|
82
82
|
maxRetries: 100,
|
|
83
|
-
transformation:
|
|
83
|
+
transformation: ee
|
|
84
84
|
});
|
|
85
85
|
if (!a)
|
|
86
86
|
return;
|
|
87
87
|
const o = { id: a, name: t };
|
|
88
|
-
return await
|
|
89
|
-
},
|
|
90
|
-
n.value = null,
|
|
91
|
-
const t = await
|
|
88
|
+
return await ie(o), await B(a), o;
|
|
89
|
+
}, le = async (e) => {
|
|
90
|
+
n.value = null, m.value = !0;
|
|
91
|
+
const t = await ce(e);
|
|
92
92
|
if (t.success) {
|
|
93
93
|
const o = t.workspace["x-scalar-active-tab"] ?? 0, l = t.workspace["x-scalar-tabs"], W = l?.[o];
|
|
94
|
-
W && await c.value?.replace(W.path), l && o >= l.length &&
|
|
94
|
+
W && await c.value?.replace(W.path), l && o >= l.length && v.emit("tabs:update:tabs", {
|
|
95
95
|
"x-scalar-active-tab": 0
|
|
96
|
-
}), l ||
|
|
97
|
-
"x-scalar-tabs": [I(
|
|
96
|
+
}), l || v.emit("tabs:update:tabs", {
|
|
97
|
+
"x-scalar-tabs": [I(d.value)],
|
|
98
98
|
"x-scalar-active-tab": 0
|
|
99
|
-
}),
|
|
99
|
+
}), m.value = !1;
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
const a = await P({
|
|
103
103
|
name: "Default Workspace",
|
|
104
104
|
id: "default"
|
|
105
105
|
});
|
|
106
|
-
if (
|
|
106
|
+
if (m.value = !1, !a)
|
|
107
107
|
return console.error("Failed to create the default workspace, something went wrong, can not load the workspace");
|
|
108
108
|
r.reset();
|
|
109
109
|
}, O = i(() => {
|
|
@@ -111,14 +111,14 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
111
111
|
if (!e)
|
|
112
112
|
return [];
|
|
113
113
|
const t = e.workspace["x-scalar-order"] ?? Object.keys(e.workspace.documents);
|
|
114
|
-
return
|
|
115
|
-
}), r =
|
|
114
|
+
return H(Object.keys(e.workspace.documents), t, (a) => a).map((a) => e.workspace.documents[a]?.["x-scalar-navigation"]).filter(C);
|
|
115
|
+
}), r = Y(O), b = ({
|
|
116
116
|
document: e,
|
|
117
117
|
path: t,
|
|
118
118
|
method: a,
|
|
119
119
|
example: o
|
|
120
120
|
}) => JSON.stringify([e, t, a, o].filter(C)), T = i(
|
|
121
|
-
() =>
|
|
121
|
+
() => j({
|
|
122
122
|
items: O.value,
|
|
123
123
|
nestedKey: "children",
|
|
124
124
|
filter: (e) => e.type === "document" || e.type === "operation" || e.type === "example",
|
|
@@ -189,14 +189,14 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
r.setExpanded(e, !r.isExpanded(e));
|
|
192
|
-
},
|
|
192
|
+
}, ue = async () => {
|
|
193
193
|
if (!n.value)
|
|
194
194
|
return;
|
|
195
195
|
const e = n.value.workspace["x-scalar-active-tab"] ?? 0, t = n.value.workspace["x-scalar-tabs"]?.[e];
|
|
196
196
|
t && await c.value?.replace(t.path);
|
|
197
197
|
}, N = (e) => {
|
|
198
198
|
e && n.value?.buildSidebar(e);
|
|
199
|
-
},
|
|
199
|
+
}, pe = (e) => {
|
|
200
200
|
const t = E.value?.["x-scalar-navigation"]?.name;
|
|
201
201
|
if (!t)
|
|
202
202
|
return;
|
|
@@ -206,20 +206,20 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
206
206
|
method: e.method,
|
|
207
207
|
example: e.exampleKey
|
|
208
208
|
});
|
|
209
|
-
(!a || a.type !== "example") && N(t);
|
|
210
|
-
},
|
|
209
|
+
(!a || a.type !== "example") && (N(t), d.value && K(d.value));
|
|
210
|
+
}, de = 288, me = i(() => n.value?.workspace?.["x-scalar-sidebar-width"] ?? de), ve = (e) => n.value?.update("x-scalar-sidebar-width", e), k = u(!0), fe = "x-scalar-tabs", he = "x-scalar-active-tab", I = (e) => {
|
|
211
211
|
const t = s("method", e), a = s("pathEncoded", e), o = s("documentSlug", e), l = s("workspaceSlug", e);
|
|
212
212
|
return {
|
|
213
|
-
...
|
|
213
|
+
...Z({
|
|
214
214
|
workspace: l,
|
|
215
215
|
document: o,
|
|
216
216
|
path: a,
|
|
217
217
|
method: t,
|
|
218
218
|
getEntryByLocation: w
|
|
219
219
|
}),
|
|
220
|
-
path:
|
|
220
|
+
path: d.value?.path ?? ""
|
|
221
221
|
};
|
|
222
|
-
}, _ = i(() => n.value?.workspace[
|
|
222
|
+
}, _ = i(() => n.value?.workspace[fe] ?? [I(d.value)]), we = i(() => n.value?.workspace[he] ?? 0), F = async (e) => {
|
|
223
223
|
const t = _.value[e];
|
|
224
224
|
if (!t) {
|
|
225
225
|
console.warn(`Cannot copy URL: tab at index ${e} does not exist`);
|
|
@@ -231,19 +231,19 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
231
231
|
} catch (o) {
|
|
232
232
|
console.error("Failed to copy URL to clipboard:", o);
|
|
233
233
|
}
|
|
234
|
-
},
|
|
234
|
+
}, xe = (e) => {
|
|
235
235
|
const t = s("workspaceSlug", e), a = s("documentSlug", e);
|
|
236
|
-
if (x.value = t,
|
|
237
|
-
if (e.path !== "" &&
|
|
238
|
-
return
|
|
239
|
-
if (a && a !== n.value?.workspace[
|
|
236
|
+
if (x.value = t, f.value = a, R.value = s("method", e), A.value = s("pathEncoded", e), U.value = s("exampleName", e), !!t) {
|
|
237
|
+
if (e.path !== "" && te.setCurrentPath(e.path), t !== S.value?.id)
|
|
238
|
+
return le(t);
|
|
239
|
+
if (a && a !== n.value?.workspace[G.workspace.activeDocument])
|
|
240
240
|
return n?.value?.update("x-scalar-active-document", a);
|
|
241
|
-
|
|
241
|
+
be(e), K(e);
|
|
242
242
|
}
|
|
243
|
-
},
|
|
243
|
+
}, be = (e) => {
|
|
244
244
|
const t = n.value?.workspace["x-scalar-tabs"] ?? [], a = n.value?.workspace["x-scalar-active-tab"] ?? 0, o = t[a];
|
|
245
245
|
!o || o.path === e.path || (t[a] = I(e));
|
|
246
|
-
},
|
|
246
|
+
}, K = (e) => {
|
|
247
247
|
const t = s("documentSlug", e);
|
|
248
248
|
if (!t) {
|
|
249
249
|
r.setSelected(null);
|
|
@@ -256,15 +256,15 @@ const oe = async ({ workspaceId: e }) => D({
|
|
|
256
256
|
example: s("exampleName", e)
|
|
257
257
|
});
|
|
258
258
|
a && (r.setSelected(a.id), r.setExpanded(a.id, !0));
|
|
259
|
-
},
|
|
260
|
-
|
|
261
|
-
eventBus:
|
|
259
|
+
}, $ = ae();
|
|
260
|
+
ne({
|
|
261
|
+
eventBus: v,
|
|
262
262
|
router: c,
|
|
263
263
|
store: n,
|
|
264
|
-
navigateToCurrentTab:
|
|
264
|
+
navigateToCurrentTab: ue,
|
|
265
265
|
rebuildSidebar: N,
|
|
266
|
-
onAfterExampleCreation:
|
|
267
|
-
onOpenCommandPalette:
|
|
266
|
+
onAfterExampleCreation: pe,
|
|
267
|
+
onOpenCommandPalette: $.open,
|
|
268
268
|
onSelectSidebarItem: L,
|
|
269
269
|
onCopyTabUrl: (e) => F(e),
|
|
270
270
|
onToggleSidebar: () => k.value = !k.value
|
|
@@ -275,15 +275,15 @@ function _e(e) {
|
|
|
275
275
|
store: n,
|
|
276
276
|
sidebar: {
|
|
277
277
|
state: r,
|
|
278
|
-
width:
|
|
278
|
+
width: me,
|
|
279
279
|
isOpen: k,
|
|
280
280
|
handleSelectItem: L,
|
|
281
|
-
handleSidebarWidthUpdate:
|
|
281
|
+
handleSidebarWidthUpdate: ve,
|
|
282
282
|
getEntryByLocation: w
|
|
283
283
|
},
|
|
284
284
|
tabs: {
|
|
285
285
|
state: _,
|
|
286
|
-
activeTabIndex:
|
|
286
|
+
activeTabIndex: we,
|
|
287
287
|
copyTabUrl: F
|
|
288
288
|
},
|
|
289
289
|
workspace: {
|
|
@@ -291,21 +291,21 @@ function _e(e) {
|
|
|
291
291
|
workspaceList: y,
|
|
292
292
|
activeWorkspace: S,
|
|
293
293
|
setId: B,
|
|
294
|
-
isOpen: i(() => !!(x.value && !
|
|
294
|
+
isOpen: i(() => !!(x.value && !f.value))
|
|
295
295
|
},
|
|
296
|
-
commandPalette:
|
|
297
|
-
eventBus:
|
|
296
|
+
commandPalette: $,
|
|
297
|
+
eventBus: v,
|
|
298
298
|
router: c,
|
|
299
|
-
currentRoute:
|
|
300
|
-
loading:
|
|
299
|
+
currentRoute: d,
|
|
300
|
+
loading: m,
|
|
301
301
|
activeEntities: {
|
|
302
302
|
workspaceSlug: x,
|
|
303
|
-
documentSlug:
|
|
303
|
+
documentSlug: f,
|
|
304
304
|
path: A,
|
|
305
305
|
method: R,
|
|
306
306
|
exampleName: U
|
|
307
307
|
},
|
|
308
|
-
environment:
|
|
308
|
+
environment: oe,
|
|
309
309
|
document: E
|
|
310
310
|
};
|
|
311
311
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/components/AppSidebar.vue"],"names":[],"mappings":"AAqdA,OAAO,EAML,KAAK,mBAAmB,EACzB,MAAM,oBAAoB,CAAA;AAM3B,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC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
const e = /* @__PURE__ */ p(o, [["__scopeId", "data-v-
|
|
4
|
+
const e = /* @__PURE__ */ p(o, [["__scopeId", "data-v-e30bf25b"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|