@scalar/api-reference 1.24.29 → 1.24.31

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/browser/standalone.js +12408 -11944
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  6. package/dist/components/ApiReferenceLayout.vue2.js +37 -37
  7. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Operation/Operation.vue.js +2 -2
  9. package/dist/components/Content/Operation/Operation.vue2.js +52 -71
  10. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  12. package/dist/components/Content/Operation/OperationAccordion.vue2.js +12 -12
  13. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +2 -2
  15. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +13 -13
  16. package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
  17. package/dist/components/Sidebar/SidebarElement.vue2.js +14 -14
  18. package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -0
  19. package/dist/features/ExampleRequest/ExamplePicker.vue.js +7 -0
  20. package/dist/features/ExampleRequest/ExampleRequest.stories.d.ts.map +1 -0
  21. package/dist/{components/Content/Operation/CustomRequestExamples.vue.d.ts → features/ExampleRequest/ExampleRequest.vue.d.ts} +3 -3
  22. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -0
  23. package/dist/features/ExampleRequest/ExampleRequest.vue.js +7 -0
  24. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +246 -0
  25. package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -0
  26. package/dist/features/ExampleRequest/index.d.ts +3 -0
  27. package/dist/features/ExampleRequest/index.d.ts.map +1 -0
  28. package/dist/index.js +1 -1
  29. package/dist/style.css +1 -1
  30. package/package.json +7 -7
  31. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +0 -1
  32. package/dist/components/Content/Operation/CustomRequestExamples.vue.js +0 -7
  33. package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +0 -124
  34. package/dist/components/Content/Operation/ExamplePicker.vue.d.ts.map +0 -1
  35. package/dist/components/Content/Operation/ExamplePicker.vue.js +0 -7
  36. package/dist/components/Content/Operation/ExampleRequest.stories.d.ts.map +0 -1
  37. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts +0 -25
  38. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +0 -1
  39. package/dist/components/Content/Operation/ExampleRequest.vue.js +0 -7
  40. package/dist/components/Content/Operation/ExampleRequest.vue2.js +0 -188
  41. package/dist/components/Content/Operation/TextSelect.vue.d.ts.map +0 -1
  42. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExamplePicker.vue.d.ts +0 -0
  43. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExamplePicker.vue2.js +0 -0
  44. /package/dist/{components/Content/Operation → features/ExampleRequest}/ExampleRequest.stories.d.ts +0 -0
  45. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue.d.ts +0 -0
  46. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue.js +0 -0
  47. /package/dist/{components/Content/Operation → features/ExampleRequest}/TextSelect.vue3.js +0 -0
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.24.29",
23
+ "version": "1.24.31",
24
24
  "engines": {
25
25
  "node": ">=18"
26
26
  },
@@ -59,12 +59,12 @@
59
59
  "unhead": "^1.8.3",
60
60
  "unified": "^11.0.4",
61
61
  "vue": "^3.4.22",
