@scalar/api-reference 1.25.69 → 1.25.71
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 +33 -0
- package/dist/browser/standalone.js +10502 -10518
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +1 -1
- package/dist/components/Content/Content.vue.d.ts +4 -2
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +1 -1
- package/dist/components/Content/Content.vue2.js +33 -33
- package/dist/components/Content/Lazy/Loading.vue.d.ts +3 -3
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.js +27 -27
- package/dist/components/Content/Tag/TagList.vue.d.ts +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +33 -35
- package/dist/components/Content/Webhooks/index.d.ts +1 -1
- package/dist/components/Content/Webhooks/index.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/{Content/Operation/EndpointPath.vue.d.ts → OperationPath.vue.d.ts} +1 -1
- package/dist/components/OperationPath.vue.d.ts.map +1 -0
- package/dist/components/OperationPath.vue.js +7 -0
- package/dist/components/OperationPath.vue2.js +23 -0
- package/dist/components/Section/Section.vue2.js +4 -4
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue.js +1 -1
- package/dist/{components/Content/Operation/EndpointDetailsCard.vue.d.ts → features/Operation/Operation.vue.d.ts} +6 -2
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -0
- package/dist/features/Operation/Operation.vue.js +25 -0
- package/dist/features/Operation/Operation.vue2.js +4 -0
- package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -0
- package/dist/features/Operation/Webhooks.vue.js +7 -0
- package/dist/{components/Content/Webhooks → features/Operation}/Webhooks.vue2.js +12 -12
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -0
- package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue.js +2 -2
- package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue2.js +8 -8
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +7 -0
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/OperationParameters.vue.js +71 -0
- package/dist/features/Operation/components/OperationParameters.vue2.js +4 -0
- package/dist/{components/Content/Operation/EndpointDetails.vue.d.ts → features/Operation/components/OperationResponses.vue.d.ts} +5 -2
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/OperationResponses.vue.js +25 -0
- package/dist/features/Operation/components/OperationResponses.vue2.js +4 -0
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/ParameterHeaders.vue.js +7 -0
- package/dist/{components/Content/Operation → features/Operation/components}/ParameterHeaders.vue2.js +8 -8
- package/dist/{components/Content/Operation/Parameters.vue.d.ts → features/Operation/components/ParameterList.vue.d.ts} +3 -3
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/ParameterList.vue.js +7 -0
- package/dist/{components/Content/Operation/Parameters.vue2.js → features/Operation/components/ParameterList.vue2.js} +7 -7
- package/dist/{components/Content/Operation/ParameterItem.vue.d.ts → features/Operation/components/ParameterListItem.vue.d.ts} +3 -3
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/ParameterListItem.vue.js +7 -0
- package/dist/{components/Content/Operation/ParameterItem.vue2.js → features/Operation/components/ParameterListItem.vue2.js} +20 -20
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -0
- package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue.js +1 -1
- package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue2.js +1 -1
- package/dist/features/Operation/components/RequestBodyPropertiesChild.vue.d.ts.map +1 -0
- package/dist/features/Operation/components/Webhook.vue.d.ts.map +1 -0
- package/dist/{components/Content/Webhooks → features/Operation/components}/Webhook.vue.js +2 -2
- package/dist/features/Operation/components/Webhook.vue2.js +29 -0
- package/dist/{hooks → features/Operation/hooks}/useResponses.d.ts +1 -1
- package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -0
- package/dist/features/Operation/index.d.ts +3 -0
- package/dist/features/Operation/index.d.ts.map +1 -0
- package/dist/{components/Content/Operation/OperationAccordion.vue.d.ts → features/Operation/layouts/ClassicLayout.vue.d.ts} +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -0
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +7 -0
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -0
- package/dist/{components/Content/Operation/Operation.vue.d.ts → features/Operation/layouts/ModernLayout.vue.d.ts} +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -0
- package/dist/features/Operation/layouts/ModernLayout.vue.js +7 -0
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -0
- package/dist/features/Search/SearchButton.vue.js +2 -2
- package/dist/features/Search/SearchButton.vue2.js +1 -1
- package/dist/features/Search/useSearchIndex.js +8 -8
- package/dist/features/TestRequestButton/TestRequestButton.vue.d.ts.map +1 -0
- package/dist/features/TestRequestButton/TestRequestButton.vue.js +7 -0
- package/dist/{components/Content/Operation → features/TestRequestButton}/TestRequestButton.vue2.js +6 -6
- package/dist/features/TestRequestButton/index.d.ts +2 -0
- package/dist/features/TestRequestButton/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useOperation.d.ts +7 -10
- package/dist/hooks/useOperation.d.ts.map +1 -1
- package/dist/hooks/useOperation.js +13 -11
- package/dist/index.js +12 -14
- package/dist/legacy/components/SecurityScheme.vue2.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +11 -10
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.js +0 -88
- package/dist/components/Content/Operation/EndpointDetails.vue2.js +0 -4
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.js +0 -7
- package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +0 -67
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/EndpointPath.vue.js +0 -7
- package/dist/components/Content/Operation/EndpointPath.vue2.js +0 -23
- package/dist/components/Content/Operation/Operation.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/Operation.vue.js +0 -7
- package/dist/components/Content/Operation/Operation.vue2.js +0 -105
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +0 -7
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +0 -103
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/ParameterHeaders.vue.js +0 -7
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/ParameterItem.vue.js +0 -7
- package/dist/components/Content/Operation/Parameters.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/Parameters.vue.js +0 -7
- package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +0 -7
- package/dist/components/Content/Operation/index.d.ts +0 -3
- package/dist/components/Content/Operation/index.d.ts.map +0 -1
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +0 -1
- package/dist/components/Content/Webhooks/Webhook.vue2.js +0 -39
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +0 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.js +0 -7
- package/dist/hooks/useResponses.d.ts.map +0 -1
- /package/dist/{components/Content/Webhooks → features/Operation}/Webhooks.vue.d.ts +0 -0
- /package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue.d.ts +0 -0
- /package/dist/{components/Content/Operation → features/Operation/components}/ParameterHeaders.vue.d.ts +0 -0
- /package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue.d.ts +0 -0
- /package/dist/{components/Content/Operation → features/Operation/components}/RequestBodyPropertiesChild.vue.d.ts +0 -0
- /package/dist/{components/Content/Webhooks → features/Operation/components}/Webhook.vue.d.ts +0 -0
- /package/dist/{hooks → features/Operation/hooks}/useResponses.js +0 -0
- /package/dist/{components/Content/Operation → features/TestRequestButton}/TestRequestButton.vue.d.ts +0 -0
|
@@ -2,7 +2,7 @@ import o from "./ApiReferenceLayout.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ef17564c"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
|
@@ -183,7 +183,7 @@ const Pe = ["innerHTML"], Ue = { class: "references-header" }, ke = {
|
|
|
183
183
|
}, [
|
|
184
184
|
m(d(Ie), {
|
|
185
185
|
baseServerURL: e.configuration.baseServerURL,
|
|
186
|
-
layout: e.configuration.layout
|
|
186
|
+
layout: e.configuration.layout,
|
|
187
187
|
parsedSpec: e.parsedSpec,
|
|
188
188
|
proxy: e.configuration.proxy,
|
|
189
189
|
servers: e.configuration.servers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Server, Spec } from '@scalar/types/legacy';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
parsedSpec: Spec;
|
|
4
|
-
layout?: '
|
|
4
|
+
layout?: 'modern' | 'classic';
|
|
5
5
|
baseServerURL?: string;
|
|
6
6
|
servers?: Server[];
|
|
7
7
|
proxy?: string;
|
|
@@ -17,7 +17,9 @@ declare function __VLS_template(): {
|
|
|
17
17
|
rootEl: any;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
layout: "modern" | "classic";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
24
|
export default _default;
|
|
23
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsBJ,iBAAS,cAAc;WA6LT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAnPR,QAAQ,GAAG,SAAS;6EA0P/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import o from "./Content.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-48430611"]]);
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { defineComponent as M, computed as L, openBlock as
|
|
1
|
+
import { defineComponent as M, computed as L, openBlock as r, createElementBlock as o, Fragment as t, createStaticVNode as N, createElementVNode as k, renderSlot as p, createVNode as i, unref as s, createBlock as a, withCtx as U, normalizeClass as V, renderList as B, createCommentVNode as l } from "vue";
|
|
2
2
|
import A from "./Lazy/Loading.vue.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import E from "./Introduction/Introduction.vue.js";
|
|
5
5
|
import R from "../../features/BaseUrl/BaseUrl.vue.js";
|
|
6
6
|
import z from "./Authentication/Authentication.vue.js";
|
|
7
7
|
import F from "./ClientLibraries/ClientLibraries.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import G from "
|
|
8
|
+
import h from "./Tag/TagList.vue.js";
|
|
9
|
+
import G from "../../features/Operation/Webhooks.vue.js";
|
|
10
10
|
import I from "./Models/ModelsAccordion.vue.js";
|
|
11
11
|
import W from "./Models/Models.vue.js";
|
|
12
12
|
import { useSidebar as j } from "../../hooks/useSidebar.js";
|
|
13
13
|
import { hasModels as q } from "../../helpers/hasModels.js";
|
|
14
|
-
import { getModels as
|
|
15
|
-
const D = { class: "narrow-references-container" },
|
|
14
|
+
import { getModels as g } from "../../helpers/getModels.js";
|
|
15
|
+
const D = { class: "narrow-references-container" }, re = /* @__PURE__ */ M({
|
|
16
16
|
__name: "Content",
|
|
17
17
|
props: {
|
|
18
18
|
parsedSpec: {},
|
|
19
|
-
layout: {},
|
|
19
|
+
layout: { default: "modern" },
|
|
20
20
|
baseServerURL: {},
|
|
21
21
|
servers: {},
|
|
22
22
|
proxy: {}
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
() =>
|
|
24
|
+
setup(b) {
|
|
25
|
+
const n = b, { hideModels: w } = j(), C = L(
|
|
26
|
+
() => n.layout === "classic" ? "after" : "aside"
|
|
27
27
|
);
|
|
28
28
|
return (e, c) => {
|
|
29
29
|
var m, u, f, v;
|
|
30
|
-
return
|
|
31
|
-
c[0] || (c[0] = N('<div class="section-flare" data-v-
|
|
32
|
-
|
|
30
|
+
return r(), o(t, null, [
|
|
31
|
+
c[0] || (c[0] = N('<div class="section-flare" data-v-48430611><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div></div>', 1)),
|
|
32
|
+
k("div", D, [
|
|
33
33
|
p(e.$slots, "start", {}, void 0, !0),
|
|
34
|
-
i(
|
|
34
|
+
i(s(A), {
|
|
35
35
|
layout: e.layout,
|
|
36
36
|
parsedSpec: e.parsedSpec
|
|
37
37
|
}, null, 8, ["layout", "parsedSpec"]),
|
|
38
|
-
(u = (m = e.parsedSpec) == null ? void 0 : m.info) != null && u.title || (v = (f = e.parsedSpec) == null ? void 0 : f.info) != null && v.description ? (
|
|
38
|
+
(u = (m = e.parsedSpec) == null ? void 0 : m.info) != null && u.title || (v = (f = e.parsedSpec) == null ? void 0 : f.info) != null && v.description ? (r(), a(s(E), {
|
|
39
39
|
key: 0,
|
|
40
40
|
info: e.parsedSpec.info,
|
|
41
41
|
parsedSpec: e.parsedSpec
|
|
42
42
|
}, {
|
|
43
43
|
[C.value]: U(() => [
|
|
44
|
-
|
|
45
|
-
class: V(["introduction-card", { "introduction-card-row": e.layout === "
|
|
44
|
+
k("div", {
|
|
45
|
+
class: V(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
|
|
46
46
|
}, [
|
|
47
|
-
i(
|
|
47
|
+
i(s(R), {
|
|
48
48
|
class: "introduction-card-item",
|
|
49
49
|
defaultServerUrl: e.baseServerURL,
|
|
50
|
-
servers:
|
|
50
|
+
servers: n.servers,
|
|
51
51
|
specification: e.parsedSpec
|
|
52
52
|
}, null, 8, ["defaultServerUrl", "servers", "specification"]),
|
|
53
|
-
i(
|
|
53
|
+
i(s(z), {
|
|
54
54
|
class: "introduction-card-item",
|
|
55
55
|
parsedSpec: e.parsedSpec,
|
|
56
56
|
proxy: e.proxy
|
|
57
57
|
}, null, 8, ["parsedSpec", "proxy"]),
|
|
58
|
-
i(
|
|
58
|
+
i(s(F), { class: "introduction-card-item" })
|
|
59
59
|
], 2)
|
|
60
60
|
]),
|
|
61
61
|
_: 2
|
|
62
62
|
}, 1032, ["info", "parsedSpec"])) : p(e.$slots, "empty-state", { key: 1 }, void 0, !0),
|
|
63
|
-
e.parsedSpec.tags ? (
|
|
64
|
-
e.parsedSpec["x-tagGroups"] ? (
|
|
63
|
+
e.parsedSpec.tags ? (r(), o(t, { key: 2 }, [
|
|
64
|
+
e.parsedSpec["x-tagGroups"] ? (r(!0), o(t, { key: 0 }, B(e.parsedSpec["x-tagGroups"], (S) => (r(), a(s(h), {
|
|
65
65
|
key: S.name,
|
|
66
66
|
layout: e.layout,
|
|
67
67
|
spec: e.parsedSpec,
|
|
@@ -69,26 +69,26 @@ const D = { class: "narrow-references-container" }, se = /* @__PURE__ */ M({
|
|
|
69
69
|
var y;
|
|
70
70
|
return (y = e.parsedSpec.tags) == null ? void 0 : y.find(($) => $.name === d);
|
|
71
71
|
}).filter((d) => !!d)
|
|
72
|
-
}, null, 8, ["layout", "spec", "tags"]))), 128)) : (
|
|
72
|
+
}, null, 8, ["layout", "spec", "tags"]))), 128)) : (r(), a(s(h), {
|
|
73
73
|
key: 1,
|
|
74
74
|
layout: e.layout,
|
|
75
75
|
spec: e.parsedSpec,
|
|
76
76
|
tags: e.parsedSpec.tags
|
|
77
77
|
}, null, 8, ["layout", "spec", "tags"]))
|
|
78
|
-
], 64)) :
|
|
79
|
-
e.parsedSpec.webhooks ? (
|
|
78
|
+
], 64)) : l("", !0),
|
|
79
|
+
e.parsedSpec.webhooks ? (r(), a(s(G), {
|
|
80
80
|
key: 3,
|
|
81
81
|
webhooks: e.parsedSpec.webhooks
|
|
82
|
-
}, null, 8, ["webhooks"])) :
|
|
83
|
-
|
|
84
|
-
e.layout === "
|
|
82
|
+
}, null, 8, ["webhooks"])) : l("", !0),
|
|
83
|
+
s(q)(e.parsedSpec) && !s(w) ? (r(), o(t, { key: 4 }, [
|
|
84
|
+
e.layout === "classic" ? (r(), a(s(I), {
|
|
85
85
|
key: 0,
|
|
86
|
-
schemas:
|
|
87
|
-
}, null, 8, ["schemas"])) : (
|
|
86
|
+
schemas: s(g)(e.parsedSpec)
|
|
87
|
+
}, null, 8, ["schemas"])) : (r(), a(s(W), {
|
|
88
88
|
key: 1,
|
|
89
|
-
schemas:
|
|
89
|
+
schemas: s(g)(e.parsedSpec)
|
|
90
90
|
}, null, 8, ["schemas"]))
|
|
91
|
-
], 64)) :
|
|
91
|
+
], 64)) : l("", !0),
|
|
92
92
|
p(e.$slots, "end", {}, void 0, !0)
|
|
93
93
|
])
|
|
94
94
|
], 64);
|
|
@@ -96,5 +96,5 @@ const D = { class: "narrow-references-container" }, se = /* @__PURE__ */ M({
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
export {
|
|
99
|
-
|
|
99
|
+
re as default
|
|
100
100
|
};
|
|
@@ -7,17 +7,17 @@ import type { Spec } from '@scalar/types/legacy';
|
|
|
7
7
|
* TODO list
|
|
8
8
|
* - only works on first load, but we will use this when
|
|
9
9
|
* hitting endpoint links in V2
|
|
10
|
-
* - only works for default layout, add
|
|
10
|
+
* - only works for default layout, add classic (if we need)
|
|
11
11
|
* - code is ripe for refactor as it is duplicated from content and models
|
|
12
12
|
* - need to handle case of last operation/model
|
|
13
13
|
* - need to find an event for codemirror loaded, currently using timeout for models
|
|
14
14
|
*/
|
|
15
15
|
type __VLS_Props = {
|
|
16
|
-
layout?: '
|
|
16
|
+
layout?: 'modern' | 'classic';
|
|
17
17
|
parsedSpec: Spec;
|
|
18
18
|
};
|
|
19
19
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
-
layout: "
|
|
20
|
+
layout: "modern" | "classic";
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
22
|
export default _default;
|
|
23
23
|
//# sourceMappingURL=Loading.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EACV,IAAI,EAGL,MAAM,sBAAsB,CAAA;AAkB7B;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;;YAFS,QAAQ,GAAG,SAAS;;AAqQjC,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as D, ref as v, watch as E, onMounted as K, withDirectives as M, openBlock as n, createElementBlock as f, normalizeClass as j, Fragment as g, renderList as k, createBlock as m, unref as o, withCtx as p, createCommentVNode as w, createVNode as _, createTextVNode as A, toDisplayString as F, vShow as H } from "vue";
|
|
2
2
|
import { lazyBus as P } from "./lazyBus.js";
|
|
3
3
|
import q from "../Tag/Tag.vue.js";
|
|
4
|
-
import G from "
|
|
4
|
+
import G from "../../../features/Operation/Operation.vue.js";
|
|
5
5
|
import J from "../../Section/SectionContainer.vue.js";
|
|
6
6
|
import Q from "../../Section/Section.vue.js";
|
|
7
7
|
import R from "../../Section/SectionContent.vue.js";
|
|
@@ -11,15 +11,15 @@ import Y from "../Schema/Schema.vue.js";
|
|
|
11
11
|
import { getModels as h } from "../../../helpers/getModels.js";
|
|
12
12
|
import { scrollToId as x } from "../../../helpers/scrollToId.js";
|
|
13
13
|
import { useNavState as Z } from "../../../hooks/useNavState.js";
|
|
14
|
-
const fe = /* @__PURE__ */
|
|
14
|
+
const fe = /* @__PURE__ */ D({
|
|
15
15
|
__name: "Loading",
|
|
16
16
|
props: {
|
|
17
|
-
layout: { default: "
|
|
17
|
+
layout: { default: "modern" },
|
|
18
18
|
parsedSpec: {}
|
|
19
19
|
},
|
|
20
20
|
setup(L) {
|
|
21
|
-
const i = L,
|
|
22
|
-
|
|
21
|
+
const i = L, T = v(!1), S = v([]), y = v([]), { getModelId: V, getSectionId: z, getTagId: B, hash: a, isIntersectionEnabled: I } = Z(), C = v(i.layout !== "classic" && a.value);
|
|
22
|
+
E(
|
|
23
23
|
() => {
|
|
24
24
|
var r;
|
|
25
25
|
return (r = i.parsedSpec.tags) == null ? void 0 : r.length;
|
|
@@ -28,21 +28,21 @@ const fe = /* @__PURE__ */ E({
|
|
|
28
28
|
var e, u;
|
|
29
29
|
if (!a.value || typeof r != "number" || !i.parsedSpec.tags)
|
|
30
30
|
return;
|
|
31
|
-
const
|
|
32
|
-
if (
|
|
31
|
+
const s = z();
|
|
32
|
+
if (s.startsWith("tag")) {
|
|
33
33
|
let t = 0;
|
|
34
34
|
const d = ((e = i.parsedSpec.tags) == null ? void 0 : e.findIndex(
|
|
35
|
-
(b) => B(b) ===
|
|
36
|
-
)) ?? 0,
|
|
37
|
-
if ((
|
|
38
|
-
const b =
|
|
35
|
+
(b) => B(b) === s
|
|
36
|
+
)) ?? 0, l = a.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
|
|
37
|
+
if ((l == null ? void 0 : l.length) === 4) {
|
|
38
|
+
const b = l[2], O = "/" + l[3];
|
|
39
39
|
t = (u = i.parsedSpec.tags[d]) == null ? void 0 : u.operations.findIndex(
|
|
40
|
-
({ httpVerb: W, path:
|
|
40
|
+
({ httpVerb: W, path: $ }) => b === W && O === $
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
const c = i.parsedSpec.tags[d];
|
|
44
44
|
if (!c) return;
|
|
45
|
-
c.name !== "default" && (
|
|
45
|
+
c.name !== "default" && (T.value = s !== a.value && s.startsWith("tag")), S.value.push({
|
|
46
46
|
...c,
|
|
47
47
|
lazyOperations: c.operations.slice(
|
|
48
48
|
t,
|
|
@@ -50,25 +50,25 @@ const fe = /* @__PURE__ */ E({
|
|
|
50
50
|
)
|
|
51
51
|
});
|
|
52
52
|
} else if (a.value.startsWith("model")) {
|
|
53
|
-
const t = Object.keys(h(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"),
|
|
54
|
-
if (
|
|
55
|
-
y.value = t.slice(
|
|
53
|
+
const t = Object.keys(h(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"), l = a.value === "models" ? 0 : t.findIndex((c) => c.toLowerCase() === d);
|
|
54
|
+
if (l === -1) return;
|
|
55
|
+
y.value = t.slice(l, l + 3);
|
|
56
56
|
} else
|
|
57
57
|
typeof window < "u" && x(a.value), setTimeout(() => I.value = !0, 1e3);
|
|
58
58
|
},
|
|
59
59
|
{ immediate: !0 }
|
|
60
60
|
);
|
|
61
61
|
const N = P.on(({ id: r }) => {
|
|
62
|
-
const
|
|
63
|
-
!
|
|
64
|
-
typeof window < "u" && x(
|
|
62
|
+
const s = a.value;
|
|
63
|
+
!s || r !== s || (N(), setTimeout(() => {
|
|
64
|
+
typeof window < "u" && x(s), C.value = !1, setTimeout(() => I.value = !0, 1e3);
|
|
65
65
|
}, 300));
|
|
66
66
|
});
|
|
67
|
-
return
|
|
67
|
+
return K(() => {
|
|
68
68
|
a.value || setTimeout(() => I.value = !0, 1e3);
|
|
69
|
-
}), (r,
|
|
69
|
+
}), (r, s) => M((n(), f("div", {
|
|
70
70
|
class: j(["references-loading", {
|
|
71
|
-
"references-loading-hidden-tag":
|
|
71
|
+
"references-loading-hidden-tag": T.value,
|
|
72
72
|
"references-loading-top-spacer": S.value.length
|
|
73
73
|
}])
|
|
74
74
|
}, [
|
|
@@ -103,9 +103,9 @@ const fe = /* @__PURE__ */ E({
|
|
|
103
103
|
default: p(() => {
|
|
104
104
|
var t;
|
|
105
105
|
return [
|
|
106
|
-
|
|
106
|
+
_(o(U), { level: 2 }, {
|
|
107
107
|
default: p(() => [
|
|
108
|
-
|
|
108
|
+
_(o(X), {
|
|
109
109
|
id: o(V)(e)
|
|
110
110
|
}, {
|
|
111
111
|
default: p(() => {
|
|
@@ -119,7 +119,7 @@ const fe = /* @__PURE__ */ E({
|
|
|
119
119
|
]),
|
|
120
120
|
_: 2
|
|
121
121
|
}, 1024),
|
|
122
|
-
|
|
122
|
+
_(o(Y), {
|
|
123
123
|
name: e,
|
|
124
124
|
noncollapsible: "",
|
|
125
125
|
value: (t = o(h)(r.parsedSpec)) == null ? void 0 : t[e]
|
|
@@ -136,7 +136,7 @@ const fe = /* @__PURE__ */ E({
|
|
|
136
136
|
_: 1
|
|
137
137
|
})) : w("", !0)
|
|
138
138
|
], 2)), [
|
|
139
|
-
[H,
|
|
139
|
+
[H, C.value]
|
|
140
140
|
]);
|
|
141
141
|
}
|
|
142
142
|
});
|
|
@@ -2,7 +2,7 @@ import type { Spec, Tag as tagType } from '@scalar/types/legacy';
|
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
tags: tagType[];
|
|
4
4
|
spec: Spec;
|
|
5
|
-
layout?: '
|
|
5
|
+
layout?: 'modern' | 'classic';
|
|
6
6
|
};
|
|
7
7
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;;AAoGF,wBAMG"}
|
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, computed as g, openBlock as r, createElementBlock as u, Fragment as m, renderList as d, createBlock as i, unref as e, withCtx as n, resolveDynamicComponent as v, createVNode as I } from "vue";
|
|
2
2
|
import T from "./TagAccordion.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
const W = /* @__PURE__ */ I({
|
|
3
|
+
import $ from "./Tag.vue.js";
|
|
4
|
+
import p from "../Lazy/Lazy.vue2.js";
|
|
5
|
+
import b from "../../../features/Operation/Operation.vue.js";
|
|
6
|
+
import { useSidebar as B } from "../../../hooks/useSidebar.js";
|
|
7
|
+
import { useNavState as C } from "../../../hooks/useNavState.js";
|
|
8
|
+
const O = /* @__PURE__ */ z({
|
|
10
9
|
__name: "TagList",
|
|
11
10
|
props: {
|
|
12
11
|
tags: {},
|
|
13
12
|
spec: {},
|
|
14
13
|
layout: {}
|
|
15
14
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const
|
|
18
|
-
() =>
|
|
19
|
-
),
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
key: o(a)(e),
|
|
25
|
-
isLazy: o(z) && !o(h)[o(a)(e)]
|
|
15
|
+
setup(f) {
|
|
16
|
+
const c = f, { getOperationId: l, getTagId: a, hash: y } = C(), { collapsedSidebarItems: _ } = B(), L = g(
|
|
17
|
+
() => c.layout === "classic" ? T : $
|
|
18
|
+
), h = c.layout !== "classic" && !y.value.startsWith("model");
|
|
19
|
+
return (s, S) => (r(!0), u(m, null, d(s.tags, (t) => (r(), i(e(p), {
|
|
20
|
+
id: e(a)(t),
|
|
21
|
+
key: e(a)(t),
|
|
22
|
+
isLazy: e(h) && !e(_)[e(a)(t)]
|
|
26
23
|
}, {
|
|
27
|
-
default:
|
|
28
|
-
(
|
|
29
|
-
id:
|
|
30
|
-
spec:
|
|
31
|
-
tag:
|
|
24
|
+
default: n(() => [
|
|
25
|
+
(r(), i(v(L.value), {
|
|
26
|
+
id: e(a)(t),
|
|
27
|
+
spec: s.spec,
|
|
28
|
+
tag: t
|
|
32
29
|
}, {
|
|
33
|
-
default:
|
|
34
|
-
(
|
|
35
|
-
id:
|
|
36
|
-
key: `${
|
|
37
|
-
isLazy:
|
|
30
|
+
default: n(() => [
|
|
31
|
+
(r(!0), u(m, null, d(t.operations, (o, k) => (r(), i(e(p), {
|
|
32
|
+
id: e(l)(o, t),
|
|
33
|
+
key: `${o.httpVerb}-${o.operationId}`,
|
|
34
|
+
isLazy: k > 0
|
|
38
35
|
}, {
|
|
39
|
-
default:
|
|
40
|
-
(
|
|
41
|
-
id:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
default: n(() => [
|
|
37
|
+
I(e(b), {
|
|
38
|
+
id: e(l)(o, t),
|
|
39
|
+
layout: s.layout,
|
|
40
|
+
operation: o,
|
|
41
|
+
tag: t
|
|
42
|
+
}, null, 8, ["id", "layout", "operation", "tag"])
|
|
45
43
|
]),
|
|
46
44
|
_: 2
|
|
47
45
|
}, 1032, ["id", "isLazy"]))), 128))
|
|
@@ -54,5 +52,5 @@ const W = /* @__PURE__ */ I({
|
|
|
54
52
|
}
|
|
55
53
|
});
|
|
56
54
|
export {
|
|
57
|
-
|
|
55
|
+
O as default
|
|
58
56
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Webhooks } from '
|
|
1
|
+
export { default as Webhooks } from '../../../features/Operation/Webhooks.vue.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAyBzE,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -4,4 +4,4 @@ type __VLS_Props = {
|
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
6
6
|
export default _default;
|
|
7
|
-
//# sourceMappingURL=
|
|
7
|
+
//# sourceMappingURL=OperationPath.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationPath.vue.d.ts","sourceRoot":"","sources":["../../src/components/OperationPath.vue"],"names":[],"mappings":"AA0CA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;;AA4EF,wBAOG"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as d, computed as m, openBlock as e, createElementBlock as t, normalizeClass as h, Fragment as o, renderList as u, toDisplayString as r, createTextVNode as _ } from "vue";
|
|
2
|
+
const k = { key: 0 }, B = /* @__PURE__ */ d({
|
|
3
|
+
__name: "OperationPath",
|
|
4
|
+
props: {
|
|
5
|
+
path: {},
|
|
6
|
+
deprecated: { type: Boolean }
|
|
7
|
+
},
|
|
8
|
+
setup(s) {
|
|
9
|
+
const p = s, c = (a) => a.startsWith("{") && a.endsWith("}"), i = m(() => p.path.split(/({[^}]+})/));
|
|
10
|
+
return (a, y) => (e(), t("span", {
|
|
11
|
+
class: h(["operation-path", { deprecated: a.deprecated }])
|
|
12
|
+
}, [
|
|
13
|
+
(e(!0), t(o, null, u(i.value, (n, l) => (e(), t(o, { key: l }, [
|
|
14
|
+
c(n) ? (e(), t("em", k, r(n), 1)) : (e(), t(o, { key: 1 }, [
|
|
15
|
+
_(r(n), 1)
|
|
16
|
+
], 64))
|
|
17
|
+
], 64))), 128))
|
|
18
|
+
], 2));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
B as default
|
|
23
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as p, createBlock as u, withCtx as f, renderSlot as S } from "vue";
|
|
2
2
|
import w from "../IntersectionObserver.vue.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { useSidebar as b } from "../../hooks/useSidebar.js";
|
|
4
|
+
import { joinWithSlash as _ } from "../../helpers/joinWithSlash.js";
|
|
5
5
|
import { useNavState as v } from "../../hooks/useNavState.js";
|
|
6
6
|
const B = /* @__PURE__ */ m({
|
|
7
7
|
__name: "Section",
|
|
@@ -10,12 +10,12 @@ const B = /* @__PURE__ */ m({
|
|
|
10
10
|
label: {}
|
|
11
11
|
},
|
|
12
12
|
setup(s) {
|
|
13
|
-
const t = s, { getSectionId: r, hash: l, isIntersectionEnabled: d, pathRouting: i } = v(), { setCollapsedSidebarItem: c } =
|
|
13
|
+
const t = s, { getSectionId: r, hash: l, isIntersectionEnabled: d, pathRouting: i } = v(), { setCollapsedSidebarItem: c } = b();
|
|
14
14
|
function h() {
|
|
15
15
|
var n, a;
|
|
16
16
|
if (!t.label || !d.value) return;
|
|
17
17
|
const e = new URL(window.location.href), o = t.id ?? "";
|
|
18
|
-
i.value ? e.pathname =
|
|
18
|
+
i.value ? e.pathname = _(i.value.basePath, o) : e.hash = o, l.value = o, window.history.replaceState({}, "", e), ((n = t.id) != null && n.startsWith("model") || (a = t.id) != null && a.startsWith("webhook")) && c(r(t.id), !0);
|
|
19
19
|
}
|
|
20
20
|
return (e, o) => (p(), u(w, {
|
|
21
21
|
is: "section",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleRequest/ExampleRequest.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleRequest/ExampleRequest.vue"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAGtE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAA;AAI5E,KAAK,WAAW,GAAG;IACjB,UAAU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,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./ServerVariablesForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ o(r, [["__scopeId", "data-v-8cbce9ba"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
+
id?: string;
|
|
3
4
|
operation: TransformedOperation;
|
|
5
|
+
layout?: 'modern' | 'classic';
|
|
4
6
|
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
layout: "modern" | "classic";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
10
|
export default _default;
|
|
7
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=Operation.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,oBAAoB,CAAA;IAC/B,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;;YADS,QAAQ,GAAG,SAAS;;AAgFjC,wBAOG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as i, openBlock as e, createBlock as r } from "vue";
|
|
2
|
+
import a from "./layouts/ClassicLayout.vue.js";
|
|
3
|
+
import n from "./layouts/ModernLayout.vue.js";
|
|
4
|
+
const m = /* @__PURE__ */ i({
|
|
5
|
+
__name: "Operation",
|
|
6
|
+
props: {
|
|
7
|
+
id: {},
|
|
8
|
+
operation: {},
|
|
9
|
+
layout: { default: "modern" }
|
|
10
|
+
},
|
|
11
|
+
setup(t) {
|
|
12
|
+
return (o, p) => o.layout === "classic" ? (e(), r(a, {
|
|
13
|
+
key: 0,
|
|
14
|
+
id: o.id,
|
|
15
|
+
operation: o.operation
|
|
16
|
+
}, null, 8, ["id", "operation"])) : (e(), r(n, {
|
|
17
|
+
key: 1,
|
|
18
|
+
id: o.id,
|
|
19
|
+
operation: o.operation
|
|
20
|
+
}, null, 8, ["id", "operation"]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
m as default
|
|
25
|
+
};
|