@scalar/api-reference 1.31.3 → 1.31.4

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 (127) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/browser/standalone.js +9287 -9267
  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/ApiReferenceLayout.vue2.js +69 -71
  7. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
  8. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +1 -1
  9. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  10. package/dist/components/Content/Introduction/Description.vue.js +2 -2
  11. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Lazy/Loading.vue.js +1 -1
  13. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Schema/SchemaComposition.vue.js +81 -101
  15. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  16. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  17. package/dist/components/Content/Schema/SchemaProperty.vue2.js +114 -105
  18. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +35 -35
  19. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -1
  20. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.js +17 -15
  21. package/dist/components/Content/Schema/helpers/schema-name.js +13 -21
  22. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -1
  23. package/dist/components/Content/Tag/OperationsList.vue.js +1 -1
  24. package/dist/components/Content/Tag/OperationsList.vue2.js +10 -9
  25. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Tag/OperationsListItem.vue.js +1 -1
  27. package/dist/components/Content/Tag/OperationsListItem.vue2.js +29 -28
  28. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Tag/TagList.vue.js +35 -34
  30. package/dist/components/DocumentSelector/DocumentSelector.vue.d.ts.map +1 -1
  31. package/dist/components/DocumentSelector/DocumentSelector.vue.js +21 -28
  32. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -20
  33. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  34. package/dist/components/HttpMethod/HttpMethod.vue.js +12 -13
  35. package/dist/components/Section/CompactSection.vue.js +2 -2
  36. package/dist/components/Section/CompactSection.vue2.js +6 -6
  37. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  38. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  39. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  40. package/dist/components/Sidebar/SidebarElement.vue.js +1 -1
  41. package/dist/components/Sidebar/SidebarElement.vue2.js +5 -5
  42. package/dist/esm.d.ts.map +1 -1
  43. package/dist/features/DocumentSource/hooks/useDocumentFetcher.js +1 -1
  44. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +1 -1
  45. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -1
  46. package/dist/features/DocumentSource/hooks/useDocumentSource.js +11 -11
  47. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  48. package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
  49. package/dist/features/DownloadLink/DownloadLink.vue2.js +21 -21
  50. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  51. package/dist/features/ExampleRequest/ExampleRequest.vue.js +1 -1
  52. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +1 -1
  53. package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
  54. package/dist/features/Search/SearchButton.vue.js +2 -2
  55. package/dist/features/Search/SearchButton.vue2.js +16 -16
  56. package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
  57. package/dist/features/Search/SearchModal.vue.js +2 -2
  58. package/dist/features/Search/SearchModal.vue2.js +1 -1
  59. package/dist/features/Search/useSearchIndex.d.ts.map +1 -1
  60. package/dist/features/Search/useSearchIndex.js +29 -28
  61. package/dist/features/sidebar/helpers/create-sidebar.d.ts +26 -0
  62. package/dist/features/sidebar/helpers/create-sidebar.d.ts.map +1 -0
  63. package/dist/features/sidebar/hooks/useSidebar.d.ts +23 -0
  64. package/dist/features/sidebar/hooks/useSidebar.d.ts.map +1 -0
  65. package/dist/features/sidebar/index.d.ts +2 -0
  66. package/dist/features/sidebar/index.d.ts.map +1 -0
  67. package/dist/features/traverse-schema/helpers/get-tag.d.ts +4 -0
  68. package/dist/features/traverse-schema/helpers/get-tag.d.ts.map +1 -0
  69. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts +8 -0
  70. package/dist/features/traverse-schema/helpers/operation-id-params.d.ts.map +1 -0
  71. package/dist/features/traverse-schema/helpers/operation-id-params.js +8 -0
  72. package/dist/features/traverse-schema/helpers/traverse-description.d.ts +9 -0
  73. package/dist/features/traverse-schema/helpers/traverse-description.d.ts.map +1 -0
  74. package/dist/features/traverse-schema/helpers/traverse-document.d.ts +16 -0
  75. package/dist/features/traverse-schema/helpers/traverse-document.d.ts.map +1 -0
  76. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +11 -0
  77. package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -0
  78. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts +6 -0
  79. package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -0
  80. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts +9 -0
  81. package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -0
  82. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts +6 -0
  83. package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -0
  84. package/dist/features/traverse-schema/index.d.ts +4 -0
  85. package/dist/features/traverse-schema/index.d.ts.map +1 -0
  86. package/dist/features/traverse-schema/types.d.ts +51 -0
  87. package/dist/features/traverse-schema/types.d.ts.map +1 -0
  88. package/dist/helpers/parse.d.ts.map +1 -1
  89. package/dist/helpers/parse.js +16 -16
  90. package/dist/hooks/useNavState.d.ts +9 -4
  91. package/dist/hooks/useNavState.d.ts.map +1 -1
  92. package/dist/hooks/useNavState.js +31 -29
  93. package/dist/hooks/useSidebar.d.ts.map +1 -1
  94. package/dist/hooks/useSidebar.js +69 -68
  95. package/dist/index.js +1 -1
  96. package/dist/legacy/fixtures/httpRequestMethods.js +2 -6
  97. package/dist/stores/useHttpClientStore.js +9 -8
  98. package/dist/style.css +1 -1
  99. package/dist/types.d.ts +0 -1
  100. package/dist/types.d.ts.map +1 -1
  101. package/package.json +12 -11
  102. package/dist/components/HttpMethod/constants.d.ts +0 -9
  103. package/dist/components/HttpMethod/constants.d.ts.map +0 -1
  104. package/dist/components/HttpMethod/constants.js +0 -36
  105. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts +0 -4
  106. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts.map +0 -1
  107. package/dist/components/HttpMethod/utils/isRequestMethod.js +0 -7
  108. package/dist/helpers/freeze-element.d.ts +0 -11
  109. package/dist/helpers/freeze-element.d.ts.map +0 -1
  110. package/dist/helpers/freeze-element.js +0 -20
  111. package/dist/helpers/is-mac-os.d.ts +0 -5
  112. package/dist/helpers/is-mac-os.d.ts.map +0 -1
  113. package/dist/helpers/is-mac-os.js +0 -4
  114. package/dist/helpers/measure.d.ts +0 -21
  115. package/dist/helpers/measure.d.ts.map +0 -1
  116. package/dist/helpers/measure.js +0 -7
  117. package/dist/helpers/scroll-to-id.d.ts +0 -7
  118. package/dist/helpers/scroll-to-id.d.ts.map +0 -1
  119. package/dist/helpers/scroll-to-id.js +0 -21
  120. package/dist/helpers/sleep.d.ts +0 -6
  121. package/dist/helpers/sleep.d.ts.map +0 -1
  122. package/dist/helpers/sleep.js +0 -4
  123. package/dist/legacy/helpers/index.d.ts +0 -2
  124. package/dist/legacy/helpers/index.d.ts.map +0 -1
  125. package/dist/legacy/helpers/normalizeRequestMethod.d.ts +0 -6
  126. package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +0 -1
  127. package/dist/legacy/helpers/normalizeRequestMethod.js +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AA6kBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AAgCvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAIhB,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;AA4OxD,iBAAS,cAAc;WAoPT,OAAO,IAA6B;;wBAhbZ,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;;;;;EAqb/D;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;YAtfqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFA6f9D,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue"],"names":[],"mappings":"AA4kBA,OAAO,EAGL,KAAK,OAAO,EACb,MAAM,gBAAgB,CAAA;AA+BvB,OAAO,KAAK,EACV,oBAAoB,EAEpB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAIhB,KAAK,WAAW,GAAG,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC;AA0OxD,iBAAS,cAAc;WAoPT,OAAO,IAA6B;;wBA9aZ,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;wBAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;iCAA1B,kBAAkB,KAAK,GAAG;+BAA1B,kBAAkB,KAAK,GAAG;;;;;;EAmb/D;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;YApfqB,OAAO;eAAS,MAAM;;;;;;;;YAAtB,OAAO;eAAS,MAAM;;;;;;kFA2f9D,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./ApiReferenceLayout.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c97b32f7"]]);