62
- "@scalar/api-client": "2.0.6",
63
- "@scalar/oas-utils": "0.2.9",
64
- "@scalar/components": "0.12.8",
65
- "@scalar/themes": "0.9.10",
66
- "@scalar/use-toasts": "0.7.4",
67
- "@scalar/use-tooltip": "1.0.2"
62
+ "@scalar/api-client": "2.0.8",
63
+ "@scalar/components": "0.12.9",
64
+ "@scalar/themes": "0.9.11",
65
+ "@scalar/oas-utils": "0.2.10",
66
+ "@scalar/use-tooltip": "1.0.2",
67
+ "@scalar/use-toasts": "0.7.4"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@etchteam/storybook-addon-css-variables-theme": "^1.5.1",
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomRequestExamples.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/CustomRequestExamples.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;;;AA+S1B,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +0,0 @@
1
- import o from "./CustomRequestExamples.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24c8bc21"]]);
5
- export {
6
- p as default
7
- };
@@ -1,124 +0,0 @@
1
- import { defineComponent as h, ref as g, computed as u, watch as y, openBlock as m, createBlock as i, unref as e, withCtx as r, createVNode as a, createTextVNode as x, toDisplayString as S, createElementVNode as c, renderSlot as d, createCommentVNode as k } from "vue";
2
- import { ScalarIcon as V, ScalarCodeBlock as _ } from "@scalar/components";
3
- import w from "./TextSelect.vue.js";
4
- /* empty css */
5
- import $ from "../../Card/Card.vue.js";
6
- import q from "../../Card/CardHeader.vue.js";
7
- import N from "../../HttpMethod/HttpMethod.vue.js";
8
- import j from "../../Card/CardContent.vue.js";
9
- import E from "../../Card/CardFooter.vue.js";
10
- import { useClipboard as P } from "../../../hooks/useClipboard.js";
11
- const T = { class: "request-header" }, K = /* @__PURE__ */ h({
12
- __name: "CustomRequestExamples",
13
- props: {
14
- operation: {},
15
- examples: {}
16
- },
17
- setup(f) {
18
- const l = f, t = g(0), v = u(() => (
19
- // @ts-expect-error Type isn’t correct
20
- {
21
- C: "c",
22
- "C#": "csharp",
23
- // 'C++': '',
24
- // 'CoffeeScript': '',
25
- // 'CSS': '',
26
- // 'Dart': '',
27
- // 'DM': '',
28
- // 'Elixir': '',
29
- Go: "go",
30
- // 'Groovy': '',
31
- HTML: "html",
32
- Java: "java",
33
- JavaScript: "javascript",
34
- Kotlin: "kotlin",
35
- "Objective-C": "objc",
36
- // 'Perl': '',
37
- PHP: "php",
38
- PowerShell: "powershell",
39
- Python: "python",
40
- Ruby: "ruby",
41
- // 'Rust': '',
42
- // 'Scala': '',
43
- Shell: "shell",
44
- Swift: "swift",
45
- TypeScript: "typescript",
46
- cURL: "curl"
47
- }[l.examples[t.value].lang] ?? l.examples[t.value].lang
48
- )), p = u(() => l.examples[t.value]);
49
- y(l.examples, () => {
50
- l.examples[t.value] === "undefined" && (t.value = 0);
51
- });
52
- const { copyToClipboard: C } = P();
53
- return (o, s) => (m(), i(e($), { class: "dark-mode" }, {
54
- default: r(() => [
55
- a(e(q), { muted: "" }, {
56
- actions: r(() => [
57
- a(w, {
58
- class: "request-client-picker",
59
- modelValue: t.value,
60
- options: o.examples.map((n, b) => ({
61
- value: b.toString(),
62
- label: n.label
63
- })),
64
- "onUpdate:modelValue": s[0] || (s[0] = (n) => (t.value = parseInt(n), 10))
65
- }, {
66
- default: r(() => [
67
- x(S(p.value.label), 1)
68
- ]),
69
- _: 1
70
- }, 8, ["modelValue", "options"]),
71
- c("button", {
72
- class: "copy-button",
73
- type: "button",
74
- onClick: s[1] || (s[1] = (n) => e(C)(p.value.source.trim()))
75
- }, [
76
- a(e(V), {
77
- icon: "Clipboard",
78
- width: "10px"
79
- })
80
- ])
81
- ]),
82
- default: r(() => [
83
- c("div", T, [
84
- a(e(N), {
85
- class: "request-method",
86
- method: o.operation.httpVerb
87
- }, null, 8, ["method"]),
88
- d(o.$slots, "header", {}, void 0, !0)
89
- ])
90
- ]),
91
- _: 3
92
- }),
93
- a(e(j), {
94
- borderless: "",
95
- class: "request-editor-section custom-scroll",
96
- frameless: ""
97
- }, {
98
- default: r(() => [
99
- a(e(_), {
100
- content: p.value.source.trim(),
101
- lang: v.value,
102
- lineNumbers: ""
103
- }, null, 8, ["content", "lang"])
104
- ]),
105
- _: 1
106
- }),
107
- o.$slots.footer ? (m(), i(e(E), {
108
- key: 0,
109
- class: "scalar-card-footer",
110
- contrast: ""
111
- }, {
112
- default: r(() => [
113
- d(o.$slots, "footer", {}, void 0, !0)
114
- ]),
115
- _: 3
116
- })) : k("", !0)
117
- ]),
118
- _: 3
119
- }));
120
- }
121
- });
122
- export {
123
- K as default
124
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExamplePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ExamplePicker.vue"],"names":[],"mappings":";;;;;;;;;AAqMA,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +0,0 @@
1
- import o from "./ExamplePicker.vue2.js";
2
- /* empty css */
3
- import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-652a7e14"]]);
5
- export {
6
- m as default
7
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExampleRequest.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ExampleRequest.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAEhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAIrC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAO5C,eAAO,MAAM,OAAO,EAAE,KAwVrB,CAAA"}
@@ -1,25 +0,0 @@
1
- import type { TransformedOperation } from '@scalar/oas-utils';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- operation: TransformedOperation;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- operation: TransformedOperation;
6
- }>>>, {}, {}>, {
7
- header?(_: {}): any;
8
- footer?(_: {}): any;
9
- }>;
10
- export default _default;
11
- type __VLS_WithTemplateSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToOption<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
- //# sourceMappingURL=ExampleRequest.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/ExampleRequest.vue"],"names":[],"mappings":"AA0TA,OAAO,KAAK,EAGV,oBAAoB,EACrB,MAAM,mBAAmB,CAAA;;;;;;;;;AAgc1B,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +0,0 @@
1
- import o from "./ExampleRequest.vue2.js";
2
- /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c40974e9"]]);
5
- export {
6
- r as default
7
- };
@@ -1,188 +0,0 @@
1
- import { defineComponent as j, ref as $, computed as d, inject as w, onServerPrefetch as A, useSSRContext as F, openBlock as f, createBlock as k, unref as o, withCtx as p, createVNode as i, createTextVNode as P, toDisplayString as K, createElementVNode as y, renderSlot as b, createElementBlock as U, createCommentVNode as x } from "vue";
2
- import { ScalarIcon as I, ScalarCodeBlock as J } from "@scalar/components";
3
- import { createHash as L, ssrState as M } from "@scalar/oas-utils/helpers";
4
- import { getRequestFromOperation as Y } from "@scalar/oas-utils/spec-getters";
5
- import { snippetz as _ } from "@scalar/snippetz";
6
- import { asyncComputed as z } from "@vueuse/core";
7
- import { HTTPSnippet as D } from "httpsnippet-lite";
8
- import Q from "./ExamplePicker.vue.js";
9
- import W from "./TextSelect.vue.js";
10
- /* empty css */
11
- import { GLOBAL_SECURITY_SYMBOL as X } from "../../../helpers/provideSymbols.js";
12
- import Z from "../../Card/Card.vue.js";
13
- import G from "../../Card/CardHeader.vue.js";
14
- import ee from "../../HttpMethod/HttpMethod.vue.js";
15
- import te from "../../Card/CardContent.vue.js";
16
- import { getSecretCredentialsFromAuthentication as oe, getRequestFromAuthentication as re } from "../../../legacy/helpers/getRequestFromAuthentication.js";
17
- import ne from "../../Card/CardFooter.vue.js";
18
- import { useClipboard as ae } from "../../../hooks/useClipboard.js";
19
- import { useHttpClientStore as se } from "../../../stores/useHttpClientStore.js";
20
- import { getApiClientRequest as ie } from "../../../helpers/getApiClientRequest.js";
21
- import { useServerStore as le } from "../../../legacy/stores/useServerStore.js";
22
- import { useAuthenticationStore as pe } from "../../../legacy/stores/useAuthenticationStore.js";
23
- import { getHarRequest as ce } from "../../../helpers/getHarRequest.js";
24
- import { getUrlFromServerState as me } from "../../../legacy/helpers/getUrlFromServerState.js";
25
- const ue = { class: "request-header" }, de = { class: "code-snippet" }, fe = {
26
- key: 0,
27
- class: "request-card-footer-addon"
28
- }, Pe = /* @__PURE__ */ j({
29
- __name: "ExampleRequest",
30
- props: {
31
- operation: {}
32
- },
33
- setup(V) {
34
- const s = V, h = `components-Content-Operation-Example-Request${L(
35
- s.operation.path + s.operation.httpVerb + s.operation.operationId
36
- )}`, C = $(), { copyToClipboard: E } = ae(), {
37
- httpClient: a,
38
- setHttpClient: R,
39
- availableTargets: T,
40
- httpTargetTitle: B,
41
- httpClientTitle: H
42
- } = se(), { server: S } = le(), { authentication: m } = pe(), v = d(
43
- () => {
44
- var e, r, t, n;
45
- return Object.keys(
46
- ((n = (t = (r = (e = s.operation.information) == null ? void 0 : e.requestBody) == null ? void 0 : r.content) == null ? void 0 : t["application/json"]) == null ? void 0 : n.examples) ?? {}
47
- ).length > 1;
48
- }
49
- ), l = w(X);
50
- async function g() {
51
- var n;
52
- const e = ce(
53
- {
54
- url: me(S)
55
- },
56
- Y(
57
- s.operation,
58
- {
59
- replaceVariables: !0
60
- },
61
- C.value
62
- ),
63
- re(
64
- m,
65
- ((n = s.operation.information) == null ? void 0 : n.security) ?? (l == null ? void 0 : l())
66
- )
67
- ), r = a.clientKey === "undici" || a.clientKey === "fetch" || a.clientKey === "ofetch" ? a.clientKey : null, t = a.targetKey.replace("javascript", "js");
68
- if (r && _().hasPlugin(t, r) && (t === "node" || t === "js"))
69
- return _().print(t, r, e) ?? "";
70
- try {
71
- return await new D(e).convert(
72
- a.targetKey,
73
- a.clientKey
74
- );
75
- } catch (c) {
76
- return console.error("[ExampleRequest]", c), "";
77
- }
78
- }
79
- const u = z(
80
- g,
81
- M[h] ?? ""
82
- );
83
- A(async () => {
84
- const e = F();
85
- e.payload.data[h] = await g();
86
- }), d(() => ie({
87
- serverState: S,
88
- authenticationState: m,
89
- operation: s.operation,
90
- globalSecurity: l == null ? void 0 : l()
91
- }));
92
- const N = d(() => {
93
- const e = a.targetKey;
94
- return e === "shell" && u.value.includes("curl") ? "curl" : e === "c" || e === "csharp" ? "cpp" : e;
95
- });
96
- return (e, r) => (f(), k(o(Z), { class: "dark-mode" }, {
97
- default: p(() => [
98
- i(o(G), { muted: "" }, {
99
- actions: p(() => [
100
- i(W, {
101
- class: "request-client-picker",
102
- modelValue: JSON.stringify(o(a)),
103
- options: o(T).map((t) => ({
104
- value: t.key,
105
- label: t.title,
106
- options: t.clients.map((n) => ({
107
- value: JSON.stringify({
108
- targetKey: t.key,
109
- clientKey: n.key
110
- }),
111
- label: n.title
112
- }))
113
- })),
114
- "onUpdate:modelValue": r[0] || (r[0] = (t) => o(R)(JSON.parse(t)))
115
- }, {
116
- default: p(() => [
117
- P(K(o(B)) + " " + K(o(H)), 1)
118
- ]),
119
- _: 1
120
- }, 8, ["modelValue", "options"]),
121
- y("button", {
122
- class: "copy-button",
123
- type: "button",
124
- onClick: r[1] || (r[1] = (t) => o(E)(o(u)))
125
- }, [
126
- i(o(I), {
127
- icon: "Clipboard",
128
- width: "10px"
129
- })
130
- ])
131
- ]),
132
- default: p(() => [
133
- y("div", ue, [
134
- i(o(ee), {
135
- as: "span",
136
- class: "request-method",
137
- method: e.operation.httpVerb
138
- }, null, 8, ["method"]),
139
- b(e.$slots, "header", {}, void 0, !0)
140
- ])
141
- ]),
142
- _: 3
143
- }),
144
- i(o(te), {
145
- borderless: "",
146
- class: "request-editor-section custom-scroll",
147
- frameless: ""
148
- }, {
149
- default: p(() => [
150
- y("div", de, [
151
- i(o(J), {
152
- content: o(u),
153
- hideCredentials: o(oe)(o(m)),
154
- lang: N.value,
155
- lineNumbers: ""
156
- }, null, 8, ["content", "hideCredentials", "lang"])
157
- ])
158
- ]),
159
- _: 1
160
- }),
161
- v.value || e.$slots.footer ? (f(), k(o(ne), {
162
- key: 0,
163
- class: "request-card-footer",
164
- contrast: ""
165
- }, {
166
- default: p(() => {
167
- var t, n, c, q;
168
- return [
169
- v.value ? (f(), U("div", fe, [
170
- i(Q, {
171
- class: "request-example-selector",
172
- examples: ((q = (c = (n = (t = e.operation.information) == null ? void 0 : t.requestBody) == null ? void 0 : n.content) == null ? void 0 : c["application/json"]) == null ? void 0 : q.examples) ?? [],
173
- "onUpdate:modelValue": r[2] || (r[2] = (O) => C.value = O)
174
- }, null, 8, ["examples"])
175
- ])) : x("", !0),
176
- b(e.$slots, "footer", {}, void 0, !0)
177
- ];
178
- }),
179
- _: 3
180
- })) : x("", !0)
181
- ]),
182
- _: 3
183
- }));
184
- }
185
- });
186
- export {
187
- Pe as default
188
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TextSelect.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAuMA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}