@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.
Files changed (123) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/browser/standalone.js +15482 -15086
  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/Content/Models/ClassicLayout.vue.d.ts +2 -0
  7. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
  9. package/dist/components/Content/Models/ClassicLayout.vue2.js +52 -41
  10. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Models/Models.vue.js +9 -8
  12. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Models/ModernLayout.vue.js +2 -2
  14. package/dist/components/Content/Models/ModernLayout.vue2.js +46 -42
  15. package/dist/components/Content/Schema/Schema.vue.d.ts +3 -4
  16. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  18. package/dist/components/Content/Schema/Schema.vue2.js +71 -74
  19. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +4 -5
  20. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Schema/SchemaComposition.vue.js +46 -49
  22. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +2 -7
  23. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +29 -40
  25. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +3 -5
  26. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +72 -76
  29. package/dist/components/Content/Schema/types.d.ts +17 -0
  30. package/dist/components/Content/Schema/types.d.ts.map +1 -0
  31. package/dist/components/OperationsList/OperationsList.vue.js +2 -2
  32. package/dist/components/Section/Section.vue.js +1 -1
  33. package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
  34. package/dist/consts/urls.d.ts +17 -0
  35. package/dist/consts/urls.d.ts.map +1 -0
  36. package/dist/consts/urls.js +7 -0
  37. package/dist/features/Operation/components/Header.vue.d.ts +2 -0
  38. package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
  39. package/dist/features/Operation/components/Header.vue.js +15 -10
  40. package/dist/features/Operation/components/Headers.vue.d.ts +2 -0
  41. package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
  42. package/dist/features/Operation/components/Headers.vue.js +2 -2
  43. package/dist/features/Operation/components/Headers.vue2.js +26 -24
  44. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  45. package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
  46. package/dist/features/Operation/components/ParameterListItem.vue2.js +55 -48
  47. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  48. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  49. package/dist/features/Operation/components/RequestBody.vue2.js +74 -61
  50. package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
  51. package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
  52. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  53. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  54. package/dist/features/api-client-modal/useApiClient.d.ts +20 -20
  55. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  56. package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
  57. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  58. package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
  59. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
  60. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
  61. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
  62. package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
  63. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
  64. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
  65. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
  66. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
  67. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
  68. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
  69. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
  70. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
  71. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
  72. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
  73. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
  74. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
  75. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
  76. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
  77. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
  78. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
  79. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
  80. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
  81. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
  82. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
  83. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
  84. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
  85. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
  86. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
  87. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
  88. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
  89. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
  90. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
  91. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
  92. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
  93. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
  94. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
  95. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
  96. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
  97. package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
  98. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
  99. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
  100. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
  101. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
  102. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
  103. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
  104. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
  105. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
  106. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
  107. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
  108. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
  109. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
  110. package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
  111. package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
  112. package/dist/features/toolbar/uploadTempDocument.js +21 -0
  113. package/dist/helpers/convert-security-scheme.d.ts +1 -1
  114. package/dist/index.js +1 -1
  115. package/dist/style.css +1 -1
  116. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
  117. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  118. package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
  119. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
  120. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
  121. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +5 -6
  122. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  123. package/package.json +12 -12
