@scalar/api-reference 1.25.7 → 1.25.10

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 (143) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/browser/standalone.js +12353 -12767
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.js +5 -5
  5. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  6. package/dist/components/ApiReference.vue.js +43 -42
  7. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  9. package/dist/components/ApiReferenceLayout.vue2.js +67 -61
  10. package/dist/components/Content/Authentication/Authentication.vue.js +1 -1
  11. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
  12. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  14. package/dist/components/Content/Introduction/Introduction.vue2.js +9 -9
  15. package/dist/components/Content/Models/Models.vue.d.ts +1 -1
  16. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Models/Models.vue.js +2 -2
  18. package/dist/components/Content/Models/Models.vue2.js +68 -47
  19. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +1 -1
  20. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Models/ModelsAccordion.vue.js +1 -1
  22. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  23. package/dist/components/Content/Operation/Operation.vue.js +2 -2
  24. package/dist/components/Content/Operation/Operation.vue2.js +46 -59
  25. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Operation/OperationAccordion.vue.js +2 -2
  27. package/dist/components/Content/Operation/OperationAccordion.vue2.js +53 -49
  28. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.js +1 -1
  29. package/dist/components/Content/Operation/PathResponses/PathResponses.vue2.js +1 -1
  30. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Operation/TestRequestButton.vue.js +1 -1
  32. package/dist/components/Content/Operation/TestRequestButton.vue2.js +30 -22
  33. package/dist/components/Content/Schema/Schema.vue.d.ts +1 -1
  34. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  36. package/dist/components/Content/Schema/Schema.vue2.js +18 -18
  37. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +1 -1
  38. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  39. package/dist/components/Content/Schema/SchemaHeading.vue.js +2 -2
  40. package/dist/components/Content/Schema/SchemaHeading.vue2.js +14 -14
  41. package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -0
  42. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  44. package/dist/components/Content/Tag/Endpoints.vue2.js +31 -29
  45. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Tag/Tag.vue.js +3 -3
  47. package/dist/components/Content/Tag/Tag.vue2.js +15 -14
  48. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  49. package/dist/components/Content/Webhooks/Webhook.vue.js +5 -33
  50. package/dist/components/Content/Webhooks/Webhook.vue2.js +37 -2
  51. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  52. package/dist/components/Content/Webhooks/Webhooks.vue.js +2 -2
  53. package/dist/components/Content/Webhooks/Webhooks.vue2.js +91 -62
  54. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
  55. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +3 -3
  56. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  57. package/dist/components/Layouts/ClassicLayout.vue.js +18 -17
  58. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  59. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  60. package/dist/components/Layouts/ModernLayout.vue2.js +31 -28
  61. package/dist/components/Section/CompactSection.vue.d.ts +28 -0
  62. package/dist/components/Section/CompactSection.vue.d.ts.map +1 -0
  63. package/dist/components/Section/CompactSection.vue.js +7 -0
  64. package/dist/components/Section/CompactSection.vue2.js +59 -0
  65. package/dist/components/Section/index.d.ts +1 -0
  66. package/dist/components/Section/index.d.ts.map +1 -1
  67. package/dist/{components/Content/Models/CollapsedModel.vue.d.ts → embeds/ExampleRequest/ExampleRequest.vue.d.ts} +9 -5
  68. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -0
  69. package/dist/embeds/ExampleRequest/index.d.ts +2 -0
  70. package/dist/embeds/ExampleRequest/index.d.ts.map +1 -0
  71. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +508 -0
  72. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -0
  73. package/dist/embeds/OpenApiDocument/index.d.ts +3 -0
  74. package/dist/embeds/OpenApiDocument/index.d.ts.map +1 -0
  75. package/dist/embeds/OpenApiDocument/types.d.ts +3 -0
  76. package/dist/embeds/OpenApiDocument/types.d.ts.map +1 -0
  77. package/dist/embeds/index.d.ts +3 -0
  78. package/dist/embeds/index.d.ts.map +1 -0
  79. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  80. package/dist/features/BaseUrl/BaseUrl.vue.js +24 -74
  81. package/dist/features/BaseUrl/types.d.ts +1 -1
  82. package/dist/features/BaseUrl/types.d.ts.map +1 -1
  83. package/dist/features/BaseUrl/utils/getServers.d.ts +3 -2
  84. package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -1
  85. package/dist/{components/Content/Introduction/DownloadSpec.vue.d.ts → features/DownloadLink/DownloadLink.vue.d.ts} +1 -1
  86. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -0
  87. package/dist/features/DownloadLink/DownloadLink.vue.js +7 -0
  88. package/dist/features/DownloadLink/DownloadLink.vue2.js +36 -0
  89. package/dist/features/DownloadLink/index.d.ts +2 -0
  90. package/dist/features/DownloadLink/index.d.ts.map +1 -0
  91. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +1 -3
  92. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  93. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  94. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +127 -122
  95. package/dist/helpers/createEmptySpecification.d.ts +1 -1
  96. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  97. package/dist/helpers/getApiClientRequest.d.ts +1 -1
  98. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  99. package/dist/helpers/getHarRequest.d.ts.map +1 -1
  100. package/dist/helpers/getHarRequest.js +8 -15
  101. package/dist/helpers/getModels.d.ts +1 -1
  102. package/dist/helpers/getModels.d.ts.map +1 -1
  103. package/dist/helpers/openClientFor.d.ts +1 -1
  104. package/dist/helpers/openClientFor.d.ts.map +1 -1
  105. package/dist/helpers/openClientFor.js +5 -5
  106. package/dist/helpers/parse.d.ts.map +1 -1
  107. package/dist/helpers/provideSymbols.d.ts +4 -2
  108. package/dist/helpers/provideSymbols.d.ts.map +1 -1
  109. package/dist/helpers/provideSymbols.js +5 -3
  110. package/dist/index.js +66 -64
  111. package/dist/legacy/components/SecurityScheme.vue.d.ts +1 -1
  112. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
  113. package/dist/legacy/components/SecurityScheme.vue.js +2 -2
  114. package/dist/legacy/components/SecurityScheme.vue2.js +57 -53
  115. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +1 -1
  116. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
  117. package/dist/legacy/components/SecuritySchemeSelector.vue.js +4 -4
  118. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +5 -5
  119. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +1 -1
  120. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -1
  121. package/dist/legacy/helpers/getUrlFromServerState.d.ts +1 -1
  122. package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -1
  123. package/dist/legacy/helpers/index.d.ts +1 -1
  124. package/dist/legacy/helpers/normalizeHeaders.d.ts +2 -3
  125. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -1
  126. package/dist/legacy/helpers/normalizeHeaders.js +24 -0
  127. package/dist/legacy/stores/useOpenApiStore.d.ts +2 -2
  128. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  129. package/dist/legacy/stores/useServerStore.d.ts +32 -6
  130. package/dist/legacy/stores/useServerStore.d.ts.map +1 -1
  131. package/dist/legacy/stores/useServerStore.js +70 -11
  132. package/dist/legacy/types.d.ts +0 -23
  133. package/dist/legacy/types.d.ts.map +1 -1
  134. package/dist/style.css +1 -1
  135. package/package.json +12 -11
  136. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +0 -1
  137. package/dist/components/Content/Introduction/DownloadSpec.vue.js +0 -7
  138. package/dist/components/Content/Introduction/DownloadSpec.vue2.js +0 -30
  139. package/dist/components/Content/Models/CollapsedModel.vue.d.ts.map +0 -1
  140. package/dist/components/Content/Models/CollapsedModel.vue.js +0 -7
  141. package/dist/components/Content/Models/CollapsedModel.vue2.js +0 -70
  142. package/dist/features/BaseUrl/utils/index.d.ts +0 -2
  143. package/dist/features/BaseUrl/utils/index.d.ts.map +0 -1
