@scalar/api-reference 1.22.49 → 1.22.51
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 +19 -0
- package/dist/Hide-DBLY4PPo-BcbT7C9e.js +25 -0
- package/dist/Hide-DBLY4PPo-Ch-56g-E.cjs +1 -0
- package/dist/Show-CMsTZAgT-C7wHpN2M.cjs +1 -0
- package/dist/Show-CMsTZAgT-CiyXRP8J.js +30 -0
- package/dist/browser/standalone.js +6 -6
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/esm.d.ts +19 -0
- package/dist/esm.d.ts.map +1 -0
- package/dist/{index-ZpQQqtEM.cjs → index-BwS1Ev_W.cjs} +112 -112
- package/dist/{index-ptBInblB.js → index-D8LAyo3Q.js} +4315 -4233
- package/dist/{index-t5lkI7RA.cjs → index-DfQWCuu_.cjs} +2 -2
- package/dist/{index-DTgIsC-f.js → index-DrSm8-mz.js} +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -34
- package/package.json +6 -6
- package/dist/Hide-Q3GPkIKH-Ba4DV2wS.cjs +0 -1
- package/dist/Hide-Q3GPkIKH-CR2flZgt.js +0 -21
- package/dist/Show-D86hKz5y-CLGkc2Cs.js +0 -21
- package/dist/Show-D86hKz5y-DCaWj13Q.cjs +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { default as RenderedReference } from './components/Content/Content.vue';
|
|
|
6
6
|
export { default as SearchModal } from './components/SearchModal.vue';
|
|
7
7
|
export { default as SearchButton } from './components/SearchButton.vue';
|
|
8
8
|
export { default as GettingStarted } from './components/GettingStarted.vue';
|
|
9
|
+
export { createScalarReferences } from './esm';
|
|
9
10
|
export { useReactiveSpec } from './hooks/useReactiveSpec';
|
|
10
11
|
export * from './components/DarkModeToggle';
|
|
11
12
|
export * from './components/Sidebar';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AACnF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uCAAuC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAEzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aA as d, aB as i, aC as b,
|
|
1
|
+
import { aA as d, aB as i, aC as b, aN as l, aP as c, aQ as n, aO as p, aS as S, aR as g, aL as m, aK as C, bb as M, aH as u, bc as L, aD as A, aE as O, aG as R, aF as T, aM as h, aU as f, aW as B, aI as F, aX as H, bg as D, bh as I, aY as _, aZ as k, a_ as v, a$ as w, b0 as y, b1 as E, b2 as U, b3 as N, b4 as V, b5 as Y, b6 as j, b7 as G, b8 as W, b9 as q, ba as x, bd as J, be as K, bf as P, bi as Q, au as X, aT as Z, aJ as $, aV as z } from "./index-D8LAyo3Q.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@headlessui/vue";
|
|
4
4
|
import "@vueuse/core";
|
|
@@ -8,9 +8,9 @@ export {
|
|
|
8
8
|
i as ApiReference,
|
|
9
9
|
b as ApiReferenceLayout,
|
|
10
10
|
l as Card,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
c as CardContent,
|
|
12
|
+
n as CardFooter,
|
|
13
|
+
p as CardHeader,
|
|
14
14
|
S as CardTab,
|
|
15
15
|
g as CardTabHeader,
|
|
16
16
|
m as DarkModeIconToggle,
|
|
@@ -20,35 +20,36 @@ export {
|
|
|
20
20
|
L as HIDE_DOWNLOAD_BUTTON_SYMBOL,
|
|
21
21
|
A as ModernLayout,
|
|
22
22
|
O as RenderedReference,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
R as SearchButton,
|
|
24
|
+
T as SearchModal,
|
|
25
|
+
h as Sidebar,
|
|
26
|
+
f as createEmptyServerState,
|
|
27
|
+
B as createEmptySpecification,
|
|
28
|
+
F as createScalarReferences,
|
|
28
29
|
H as deepMerge,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
30
|
+
D as downloadSpecBus,
|
|
31
|
+
I as downloadSpecFile,
|
|
32
|
+
_ as getApiClientRequest,
|
|
33
|
+
k as getHeadingsFromMarkdown,
|
|
34
|
+
v as getLowestHeadingLevel,
|
|
35
|
+
w as getModels,
|
|
36
|
+
y as getUrlFromServerState,
|
|
37
|
+
E as getVariableNames,
|
|
38
|
+
U as hasModels,
|
|
39
|
+
N as hasSecuritySchemes,
|
|
40
|
+
V as hasWebhooks,
|
|
41
|
+
Y as isValidUrl,
|
|
42
|
+
j as mapFromObject,
|
|
43
|
+
G as mergeAllObjects,
|
|
44
|
+
W as objectMerge,
|
|
45
|
+
q as openClientFor,
|
|
46
|
+
x as parse,
|
|
47
|
+
J as replaceVariables,
|
|
48
|
+
K as scrollToId,
|
|
49
|
+
P as sleep,
|
|
50
|
+
Q as splitMarkdownInSections,
|
|
51
|
+
X as useApiClientStore,
|
|
52
|
+
Z as useHttpClientStore,
|
|
53
|
+
$ as useReactiveSpec,
|
|
54
|
+
z as useServerStore
|
|
54
55
|
};
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.22.
|
|
23
|
+
"version": "1.22.51",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
"remark-stringify": "^11.0.0",
|
|
70
70
|
"unhead": "^1.8.3",
|
|
71
71
|
"unified": "^11.0.4",
|
|
72
|
-
"@scalar/api-client": "1.2.
|
|
73
|
-
"@scalar/components": "0.7.12",
|
|
74
|
-
"@scalar/oas-utils": "0.1.14",
|
|
72
|
+
"@scalar/api-client": "1.2.35",
|
|
75
73
|
"@scalar/themes": "0.7.11",
|
|
74
|
+
"@scalar/oas-utils": "0.1.15",
|
|
75
|
+
"@scalar/components": "0.7.14",
|
|
76
76
|
"@scalar/use-toasts": "0.6.6",
|
|
77
|
-
"@scalar/use-
|
|
78
|
-
"@scalar/use-
|
|
77
|
+
"@scalar/use-modal": "0.3.3",
|
|
78
|
+
"@scalar/use-tooltip": "0.6.2"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@etchteam/storybook-addon-css-variables-theme": "^1.5.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},r=e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M.264 1.324a.75.75 0 0 1 1.06-1.06l2.629 2.628C4.86 2.393 5.893 2.04 7 2.04c1.532 0 2.92.676 4.035 1.48 1.118.805 2.003 1.769 2.539 2.416l.004.006c.24.298.366.675.366 1.058s-.126.76-.366 1.058l-.004.006a14.5 14.5 0 0 1-2.249 2.2l2.411 2.412a.75.75 0 1 1-1.06 1.06zm8.753 6.632a2.232 2.232 0 0 0-2.974-2.974zm-8.59-2.02c.319-.386.762-.884 1.305-1.394l7.104 7.104A5.7 5.7 0 0 1 7 11.96c-1.532 0-2.92-.676-4.035-1.48C1.847 9.676.962 8.712.426 8.065l-.004-.006A1.7 1.7 0 0 1 .056 7c0-.383.126-.76.366-1.058l.004-.006Z","clip-rule":"evenodd"},null,-1),t=[r];function l(c,d){return e.openBlock(),e.createElementBlock("svg",n,[...t])}const o={render:l};exports.default=o;exports.render=l;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as l, createElementVNode as n } from "vue";
|
|
2
|
-
const r = {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
fill: "none",
|
|
5
|
-
viewBox: "0 0 14 14"
|
|
6
|
-
}, o = /* @__PURE__ */ n("path", {
|
|
7
|
-
fill: "currentColor",
|
|
8
|
-
"fill-rule": "evenodd",
|
|
9
|
-
d: "M.264 1.324a.75.75 0 0 1 1.06-1.06l2.629 2.628C4.86 2.393 5.893 2.04 7 2.04c1.532 0 2.92.676 4.035 1.48 1.118.805 2.003 1.769 2.539 2.416l.004.006c.24.298.366.675.366 1.058s-.126.76-.366 1.058l-.004.006a14.5 14.5 0 0 1-2.249 2.2l2.411 2.412a.75.75 0 1 1-1.06 1.06zm8.753 6.632a2.232 2.232 0 0 0-2.974-2.974zm-8.59-2.02c.319-.386.762-.884 1.305-1.394l7.104 7.104A5.7 5.7 0 0 1 7 11.96c-1.532 0-2.92-.676-4.035-1.48C1.847 9.676.962 8.712.426 8.065l-.004-.006A1.7 1.7 0 0 1 .056 7c0-.383.126-.76.366-1.058l.004-.006Z",
|
|
10
|
-
"clip-rule": "evenodd"
|
|
11
|
-
}, null, -1), t = [
|
|
12
|
-
o
|
|
13
|
-
];
|
|
14
|
-
function c(a, d) {
|
|
15
|
-
return e(), l("svg", r, [...t]);
|
|
16
|
-
}
|
|
17
|
-
const i = { render: c };
|
|
18
|
-
export {
|
|
19
|
-
i as default,
|
|
20
|
-
c as render
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as l, createElementVNode as n } from "vue";
|
|
2
|
-
const r = {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
fill: "none",
|
|
5
|
-
viewBox: "0 0 14 14"
|
|
6
|
-
}, o = /* @__PURE__ */ n("path", {
|
|
7
|
-
fill: "currentColor",
|
|
8
|
-
"fill-rule": "evenodd",
|
|
9
|
-
d: "M2.933 3.491C4.056 2.681 5.456 2 7 2s2.944.682 4.067 1.491c1.128.812 2.02 1.784 2.56 2.437l.005.005c.241.3.368.681.368 1.067s-.127.766-.368 1.067l-.005.005c-.54.653-1.432 1.625-2.56 2.437C9.944 11.32 8.544 12 7 12s-2.944-.682-4.067-1.49C1.805 9.696.913 8.724.373 8.071l-.005-.005A1.7 1.7 0 0 1 0 7c0-.386.127-.766.368-1.067l.005-.005c.54-.653 1.432-1.625 2.56-2.437M7 9.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5",
|
|
10
|
-
"clip-rule": "evenodd"
|
|
11
|
-
}, null, -1), t = [
|
|
12
|
-
o
|
|
13
|
-
];
|
|
14
|
-
function c(s, d) {
|
|
15
|
-
return e(), l("svg", r, [...t]);
|
|
16
|
-
}
|
|
17
|
-
const i = { render: c };
|
|
18
|
-
export {
|
|
19
|
-
i as default,
|
|
20
|
-
c as render
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},r=e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2.933 3.491C4.056 2.681 5.456 2 7 2s2.944.682 4.067 1.491c1.128.812 2.02 1.784 2.56 2.437l.005.005c.241.3.368.681.368 1.067s-.127.766-.368 1.067l-.005.005c-.54.653-1.432 1.625-2.56 2.437C9.944 11.32 8.544 12 7 12s-2.944-.682-4.067-1.49C1.805 9.696.913 8.724.373 8.071l-.005-.005A1.7 1.7 0 0 1 0 7c0-.386.127-.766.368-1.067l.005-.005c.54-.653 1.432-1.625 2.56-2.437M7 9.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5","clip-rule":"evenodd"},null,-1),t=[r];function l(c,d){return e.openBlock(),e.createElementBlock("svg",n,[...t])}const o={render:l};exports.default=o;exports.render=l;
|