5
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-93a5ef6c"]]);
6
6
  export {
7
- m as default
7
+ f as default
8
8
  };
@@ -1,30 +1,30 @@
1
- import { defineComponent as ie, computed as h, provide as u, ref as E, onBeforeMount as B, onMounted as k, toValue as N, onUnmounted as se, useId as le, createElementBlock as y, openBlock as C, Fragment as F, createElementVNode as i, createVNode as c, unref as a, normalizeStyle as de, normalizeClass as ue, createCommentVNode as O, withDirectives as ce, renderSlot as s, normalizeProps as l, guardReactiveProps as d, withCtx as m, vShow as me, createSlots as fe, watch as pe } from "vue";
2
- import { provideUseId as ve } from "@headlessui/vue";
3
- import { LAYOUT_SYMBOL as ge } from "@scalar/api-client/hooks";
4
- import { WORKSPACE_SYMBOL as Se, ACTIVE_ENTITIES_SYMBOL as he } from "@scalar/api-client/store";
5
- import { addScalarClassesToHeadless as be, ScalarErrorBoundary as we } from "@scalar/components";
1
+ import { defineComponent as ne, computed as h, provide as u, ref as E, onBeforeMount as B, onMounted as k, toValue as N, onUnmounted as ie, useId as se, createElementBlock as y, openBlock as C, Fragment as F, createElementVNode as i, createVNode as c, unref as a, normalizeStyle as le, normalizeClass as de, createCommentVNode as O, withDirectives as ue, renderSlot as s, normalizeProps as l, guardReactiveProps as d, withCtx as m, vShow as ce, createSlots as me, watch as fe } from "vue";
2
+ import { provideUseId as pe } from "@headlessui/vue";
3
+ import { LAYOUT_SYMBOL as ve } from "@scalar/api-client/hooks";
4
+ import { WORKSPACE_SYMBOL as ge, ACTIVE_ENTITIES_SYMBOL as Se } from "@scalar/api-client/store";
5
+ import { addScalarClassesToHeadless as he, ScalarErrorBoundary as be } from "@scalar/components";
6
+ import { sleep as we } from "@scalar/helpers/testing/sleep";
6
7
  import { hasObtrusiveScrollbars as ye, getThemeStyles as Ce } from "@scalar/themes";