@@ -1,66 +1,87 @@
1
- import { defineComponent as M, computed as u, openBlock as r, createBlock as d, unref as e, withCtx as s, createVNode as l, createTextVNode as k, createElementBlock as v, Fragment as I, renderList as y, createCommentVNode as p, pushScopeId as N, popScopeId as L, createElementVNode as b } from "vue";
2
- import C from "../../ShowMoreButton.vue.js";
3
- import g from "./CollapsedModel.vue.js";
4
- import w from "../../Section/SectionContainer.vue.js";
5
- import B from "../../Section/Section.vue.js";
6
- import O from "../../Section/SectionHeader.vue.js";
7
- import f from "../Lazy/Lazy.vue.js";
8
- import { useSidebar as V } from "../../../hooks/useSidebar.js";
9
- import { useNavState as A } from "../../../hooks/useNavState.js";
10
- const E = (o) => (N("data-v-5a02ee3b"), o = o(), L(), o), j = /* @__PURE__ */ E(() => /* @__PURE__ */ b("div", { id: "models" }, null, -1)), _ = 10, q = /* @__PURE__ */ M({
1
+ import { defineComponent as S, computed as c, openBlock as a, createBlock as i, unref as e, withCtx as l, createVNode as s, createTextVNode as v, createElementVNode as k, normalizeClass as M, createElementBlock as b, Fragment as y, renderList as N, createCommentVNode as n } from "vue";
2
+ import g from "../../ShowMoreButton.vue.js";
3
+ import C from "../../Section/SectionContainer.vue.js";
4
+ import L from "../../Section/Section.vue.js";
5
+ import I from "../../Section/SectionHeader.vue.js";
6
+ import u from "../Lazy/Lazy.vue.js";
7
+ import w from "../../Section/CompactSection.vue.js";
8
+ import B from "../Schema/SchemaHeading.vue.js";
9
+ import H from "../Schema/Schema.vue.js";
10
+ import { useSidebar as O } from "../../../hooks/useSidebar.js";
11
+ import { useNavState as V } from "../../../hooks/useNavState.js";
12
+ const f = 10, q = /* @__PURE__ */ S({
11
13
  __name: "Models",
12
14
  props: {
13
15
  schemas: {}
14
16
  },
15
- setup(o) {
16
- const m = o, { collapsedSidebarItems: h } = V(), { getModelId: a } = A(), n = u(
17
- () => Object.keys(m.schemas ?? {}).length <= _ || h[a()]
18
- ), i = u(() => {
19
- const t = Object.keys(m.schemas ?? {});
20
- return n.value ? t : t.slice(0, _);
17
+ setup(p) {
18
+ const d = p, { collapsedSidebarItems: h } = O(), { getModelId: r } = V(), m = c(
19
+ () => Object.keys(d.schemas ?? {}).length <= f || h[r()]
20
+ ), _ = c(() => {
21
+ const t = Object.keys(d.schemas ?? {});
22
+ return m.value ? t : t.slice(0, f);
21
23
  });
22
- return (t, x) => t.schemas ? (r(), d(e(w), { key: 0 }, {
23
- default: s(() => [
24
- l(e(B), null, {
25
- default: s(() => [
26
- l(e(O), { level: 2 }, {
27
- default: s(() => [
28
- k("Models")
24
+ return (t, z) => t.schemas ? (a(), i(e(C), {
25
+ key: 0,
26
+ id: "models"
27
+ }, {
28
+ default: l(() => [
29
+ s(e(L), null, {
30
+ default: l(() => [
31
+ s(e(I), { level: 2 }, {
32
+ default: l(() => [
33
+ v("Models")
29
34
  ]),
30
35
  _: 1
31
36
  }),
32
- l(e(f), {
37
+ s(e(u), {
33
38
  id: "models",
34
39
  isLazy: !1
35
- }, {
36
- default: s(() => [
37
- j
38
- ]),
39
- _: 1
40
40
  }),
41
- (r(!0), v(I, null, y(i.value, (c, S) => (r(), d(e(f), {
42
- id: e(a)(c),
43
- key: c,
44
- isLazy: ""
45
- }, {
46
- default: s(() => [
47
- l(g, {
48
- name: c,
49
- schemas: t.schemas
50
- }, null, 8, ["name", "schemas"]),
51
- !n.value && S === i.value.length - 1 ? (r(), d(C, {
52
- key: 0,
53
- id: e(a)()
54
- }, null, 8, ["id"])) : p("", !0)
55
- ]),
56
- _: 2
57
- }, 1032, ["id"]))), 128))
41
+ k("div", {
42
+ class: M(["models-list", { "models-list-truncated": !m.value }])
43
+ }, [
44
+ (a(!0), b(y, null, N(_.value, (o) => (a(), i(e(u), {
45
+ id: e(r)(o),
46
+ key: o,
47
+ isLazy: ""
48
+ }, {
49
+ default: l(() => [
50
+ s(e(w), {
51
+ id: e(r)(o),
52
+ class: "models-list-item",
53
+ label: o
54
+ }, {
55
+ heading: l(() => [
56
+ s(e(B), {
57
+ name: o,
58
+ value: t.schemas[o]
59
+ }, null, 8, ["name", "value"])
60
+ ]),
61
+ default: l(() => [
62
+ s(e(H), {
63
+ hideHeading: !0,
64
+ noncollapsible: "",
65
+ value: t.schemas[o]
66
+ }, null, 8, ["value"])
67
+ ]),
68
+ _: 2
69
+ }, 1032, ["id", "label"])
70
+ ]),
71
+ _: 2
72
+ }, 1032, ["id"]))), 128))
73
+ ], 2),
74
+ m.value ? n("", !0) : (a(), i(g, {
75
+ key: 0,
76
+ id: e(r)(),
77
+ class: "show-more-models"
78
+ }, null, 8, ["id"]))
58
79
  ]),
59
80
  _: 1
60
81
  })
61
82
  ]),
62
83
  _: 1
63
- })) : p("", !0);
84
+ })) : n("", !0);
64
85
  }
65
86
  });
66
87
  export {
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
1
+ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;;cAgBzE,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;cAHP,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO;;AA6Lb,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAA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,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ModelsAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-304ad700"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-b3be69ad"]]);
5
5
  export {
6
6
  d as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Operation.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAsBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AAyQjC,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
+ {"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Operation.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAoBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AAiPjC,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,7 +1,7 @@
1
1
  import o from "./Operation.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d7704f5f"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-81bfb2d1"]]);
5
5
  export {
6
- a as default
6
+ f as default
7
7
  };
@@ -1,61 +1,52 @@
1
- import { defineComponent as S, computed as _, openBlock as i, createBlock as p, unref as o, withCtx as t, createVNode as r, createTextVNode as s, createCommentVNode as d, createElementVNode as u, normalizeClass as k, toDisplayString as y } from "vue";
2
- import E from "./EndpointDetails.vue.js";
3
- import g from "./EndpointPath.vue.js";
4
- import v from "./TestRequestButton.vue.js";
5
- import B from "../../Section/Section.vue.js";
6
- import N from "../../Section/SectionContent.vue.js";
7
- import R from "../../Section/SectionColumns.vue.js";
8
- import f from "../../Section/SectionColumn.vue.js";
1
+ import { defineComponent as f, openBlock as i, createBlock as p, unref as t, withCtx as r, createVNode as o, createTextVNode as l, createCommentVNode as s, createElementVNode as m, normalizeClass as u, toDisplayString as c } from "vue";
2
+ import h from "./EndpointDetails.vue.js";
3
+ import _ from "./EndpointPath.vue.js";
4
+ import C from "./TestRequestButton.vue.js";
5
+ import S from "../../Section/Section.vue.js";
6
+ import B from "../../Section/SectionContent.vue.js";
7
+ import N from "../../Section/SectionColumns.vue.js";
8
+ import d from "../../Section/SectionColumn.vue.js";
9
9
  import V from "../../Badge/Badge.vue.js";
10
- import b from "../../Section/SectionHeader.vue.js";
11
- import q from "../../Anchor/Anchor.vue.js";
12
- import x from "../../../features/ExampleRequest/ExampleRequest.vue.js";
13
- import T from "./PathResponses/PathResponses.vue.js";
14
- import { useHttpClientStore as D } from "../../../stores/useHttpClientStore.js";
15
- const H = { class: "examples" }, Q = /* @__PURE__ */ S({
10
+ import g from "../../Section/SectionHeader.vue.js";
11
+ import k from "../../Anchor/Anchor.vue.js";
12
+ import v from "../../../features/ExampleRequest/ExampleRequest.vue.js";
13
+ import y from "./PathResponses/PathResponses.vue.js";
14
+ const E = { class: "examples" }, I = /* @__PURE__ */ f({
16
15
  __name: "Operation",
17
16
  props: {
18
17
  id: {},
19
18
  operation: {}
20
19
  },
21
- setup(c) {
22
- const m = c, { availableTargets: h } = D(), C = _(() => {
23
- var n;
24
- const e = ["x-custom-examples", "x-codeSamples", "x-code-samples"];
25
- for (const a of e)
26
- if ((n = m.operation.information) != null && n[a])
27
- return m.operation.information[a];
28
- return null;
29
- });
30
- return (e, n) => (i(), p(o(B), {
20
+ setup(R) {
21
+ return (e, b) => (i(), p(t(S), {
31
22
  id: e.id,
32
23
  label: e.operation.name
33
24
  }, {
34
- default: t(() => [
35
- r(o(N), null, {
36
- default: t(() => [
37
- r(o(R), null, {
38
- default: t(() => [
39
- r(o(f), null, {
40
- default: t(() => {
41
- var a, l;
25
+ default: r(() => [
26
+ o(t(B), null, {
27
+ default: r(() => [
28
+ o(t(N), null, {
29
+ default: r(() => [
30
+ o(t(d), null, {
31
+ default: r(() => {
32
+ var a, n;
42
33
  return [
43
- (a = e.operation.information) != null && a.deprecated ? (i(), p(o(V), { key: 0 }, {
44
- default: t(() => [
45
- s(" Deprecated ")
34
+ (a = e.operation.information) != null && a.deprecated ? (i(), p(t(V), { key: 0 }, {
35
+ default: r(() => [
36
+ l(" Deprecated ")
46
37
  ]),
47
38
  _: 1
48
- })) : d("", !0),
49
- u("div", {
50
- class: k((l = e.operation.information) != null && l.deprecated ? "deprecated" : "")
39
+ })) : s("", !0),
40
+ m("div", {
41
+ class: u((n = e.operation.information) != null && n.deprecated ? "deprecated" : "")
51
42
  }, [
52
- r(o(b), { level: 3 }, {
53
- default: t(() => [
54
- r(o(q), {
43
+ o(t(g), { level: 3 }, {
44
+ default: r(() => [
45
+ o(t(k), {
55
46
  id: e.id ?? ""
56
47
  }, {
57
- default: t(() => [
58
- s(y(e.operation.name), 1)
48
+ default: r(() => [
49
+ l(c(e.operation.name), 1)
59
50
  ]),
60
51
  _: 1
61
52
  }, 8, ["id"])
@@ -63,35 +54,31 @@ const H = { class: "examples" }, Q = /* @__PURE__ */ S({
63
54
  _: 1
64
55
  })
65
56
  ], 2),
66
- r(E, { operation: e.operation }, null, 8, ["operation"])
57
+ o(h, { operation: e.operation }, null, 8, ["operation"])
67
58
  ];
68
59
  }),
69
60
  _: 1
70
61
  }),
71
- r(o(f), null, {
72
- default: t(() => [
73
- u("div", H, [
74
- o(h).length ? (i(), p(o(x), {
75
- key: 0,
76
- customExamples: C.value,
77
- operation: e.operation
78
- }, {
79
- header: t(() => {
62
+ o(t(d), null, {
63
+ default: r(() => [
64
+ m("div", E, [
65
+ o(t(v), { operation: e.operation }, {
66
+ header: r(() => {
80
67
  var a;
81
68
  return [
82
- r(g, {
69
+ o(_, {
83
70
  class: "example-path",
84
71
  deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
85
72
  path: e.operation.path
86
73
  }, null, 8, ["deprecated", "path"])
87
74
  ];
88
75
  }),
89
- footer: t(() => [
90
- r(v, { operation: e.operation }, null, 8, ["operation"])
76
+ footer: r(() => [
77
+ o(C, { operation: e.operation }, null, 8, ["operation"])
91
78
  ]),
92
79
  _: 1
93
- }, 8, ["customExamples", "operation"])) : d("", !0),
94
- r(o(T), {
80
+ }, 8, ["operation"]),
81
+ o(t(y), {
95
82
  operation: e.operation,
96
83
  style: { "margin-top": "12px" }
97
84
  }, null, 8, ["operation"])
@@ -111,5 +98,5 @@ const H = { class: "examples" }, Q = /* @__PURE__ */ S({
111
98
  }
112
99
  });
113
100
  export {
114
- Q as default
101
+ I as default
115
102
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAoNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAezD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AAqQjC,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
+ {"version":3,"file":"OperationAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/OperationAccordion.vue"],"names":[],"mappings":"AAyNA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;SAiBzD,MAAM;eACA,oBAAoB;;SAD1B,MAAM;eACA,oBAAoB;;AA2QjC,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,7 +1,7 @@
1
1
  import o from "./OperationAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-912f50cc"]]);
4
+ const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7f04d704"]]);
5
5
  export {
6
- a as default
6
+ c as default
7
7
  };
@@ -1,50 +1,51 @@
1
- import { defineComponent as l, openBlock as r, createBlock as p, unref as e, createSlots as c, withCtx as i, createElementVNode as n, createVNode as t, toDisplayString as m, withModifiers as h } from "vue";
2
- import { ScalarIcon as f, ScalarIconButton as u, ScalarMarkdown as v } from "@scalar/components";
3
- import y from "./EndpointDetailsCard.vue.js";
4
- import _ from "./EndpointPath.vue.js";
5
- import b from "./TestRequestButton.vue.js";
6
- import k from "../../Section/SectionAccordion.vue.js";
7
- import C from "../../HttpMethod/HttpMethod.vue.js";
8
- import S from "../../Anchor/Anchor.vue.js";
9
- import w from "./PathResponses/PathResponses.vue.js";
10
- import B from "../../../features/ExampleRequest/ExampleRequest.vue.js";
11
- import { useClipboard as E } from "../../../hooks/useClipboard.js";
12
- const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = { class: "endpoint-label" }, I = { class: "endpoint-label-path" }, P = { class: "endpoint-label-name" }, V = { class: "endpoint-content" }, H = /* @__PURE__ */ l({
1
+ import { defineComponent as m, inject as h, openBlock as p, createBlock as s, unref as e, createSlots as f, withCtx as i, createElementVNode as n, createVNode as t, toDisplayString as u, createCommentVNode as _, withModifiers as v } from "vue";
2
+ import { ScalarIcon as y, ScalarIconButton as C, ScalarMarkdown as S } from "@scalar/components";
3
+ import b from "./EndpointDetailsCard.vue.js";
4
+ import k from "./EndpointPath.vue.js";
5
+ import E from "./TestRequestButton.vue.js";
6
+ import T from "../../Section/SectionAccordion.vue.js";
7
+ import B from "../../HttpMethod/HttpMethod.vue.js";
8
+ import w from "../../Anchor/Anchor.vue.js";
9
+ import I from "./PathResponses/PathResponses.vue.js";
10
+ import N from "../../../features/ExampleRequest/ExampleRequest.vue.js";
11
+ import { useClipboard as R } from "../../../hooks/useClipboard.js";
12
+ import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as V } from "../../../helpers/provideSymbols.js";
13
+ const g = { class: "endpoint-header" }, A = { class: "endpoint-details" }, D = { class: "endpoint-label" }, M = { class: "endpoint-label-path" }, O = { class: "endpoint-label-name" }, P = { class: "endpoint-content" }, X = /* @__PURE__ */ m({
13
14
  __name: "OperationAccordion",
14
15
  props: {
15
16
  id: {},
16
17
  operation: {}
17
18
  },
18
- setup(q) {
19
- const { copyToClipboard: d } = E();
20
- return (o, s) => (r(), p(e(k), {
19
+ setup(U) {
20
+ const { copyToClipboard: c } = R(), r = h(V);
21
+ return console.log(!(r != null && r())), (o, d) => (p(), s(e(T), {
21
22
  id: o.id,
22
23
  class: "reference-endpoint",
23
24
  transparent: ""
24
- }, c({
25
+ }, f({
25
26
  title: i(() => [
26
- n("h3", R, [
27
- n("div", g, [
28
- t(e(C), {
27
+ n("h3", g, [
28
+ n("div", A, [
29
+ t(e(B), {
29
30
  class: "endpoint-type",
30
31
  method: o.operation.httpVerb,
31
32
  short: ""
32
33
  }, null, 8, ["method"]),
33
- t(e(S), {
34
+ t(e(w), {
34
35
  id: o.id ?? "",
35
36
  class: "endpoint-anchor"
36
37
  }, {
37
38
  default: i(() => {
38
39
  var a;
39
40
  return [
40
- n("div", A, [
41
- n("div", I, [
42
- t(_, {
41
+ n("div", D, [
42
+ n("div", M, [
43
+ t(k, {
43
44
  deprecated: (a = o.operation.information) == null ? void 0 : a.deprecated,
44
45
  path: o.operation.path
45
46
  }, null, 8, ["deprecated", "path"])
46
47
  ]),
47
- n("div", P, m(o.operation.name), 1)
48
+ n("div", O, u(o.operation.name), 1)
48
49
  ])
49
50
  ];
50
51
  }),
@@ -53,30 +54,33 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
53
54
  ])
54
55
  ])
55
56
  ]),
56
- actions: i(({ active: a }) => [
57
- a ? (r(), p(b, {
58
- key: 0,
59
- operation: o.operation
60
- }, null, 8, ["operation"])) : (r(), p(e(f), {
61
- key: 1,
62
- class: "endpoint-try-hint",
63
- icon: "Play",
64
- thickness: "1.75px"
65
- })),
66
- t(e(u), {
67
- class: "endpoint-copy",
68
- icon: "Clipboard",
69
- label: "Copy endpoint URL",
70
- size: "xs",
71
- variant: "ghost",
72
- onClick: s[0] || (s[0] = h((D) => e(d)(o.operation.path), ["stop"]))
73
- })
74
- ]),
57
+ actions: i(({ active: a }) => {
58
+ var l;
59
+ return [
60
+ a ? (p(), s(E, {
61
+ key: 0,
62
+ operation: o.operation
63
+ }, null, 8, ["operation"])) : (l = e(r)) != null && l() ? _("", !0) : (p(), s(e(y), {
64
+ key: 1,
65
+ class: "endpoint-try-hint",
66
+ icon: "Play",
67
+ thickness: "1.75px"
68
+ })),
69
+ t(e(C), {
70
+ class: "endpoint-copy",
71
+ icon: "Clipboard",
72
+ label: "Copy endpoint URL",
73
+ size: "xs",
74
+ variant: "ghost",
75
+ onClick: d[0] || (d[0] = v((L) => e(c)(o.operation.path), ["stop"]))
76
+ })
77
+ ];
78
+ }),
75
79
  default: i(() => [
76
- n("div", V, [
77
- t(y, { operation: o.operation }, null, 8, ["operation"]),
78
- t(e(w), { operation: o.operation }, null, 8, ["operation"]),
79
- t(e(B), { operation: o.operation }, null, 8, ["operation"])
80
+ n("div", P, [
81
+ t(b, { operation: o.operation }, null, 8, ["operation"]),
82
+ t(e(I), { operation: o.operation }, null, 8, ["operation"]),
83
+ t(e(N), { operation: o.operation }, null, 8, ["operation"])
80
84
  ])
81
85
  ]),
82
86
  _: 2
@@ -84,7 +88,7 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
84
88
  o.operation.description ? {
85
89
  name: "description",
86
90
  fn: i(() => [
87
- t(e(v), {
91
+ t(e(S), {
88
92
  value: o.operation.description,
89
93
  withImages: ""
90
94
  }, null, 8, ["value"])
@@ -95,5 +99,5 @@ const R = { class: "endpoint-header" }, g = { class: "endpoint-details" }, A = {
95
99
  }
96
100
  });
97
101
  export {
98
- H as default
102
+ X as default
99
103
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./PathResponses.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f7baab98"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b976599a"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -9,7 +9,7 @@ import q from "../../../Card/CardContent.vue.js";
9
9
  import G from "../../../Card/CardFooter.vue.js";
10
10
  import Q from "../../../../features/ExampleRequest/ExamplePicker.vue.js";
11
11
  import { useClipboard as X } from "../../../../hooks/useClipboard.js";
12
- const Y = (u) => (P("data-v-f7baab98"), u = u(), A(), u), Z = {
12
+ const Y = (u) => (P("data-v-b976599a"), u = u(), A(), u), Z = {
13
13
  key: 1,
14
14
  class: "scalar-card-checkbox"
15
15
  }, $ = /* @__PURE__ */ Y(() => /* @__PURE__ */ w("span", { class: "scalar-card-checkbox-checkmark" }, null, -1)), z = { class: "scalar-card-container custom-scroll" }, ee = {
@@ -1 +1 @@
1
- {"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eAOnD,oBAAoB;;eAApB,oBAAoB;;AA0EjC,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
+ {"version":3,"file":"TestRequestButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/TestRequestButton.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;eASnD,oBAAoB;;eAApB,oBAAoB;;AAkFjC,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,7 +1,7 @@
1
1
  import t from "./TestRequestButton.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-1dbecca0"]]);
4
+ const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-2e17b0a6"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,31 +1,39 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as s, withModifiers as i, unref as p, createVNode as a, pushScopeId as c, popScopeId as m, createElementVNode as d } from "vue";
2
- import { ScalarIcon as u } from "@scalar/components";
3
- import { apiClientBus as l } from "../../api-client-bus.js";
4
- const h = (e) => (c("data-v-1dbecca0"), e = e(), m(), e), f = ["method"], _ = /* @__PURE__ */ h(() => /* @__PURE__ */ d("span", null, "Test Request", -1)), V = /* @__PURE__ */ n({
1
+ import { defineComponent as a, inject as m, unref as o, openBlock as r, createElementBlock as s, withModifiers as c, createVNode as u, Fragment as d, createTextVNode as l, pushScopeId as h, popScopeId as _, createElementVNode as f } from "vue";
2
+ import { ScalarIcon as T } from "@scalar/components";
3
+ import { apiClientBus as B } from "../../api-client-bus.js";
4
+ import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as S } from "../../../helpers/provideSymbols.js";
5
+ const b = (e) => (h("data-v-2e17b0a6"), e = e(), _(), e), E = ["method"], k = /* @__PURE__ */ b(() => /* @__PURE__ */ f("span", null, "Test Request", -1)), q = /* @__PURE__ */ a({
5
6
  __name: "TestRequestButton",
6
7
  props: {
7
8
  operation: {}
8
9
  },
9
10
  setup(e) {
10
- return (t, o) => (r(), s("button", {
11
- class: "show-api-client-button",
12
- method: t.operation.httpVerb,
13
- type: "button",
14
- onClick: o[0] || (o[0] = i((b) => p(l).emit({
15
- open: {
16
- path: t.operation.path,
17
- method: t.operation.httpVerb
18
- }
19
- }), ["stop"]))
20
- }, [
21
- a(p(u), {
22
- icon: "Play",
23
- size: "sm"
24
- }),
25
- _
26
- ], 8, f));
11
+ const i = m(S);
12
+ return (t, n) => {
13
+ var p;
14
+ return ((p = o(i)) == null ? void 0 : p()) !== !0 ? (r(), s("button", {
15
+ key: 0,
16
+ class: "show-api-client-button",
17
+ method: t.operation.httpVerb,
18
+ type: "button",
19
+ onClick: n[0] || (n[0] = c((I) => o(B).emit({
20
+ open: {
21
+ path: t.operation.path,
22
+ method: t.operation.httpVerb
23
+ }
24
+ }), ["stop"]))
25
+ }, [
26
+ u(o(T), {
27
+ icon: "Play",
28
+ size: "sm"
29
+ }),
30
+ k
31
+ ], 8, E)) : (r(), s(d, { key: 1 }, [
32
+ l(" ")
33
+ ], 64));
34
+ };
27
35
  }
28
36
  });
29
37
  export {
30
- V as default
38
+ q as default
31
39
  };
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
1
+ import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  value?: OpenAPIV2.DefinitionsObject | OpenAPIV3.SchemaObject | OpenAPIV3.ArraySchemaObject | OpenAPIV3.NonArraySchemaObject | OpenAPIV3_1.SchemaObject | OpenAPIV3_1.ArraySchemaObject | OpenAPIV3_1.NonArraySchemaObject;
4
4
  /** Track how deep we’ve gone */
@@ -1 +1 @@
1
- {"version":3,"file":"Schema.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/Schema.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AC1B,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,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Schema.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4b345758"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-24920b5a"]]);
5
5
  export {
6
6
  p as default
7
7
  };