@scalar/api-reference 1.36.0 → 1.36.2
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 +30 -0
- package/dist/browser/standalone.js +15482 -15086
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts +2 -0
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue2.js +52 -41
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +9 -8
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.js +2 -2
- package/dist/components/Content/Models/ModernLayout.vue2.js +46 -42
- package/dist/components/Content/Schema/Schema.vue.d.ts +3 -4
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue2.js +71 -74
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +4 -5
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +46 -49
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +2 -7
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +29 -40
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +3 -5
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +72 -76
- package/dist/components/Content/Schema/types.d.ts +17 -0
- package/dist/components/Content/Schema/types.d.ts.map +1 -0
- package/dist/components/OperationsList/OperationsList.vue.js +2 -2
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
- package/dist/consts/urls.d.ts +17 -0
- package/dist/consts/urls.d.ts.map +1 -0
- package/dist/consts/urls.js +7 -0
- package/dist/features/Operation/components/Header.vue.d.ts +2 -0
- package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Header.vue.js +15 -10
- package/dist/features/Operation/components/Headers.vue.d.ts +2 -0
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +2 -2
- package/dist/features/Operation/components/Headers.vue2.js +26 -24
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue2.js +55 -48
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue2.js +74 -61
- package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/api-client-modal/useApiClient.d.ts +20 -20
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
- package/dist/features/toolbar/uploadTempDocument.js +21 -0
- package/dist/helpers/convert-security-scheme.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +5 -6
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Disclosure as P, DisclosureButton as
|
|
3
|
-
import { ScalarMarkdown as M, ScalarIcon as
|
|
4
|
-
import
|
|
5
|
-
import { isTypeObject as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as H, computed as k, createBlock as s, createCommentVNode as t, openBlock as i, unref as l, withCtx as r, createElementVNode as g, normalizeClass as m, createElementBlock as c, createVNode as n, withDirectives as S, createTextVNode as d, toDisplayString as u, vShow as C, normalizeStyle as O, Fragment as h } from "vue";
|
|
2
|
+
import { Disclosure as P, DisclosureButton as N, DisclosurePanel as w } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as M, ScalarIcon as p } from "@scalar/components";
|
|
4
|
+
import B from "../../ScreenReader.vue.js";
|
|
5
|
+
import { isTypeObject as D } from "./helpers/is-type-object.js";
|
|
6
|
+
import z from "./SchemaHeading.vue.js";
|
|
7
|
+
import A from "./SchemaObjectProperties.vue.js";
|
|
8
|
+
import V from "./SchemaProperty.vue.js";
|
|
9
|
+
const j = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "schema-card-description"
|
|
12
|
-
},
|
|
12
|
+
}, T = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "schema-properties"
|
|
15
|
-
},
|
|
15
|
+
}, K = /* @__PURE__ */ H({
|
|
16
16
|
__name: "Schema",
|
|
17
17
|
props: {
|
|
18
18
|
schema: {},
|
|
@@ -21,94 +21,93 @@ const A = {
|
|
|
21
21
|
compact: { type: Boolean },
|
|
22
22
|
noncollapsible: { type: Boolean, default: !1 },
|
|
23
23
|
hideHeading: { type: Boolean },
|
|
24
|
-
hideReadOnly: { type: Boolean },
|
|
25
|
-
hideWriteOnly: { type: Boolean },
|
|
26
24
|
additionalProperties: { type: Boolean },
|
|
27
25
|
hideModelNames: { type: Boolean, default: !1 },
|
|
28
26
|
discriminator: {},
|
|
29
|
-
breadcrumb: {}
|
|
27
|
+
breadcrumb: {},
|
|
28
|
+
options: {}
|
|
30
29
|
},
|
|
31
30
|
setup(a) {
|
|
32
|
-
const
|
|
33
|
-
return (e, b) => typeof e.schema == "object" && Object.keys(e.schema).length ? (
|
|
31
|
+
const f = k(() => !a.noncollapsible && a.level > 0), y = k(() => a.schema?.allOf && a.schema.allOf.length > 0 && a.name === "Request Body" ? a.schema.description || a.schema.allOf[0].description : !a.schema?.description || typeof a.schema.description != "string" || a.schema.oneOf || a.schema.anyOf || a.schema.enum || !("properties" in a.schema) && !("patternProperties" in a.schema) && !("additionalProperties" in a.schema) ? null : a.schema.description), v = (e) => a.noncollapsible && e.stopPropagation();
|
|
32
|
+
return (e, b) => typeof e.schema == "object" && Object.keys(e.schema).length ? (i(), s(l(P), {
|
|
34
33
|
key: 0,
|
|
35
34
|
defaultOpen: e.noncollapsible
|
|
36
35
|
}, {
|
|
37
|
-
default:
|
|
38
|
-
|
|
39
|
-
class:
|
|
36
|
+
default: r(({ open: o }) => [
|
|
37
|
+
g("div", {
|
|
38
|
+
class: m(["schema-card", [
|
|
40
39
|
`schema-card--level-${e.level}`,
|
|
41
|
-
{ "schema-card--compact": e.compact, "schema-card--open":
|
|
42
|
-
{ "border-t": e.additionalProperties &&
|
|
40
|
+
{ "schema-card--compact": e.compact, "schema-card--open": o },
|
|
41
|
+
{ "border-t": e.additionalProperties && o }
|
|
43
42
|
]])
|
|
44
43
|
}, [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
])) :
|
|
48
|
-
|
|
49
|
-
class:
|
|
50
|
-
"schema-properties-open":
|
|
44
|
+
y.value ? (i(), c("div", j, [
|
|
45
|
+
n(l(M), { value: y.value }, null, 8, ["value"])
|
|
46
|
+
])) : t("", !0),
|
|
47
|
+
g("div", {
|
|
48
|
+
class: m(["schema-properties", {
|
|
49
|
+
"schema-properties-open": o
|
|
51
50
|
}])
|
|
52
51
|
}, [
|
|
53
|
-
e.additionalProperties ?
|
|
54
|
-
|
|
52
|
+
e.additionalProperties ? S((i(), c("div", T, [
|
|
53
|
+
n(l(N), {
|
|
55
54
|
as: "button",
|
|
56
55
|
class: "schema-card-title schema-card-title--compact",
|
|
57
56
|
onClickCapture: v
|
|
58
57
|
}, {
|
|
59
|
-
default:
|
|
60
|
-
|
|
58
|
+
default: r(() => [
|
|
59
|
+
n(l(p), {
|
|
61
60
|
class: "schema-card-title-icon",
|
|
62
61
|
icon: "Add",
|
|
63
62
|
size: "sm"
|
|
64
63
|
}),
|
|
65
|
-
b[0] || (b[0] =
|
|
66
|
-
e.name ? (
|
|
67
|
-
default:
|
|
68
|
-
|
|
64
|
+
b[0] || (b[0] = d(" Show additional properties ")),
|
|
65
|
+
e.name ? (i(), s(B, { key: 0 }, {
|
|
66
|
+
default: r(() => [
|
|
67
|
+
d("for " + u(e.name), 1)
|
|
69
68
|
]),
|
|
70
69
|
_: 1
|
|
71
|
-
})) :
|
|
70
|
+
})) : t("", !0)
|
|
72
71
|
]),
|
|
73
72
|
_: 1,
|
|
74
73
|
__: [0]
|
|
75
74
|
})
|
|
76
75
|
], 512)), [
|
|
77
|
-
[
|
|
78
|
-
]) :
|
|
76
|
+
[C, !o]
|
|
77
|
+
]) : f.value ? S((i(), s(l(N), {
|
|
79
78
|
key: 1,
|
|
80
79
|
as: e.noncollapsible ? "div" : "button",
|
|
81
|
-
class:
|
|
82
|
-
style:
|
|
83
|
-
top: `calc(var(--refs-
|
|
80
|
+
class: m(["schema-card-title", { "schema-card-title--compact": e.compact }]),
|
|
81
|
+
style: O({
|
|
82
|
+
top: `calc(var(--refs-viewport-offset) + calc(var(--schema-title-height) * ${e.level}))`
|
|
84
83
|
}),
|
|
85
84
|
onClickCapture: v
|
|
86
85
|
}, {
|
|
87
|
-
default:
|
|
88
|
-
e.compact ? (
|
|
89
|
-
|
|
90
|
-
class:
|
|
86
|
+
default: r(() => [
|
|
87
|
+
e.compact ? (i(), c(h, { key: 0 }, [
|
|
88
|
+
n(l(p), {
|
|
89
|
+
class: m(["schema-card-title-icon", { "schema-card-title-icon--open": o }]),
|
|
91
90
|
icon: "Add",
|
|
92
91
|
size: "sm"
|
|
93
92
|
}, null, 8, ["class"]),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
], 64)) : (
|
|
97
|
-
|
|
93
|
+
o ? (i(), c(h, { key: 0 }, [
|
|
94
|
+
d(" Hide " + u(e.schema?.title ?? "Child Attributes"), 1)
|
|
95
|
+
], 64)) : (i(), c(h, { key: 1 }, [
|
|
96
|
+
d(" Show " + u(e.schema?.title ?? "Child Attributes"), 1)
|
|
98
97
|
], 64)),
|
|
99
|
-
e.name ? (
|
|
100
|
-
default:
|
|
101
|
-
|
|
98
|
+
e.name ? (i(), s(B, { key: 2 }, {
|
|
99
|
+
default: r(() => [
|
|
100
|
+
d("for " + u(e.name), 1)
|
|
102
101
|
]),
|
|
103
102
|
_: 1
|
|
104
|
-
})) :
|
|
105
|
-
], 64)) : (
|
|
106
|
-
|
|
107
|
-
class:
|
|
103
|
+
})) : t("", !0)
|
|
104
|
+
], 64)) : (i(), c(h, { key: 1 }, [
|
|
105
|
+
n(l(p), {
|
|
106
|
+
class: m(["schema-card-title-icon", { "schema-card-title-icon--open": o }]),
|
|
108
107
|
icon: "Add",
|
|
109
108
|
size: "sm"
|
|
110
109
|
}, null, 8, ["class"]),
|
|
111
|
-
|
|
110
|
+
n(z, {
|
|
112
111
|
name: e.schema?.title ?? e.name,
|
|
113
112
|
value: e.schema
|
|
114
113
|
}, null, 8, ["name", "value"])
|
|
@@ -116,48 +115,46 @@ const A = {
|
|
|
116
115
|
]),
|
|
117
116
|
_: 2
|
|
118
117
|
}, 1032, ["as", "class", "style"])), [
|
|
119
|
-
[
|
|
120
|
-
]) :
|
|
121
|
-
!e.additionalProperties ||
|
|
118
|
+
[C, !e.hideHeading && !(e.noncollapsible && e.compact)]
|
|
119
|
+
]) : t("", !0),
|
|
120
|
+
!e.additionalProperties || o ? (i(), s(l(w), {
|
|
122
121
|
key: 2,
|
|
123
122
|
as: "ul",
|
|
124
|
-
static: !
|
|
123
|
+
static: !f.value
|
|
125
124
|
}, {
|
|
126
|
-
default:
|
|
127
|
-
|
|
125
|
+
default: r(() => [
|
|
126
|
+
l(D)(e.schema) ? (i(), s(A, {
|
|
128
127
|
key: 0,
|
|
129
128
|
breadcrumb: e.breadcrumb,
|
|
130
129
|
compact: e.compact,
|
|
131
130
|
discriminator: e.discriminator,
|
|
132
131
|
hideHeading: e.hideHeading,
|
|
133
132
|
hideModelNames: e.hideModelNames,
|
|
134
|
-
hideReadOnly: e.hideReadOnly,
|
|
135
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
136
133
|
level: e.level + 1,
|
|
134
|
+
options: e.options,
|
|
137
135
|
schema: e.schema
|
|
138
|
-
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "
|
|
139
|
-
e.schema ? (
|
|
136
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "level", "options", "schema"])) : (i(), c(h, { key: 1 }, [
|
|
137
|
+
e.schema ? (i(), s(V, {
|
|
140
138
|
key: 0,
|
|
141
139
|
breadcrumb: e.breadcrumb,
|
|
142
140
|
compact: e.compact,
|
|
143
141
|
hideHeading: e.hideHeading,
|
|
144
142
|
hideModelNames: e.hideModelNames,
|
|
145
|
-
hideReadOnly: e.hideReadOnly,
|
|
146
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
147
143
|
level: e.level,
|
|
148
|
-
|
|
149
|
-
|
|
144
|
+
options: e.options,
|
|
145
|
+
schema: e.schema
|
|
146
|
+
}, null, 8, ["breadcrumb", "compact", "hideHeading", "hideModelNames", "level", "options", "schema"])) : t("", !0)
|
|
150
147
|
], 64))
|
|
151
148
|
]),
|
|
152
149
|
_: 1
|
|
153
|
-
}, 8, ["static"])) :
|
|
150
|
+
}, 8, ["static"])) : t("", !0)
|
|
154
151
|
], 2)
|
|
155
152
|
], 2)
|
|
156
153
|
]),
|
|
157
154
|
_: 1
|
|
158
|
-
}, 8, ["defaultOpen"])) :
|
|
155
|
+
}, 8, ["defaultOpen"])) : t("", !0);
|
|
159
156
|
}
|
|
160
157
|
});
|
|
161
158
|
export {
|
|
162
|
-
|
|
159
|
+
K as default
|
|
163
160
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
+
import type { SchemaOptions } from '../../../components/Content/Schema/types';
|
|
2
3
|
import { type CompositionKeyword } from './helpers/schema-composition.js';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
/** The composition keyword (oneOf, anyOf, allOf) */
|
|
@@ -8,19 +9,17 @@ type __VLS_Props = {
|
|
|
8
9
|
/** Optional name for the schema */
|
|
9
10
|
name?: string;
|
|
10
11
|
/** The schema value containing the composition */
|
|
11
|
-
|
|
12
|
+
schema: SchemaObject;
|
|
12
13
|
/** Nesting level for proper indentation */
|
|
13
14
|
level: number;
|
|
14
15
|
/** Whether to use compact layout */
|
|
15
16
|
compact?: boolean;
|
|
16
17
|
/** Whether to hide the heading */
|
|
17
18
|
hideHeading?: boolean;
|
|
18
|
-
/** Whether to hide read-only properties */
|
|
19
|
-
hideReadOnly?: boolean;
|
|
20
|
-
/** Hide write-only properties */
|
|
21
|
-
hideWriteOnly?: boolean;
|
|
22
19
|
/** Breadcrumb for navigation */
|
|
23
20
|
breadcrumb?: string[];
|
|
21
|
+
/** Move the options into single prop so they are easy to pass around */
|
|
22
|
+
options: SchemaOptions;
|
|
24
23
|
};
|
|
25
24
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
25
|
compact: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAGrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAItE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGtE,KAAK,WAAW,GAAG;IACf,oDAAoD;IACpD,WAAW,EAAE,kBAAkB,CAAA;IAC/B,4DAA4D;IAC5D,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,MAAM,EAAE,YAAY,CAAA;IACpB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,yEAAyE;IACzE,OAAO,EAAE,aAAa,CAAA;CACvB,CAAC;;aAPU,OAAO;iBAEH,OAAO;;AAyNzB,wBAOG"}
|
|
@@ -1,94 +1,91 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListbox as
|
|
3
|
-
import { isDefined as
|
|
4
|
-
import { ScalarIconCaretDown as
|
|
5
|
-
import { getResolvedRef as
|
|
6
|
-
import { getSchemaType as
|
|
7
|
-
import { mergeAllOfSchemas as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as g, computed as n, ref as y, createElementBlock as s, openBlock as i, createBlock as C, unref as m, Fragment as S, createVNode as c, createElementVNode as r, withCtx as H, createCommentVNode as k, toDisplayString as u, normalizeClass as V } from "vue";
|
|
2
|
+
import { ScalarListbox as w } from "@scalar/components";
|
|
3
|
+
import { isDefined as B } from "@scalar/helpers/array/is-defined";
|
|
4
|
+
import { ScalarIconCaretDown as N } from "@scalar/icons";
|
|
5
|
+
import { getResolvedRef as O } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
6
|
+
import { getSchemaType as z } from "./helpers/get-schema-type.js";
|
|
7
|
+
import { mergeAllOfSchemas as D } from "./helpers/merge-all-of-schemas.js";
|
|
8
|
+
import b from "./Schema.vue.js";
|
|
9
|
+
const U = { class: "property-rule" }, A = {
|
|
10
10
|
class: "composition-selector bg-b-1.5 hover:bg-b-2 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border border-b-0 px-2 py-1.25 pr-3 text-left",
|
|
11
11
|
type: "button"
|
|
12
|
-
},
|
|
12
|
+
}, E = { class: "text-c-2" }, L = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "text-red"
|
|
15
|
-
},
|
|
15
|
+
}, R = { class: "composition-panel" }, J = /* @__PURE__ */ g({
|
|
16
16
|
__name: "SchemaComposition",
|
|
17
17
|
props: {
|
|
18
18
|
composition: {},
|
|
19
19
|
discriminator: {},
|
|
20
20
|
name: {},
|
|
21
|
-
|
|
21
|
+
schema: {},
|
|
22
22
|
level: {},
|
|
23
23
|
compact: { type: Boolean, default: !1 },
|
|
24
24
|
hideHeading: { type: Boolean, default: !1 },
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
breadcrumb: {}
|
|
25
|
+
breadcrumb: {},
|
|
26
|
+
options: {}
|
|
28
27
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const a =
|
|
31
|
-
() => [a.
|
|
32
|
-
),
|
|
33
|
-
() =>
|
|
28
|
+
setup(h) {
|
|
29
|
+
const a = h, p = n(
|
|
30
|
+
() => [a.schema[a.composition]].flat().map((e) => ({ value: O(e), original: e })).filter((e) => B(e.value))
|
|
31
|
+
), d = n(
|
|
32
|
+
() => p.value.map((e, o) => ({
|
|
34
33
|
id: String(o),
|
|
35
|
-
label:
|
|
34
|
+
label: z(e.original) || "Schema"
|
|
36
35
|
}))
|
|
37
|
-
),
|
|
38
|
-
() =>
|
|
36
|
+
), t = y(d.value[0]), f = (e) => e.replace(/([A-Z])/g, " $1").replace(/^./, (o) => o.toUpperCase()).toLowerCase().replace(/^(\w)/, (o) => o.toUpperCase()), l = n(
|
|
37
|
+
() => p.value[Number(t.value.id)].value
|
|
39
38
|
);
|
|
40
|
-
return (e, o) => (
|
|
41
|
-
a.composition === "allOf" ? (
|
|
39
|
+
return (e, o) => (i(), s("div", U, [
|
|
40
|
+
a.composition === "allOf" ? (i(), C(b, {
|
|
42
41
|
key: 0,
|
|
43
42
|
breadcrumb: e.breadcrumb,
|
|
44
43
|
compact: e.compact,
|
|
45
44
|
discriminator: e.discriminator,
|
|
46
45
|
hideHeading: e.hideHeading,
|
|
47
|
-
hideReadOnly: e.hideReadOnly,
|
|
48
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
49
46
|
level: e.level,
|
|
50
47
|
name: e.name,
|
|
51
48
|
noncollapsible: !0,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
options: e.options,
|
|
50
|
+
schema: m(D)(e.schema)
|
|
51
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "level", "name", "options", "schema"])) : (i(), s(S, { key: 1 }, [
|
|
52
|
+
c(m(w), {
|
|
53
|
+
modelValue: t.value,
|
|
54
|
+
"onUpdate:modelValue": o[0] || (o[0] = (v) => t.value = v),
|
|
55
|
+
options: d.value,
|
|
58
56
|
resize: ""
|
|
59
57
|
}, {
|
|
60
|
-
default:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
class:
|
|
65
|
-
"line-through":
|
|
58
|
+
default: H(() => [
|
|
59
|
+
r("button", A, [
|
|
60
|
+
r("span", E, u(f(a.composition)), 1),
|
|
61
|
+
r("span", {
|
|
62
|
+
class: V(["composition-selector-label text-c-1", {
|
|
63
|
+
"line-through": l.value?.deprecated
|
|
66
64
|
}])
|
|
67
|
-
}, u(
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
}, u(t.value?.label || "Schema"), 3),
|
|
66
|
+
l.value?.deprecated ? (i(), s("div", L, " deprecated ")) : k("", !0),
|
|
67
|
+
c(m(N))
|
|
70
68
|
])
|
|
71
69
|
]),
|
|
72
70
|
_: 1
|
|
73
71
|
}, 8, ["modelValue", "options"]),
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
r("div", R, [
|
|
73
|
+
c(b, {
|
|
76
74
|
breadcrumb: e.breadcrumb,
|
|
77
75
|
compact: e.compact,
|
|
78
76
|
discriminator: e.discriminator,
|
|
79
77
|
hideHeading: e.hideHeading,
|
|
80
|
-
hideReadOnly: e.hideReadOnly,
|
|
81
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
82
78
|
level: e.level + 1,
|
|
83
79
|
name: e.name,
|
|
84
80
|
noncollapsible: !0,
|
|
85
|
-
|
|
86
|
-
|
|
81
|
+
options: e.options,
|
|
82
|
+
schema: l.value
|
|
83
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "level", "name", "options", "schema"])
|
|
87
84
|
])
|
|
88
85
|
], 64))
|
|
89
86
|
]));
|
|
90
87
|
}
|
|
91
88
|
});
|
|
92
89
|
export {
|
|
93
|
-
|
|
90
|
+
J as default
|
|
94
91
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
2
1
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
|
+
import type { SchemaOptions } from '../../../components/Content/Schema/types';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
schema: SchemaObject;
|
|
5
5
|
discriminator?: DiscriminatorObject;
|
|
@@ -7,13 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
hideHeading?: boolean;
|
|
8
8
|
level?: number;
|
|
9
9
|
hideModelNames?: boolean;
|
|
10
|
-
/** Hide readonly properties */
|
|
11
|
-
hideReadOnly?: boolean;
|
|
12
|
-
/** Hide write-only properties */
|
|
13
|
-
hideWriteOnly?: boolean;
|
|
14
10
|
breadcrumb?: string[];
|
|
15
|
-
|
|
16
|
-
orderRequiredPropertiesFirst?: ApiReferenceConfiguration['orderRequiredPropertiesFirst'];
|
|
11
|
+
options: SchemaOptions;
|
|
17
12
|
};
|
|
18
13
|
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>;
|
|
19
14
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaObjectProperties.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaObjectProperties.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAItE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,YAAY,CAAA;IACpB,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,OAAO,EAAE,aAAa,CAAA;CACvB,CAAC;;AA2LF,wBAMG"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getResolvedRef as
|
|
3
|
-
import { isTypeObject as
|
|
4
|
-
import { sortPropertyNames as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as N, computed as y, createElementBlock as n, openBlock as i, Fragment as t, createCommentVNode as d, createBlock as s, unref as a, renderList as h } from "vue";
|
|
2
|
+
import { getResolvedRef as l } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
|
+
import { isTypeObject as c } from "./helpers/is-type-object.js";
|
|
4
|
+
import { sortPropertyNames as v } from "./helpers/sort-property-names.js";
|
|
5
|
+
import p from "./SchemaProperty.vue.js";
|
|
6
|
+
const B = /* @__PURE__ */ N({
|
|
7
7
|
__name: "SchemaObjectProperties",
|
|
8
8
|
props: {
|
|
9
9
|
schema: {},
|
|
@@ -12,74 +12,63 @@ const H = /* @__PURE__ */ f({
|
|
|
12
12
|
hideHeading: { type: Boolean },
|
|
13
13
|
level: {},
|
|
14
14
|
hideModelNames: { type: Boolean },
|
|
15
|
-
hideReadOnly: { type: Boolean },
|
|
16
|
-
hideWriteOnly: { type: Boolean },
|
|
17
15
|
breadcrumb: {},
|
|
18
|
-
|
|
19
|
-
orderRequiredPropertiesFirst: { default: !0 }
|
|
16
|
+
options: {}
|
|
20
17
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
() =>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})
|
|
29
|
-
), p = (e) => {
|
|
30
|
-
const d = h(e);
|
|
31
|
-
return typeof d == "object" && typeof d["x-additionalPropertiesName"] == "string" && d["x-additionalPropertiesName"].trim().length > 0 ? `${d["x-additionalPropertiesName"].trim()}` : "propertyName";
|
|
32
|
-
}, b = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
|
|
18
|
+
setup(m) {
|
|
19
|
+
const u = y(
|
|
20
|
+
() => v(m.schema, m.discriminator, m.options)
|
|
21
|
+
), b = (e) => {
|
|
22
|
+
const o = l(e);
|
|
23
|
+
return typeof o == "object" && typeof o["x-additionalPropertiesName"] == "string" && o["x-additionalPropertiesName"].trim().length > 0 ? `${o["x-additionalPropertiesName"].trim()}` : "propertyName";
|
|
24
|
+
}, g = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
|
|
33
25
|
// @ts-expect-error - ask hans
|
|
34
26
|
type: "anything",
|
|
35
27
|
...typeof e == "object" ? e : {}
|
|
36
28
|
} : e;
|
|
37
|
-
return (e,
|
|
38
|
-
|
|
29
|
+
return (e, o) => (i(), n(t, null, [
|
|
30
|
+
a(c)(e.schema) && e.schema.properties ? (i(!0), n(t, { key: 0 }, h(u.value, (r) => (i(), s(p, {
|
|
39
31
|
key: r,
|
|
40
32
|
breadcrumb: e.breadcrumb,
|
|
41
33
|
compact: e.compact,
|
|
42
34
|
discriminator: e.discriminator,
|
|
43
35
|
hideHeading: e.hideHeading,
|
|
44
36
|
hideModelNames: e.hideModelNames,
|
|
45
|
-
hideReadOnly: e.hideReadOnly,
|
|
46
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
47
37
|
level: e.level,
|
|
48
38
|
name: r,
|
|
39
|
+
options: e.options,
|
|
49
40
|
required: e.schema.required?.includes(r),
|
|
50
|
-
|
|
51
|
-
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "
|
|
52
|
-
|
|
41
|
+
schema: a(l)(e.schema.properties[r])
|
|
42
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "level", "name", "options", "required", "schema"]))), 128)) : d("", !0),
|
|
43
|
+
a(c)(e.schema) && e.schema.patternProperties ? (i(!0), n(t, { key: 1 }, h(Object.entries(e.schema.patternProperties), ([r, f]) => (i(), s(p, {
|
|
53
44
|
key: r,
|
|
54
45
|
breadcrumb: e.breadcrumb,
|
|
55
46
|
compact: e.compact,
|
|
56
47
|
discriminator: e.discriminator,
|
|
57
48
|
hideHeading: e.hideHeading,
|
|
58
49
|
hideModelNames: e.hideModelNames,
|
|
59
|
-
hideReadOnly: e.hideReadOnly,
|
|
60
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
61
50
|
level: e.level,
|
|
62
51
|
name: r,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
options: e.options,
|
|
53
|
+
schema: a(l)(f)
|
|
54
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "level", "name", "options", "schema"]))), 128)) : d("", !0),
|
|
55
|
+
a(c)(e.schema) && e.schema.additionalProperties ? (i(), s(p, {
|
|
66
56
|
key: 2,
|
|
67
57
|
breadcrumb: e.breadcrumb,
|
|
68
58
|
compact: e.compact,
|
|
69
59
|
discriminator: e.discriminator,
|
|
70
60
|
hideHeading: e.hideHeading,
|
|
71
61
|
hideModelNames: e.hideModelNames,
|
|
72
|
-
hideReadOnly: e.hideReadOnly,
|
|
73
|
-
hideWriteOnly: e.hideWriteOnly,
|
|
74
62
|
level: e.level,
|
|
75
|
-
name:
|
|
63
|
+
name: b(e.schema.additionalProperties),
|
|
76
64
|
noncollapsible: "",
|
|
77
|
-
|
|
65
|
+
options: e.options,
|
|
66
|
+
schema: g(e.schema.additionalProperties),
|
|
78
67
|
variant: "additionalProperties"
|
|
79
|
-
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "
|
|
68
|
+
}, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "level", "name", "options", "schema"])) : d("", !0)
|
|
80
69
|
], 64));
|
|
81
70
|
}
|
|
82
71
|
});
|
|
83
72
|
export {
|
|
84
|
-
|
|
73
|
+
B as default
|
|
85
74
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DiscriminatorObject, SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
2
2
|
import { type Component } from 'vue';
|
|
3
|
+
import type { SchemaOptions } from '../../../components/Content/Schema/types';
|
|
3
4
|
/**
|
|
4
5
|
* Note: We're taking in a prop called `value` which should be a JSON Schema.
|
|
5
6
|
*
|
|
@@ -8,7 +9,7 @@ import { type Component } from 'vue';
|
|
|
8
9
|
*/
|
|
9
10
|
type __VLS_Props = {
|
|
10
11
|
is?: string | Component;
|
|
11
|
-
|
|
12
|
+
schema: SchemaObject | undefined;
|
|
12
13
|
noncollapsible?: boolean;
|
|
13
14
|
level?: number;
|
|
14
15
|
name?: string;
|
|
@@ -18,12 +19,9 @@ type __VLS_Props = {
|
|
|
18
19
|
description?: string;
|
|
19
20
|
hideModelNames?: boolean;
|
|
20
21
|
hideHeading?: boolean;
|
|
21
|
-
/** Hide read-only properties */
|
|
22
|
-
hideReadOnly?: boolean;
|
|
23
|
-
/** Hide write-only properties */
|
|
24
|
-
hideWriteOnly?: boolean;
|
|
25
22
|
variant?: 'additionalProperties' | 'patternProperties';
|
|
26
23
|
breadcrumb?: string[];
|
|
24
|
+
options: SchemaOptions;
|
|
27
25
|
};
|
|
28
26
|
declare const _default_1: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
29
27
|
level: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA4iBA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAErE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAI9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAUtE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,OAAO,EAAE,aAAa,CAAA;CACvB,CAAC;;WAXQ,MAAM;cAEH,OAAO;aACR,OAAO;oBAGA,OAAO;;AAsjB5B,0BAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaProperty.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ad32fbeb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|