7
8
  import { apiReferenceConfigurationSchema as Te } from "@scalar/types/api-reference";
8
9
  import { useToasts as De, ScalarToasts as Ee } from "@scalar/use-toasts";
9
10
  import { useMediaQuery as Oe, useResizeObserver as $e, useDebounceFn as Re } from "@vueuse/core";
10
11
  import Ie from "./GettingStarted.vue.js";
11
- import { sleep as Me } from "../helpers/sleep.js";
12
- import { CONFIGURATION_SYMBOL as Pe } from "../hooks/useConfig.js";
13
- import { useNavState as Le } from "../hooks/useNavState.js";
14
- import { useSidebar as Ae } from "../hooks/useSidebar.js";
15
- import { downloadEventBus as _, downloadDocument as Be } from "../libs/download.js";
16
- import { useHttpClientStore as ke } from "../stores/useHttpClientStore.js";
17
- import { useDocumentSource as Ne } from "../features/DocumentSource/hooks/useDocumentSource.js";
18
- import { OPENAPI_VERSION_SYMBOL as Fe } from "../features/DownloadLink/openapi-version-symbol.js";
19
- import { PLUGIN_MANAGER_SYMBOL as _e } from "../plugins/hooks/usePluginManager.js";
20
- import { createPluginManager as He } from "../plugins/plugin-manager.js";
21
- import Ue from "./Sidebar/Sidebar.vue.js";
22
- import Ye from "./Content/Content.vue.js";
23
- import Ve from "../features/ApiClientModal/ApiClientModal.vue.js";
24
- const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label"], Qe = { class: "references-navigation-list" }, We = { class: "references-editor" }, je = { class: "references-editor-textarea" }, qe = ["aria-label"], Je = {
12
+ import { CONFIGURATION_SYMBOL as Me } from "../hooks/useConfig.js";
13
+ import { useNavState as Pe } from "../hooks/useNavState.js";
14
+ import { useSidebar as Le } from "../hooks/useSidebar.js";
15
+ import { downloadEventBus as _, downloadDocument as Ae } from "../libs/download.js";
16
+ import { useHttpClientStore as Be } from "../stores/useHttpClientStore.js";
17
+ import { useDocumentSource as ke } from "../features/DocumentSource/hooks/useDocumentSource.js";
18
+ import { OPENAPI_VERSION_SYMBOL as Ne } from "../features/DownloadLink/openapi-version-symbol.js";
19
+ import { PLUGIN_MANAGER_SYMBOL as Fe } from "../plugins/hooks/usePluginManager.js";
20
+ import { createPluginManager as _e } from "../plugins/plugin-manager.js";
21
+ import He from "./Sidebar/Sidebar.vue.js";
22
+ import Ue from "./Content/Content.vue.js";
23
+ import Ye from "../features/ApiClientModal/ApiClientModal.vue.js";
24
+ const Ve = ["innerHTML"], ze = { class: "references-header" }, Ge = ["aria-label"], Ke = { class: "references-navigation-list" }, Qe = { class: "references-editor" }, We = { class: "references-editor-textarea" }, je = ["aria-label"], qe = {
25
25
  key: 0,
26
26
  class: "references-footer"
27
- }, Et = /* @__PURE__ */ ie({
27
+ }, Dt = /* @__PURE__ */ ne({
28
28
  inheritAttrs: !1,
29
29
  __name: "ApiReferenceLayout",
30
30
  props: {
@@ -47,35 +47,34 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
47
47
  parsedDocument: D,
48
48
  workspaceStore: z,
49
49
  activeEntitiesStore: G
50
- } = Ne({
50
+ } = ke({
51
51
  configuration: t,
52
52
  dereferencedDocument: b.dereferencedDocument,
53
53
  originalDocument: b.originalDocument
54
54
  });
55
- u(Fe, V), u(Se, z), u(he, G);
55
+ u(Ne, V), u(ge, z), u(Se, G);
56
56
  const K = Oe("(min-width: 1150px)"), Q = E("100dvh"), f = E(null);
57
57
  $e(f, (e) => {
58
58
  Q.value = e[0].contentRect.height + "px";
59
59
  });
60
60
  const W = h(ye), {
61
- breadcrumb: j,
62
- collapsedSidebarItems: Xe,
63
- isSidebarOpen: q,
64
- setCollapsedSidebarItem: Ze,
65
- hideModels: J,
66
- defaultOpenAllTags: X,
61
+ collapsedSidebarItems: Je,
62
+ isSidebarOpen: j,
63
+ setCollapsedSidebarItem: Xe,
64
+ hideModels: q,
65
+ defaultOpenAllTags: J,
67
66
  // setParsedSpec,
68
- scrollToOperation: Z
69
- } = Ae(), {
70
- getReferenceId: x,
71
- getPathRoutingId: ee,
72
- getSectionId: xe,
73
- getTagId: et,
74
- hash: tt,
67
+ scrollToOperation: X
68
+ } = Le(), {
69
+ getReferenceId: Z,
70
+ getPathRoutingId: x,
71
+ getSectionId: Ze,
72
+ getTagId: xe,
73
+ hash: et,
75
74
  isIntersectionEnabled: $,
76
75
  updateHash: R,
77
- replaceUrlState: te
78
- } = Le(t);
76
+ replaceUrlState: ee
77
+ } = Pe(t);
79
78
  if (t.value.redirect && typeof window < "u") {
80
79
  const e = t.value.redirect(
81
80
  (t.value.pathRouting ? window.location.pathname : "") + window.location.hash
@@ -85,9 +84,9 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
85
84
  B(() => R());
86
85
  const I = async (e) => {
87
86
  var o;
88
- $.value = !1, R(), e ? Z(e) : (o = f.value) == null || o.scrollTo(0, 0), await Me(100), $.value = !0;
87
+ $.value = !1, R(), e ? X(e) : (o = f.value) == null || o.scrollTo(0, 0), await we(100), $.value = !0;
89
88
  }, M = E(0);
90
- B(() => be()), k(() => {
89
+ B(() => he()), k(() => {
91
90
  var r, p, v;
92
91
  history.scrollRestoration = "manual";
93
92
  const e = (p = (r = f.value) == null ? void 0 : r.parentElement) == null ? void 0 : p.getBoundingClientRect(), o = (v = f.value) == null ? void 0 : v.getBoundingClientRect();
@@ -96,36 +95,35 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
96
95
  M.value = g < 2 ? 0 : g;
97
96
  }
98
97
  window.onhashchange = () => {
99
- I(x());
100
- }, window.onpopstate = () => t.value.pathRouting && I(ee(window.location.pathname));
98
+ I(Z());
99
+ }, window.onpopstate = () => t.value.pathRouting && I(x(window.location.pathname));
101
100
  });
102
- const oe = h(
101
+ const te = h(
103
102
  () => K.value || !t.value.isEditable
104
103
  ), P = Re((e) => {
105
104
  if ((e.target.scrollTop ?? 0) < 50) {
106
105
  const r = t.value.pathRouting ? t.value.pathRouting.basePath : window.location.pathname;
107
- te("", r + window.location.search);
106
+ ee("", r + window.location.search);
108
107
  }
109
108
  }), n = h(() => ({
110
- breadcrumb: j.value,
111
109
  spec: D.value
112
110
  }));
113
111
  k(
114
112
  () => _.on(({ filename: e, format: o }) => {
115
- Be(
113
+ Ae(
116
114
  N(Y) || N(b.rawSpec) || "",
117
115
  e,
118
116
  o
119
117
  );
120
118
  })
121
- ), se(() => _.reset()), ve(() => le()), u(ge, "modal"), u(Pe, t), u(
122
- _e,
123
- He({
119
+ ), ie(() => _.reset()), pe(() => se()), u(ve, "modal"), u(Me, t), u(
120
+ Fe,
121
+ _e({
124
122
  plugins: t.value.plugins
125
123
  })
126
124
  );
127
125
  function L(e, o) {
128
- pe(
126
+ fe(
129
127
  () => t.value[e],
130
128
  (r) => {
131
129
  typeof r < "u" && o(r);
@@ -133,9 +131,9 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
133
131
  { immediate: !0 }
134
132
  );
135
133
  }
136
- const { setExcludedClients: ae, setDefaultHttpClient: re } = ke();
137
- L("defaultHttpClient", re), L("hiddenClients", ae), J.value = t.value.hideModels ?? !1, X.value = t.value.defaultOpenAllTags ?? !1;
138
- const ne = h(
134
+ const { setExcludedClients: oe, setDefaultHttpClient: ae } = Be();
135
+ L("defaultHttpClient", ae), L("hiddenClients", oe), q.value = t.value.hideModels ?? !1, J.value = t.value.defaultOpenAllTags ?? !1;
136
+ const re = h(
139
137
  () => `<style>
140
138
  ${Ce(t.value.theme, {
141
139
  fonts: t.value.withDefaultFonts
@@ -144,27 +142,27 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
144
142
  return (e, o) => {
145
143
  var r, p, v, g, A;
146
144
  return C(), y(F, null, [
147
- i("div", { innerHTML: ne.value }, null, 8, ze),
145
+ i("div", { innerHTML: re.value }, null, 8, Ve),
148
146
  i("div", {
149
147
  ref_key: "documentEl",
150
148
  ref: f,
151
- class: ue(["scalar-app scalar-api-reference references-layout", [
149
+ class: de(["scalar-app scalar-api-reference references-layout", [
152
150
  {
153
151
  "scalar-scrollbars-obtrusive": W.value,
154
152
  "references-editable": t.value.isEditable,
155
153
  "references-sidebar": t.value.showSidebar,
156
- "references-sidebar-mobile-open": a(q),
154
+ "references-sidebar-mobile-open": a(j),
157
155
  "references-classic": t.value.layout === "classic"
158
156
  },
159
157
  e.$attrs.class
160
158
  ]]),
161
- style: de({
159
+ style: le({
162
160
  "--scalar-y-offset": `var(--scalar-custom-header-height, ${M.value}px)`
163
161
  }),
164
162
  onScrollPassive: o[4] || (o[4] = //@ts-ignore
165
163
  (...w) => a(P) && a(P)(...w))
166
164
  }, [
167
- i("div", Ge, [
165
+ i("div", ze, [
168
166
  s(e.$slots, "header", l(d(n.value)), void 0, !0)
169
167
  ]),
170
168
  t.value.showSidebar ? (C(), y("aside", {
@@ -172,10 +170,10 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
172
170
  "aria-label": `Sidebar for ${(p = (r = a(T)) == null ? void 0 : r.info) == null ? void 0 : p.title}`,
173
171
  class: "references-navigation t-doc__sidebar"
174
172
  }, [
175
- i("div", Qe, [
176
- c(a(we), null, {
173
+ i("div", Ke, [
174
+ c(a(be), null, {
177
175
  default: m(() => [
178
- c(a(Ue), {
176
+ c(a(He), {
179
177
  operationsSorter: t.value.operationsSorter,
180
178
  parsedSpec: a(D),
181
179
  tagsSorter: t.value.tagsSorter
@@ -192,23 +190,23 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
192
190
  _: 3
193
191
  })
194
192
  ])
195
- ], 8, Ke)) : O("", !0),
196
- ce(i("div", We, [
197
- i("div", je, [
193
+ ], 8, Ge)) : O("", !0),
194
+ ue(i("div", Qe, [
195
+ i("div", We, [
198
196
  s(e.$slots, "editor", l(d(n.value)), void 0, !0)
199
197
  ])
200
198
  ], 512), [
201
- [me, t.value.isEditable]
199
+ [ce, t.value.isEditable]
202
200
  ]),
203
- oe.value ? (C(), y(F, { key: 1 }, [
201
+ te.value ? (C(), y(F, { key: 1 }, [
204
202
  i("main", {
205
203
  "aria-label": `Open API Documentation for ${(g = (v = a(T)) == null ? void 0 : v.info) == null ? void 0 : g.title}`,
206
204
  class: "references-rendered"
207
205
  }, [
208
- c(a(Ye), {
206
+ c(a(Ue), {
209
207
  layout: t.value.layout,
210
208
  parsedSpec: a(D)
211
- }, fe({
209
+ }, me({
212
210
  start: m(() => [
213
211
  s(e.$slots, "content-start", l(d(n.value)), void 0, !0)
214
212
  ]),
@@ -234,12 +232,12 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
234
232
  key: "0"
235
233
  } : void 0
236
234
  ]), 1032, ["layout", "parsedSpec"])
237
- ], 8, qe),
238
- e.$slots.footer ? (C(), y("div", Je, [
235
+ ], 8, je),
236
+ e.$slots.footer ? (C(), y("div", qe, [
239
237
  s(e.$slots, "footer", l(d(n.value)), void 0, !0)
240
238
  ])) : O("", !0)
241
239
  ], 64)) : O("", !0),
242
- c(a(Ve), {
240
+ c(a(Ye), {
243
241
  configuration: t.value,
244
242
  dereferencedDocument: a(T)
245
243
  }, null, 8, ["configuration", "dereferencedDocument"])
@@ -250,5 +248,5 @@ const ze = ["innerHTML"], Ge = { class: "references-header" }, Ke = ["aria-label
250
248
  }
251
249
  });
252
250
  export {
253
- Et as default
251
+ Dt as default
254
252
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ClientLibraries.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1ad6c6bc"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-714ac357"]]);
5
5
  export {
6
- c as default
6
+ e as default
7
7
  };
@@ -2,7 +2,7 @@ import { defineComponent as K, ref as w, useId as h, watch as P, onMounted as B,
2
2
  import { TabGroup as M, TabList as O, TabPanels as R, TabPanel as j } from "@headlessui/vue";
3
3
  import { useWorkspace as G } from "@scalar/api-client/store";
4
4
  import { ScalarMarkdown as J, ScalarCodeBlock as W } from "@scalar/components";
5
- import { REFERENCE_LS_KEYS as Y } from "@scalar/oas-utils/helpers";
5
+ import { REFERENCE_LS_KEYS as Y } from "@scalar/helpers/object/local-storage";
6
6
  import { useHttpClientStore as q } from "../../../stores/useHttpClientStore.js";
7
7
  import z from "./ClientSelector.vue.js";
8
8
  import { useFeaturedHttpClients as Q } from "./useFeaturedHttpClients.js";
@@ -1 +1 @@
1
- {"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"AAqIA,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;AA2KF,wBAMG"}
1
+ {"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue"],"names":[],"mappings":"AAiIA,KAAK,WAAW,GAAG;IACjB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;;AAyKF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Description.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-62dad0f5"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2843ffaf"]]);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"AA6QA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAEzE,OAAO,KAAK,EACV,IAAI,EAGL,MAAM,sBAAsB,CAAA;;gBAwCb,UAAU;aACb,MAAM;aACN,QAAQ,GAAG,SAAS;gBACjB,IAAI;;gBAHJ,UAAU;aACb,MAAM;aACN,QAAQ,GAAG,SAAS;gBACjB,IAAI;;YADP,QAAQ,GAAG,SAAS;;AAlBjC,wBA4UK"}
1
+ {"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"AA8QA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAEzE,OAAO,KAAK,EACV,IAAI,EAGL,MAAM,sBAAsB,CAAA;;gBAuCb,UAAU;aACb,MAAM;aACN,QAAQ,GAAG,SAAS;gBACjB,IAAI;;gBAHJ,UAAU;aACb,MAAM;aACN,QAAQ,GAAG,SAAS;gBACjB,IAAI;;YADP,QAAQ,GAAG,SAAS;;AAlBjC,wBA4UK"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as E, ref as v, watch as H, onMounted as K, withDirectives as M, createElementBlock as f, openBlock as l, normalizeClass as j, createBlock as m, createCommentVNode as b, Fragment as h, renderList as k, unref as r, withCtx as c, createVNode as S, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
2
+ import { scrollToId as C } from "@scalar/helpers/dom/scroll-to-id";
2
3
  import { lazyBus as q } from "./lazyBus.js";
3
- import { scrollToId as C } from "../../../helpers/scroll-to-id.js";
4
4
  import { useNavState as G } from "../../../hooks/useNavState.js";
5
5
  import { getModels as y } from "../../../libs/openapi.js";
6
6
  import J from "../Tag/TagSection.vue.js";
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAwRA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAEjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAKrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAqUF,wBAOG"}
1
+ {"version":3,"file":"SchemaComposition.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaComposition.vue"],"names":[],"mappings":"AAyRA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAEjE,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,8BAA8B,CAAA;AAKrC,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAoUF,wBAOG"}
@@ -1,17 +1,17 @@
1
- import { defineComponent as E, ref as F, computed as r, resolveComponent as I, createElementBlock as u, openBlock as m, createCommentVNode as p, createBlock as d, Fragment as V, renderList as M, createVNode as b, createElementVNode as v, unref as f, withCtx as T, toDisplayString as w } from "vue";
2
- import { ScalarListbox as j, ScalarMarkdown as R } from "@scalar/components";
3
- import { ScalarIconCaretDown as Z } from "@scalar/icons";
4
- import { mergeAllOfSchemas as $ } from "./helpers/merge-all-of-schemas.js";
5
- import { getCompositionDisplay as G, getModelNameFromSchema as J } from "./helpers/schema-name.js";
6
- import { hasComposition as g } from "./helpers/schema-composition.js";
7
- import S from "./Schema.vue.js";
1
+ import { defineComponent as F, ref as M, computed as s, resolveComponent as T, createElementBlock as c, openBlock as r, createCommentVNode as u, createBlock as p, Fragment as N, renderList as j, createVNode as y, createElementVNode as f, unref as v, withCtx as R, toDisplayString as V } from "vue";
2
+ import { ScalarListbox as Z, ScalarMarkdown as $ } from "@scalar/components";
3
+ import { ScalarIconCaretDown as G } from "@scalar/icons";
4
+ import { mergeAllOfSchemas as w } from "./helpers/merge-all-of-schemas.js";
5
+ import { getModelNameFromSchema as J } from "./helpers/schema-name.js";
6
+ import { hasComposition as b } from "./helpers/schema-composition.js";
7
+ import g from "./Schema.vue.js";
8
8
  const K = { class: "property-rule" }, P = {
9
9
  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",
10
10
  type: "button"
11
- }, Q = { class: "text-c-2" }, X = { class: "composition-selector-label text-c-1 relative" }, Y = { class: "composition-panel" }, W = {
11
+ }, Q = { class: "text-c-2" }, X = { class: "composition-selector-label text-c-1" }, Y = { class: "composition-panel" }, W = {
12
12
  key: 0,
13
13
  class: "property-description border-x border-t p-2"
14
- }, te = /* @__PURE__ */ E({
14
+ }, te = /* @__PURE__ */ F({
15
15
  __name: "SchemaComposition",
16
16
  props: {
17
17
  composition: {},
@@ -22,116 +22,96 @@ const K = { class: "property-rule" }, P = {
22
22
  compact: { type: Boolean },
23
23
  hideHeading: { type: Boolean }
24
24
  },
25
- setup(n) {
26
- const h = F(0), q = r(() => n.value[n.composition] || []), B = r(() => G(
27
- q.value,
28
- N.value,
29
- n.schemas
30
- )), C = r(
25
+ setup(a) {
26
+ const d = M(0);
27
+ s(() => a.value[a.composition] || []);
28
+ const B = s(() => k.value), C = s(
31
29
  () => B.value.map(
32
- (e, a) => ({
33
- id: String(a),
34
- label: J(e, n.schemas) || "Schema"
30
+ (e, o) => ({
31
+ id: String(o),
32
+ label: J(e, a.schemas) || "Schema"
35
33
  })
36
34
  )
37
- ), O = r({
35
+ ), O = s({
38
36
  get: () => C.value.find(
39
- (e) => e.id === String(h.value)
37
+ (e) => e.id === String(d.value)
40
38
  ),
41
- set: (e) => h.value = Number(e.id)
42
- }), A = r(() => {
43
- var l;
44
- const e = ["oneOf", "anyOf"].includes(n.composition), a = n.composition === "allOf" && ((l = n.value[n.composition]) == null ? void 0 : l.some((o) => g(o)));
45
- return e || a;
46
- }), k = (e) => e.find((a) => g(a)), N = r(() => {
47
- if (!k(n.value[n.composition]))
48
- return n.value[n.composition];
49
- const e = k(n.value[n.composition]);
50
- return (e.oneOf || e.anyOf || e.allOf).map((l) => {
51
- if (l.allOf) {
52
- const o = l.allOf.find((c) => c.title), s = l.allOf.find((c) => !c.title);
53
- return o && s ? {
54
- ...o,
55
- properties: {
56
- ...o.properties,
57
- ...s.properties
58
- },
59
- required: [
60
- ...o.required || [],
61
- ...s.required || []
62
- ],
63
- oneOf: s.oneOf,
64
- anyOf: s.anyOf
65
- } : o || l;
66
- }
67
- return l;
68
- });
69
- }), D = (e) => {
70
- var a, l;
39
+ set: (e) => d.value = Number(e.id)
40
+ }), D = s(() => {
41
+ var i;
42
+ const e = ["oneOf", "anyOf"].includes(a.composition), o = a.composition === "allOf" && ((i = a.value[a.composition]) == null ? void 0 : i.some((l) => b(l)));
43
+ return e || o;
44
+ }), I = (e) => e.find((o) => b(o)), L = (e) => !e.allOf || !Array.isArray(e.allOf) ? !1 : e.allOf.some(
45
+ (o) => o.oneOf || o.anyOf || o.allOf
46
+ ), S = (e) => e.allOf && Array.isArray(e.allOf) ? L(e) ? e : w(e.allOf) : e, k = s(() => {
47
+ const e = a.value[a.composition], o = I(e);
48
+ return !o || a.composition !== "allOf" && o.allOf ? e.map(S) : (o.oneOf || o.anyOf || o.allOf).map(S);
49
+ }), U = (e) => {
50
+ var o, i;
71
51
  if (e === "allOf") {
72
- const o = (l = (a = n.value) == null ? void 0 : a[e]) == null ? void 0 : l.find(
73
- (s) => g(s)
52
+ const l = (i = (o = a.value) == null ? void 0 : o[e]) == null ? void 0 : i.find(
53
+ (m) => b(m)
74
54
  );
75
- if (o != null && o.oneOf)
55
+ if (l != null && l.oneOf)
76
56
  return "One of";
77
- if (o != null && o.anyOf)
57
+ if (l != null && l.anyOf)
78
58
  return "Any of";
79
59
  }
80
- return e.replace(/([A-Z])/g, " $1").replace(/^./, (o) => o.toUpperCase()).toLowerCase().replace(/^(\w)/, (o) => o.toUpperCase());
81
- }, i = r(
82
- () => N.value[h.value]
83
- ), y = r(() => {
60
+ return e.replace(/([A-Z])/g, " $1").replace(/^./, (l) => l.toUpperCase()).toLowerCase().replace(/^(\w)/, (l) => l.toUpperCase());
61
+ }, t = s(
62
+ () => k.value[d.value]
63
+ ), h = s(() => {
84
64
  var e;
85
- return (e = i.value) != null && e.oneOf ? "oneOf" : "anyOf";
86
- }), z = r(() => {
87
- var a;
88
- const e = y.value;
89
- return (a = i.value) == null ? void 0 : a[e];
90
- }), L = r(() => {
91
- const e = i.value;
65
+ return (e = t.value) != null && e.oneOf ? "oneOf" : "anyOf";
66
+ }), q = s(() => {
67
+ var o;
68
+ const e = h.value;
69
+ return (o = t.value) == null ? void 0 : o[e];
70
+ }), z = s(() => {
71
+ const e = t.value;
92
72
  return e ? !!(e.properties || e.type || e.nullable || e.const !== void 0 || e.enum || e.allOf || e.oneOf || e.anyOf || e.items) : !1;
93
73
  });
94
- return (e, a) => {
95
- var o, s, c, H;
96
- const l = I("SchemaComposition", !0);
97
- return m(), u("div", K, [
98
- e.composition === "allOf" && e.value[e.composition].some((t) => t.oneOf || t.anyOf) ? (m(!0), u(V, { key: 0 }, M(e.value[e.composition].filter(
99
- (t) => !t.oneOf && !t.anyOf
100
- ), (t, U) => (m(), d(S, {
101
- key: U,
74
+ return (e, o) => {
75
+ var l, m, A, H;
76
+ const i = T("SchemaComposition", !0);
77
+ return r(), c("div", K, [
78
+ e.composition === "allOf" && e.value[e.composition].some((n) => n.oneOf || n.anyOf) ? (r(!0), c(N, { key: 0 }, j(e.value[e.composition].filter(
79
+ (n) => !n.oneOf && !n.anyOf
80
+ ), (n, E) => (r(), p(g, {
81
+ key: E,
102
82
  compact: e.compact,
103
83
  level: e.level,
104
84
  name: e.name,
105
85
  noncollapsible: e.level == 0,
106
86
  schemas: e.schemas,
107
- value: t
108
- }, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))), 128)) : p("", !0),
109
- A.value ? (m(), u(V, { key: 1 }, [
110
- b(f(j), {
87
+ value: n
88
+ }, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))), 128)) : u("", !0),
89
+ D.value ? (r(), c(N, { key: 1 }, [
90
+ y(v(Z), {
111
91
  modelValue: O.value,
112
- "onUpdate:modelValue": a[0] || (a[0] = (t) => O.value = t),
92
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => O.value = n),
113
93
  options: C.value,
114
94
  resize: ""
115
95
  }, {
116
- default: T(() => {
117
- var t;
96
+ default: R(() => {
97
+ var n;
118
98
  return [
119
- v("button", P, [
120
- v("span", Q, w(D(e.composition)), 1),
121
- v("span", X, w(((t = O.value) == null ? void 0 : t.label) || "Schema"), 1),
122
- b(f(Z), { class: "z-1" })
99
+ f("button", P, [
100
+ f("span", Q, V(U(e.composition)), 1),
101
+ f("span", X, V(((n = O.value) == null ? void 0 : n.label) || "Schema"), 1),
102
+ y(v(G))
123
103
  ])
124
104
  ];
125
105
  }),
126
106
  _: 1
127
107
  }, 8, ["modelValue", "options"]),
128
- v("div", Y, [
129
- (o = i.value) != null && o.description ? (m(), u("div", W, [
130
- b(f(R), {
131
- value: i.value.description
108
+ f("div", Y, [
109
+ (l = t.value) != null && l.description ? (r(), c("div", W, [
110
+ y(v($), {
111
+ value: t.value.description
132
112
  }, null, 8, ["value"])
133
- ])) : p("", !0),
134
- L.value ? (m(), d(S, {
113
+ ])) : u("", !0),
114
+ z.value ? (r(), p(g, {
135
115
  key: 1,
136
116
  compact: e.compact,
137
117
  level: e.level + 1,
@@ -139,34 +119,34 @@ const K = { class: "property-rule" }, P = {
139
119
  name: e.name,
140
120
  noncollapsible: !0,
141
121
  schemas: e.schemas,
142
- value: (s = i.value) != null && s.properties ? {
122
+ value: (m = t.value) != null && m.properties ? {
143
123
  type: "object",
144
- properties: i.value.properties,
145
- required: i.value.required
146
- } : i.value
147
- }, null, 8, ["compact", "level", "hideHeading", "name", "schemas", "value"])) : p("", !0),
148
- (c = i.value) != null && c.oneOf || (H = i.value) != null && H.anyOf ? (m(), d(l, {
124
+ properties: t.value.properties,
125
+ required: t.value.required
126
+ } : t.value
127
+ }, null, 8, ["compact", "level", "hideHeading", "name", "schemas", "value"])) : u("", !0),
128
+ (A = t.value) != null && A.oneOf || (H = t.value) != null && H.anyOf ? (r(), p(i, {
149
129
  key: 2,
150
130
  compact: e.compact,
151
- composition: y.value,
131
+ composition: h.value,
152
132
  hideHeading: e.hideHeading,
153
133
  level: e.level + 1,
154
134
  name: e.name,
155
135
  noncollapsible: !0,
156
136
  schemas: e.schemas,
157
137
  value: {
158
- [y.value]: z.value
138
+ [h.value]: q.value
159
139
  }
160
- }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "schemas", "value"])) : p("", !0)
140
+ }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "schemas", "value"])) : u("", !0)
161
141
  ])
162
- ], 64)) : (m(), d(S, {
142
+ ], 64)) : (r(), p(g, {
163
143
  key: 2,
164
144
  compact: e.compact,
165
145
  level: e.level,
166
146
  name: e.name,
167
147
  noncollapsible: e.level == 0,
168
148
  schemas: e.schemas,
169
- value: f($)(e.value[e.composition])
149
+ value: v(w)(e.value[e.composition])
170
150
  }, null, 8, ["compact", "level", "name", "noncollapsible", "schemas", "value"]))
171
151
  ]);
172
152
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA0kBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAOtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAUjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,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,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAKA,OAAO;kBADT,OAAO;;AAmkB1B,0BASG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAmnBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAOtD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAUjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,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,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAKA,OAAO;kBADT,OAAO;;AA2mB1B,0BASG"}
@@ -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 a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-9998b466"]]);
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cd0cb087"]]);
5
5
  export {
6
- a as default
6
+ p as default
7
7
  };