@scalar/api-reference 1.25.9 → 1.25.11
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 +47 -0
- package/dist/browser/standalone.js +14512 -14482
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +43 -42
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/ApiReferenceLayout.vue2.js +51 -48
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +2 -2
- package/dist/components/Content/Models/Models.vue2.js +46 -48
- package/dist/components/Content/Operation/Operation.vue.js +2 -2
- package/dist/components/Content/Operation/Operation.vue2.js +14 -14
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
- package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +21 -0
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -0
- package/dist/components/Content/Operation/ParameterHeaders.vue.js +7 -0
- package/dist/components/Content/Operation/ParameterHeaders.vue2.js +62 -0
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.js +2 -2
- package/dist/components/Content/Operation/ParameterItem.vue2.js +34 -30
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
- package/dist/components/Content/Schema/Schema.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
- package/dist/components/Content/Tag/Endpoints.vue2.js +29 -25
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +2 -2
- package/dist/components/Content/Tag/Tag.vue2.js +15 -14
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +43 -45
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +31 -28
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +2 -2
- package/dist/{components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts → embeds/ExampleResponses/ExampleResponses.vue.d.ts} +4 -9
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -0
- package/dist/embeds/ExampleResponses/index.d.ts +2 -0
- package/dist/embeds/ExampleResponses/index.d.ts.map +1 -0
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +8 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/embeds/index.d.ts +1 -0
- package/dist/embeds/index.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.js +2 -2
- package/dist/features/BaseUrl/ServerForm.vue2.js +5 -5
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue2.js +118 -129
- package/dist/{components/Content/Operation/PathResponses/Headers.vue.d.ts → features/ExampleResponses/ExampleResponse.vue.d.ts} +4 -4
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -0
- package/dist/features/ExampleResponses/ExampleResponse.vue.js +7 -0
- package/dist/features/ExampleResponses/ExampleResponse.vue2.js +37 -0
- package/dist/{components/Content/Operation/PathResponses/PathResponses.vue.d.ts → features/ExampleResponses/ExampleResponses.vue.d.ts} +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -0
- package/dist/features/ExampleResponses/ExampleResponses.vue.js +7 -0
- package/dist/{components/Content/Operation/PathResponses/PathResponses.vue2.js → features/ExampleResponses/ExampleResponses.vue2.js} +18 -18
- package/dist/features/ExampleResponses/index.d.ts +2 -0
- package/dist/features/ExampleResponses/index.d.ts.map +1 -0
- package/dist/helpers/createRequest.d.ts +6 -0
- package/dist/helpers/createRequest.d.ts.map +1 -0
- package/dist/helpers/createRequest.js +16 -0
- package/dist/helpers/getExampleCode.d.ts +9 -0
- package/dist/helpers/getExampleCode.d.ts.map +1 -0
- package/dist/helpers/getExampleCode.js +27 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/mergeAllObjects.d.ts +3 -0
- package/dist/helpers/mergeAllObjects.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.d.ts +1 -0
- package/dist/helpers/provideSymbols.d.ts.map +1 -1
- package/dist/helpers/provideSymbols.js +4 -3
- package/dist/hooks/useReactiveSpec.d.ts +7 -1
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/hooks/useResponses.d.ts +4 -0
- package/dist/hooks/useResponses.d.ts.map +1 -1
- package/dist/hooks/useResponses.js +11 -10
- package/dist/index.js +95 -90
- package/dist/legacy/helpers/index.d.ts +1 -0
- package/dist/legacy/helpers/index.d.ts.map +1 -1
- package/dist/legacy/helpers/normalizeHeaderName.d.ts +5 -0
- package/dist/legacy/helpers/normalizeHeaderName.d.ts.map +1 -0
- package/dist/legacy/helpers/normalizeHeaderName.js +6 -0
- package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -1
- package/dist/legacy/helpers/normalizeHeaders.js +15 -17
- package/dist/legacy/stores/useOpenApiStore.d.ts +7 -1
- package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +0 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.js +0 -7
- package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue2.js +0 -101
- package/dist/components/Content/Operation/PathResponses/Headers.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +0 -1
- package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +0 -7
- package/dist/components/Content/Operation/PathResponses/index.d.ts +0 -2
- package/dist/components/Content/Operation/PathResponses/index.d.ts.map +0 -1
- package/dist/components/SimpleTable/SimpleCell.vue.d.ts +0 -50
- package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +0 -1
- package/dist/components/SimpleTable/SimpleHeader.vue.d.ts +0 -12
- package/dist/components/SimpleTable/SimpleHeader.vue.d.ts.map +0 -1
- package/dist/components/SimpleTable/SimpleRow.vue.d.ts +0 -12
- package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +0 -1
- package/dist/components/SimpleTable/SimpleTable.stories.d.ts +0 -7
- package/dist/components/SimpleTable/SimpleTable.stories.d.ts.map +0 -1
- package/dist/components/SimpleTable/SimpleTable.vue.d.ts +0 -12
- package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +0 -1
- package/dist/components/SimpleTable/index.d.ts +0 -5
- package/dist/components/SimpleTable/index.d.ts.map +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -19,14 +19,6 @@ export type PathRouting = {
|
|
|
19
19
|
basePath: string;
|
|
20
20
|
};
|
|
21
21
|
export type GettingStartedExamples = 'Petstore' | 'CoinMarketCap';
|
|
22
|
-
export type ExampleResponseHeaders = Record<string, {
|
|
23
|
-
description: string;
|
|
24
|
-
schema: {
|
|
25
|
-
type: string;
|
|
26
|
-
format?: string;
|
|
27
|
-
example?: string;
|
|
28
|
-
};
|
|
29
|
-
}>;
|
|
30
22
|
export type Parameter = {
|
|
31
23
|
name: string;
|
|
32
24
|
required: boolean;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,IAAI,EACJ,UAAU,EACX,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAE/B,YAAY,EAAE,sBAAsB,EAAE,CAAA;AAEtC,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG;IACzC,OAAO,EAAE,UAAU,EAAE,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,aAAa,CAAC,EAAE,sBAAsB,CAAA;CACvC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,EAAE,sBAAsB,CAAA;IACrC,UAAU,EAAE,IAAI,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAA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GACR,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,aAAa,GACb,eAAe,GACf,aAAa,CAAA;AAEjB,MAAM,MAAM,oBAAoB,GAAG;KAChC,CAAC,IAAI,mBAAmB,GAAG,CAAC,KAAK,EAAE,kBAAkB,KAAK,GAAG;CAC/D,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,IAAI,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAA;IACxC,CAAC,CAAC,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACzC,CAAC,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC5B,CAAC,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC5B,CAAC,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;CAC5B,CAAA"}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.25.
|
|
23
|
+
"version": "1.25.11",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"unhead": "^1.8.3",
|
|
57
57
|
"unified": "^11.0.4",
|
|
58
58
|
"vue": "^3.4.29",
|
|
59
|
-
"@scalar/api-client": "2.0.
|
|
60
|
-
"@scalar/components": "0.12.42",
|
|
61
|
-
"@scalar/oas-utils": "0.2.41",
|
|
59
|
+
"@scalar/api-client": "2.0.64",
|
|
62
60
|
"@scalar/code-highlight": "0.0.11",
|
|
63
|
-
"@scalar/
|
|
64
|
-
"@scalar/
|
|
65
|
-
"@scalar/
|
|
66
|
-
"@scalar/types": "0.
|
|
67
|
-
"@scalar/
|
|
68
|
-
"@scalar/
|
|
61
|
+
"@scalar/components": "0.12.44",
|
|
62
|
+
"@scalar/oas-utils": "0.2.43",
|
|
63
|
+
"@scalar/openapi-parser": "0.8.2",
|
|
64
|
+
"@scalar/openapi-types": "0.1.1",
|
|
65
|
+
"@scalar/snippetz": "0.2.3",
|
|
66
|
+
"@scalar/themes": "0.9.29",
|
|
67
|
+
"@scalar/types": "0.0.8",
|
|
68
|
+
"@scalar/use-toasts": "0.7.6",
|
|
69
69
|
"@scalar/use-tooltip": "1.0.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
91
91
|
"vitest": "^1.6.0",
|
|
92
92
|
"vitest-matchmedia-mock": "^1.0.5",
|
|
93
|
-
"@scalar/
|
|
94
|
-
"@scalar/
|
|
93
|
+
"@scalar/build-tooling": "0.1.10",
|
|
94
|
+
"@scalar/galaxy": "0.2.7"
|
|
95
95
|
},
|
|
96
96
|
"scripts": {
|
|
97
97
|
"analyze:default": "pnpm dlx vite-bundle-visualizer",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExampleResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/ExampleResponse.vue"],"names":[],"mappings":";cAkMM,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;cAJD,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;AAuSP,wBAMG;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,101 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, openBlock as o, createBlock as a, unref as s, createElementBlock as t, Fragment as c, renderList as v, createElementVNode as C, toDisplayString as J, createVNode as L, createCommentVNode as P } from "vue";
|
|
2
|
-
import { ScalarCodeBlock as r } from "@scalar/components";
|
|
3
|
-
import { prettyPrintJson as V } from "@scalar/oas-utils/helpers";
|
|
4
|
-
import { getExampleFromSchema as l } from "@scalar/oas-utils/spec-getters";
|
|
5
|
-
const R = {
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "rule"
|
|
8
|
-
}, q = { class: "rule-title" }, w = { class: "rule-items" }, z = {
|
|
9
|
-
key: 2,
|
|
10
|
-
class: "empty-state"
|
|
11
|
-
}, Q = /* @__PURE__ */ D({
|
|
12
|
-
__name: "ExampleResponse",
|
|
13
|
-
props: {
|
|
14
|
-
response: {}
|
|
15
|
-
},
|
|
16
|
-
setup(G) {
|
|
17
|
-
const F = ["oneOf", "anyOf", "not"], p = (e) => e.reduce((i, m) => ({
|
|
18
|
-
...i,
|
|
19
|
-
...m
|
|
20
|
-
}), {});
|
|
21
|
-
return (e, i) => {
|
|
22
|
-
var m, d, g, h, y, u, f, k, b;
|
|
23
|
-
return (m = e.response) != null && m.example ? (o(), a(s(r), {
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "bg-b-2",
|
|
26
|
-
content: s(V)((d = e.response) == null ? void 0 : d.example),
|
|
27
|
-
lang: "json"
|
|
28
|
-
}, null, 8, ["content"])) : (g = e.response) != null && g.schema ? (o(), t(c, { key: 1 }, [
|
|
29
|
-
(o(), t(c, null, v(F, (n) => {
|
|
30
|
-
var S, j, O, B, E, N;
|
|
31
|
-
return o(), t(c, { key: n }, [
|
|
32
|
-
(S = e.response) != null && S.schema[n] && (((j = e.response) == null ? void 0 : j.schema[n].length) > 1 || n === "not") ? (o(), t("div", R, [
|
|
33
|
-
C("div", q, J(n), 1),
|
|
34
|
-
C("ol", w, [
|
|
35
|
-
(o(!0), t(c, null, v((O = e.response) == null ? void 0 : O.schema[n], (_, A) => (o(), t("li", {
|
|
36
|
-
key: A,
|
|
37
|
-
class: "rule-item"
|
|
38
|
-
}, [
|
|
39
|
-
L(s(r), {
|
|
40
|
-
class: "bg-b-2",
|
|
41
|
-
content: s(l)(_, {
|
|
42
|
-
emptyString: "…",
|
|
43
|
-
mode: "read"
|
|
44
|
-
}),
|
|
45
|
-
lang: "json"
|
|
46
|
-
}, null, 8, ["content"])
|
|
47
|
-
]))), 128))
|
|
48
|
-
])
|
|
49
|
-
])) : (B = e.response) != null && B.schema[n] && ((E = e.response) == null ? void 0 : E.schema[n].length) === 1 ? (o(), a(s(r), {
|
|
50
|
-
key: 1,
|
|
51
|
-
class: "bg-b-2",
|
|
52
|
-
content: s(l)((N = e.response) == null ? void 0 : N.schema[n][0], {
|
|
53
|
-
emptyString: "…",
|
|
54
|
-
mode: "read"
|
|
55
|
-
}),
|
|
56
|
-
lang: "json"
|
|
57
|
-
}, null, 8, ["content"])) : P("", !0)
|
|
58
|
-
], 64);
|
|
59
|
-
}), 64)),
|
|
60
|
-
(h = e.response) != null && h.schema.allOf ? (o(), a(s(r), {
|
|
61
|
-
key: 0,
|
|
62
|
-
class: "bg-b-2",
|
|
63
|
-
content: p(
|
|
64
|
-
(y = e.response) == null ? void 0 : y.schema.allOf.map(
|
|
65
|
-
(n) => s(l)(n, {
|
|
66
|
-
emptyString: "…",
|
|
67
|
-
mode: "read"
|
|
68
|
-
})
|
|
69
|
-
)
|
|
70
|
-
),
|
|
71
|
-
lang: "json"
|
|
72
|
-
}, null, 8, ["content"])) : (f = (u = e.response) == null ? void 0 : u.schema.items) != null && f.allOf ? (o(), a(s(r), {
|
|
73
|
-
key: 1,
|
|
74
|
-
class: "bg-b-2",
|
|
75
|
-
content: p(
|
|
76
|
-
(k = e.response) == null ? void 0 : k.schema.items.allOf.map(
|
|
77
|
-
(n) => s(l)(n, {
|
|
78
|
-
emptyString: "…",
|
|
79
|
-
mode: "read"
|
|
80
|
-
})
|
|
81
|
-
)
|
|
82
|
-
),
|
|
83
|
-
lang: "json"
|
|
84
|
-
}, null, 8, ["content"])) : (o(), a(s(r), {
|
|
85
|
-
key: 2,
|
|
86
|
-
class: "bg-b-2",
|
|
87
|
-
content: s(V)(
|
|
88
|
-
s(l)((b = e.response) == null ? void 0 : b.schema, {
|
|
89
|
-
emptyString: "…",
|
|
90
|
-
mode: "read"
|
|
91
|
-
})
|
|
92
|
-
),
|
|
93
|
-
lang: "json"
|
|
94
|
-
}, null, 8, ["content"]))
|
|
95
|
-
], 64)) : (o(), t("div", z, " No Body "));
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
export {
|
|
100
|
-
Q as default
|
|
101
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Headers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/Headers.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;;aAWpD,sBAAsB;;aAAtB,sBAAsB;;AAgPjC,wBAMG;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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PathResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/PathResponses.vue"],"names":[],"mappings":"AA6TA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAsB7B,oBAAoB;;eAApB,oBAAoB;;AAoXvD,wBAMG;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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
-
wrap?: boolean;
|
|
7
|
-
strong?: boolean;
|
|
8
|
-
href?: string | null;
|
|
9
|
-
}>, {
|
|
10
|
-
wrap: boolean;
|
|
11
|
-
strong: boolean;
|
|
12
|
-
href: null;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
-
wrap?: boolean;
|
|
15
|
-
strong?: boolean;
|
|
16
|
-
href?: string | null;
|
|
17
|
-
}>, {
|
|
18
|
-
wrap: boolean;
|
|
19
|
-
strong: boolean;
|
|
20
|
-
href: null;
|
|
21
|
-
}>>>, {
|
|
22
|
-
strong: boolean;
|
|
23
|
-
href: string | null;
|
|
24
|
-
wrap: boolean;
|
|
25
|
-
}, {}>;
|
|
26
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
27
|
-
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToOption<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=SimpleCell.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleCell.vue"],"names":[],"mappings":"AA2EA,iBAAS,cAAc;qBA2CM,GAAG;qBACH,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;WAhFU,OAAO;aAAW,OAAO;WAAS,MAAM,GAAG,IAAI;;;;;;WAA/C,OAAO;aAAW,OAAO;WAAS,MAAM,GAAG,IAAI;;;;;;YAA7B,OAAO;UAAS,MAAM,GAAG,IAAI;UAA/C,OAAO;MAsFpC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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,12 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=SimpleHeader.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleHeader.vue"],"names":[],"mappings":"AA4BA,iBAAS,cAAc;qBA4BM,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=SimpleRow.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleRow.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;qBAkBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { SimpleTable } from '.';
|
|
3
|
-
declare const meta: Meta<typeof SimpleTable>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof SimpleTable>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
//# sourceMappingURL=SimpleTable.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTable.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleTable.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAErD,OAAO,EAAuC,WAAW,EAAE,MAAM,GAAG,CAAA;AAEpE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,WAAW,CAIlC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,OAAO,EAAE,KA6BrB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=SimpleTable.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleTable.vue"],"names":[],"mappings":"AAuBA,iBAAS,cAAc;qBAqBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as SimpleCell } from './SimpleCell.vue';
|
|
2
|
-
export { default as SimpleHeader } from './SimpleHeader.vue';
|
|
3
|
-
export { default as SimpleRow } from './SimpleRow.vue';
|
|
4
|
-
export { default as SimpleTable } from './SimpleTable.vue';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA"}
|