@scalar/api-client 2.7.0 → 2.8.1
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 +67 -0
- package/README.md +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +4 -4
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +21 -22
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +4 -5
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +13 -14
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +0 -1
- package/dist/hooks/useClientConfig.d.ts +36 -42
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/hooks/useResponseBody.js +6 -6
- package/dist/layouts/App/create-api-client-app.d.ts +36 -36
- package/dist/layouts/Modal/create-api-client-modal.d.ts +72 -72
- package/dist/layouts/Web/create-api-client-web.d.ts +36 -36
- package/dist/libs/create-client.d.ts +39 -39
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +23 -23
- package/dist/libs/find-request.d.ts +2 -2
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +2 -2
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +27 -27
- package/dist/libs/send-request/create-request-operation.test.d.ts +2 -2
- package/dist/plugins/plugin-manager.d.ts +3 -3
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +3 -3
- package/dist/store/requests.d.ts +22 -22
- package/dist/store/store.d.ts +36 -36
- package/dist/store/workspace.d.ts +12 -12
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +2 -3
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +2 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +70 -71
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +1 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +8 -6
- 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/AuthSelector.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +31 -32
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +39 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +226 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +66 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +200 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +51 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +89 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue2.js +4 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +46 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +85 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts +43 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +193 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue2.js +4 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue2.js +62 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts +8 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.js +9 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.js +12 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.js +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts +3 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.js +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts +11 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.js +32 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/index.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts +20 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +98 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +47 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +182 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts +12 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +88 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.js +36 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts +13 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.js +14 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +64 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue2.js +41 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts +6 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.js +74 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.js +25 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts +11 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +52 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue3.js +5 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts +9 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +54 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts +23 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +88 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +41 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.js +61 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts +5 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.js +18 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts +4 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.js +12 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts +20 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.js +127 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts +17 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.js +16 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/index.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +31 -32
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +13 -14
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +5 -6
- package/package.json +39 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as z, useId as K, ref as g, computed as f, createBlock as V, openBlock as u, withCtx as
|
|
2
|
-
import { useModal as
|
|
1
|
+
import { defineComponent as z, useId as K, ref as g, computed as f, createBlock as V, openBlock as u, withCtx as r, createVNode as m, renderSlot as j, unref as s, createElementVNode as i, createElementBlock as h, Fragment as x, createTextVNode as k, toDisplayString as y, createCommentVNode as D, withModifiers as Y, normalizeClass as F } from "vue";
|
|
2
|
+
import { useModal as H, ScalarComboboxMultiselect as J, ScalarButton as P, ScalarListboxCheckbox as W, ScalarIconButton as G } from "@scalar/components";
|
|
3
3
|
import { safeLocalStorage as Q, CLIENT_LS_KEYS as X } from "@scalar/helpers/object/local-storage";
|
|
4
4
|
import { ScalarIconCaretDown as Z, ScalarIconTrash as _ } from "@scalar/icons";
|
|
5
5
|
import { isDefined as ee } from "@scalar/oas-utils/helpers";
|
|
@@ -7,7 +7,7 @@ import te from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
|
7
7
|
import { useWorkspace as oe } from "../../../../store/store.js";
|
|
8
8
|
import le from "./DeleteRequestAuthModal.vue.js";
|
|
9
9
|
import ne from "./RequestAuthDataTable.vue.js";
|
|
10
|
-
import { getSecurityRequirements as se, formatComplexScheme as
|
|
10
|
+
import { getSecurityRequirements as se, formatComplexScheme as re, formatScheme as ie, getSchemeOptions as ae } from "../../libs/auth.js";
|
|
11
11
|
const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1 truncate" }, Ce = /* @__PURE__ */ z({
|
|
12
12
|
__name: "RequestAuth",
|
|
13
13
|
props: {
|
|
@@ -30,7 +30,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
30
30
|
securitySchemeMutators: $,
|
|
31
31
|
requestMutators: B,
|
|
32
32
|
collectionMutators: I
|
|
33
|
-
} = oe(), A = K(), v = g(null), p =
|
|
33
|
+
} = oe(), A = K(), v = g(null), p = H(), S = g(
|
|
34
34
|
null
|
|
35
35
|
), R = g(!1), q = f(() => {
|
|
36
36
|
const t = se(n.operation, n.collection);
|
|
@@ -46,10 +46,10 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
46
46
|
}), a = f(
|
|
47
47
|
() => n.selectedSecuritySchemeUids.map((t) => {
|
|
48
48
|
if (Array.isArray(t))
|
|
49
|
-
return
|
|
49
|
+
return re(t, d);
|
|
50
50
|
const e = d[t ?? ""];
|
|
51
51
|
if (e)
|
|
52
|
-
return
|
|
52
|
+
return ie(e);
|
|
53
53
|
}).filter(ee)
|
|
54
54
|
);
|
|
55
55
|
function M(t) {
|
|
@@ -64,9 +64,9 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
64
64
|
);
|
|
65
65
|
l && o.push(l.uid);
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
w(o);
|
|
68
68
|
}
|
|
69
|
-
const
|
|
69
|
+
const w = (t) => {
|
|
70
70
|
if (n.collection.useCollectionSecurity) {
|
|
71
71
|
if (I.edit(n.collection.uid, "selectedSecuritySchemeUids", t), !n.persistAuth)
|
|
72
72
|
return;
|
|
@@ -77,7 +77,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
77
77
|
);
|
|
78
78
|
} else n.operation?.uid && B.edit(n.operation.uid, "selectedSecuritySchemeUids", t);
|
|
79
79
|
};
|
|
80
|
-
function
|
|
80
|
+
function O({ id: t, label: e }) {
|
|
81
81
|
S.value = { id: t, label: e }, p.show();
|
|
82
82
|
}
|
|
83
83
|
const T = (t) => {
|
|
@@ -87,7 +87,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
87
87
|
const l = t.split(",");
|
|
88
88
|
return l.length > 1 && Array.isArray(o) && l.length === o.length ? o.every((c) => !l.includes(c)) : o !== t;
|
|
89
89
|
});
|
|
90
|
-
|
|
90
|
+
w(e), v.value?.$el.focus(), p.hide();
|
|
91
91
|
}, U = f(
|
|
92
92
|
() => ae(
|
|
93
93
|
q.value.filteredRequirements,
|
|
@@ -104,64 +104,63 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
104
104
|
layout: t.layout,
|
|
105
105
|
"onUpdate:modelValue": e[4] || (e[4] = (o) => R.value = o)
|
|
106
106
|
}, {
|
|
107
|
-
title:
|
|
108
|
-
|
|
107
|
+
title: r(() => [
|
|
108
|
+
i("div", {
|
|
109
109
|
id: s(A),
|
|
110
110
|
class: "inline-flex items-center gap-0.5 leading-[20px]"
|
|
111
111
|
}, [
|
|
112
|
-
|
|
112
|
+
i("span", null, y(t.title), 1),
|
|
113
113
|
b.value ? (u(), h("span", {
|
|
114
114
|
key: 0,
|
|
115
|
-
class:
|
|
115
|
+
class: F(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": b.value.text === "Required" }]),
|
|
116
116
|
onClick: L
|
|
117
117
|
}, y(b.value.text), 3)) : D("", !0)
|
|
118
118
|
], 8, ce)
|
|
119
119
|
]),
|
|
120
|
-
actions:
|
|
121
|
-
|
|
122
|
-
m(s(
|
|
120
|
+
actions: r(() => [
|
|
121
|
+
i("div", ue, [
|
|
122
|
+
m(s(J), {
|
|
123
123
|
class: "w-72 text-xs",
|
|
124
124
|
modelValue: a.value,
|
|
125
125
|
multiple: "",
|
|
126
126
|
options: U.value,
|
|
127
127
|
placement: "bottom-end",
|
|
128
128
|
teleport: "",
|
|
129
|
-
onDelete:
|
|
129
|
+
onDelete: O,
|
|
130
130
|
"onUpdate:modelValue": M
|
|
131
131
|
}, {
|
|
132
|
-
option:
|
|
133
|
-
m(s(
|
|
132
|
+
option: r(({ option: o, selected: l }) => [
|
|
133
|
+
m(s(W), {
|
|
134
134
|
multiselect: "",
|
|
135
135
|
selected: l
|
|
136
136
|
}, null, 8, ["selected"]),
|
|
137
|
-
|
|
137
|
+
i("div", me, y(o.label), 1),
|
|
138
138
|
o.isDeletable ?? !t.isReadOnly ? (u(), V(s(G), {
|
|
139
139
|
key: 0,
|
|
140
140
|
class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
|
|
141
141
|
icon: s(_),
|
|
142
142
|
label: `Delete ${o.label}`,
|
|
143
143
|
size: "xs",
|
|
144
|
-
onClick:
|
|
144
|
+
onClick: Y((c) => O(o), ["stop"])
|
|
145
145
|
}, null, 8, ["icon", "label", "onClick"])) : D("", !0)
|
|
146
146
|
]),
|
|
147
|
-
default:
|
|
148
|
-
m(s(
|
|
147
|
+
default: r(() => [
|
|
148
|
+
m(s(P), {
|
|
149
149
|
ref_key: "comboboxButtonRef",
|
|
150
150
|
ref: v,
|
|
151
151
|
"aria-describedby": s(A),
|
|
152
|
-
class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
|
|
153
|
-
fullWidth: "",
|
|
152
|
+
class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
|
|
154
153
|
variant: "ghost"
|
|
155
154
|
}, {
|
|
156
|
-
default:
|
|
155
|
+
default: r(() => [
|
|
157
156
|
a.value.length === 1 ? (u(), h(x, { key: 0 }, [
|
|
158
|
-
e[5] || (e[5] =
|
|
157
|
+
e[5] || (e[5] = i("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
|
|
159
158
|
k(" " + y(a.value[0]?.label), 1)
|
|
160
159
|
], 64)) : a.value.length > 1 ? (u(), h(x, { key: 1 }, [
|
|
161
160
|
e[6] || (e[6] = k(" Multiple ")),
|
|
162
|
-
e[7] || (e[7] =
|
|
161
|
+
e[7] || (e[7] = i("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
163
162
|
], 64)) : (u(), h(x, { key: 2 }, [
|
|
164
|
-
e[8] || (e[8] =
|
|
163
|
+
e[8] || (e[8] = i("span", { class: "sr-only" }, "Select", -1)),
|
|
165
164
|
e[9] || (e[9] = k(" Auth Type "))
|
|
166
165
|
], 64)),
|
|
167
166
|
m(s(Z), {
|
|
@@ -176,7 +175,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
176
175
|
}, 8, ["modelValue", "options"])
|
|
177
176
|
])
|
|
178
177
|
]),
|
|
179
|
-
default:
|
|
178
|
+
default: r(() => [
|
|
180
179
|
m(ne, {
|
|
181
180
|
collection: t.collection,
|
|
182
181
|
envVariables: t.envVariables,
|
|
@@ -189,7 +188,7 @@ const ce = ["id"], ue = { class: "flex flex-1" }, me = { class: "min-w-0 flex-1
|
|
|
189
188
|
onActiveSchemes: e[0] || (e[0] = (o) => C("activeSchemes", o)),
|
|
190
189
|
onAuthorized: e[1] || (e[1] = (o) => C("authorized"))
|
|
191
190
|
}, {
|
|
192
|
-
"oauth-actions":
|
|
191
|
+
"oauth-actions": r(() => [
|
|
193
192
|
j(t.$slots, "oauth-actions", {}, void 0, !0)
|
|
194
193
|
]),
|
|
195
194
|
_: 3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAqoBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAarE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AA48BJ,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBody.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fac9ef96"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EAEd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAOrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,YAAY,CAAA;CAC1B,CAAC;;AAkYF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestCodeExample.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2891f052"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as $, computed as a, ref as E, createElementBlock as B, openBlock as y, createVNode as i, withCtx as c, createElementVNode as x, createBlock as K, unref as u, toDisplayString as V, createTextVNode as H } from "vue";
|
|
2
2
|
import { ScalarCodeBlock as U, ScalarCombobox as j, ScalarButton as D, ScalarIcon as N } from "@scalar/components";
|
|
3
3
|
import { snippetz as T } from "@scalar/snippetz";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { useWorkspace as
|
|
4
|
+
import z from "../../../components/DataTable/DataTable.vue.js";
|
|
5
|
+
import I from "../../../components/DataTable/DataTableRow.vue.js";
|
|
6
|
+
import O from "../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
7
|
+
import R from "../../Components/CodeSnippet/CodeSnippet.vue.js";
|
|
8
|
+
import { useWorkspace as W } from "../../../store/store.js";
|
|
9
9
|
const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-1 flex items-center justify-center overflow-hidden border-t" }, Z = /* @__PURE__ */ $({
|
|
10
10
|
__name: "RequestCodeExample",
|
|
11
11
|
props: {
|
|
@@ -17,7 +17,7 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
17
17
|
environment: {}
|
|
18
18
|
},
|
|
19
19
|
setup(n) {
|
|
20
|
-
const { securitySchemes: b, workspaceMutators:
|
|
20
|
+
const { securitySchemes: b, workspaceMutators: S } = W(), f = a(() => m.value.targetKey === "custom" && d.value?.some(
|
|
21
21
|
(t) => t.lang === m.value.clientKey
|
|
22
22
|
) ? m.value : {
|
|
23
23
|
targetKey: n.workspace.selectedHttpClient?.targetKey ?? "js",
|
|
@@ -32,7 +32,7 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
32
32
|
targetKey: n.workspace.selectedHttpClient?.targetKey ?? "js",
|
|
33
33
|
clientKey: n.workspace.selectedHttpClient?.clientKey ?? "fetch"
|
|
34
34
|
}
|
|
35
|
-
),
|
|
35
|
+
), h = a(() => (n.operation.selectedSecuritySchemeUids || n.collection.selectedSecuritySchemeUids || []).flat().map((t) => b[t]).filter((t) => !!t)), v = a(() => {
|
|
36
36
|
const e = {}, t = T().clients().map((l) => ({
|
|
37
37
|
label: l.title,
|
|
38
38
|
options: l.clients.map((p) => (e[`${l.key},${p.client}`] = p.title, {
|
|
@@ -84,7 +84,7 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
84
84
|
!o || !r || (m.value = {
|
|
85
85
|
targetKey: o,
|
|
86
86
|
clientKey: r
|
|
87
|
-
}, o !== "custom" &&
|
|
87
|
+
}, o !== "custom" && S.edit(n.workspace.uid, "selectedHttpClient", {
|
|
88
88
|
targetKey: o,
|
|
89
89
|
clientKey: r
|
|
90
90
|
}));
|
|
@@ -95,7 +95,7 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
95
95
|
return d.value?.find((o) => o.lang === e)?.source;
|
|
96
96
|
});
|
|
97
97
|
return (e, t) => (y(), B("div", q, [
|
|
98
|
-
i(
|
|
98
|
+
i(O, {
|
|
99
99
|
class: "group/preview w-full border-b-0",
|
|
100
100
|
defaultOpen: !1
|
|
101
101
|
}, {
|
|
@@ -113,7 +113,6 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
113
113
|
default: c(() => [
|
|
114
114
|
i(u(D), {
|
|
115
115
|
class: "text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-1.25 py-0.75 font-normal",
|
|
116
|
-
fullWidth: "",
|
|
117
116
|
variant: "ghost"
|
|
118
117
|
}, {
|
|
119
118
|
default: c(() => [
|
|
@@ -131,24 +130,24 @@ const q = { class: "w-full" }, M = { class: "flex flex-1" }, P = { class: "bg-b-
|
|
|
131
130
|
])
|
|
132
131
|
]),
|
|
133
132
|
default: c(() => [
|
|
134
|
-
i(
|
|
133
|
+
i(z, {
|
|
135
134
|
columns: [""],
|
|
136
135
|
presentational: ""
|
|
137
136
|
}, {
|
|
138
137
|
default: c(() => [
|
|
139
|
-
i(
|
|
138
|
+
i(I, null, {
|
|
140
139
|
default: c(() => [
|
|
141
140
|
x("div", P, [
|
|
142
141
|
g.value ? (y(), K(u(U), {
|
|
143
142
|
key: 0,
|
|
144
143
|
content: g.value,
|
|
145
144
|
lang: s.value.id.split(",")[1] ?? "plaintext"
|
|
146
|
-
}, null, 8, ["content", "lang"])) : (y(), K(u(
|
|
145
|
+
}, null, 8, ["content", "lang"])) : (y(), K(u(R), {
|
|
147
146
|
key: 1,
|
|
148
147
|
client: k.value,
|
|
149
148
|
example: e.example,
|
|
150
149
|
operation: e.operation,
|
|
151
|
-
securitySchemes:
|
|
150
|
+
securitySchemes: h.value,
|
|
152
151
|
server: e.server,
|
|
153
152
|
target: C.value,
|
|
154
153
|
environment: e.environment
|
|
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
33
33
|
}));
|
|
34
34
|
}, f = (o) => {
|
|
35
35
|
o?.createNew && g.name === "request" && d();
|
|
36
|
-
}, v = "2.
|
|
36
|
+
}, v = "2.8.1";
|
|
37
37
|
return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (o, e) => (i(), l("div", W, [
|
|
38
38
|
s("div", {
|
|
39
39
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"WorkspaceDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/components/WorkspaceDropdown.vue"],"names":[],"mappings":";AA6tBA,wBAKG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, computed as L, ref as
|
|
1
|
+
import { defineComponent as A, computed as L, ref as W, createElementBlock as y, openBlock as f, createElementVNode as l, createVNode as s, unref as e, withCtx as n, toDisplayString as C, Fragment as V, renderList as I, createBlock as D, withModifiers as v, createCommentVNode as O } from "vue";
|
|
2
2
|
import { useModal as S, ScalarDropdown as $, ScalarButton as N, ScalarDropdownItem as h, ScalarListboxCheckbox as U, ScalarIcon as k, ScalarDropdownDivider as q, ScalarModal as z } from "@scalar/components";
|
|
3
3
|
import { useRouter as F } from "vue-router";
|
|
4
4
|
import P from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
@@ -15,7 +15,7 @@ const J = { class: "flex w-[inherit] items-center text-base" }, K = { class: "m-
|
|
|
15
15
|
workspace: o
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
}, x = L(() => Object.keys(r).length === 1), j = () => E.commandPalette.emit({ commandName: "Create Workspace" }), d =
|
|
18
|
+
}, x = L(() => Object.keys(r).length === 1), j = () => E.commandPalette.emit({ commandName: "Create Workspace" }), d = W(""), i = W(""), u = S(), p = S(), g = (o) => {
|
|
19
19
|
const t = r[o];
|
|
20
20
|
t && (d.value = t.name, i.value = o, u.show());
|
|
21
21
|
}, B = (o) => {
|
|
@@ -42,14 +42,14 @@ const J = { class: "flex w-[inherit] items-center text-base" }, K = { class: "m-
|
|
|
42
42
|
l("div", J, [
|
|
43
43
|
s(e($), null, {
|
|
44
44
|
items: n(() => [
|
|
45
|
-
(f(!0), y(V, null, I(e(r), (a,
|
|
46
|
-
key:
|
|
45
|
+
(f(!0), y(V, null, I(e(r), (a, M) => (f(), D(e(h), {
|
|
46
|
+
key: M,
|
|
47
47
|
class: "group/item flex w-full items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",
|
|
48
48
|
onClick: v((m) => T(a.uid), ["stop"])
|
|
49
49
|
}, {
|
|
50
50
|
default: n(() => [
|
|
51
51
|
s(e(U), {
|
|
52
|
-
selected: e(c)?.uid ===
|
|
52
|
+
selected: e(c)?.uid === M
|
|
53
53
|
}, null, 8, ["selected"]),
|
|
54
54
|
l("span", X, C(a.name), 1),
|
|
55
55
|
s(e($), {
|
|
@@ -135,7 +135,6 @@ const J = { class: "flex w-[inherit] items-center text-base" }, K = { class: "m-
|
|
|
135
135
|
default: n(() => [
|
|
136
136
|
s(e(N), {
|
|
137
137
|
class: "text-c-1 hover:bg-b-2 line-clamp-1 h-full w-fit justify-start px-1.5 py-1.5 font-normal",
|
|
138
|
-
fullWidth: "",
|
|
139
138
|
variant: "ghost"
|
|
140
139
|
}, {
|
|
141
140
|
default: n(() => [
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.
|
|
21
|
+
"version": "2.8.1",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -184,6 +184,26 @@
|
|
|
184
184
|
"import": "./dist/v2/blocks/operation-code-sample/index.js",
|
|
185
185
|
"types": "./dist/v2/blocks/operation-code-sample/index.d.ts",
|
|
186
186
|
"default": "./dist/v2/blocks/operation-code-sample/index.js"
|
|
187
|
+
},
|
|
188
|
+
"./v2/blocks/scalar-address-bar-block": {
|
|
189
|
+
"import": "./dist/v2/blocks/scalar-address-bar-block/index.js",
|
|
190
|
+
"types": "./dist/v2/blocks/scalar-address-bar-block/index.d.ts",
|
|
191
|
+
"default": "./dist/v2/blocks/scalar-address-bar-block/index.js"
|
|
192
|
+
},
|
|
193
|
+
"./v2/blocks/scalar-auth-selector-block": {
|
|
194
|
+
"import": "./dist/v2/blocks/scalar-auth-selector-block/index.js",
|
|
195
|
+
"types": "./dist/v2/blocks/scalar-auth-selector-block/index.d.ts",
|
|
196
|
+
"default": "./dist/v2/blocks/scalar-auth-selector-block/index.js"
|
|
197
|
+
},
|
|
198
|
+
"./v2/blocks/scalar-operation-block": {
|
|
199
|
+
"import": "./dist/v2/blocks/scalar-operation-block/index.js",
|
|
200
|
+
"types": "./dist/v2/blocks/scalar-operation-block/index.d.ts",
|
|
201
|
+
"default": "./dist/v2/blocks/scalar-operation-block/index.js"
|
|
202
|
+
},
|
|
203
|
+
"./v2/blocks/scalar-response-block": {
|
|
204
|
+
"import": "./dist/v2/blocks/scalar-response-block/index.js",
|
|
205
|
+
"types": "./dist/v2/blocks/scalar-response-block/index.d.ts",
|
|
206
|
+
"default": "./dist/v2/blocks/scalar-response-block/index.js"
|
|
187
207
|
}
|
|
188
208
|
},
|
|
189
209
|
"files": [
|
|
@@ -205,31 +225,31 @@
|
|
|
205
225
|
"pretty-bytes": "^6.1.1",
|
|
206
226
|
"pretty-ms": "^8.0.0",
|
|
207
227
|
"shell-quote": "^1.8.1",
|
|
208
|
-
"type-fest": "
|
|
228
|
+
"type-fest": "5.0.0",
|
|
209
229
|
"vue": "^3.5.17",
|
|
210
230
|
"vue-router": "^4.3.0",
|
|
211
231
|
"whatwg-mimetype": "^4.0.0",
|
|
212
232
|
"yaml": "2.8.0",
|
|
213
233
|
"zod": "4.1.11",
|
|
214
234
|
"@scalar/analytics-client": "1.0.0",
|
|
215
|
-
"@scalar/components": "0.14.40",
|
|
216
|
-
"@scalar/icons": "0.4.7",
|
|
217
|
-
"@scalar/helpers": "0.0.11",
|
|
218
235
|
"@scalar/draggable": "0.2.0",
|
|
219
|
-
"@scalar/
|
|
220
|
-
"@scalar/
|
|
221
|
-
"@scalar/
|
|
222
|
-
"@scalar/
|
|
223
|
-
"@scalar/
|
|
224
|
-
"@scalar/
|
|
225
|
-
"@scalar/
|
|
226
|
-
"@scalar/
|
|
227
|
-
"@scalar/
|
|
228
|
-
"@scalar/openapi
|
|
236
|
+
"@scalar/components": "0.15.1",
|
|
237
|
+
"@scalar/helpers": "0.0.12",
|
|
238
|
+
"@scalar/icons": "0.4.7",
|
|
239
|
+
"@scalar/import": "0.4.31",
|
|
240
|
+
"@scalar/json-magic": "0.6.1",
|
|
241
|
+
"@scalar/object-utils": "1.2.8",
|
|
242
|
+
"@scalar/oas-utils": "0.5.2",
|
|
243
|
+
"@scalar/openapi-parser": "0.22.3",
|
|
244
|
+
"@scalar/themes": "0.13.22",
|
|
245
|
+
"@scalar/postman-to-openapi": "0.3.40",
|
|
246
|
+
"@scalar/types": "0.3.2",
|
|
247
|
+
"@scalar/snippetz": "0.5.1",
|
|
248
|
+
"@scalar/openapi-types": "0.5.0",
|
|
229
249
|
"@scalar/use-hooks": "0.2.5",
|
|
230
|
-
"@scalar/types": "0.3.0",
|
|
231
250
|
"@scalar/use-toasts": "0.8.0",
|
|
232
|
-
"@scalar/workspace-store": "0.
|
|
251
|
+
"@scalar/workspace-store": "0.17.1",
|
|
252
|
+
"@scalar/use-codemirror": "0.12.43"
|
|
233
253
|
},
|
|
234
254
|
"devDependencies": {
|
|
235
255
|
"@tailwindcss/vite": "^4.1.7",
|
|
@@ -242,8 +262,8 @@
|
|
|
242
262
|
"vite": "7.1.5",
|
|
243
263
|
"vite-svg-loader": "^5.1.0",
|
|
244
264
|
"vitest": "3.2.4",
|
|
245
|
-
"@scalar/
|
|
246
|
-
"@scalar/
|
|
265
|
+
"@scalar/build-tooling": "0.2.7",
|
|
266
|
+
"@scalar/galaxy": "0.5.9"
|
|
247
267
|
},
|
|
248
268
|
"scripts": {
|
|
249
269
|
"build": "scalar-build-vite",
|