@@ -1,18 +1,18 @@
1
- import { defineComponent as N, computed as O, createBlock as d, createCommentVNode as n, openBlock as l, unref as i, withCtx as s, createElementVNode as k, normalizeClass as c, createElementBlock as r, createVNode as o, withDirectives as g, createTextVNode as m, toDisplayString as u, vShow as B, normalizeStyle as H, Fragment as h } from "vue";
2
- import { Disclosure as P, DisclosureButton as S, DisclosurePanel as R } from "@headlessui/vue";
3
- import { ScalarMarkdown as M, ScalarIcon as y } from "@scalar/components";
4
- import C from "../../ScreenReader.vue.js";
5
- import { isTypeObject as w } from "./helpers/is-type-object.js";
6
- import W from "./SchemaHeading.vue.js";
7
- import D from "./SchemaObjectProperties.vue.js";
8
- import z from "./SchemaProperty.vue.js";
9
- const A = {
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
- }, V = {
12
+ }, T = {
13
13
  key: 0,
14
14
  class: "schema-properties"
15
- }, J = /* @__PURE__ */ N({
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 p = O(() => !a.noncollapsible && a.level > 0), f = O(() => 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();
33
- return (e, b) => typeof e.schema == "object" && Object.keys(e.schema).length ? (l(), d(i(P), {
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: s(({ open: t }) => [
38
- k("div", {
39
- class: c(["schema-card", [
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": t },
42
- { "border-t": e.additionalProperties && t }
40
+ { "schema-card--compact": e.compact, "schema-card--open": o },
41
+ { "border-t": e.additionalProperties && o }
43
42
  ]])
44
43
  }, [
45
- f.value ? (l(), r("div", A, [
46
- o(i(M), { value: f.value }, null, 8, ["value"])
47
- ])) : n("", !0),
48
- k("div", {
49
- class: c(["schema-properties", {
50
- "schema-properties-open": t
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 ? g((l(), r("div", V, [
54
- o(i(S), {
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: s(() => [
60
- o(i(y), {
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] = m(" Show additional properties ")),
66
- e.name ? (l(), d(C, { key: 0 }, {
67
- default: s(() => [
68
- m("for " + u(e.name), 1)
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
- })) : n("", !0)
70
+ })) : t("", !0)
72
71
  ]),
73
72
  _: 1,
74
73
  __: [0]
75
74
  })
76
75
  ], 512)), [
77
- [B, !t]
78
- ]) : p.value ? g((l(), d(i(S), {
76
+ [C, !o]
77
+ ]) : f.value ? S((i(), s(l(N), {
79
78
  key: 1,
80
79
  as: e.noncollapsible ? "div" : "button",
81
- class: c(["schema-card-title", { "schema-card-title--compact": e.compact }]),
82
- style: H({
83
- top: `calc(var(--refs-header-height) + calc(var(--schema-title-height) * ${e.level}))`
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: s(() => [
88
- e.compact ? (l(), r(h, { key: 0 }, [
89
- o(i(y), {
90
- class: c(["schema-card-title-icon", { "schema-card-title-icon--open": t }]),
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
- t ? (l(), r(h, { key: 0 }, [
95
- m(" Hide " + u(e.schema?.title ?? "Child Attributes"), 1)
96
- ], 64)) : (l(), r(h, { key: 1 }, [
97
- m(" Show " + u(e.schema?.title ?? "Child Attributes"), 1)
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 ? (l(), d(C, { key: 2 }, {
100
- default: s(() => [
101
- m("for " + u(e.name), 1)
98
+ e.name ? (i(), s(B, { key: 2 }, {
99
+ default: r(() => [
100
+ d("for " + u(e.name), 1)
102
101
  ]),
103
102
  _: 1
104
- })) : n("", !0)
105
- ], 64)) : (l(), r(h, { key: 1 }, [
106
- o(i(y), {
107
- class: c(["schema-card-title-icon", { "schema-card-title-icon--open": t }]),
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
- o(W, {
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
- [B, !e.hideHeading && !(e.noncollapsible && e.compact)]
120
- ]) : n("", !0),
121
- !e.additionalProperties || t ? (l(), d(i(R), {
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: !p.value
123
+ static: !f.value
125
124
  }, {
126
- default: s(() => [
127
- i(w)(e.schema) ? (l(), d(D, {
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", "hideReadOnly", "hideWriteOnly", "level", "schema"])) : (l(), r(h, { key: 1 }, [
139
- e.schema ? (l(), d(z, {
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
- value: e.schema
149
- }, null, 8, ["breadcrumb", "compact", "hideHeading", "hideModelNames", "hideReadOnly", "hideWriteOnly", "level", "value"])) : n("", !0)
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"])) : n("", !0)
150
+ }, 8, ["static"])) : t("", !0)
154
151
  ], 2)
155
152
  ], 2)
156
153
  ]),
157
154
  _: 1
158
- }, 8, ["defaultOpen"])) : n("", !0);
155
+ }, 8, ["defaultOpen"])) : t("", !0);
159
156
  }
160
157
  });
161
158
  export {
162
- J as default
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
- value: SchemaObject;
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":"AAwJA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,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,KAAK,EAAE,YAAY,CAAA;IACnB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAA;IACb,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,2CAA2C;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,iCAAiC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;aATU,OAAO;iBAEH,OAAO;;AA+NzB,wBAOG"}
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 y, computed as n, ref as g, createElementBlock as d, openBlock as l, createBlock as O, unref as m, Fragment as C, createVNode as s, createElementVNode as t, withCtx as S, createCommentVNode as R, toDisplayString as u, normalizeClass as B } from "vue";
2
- import { ScalarListbox as H } from "@scalar/components";
3
- import { isDefined as W } from "@scalar/helpers/array/is-defined";
4
- import { ScalarIconCaretDown as k } from "@scalar/icons";
5
- import { getResolvedRef as V } from "@scalar/workspace-store/helpers/get-resolved-ref";
6
- import { getSchemaType as w } from "./helpers/get-schema-type.js";
7
- import { mergeAllOfSchemas as N } from "./helpers/merge-all-of-schemas.js";
8
- import h from "./Schema.vue.js";
9
- const z = { class: "property-rule" }, D = {
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
- }, U = { class: "text-c-2" }, A = {
12
+ }, E = { class: "text-c-2" }, L = {
13
13
  key: 0,
14
14
  class: "text-red"
15
- }, E = { class: "composition-panel" }, G = /* @__PURE__ */ y({
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
- value: {},
21
+ schema: {},
22
22
  level: {},
23
23
  compact: { type: Boolean, default: !1 },
24
24
  hideHeading: { type: Boolean, default: !1 },
25
- hideReadOnly: { type: Boolean },
26
- hideWriteOnly: { type: Boolean },
27
- breadcrumb: {}
25
+ breadcrumb: {},
26
+ options: {}
28
27
  },
29
- setup(b) {
30
- const a = b, c = n(
31
- () => [a.value[a.composition]].flat().map((e) => ({ value: V(e), original: e })).filter((e) => W(e.value))
32
- ), p = n(
33
- () => c.value.map((e, o) => ({
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: w(e.original) || "Schema"
34
+ label: z(e.original) || "Schema"
36
35
  }))
37
- ), i = g(p.value[0]), v = (e) => e.replace(/([A-Z])/g, " $1").replace(/^./, (o) => o.toUpperCase()).toLowerCase().replace(/^(\w)/, (o) => o.toUpperCase()), r = n(
38
- () => c.value[Number(i.value.id)].value
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) => (l(), d("div", z, [
41
- a.composition === "allOf" ? (l(), O(h, {
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
- schema: m(N)(a.value)
53
- }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideReadOnly", "hideWriteOnly", "level", "name", "schema"])) : (l(), d(C, { key: 1 }, [
54
- s(m(H), {
55
- modelValue: i.value,
56
- "onUpdate:modelValue": o[0] || (o[0] = (f) => i.value = f),
57
- options: p.value,
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: S(() => [
61
- t("button", D, [
62
- t("span", U, u(v(a.composition)), 1),
63
- t("span", {
64
- class: B(["composition-selector-label text-c-1", {
65
- "line-through": r.value?.deprecated
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(i.value?.label || "Schema"), 3),
68
- r.value?.deprecated ? (l(), d("div", A, " deprecated ")) : R("", !0),
69
- s(m(k))
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
- t("div", E, [
75
- s(h, {
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
- schema: r.value
86
- }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideReadOnly", "hideWriteOnly", "level", "name", "schema"])
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
- G as default
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
- orderSchemaPropertiesBy?: ApiReferenceConfiguration['orderSchemaPropertiesBy'];
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":"AA8JA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAQrE,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,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,iCAAiC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,uBAAuB,CAAC,EAAE,yBAAyB,CAAC,yBAAyB,CAAC,CAAA;IAC9E,4BAA4B,CAAC,EAAE,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;CACzF,CAAC;;AA6MF,wBAMG"}
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 f, computed as v, createElementBlock as o, openBlock as a, Fragment as t, createCommentVNode as l, createBlock as m, unref as n, renderList as u } from "vue";
2
- import { getResolvedRef as h } from "@scalar/workspace-store/helpers/get-resolved-ref";
3
- import { isTypeObject as s } from "./helpers/is-type-object.js";
4
- import { sortPropertyNames as g } from "./helpers/sort-property-names.js";
5
- import c from "./SchemaProperty.vue.js";
6
- const H = /* @__PURE__ */ f({
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
- orderSchemaPropertiesBy: { default: "alpha" },
19
- orderRequiredPropertiesFirst: { default: !0 }
16
+ options: {}
20
17
  },
21
- setup(i) {
22
- const y = v(
23
- () => g(i.schema, i.discriminator, {
24
- hideReadOnly: i.hideReadOnly,
25
- hideWriteOnly: i.hideWriteOnly,
26
- orderSchemaPropertiesBy: i.orderSchemaPropertiesBy,
27
- orderRequiredPropertiesFirst: i.orderRequiredPropertiesFirst
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, d) => (a(), o(t, null, [
38
- n(s)(e.schema) && e.schema.properties ? (a(!0), o(t, { key: 0 }, u(y.value, (r) => (a(), m(c, {
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
- value: n(h)(e.schema.properties[r])
51
- }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "hideReadOnly", "hideWriteOnly", "level", "name", "required", "value"]))), 128)) : l("", !0),
52
- n(s)(e.schema) && e.schema.patternProperties ? (a(!0), o(t, { key: 1 }, u(Object.entries(e.schema.patternProperties), ([r, O]) => (a(), m(c, {
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
- value: n(h)(O)
64
- }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "hideReadOnly", "hideWriteOnly", "level", "name", "value"]))), 128)) : l("", !0),
65
- n(s)(e.schema) && e.schema.additionalProperties ? (a(), m(c, {
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: p(e.schema.additionalProperties),
63
+ name: b(e.schema.additionalProperties),
76
64
  noncollapsible: "",
77
- value: b(e.schema.additionalProperties),
65
+ options: e.options,
66
+ schema: g(e.schema.additionalProperties),
78
67
  variant: "additionalProperties"
79
- }, null, 8, ["breadcrumb", "compact", "discriminator", "hideHeading", "hideModelNames", "hideReadOnly", "hideWriteOnly", "level", "name", "value"])) : l("", !0)
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
- H as default
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
- value: SchemaObject | undefined;
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":"AAijBA,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAErE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAa9C;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,EAAE,YAAY,GAAG,SAAS,CAAA;IAC/B,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,gCAAgC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,iCAAiC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;WAdQ,MAAM;cAEH,OAAO;aACR,OAAO;oBAGA,OAAO;;AA+jB5B,0BAOG"}
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 p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7569fa08"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ad32fbeb"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };