@scalar/api-reference 1.35.5 → 1.35.6

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 (217) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/browser/standalone.js +18150 -18465
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/WithBreadcrumb.vue2.js +8 -11
  5. package/dist/components/ApiReference.vue.js +1 -1
  6. package/dist/components/ApiReferenceLayout.vue.js +4 -4
  7. package/dist/components/ApiReferenceLayout.vue2.js +247 -268
  8. package/dist/components/Badge/Badge.vue.js +1 -1
  9. package/dist/components/ClassicHeader.vue.js +1 -1
  10. package/dist/components/Content/Content.vue.js +145 -169
  11. package/dist/components/Content/Content.vue3.js +1 -1
  12. package/dist/components/Content/Models/ClassicLayout.vue.js +1 -1
  13. package/dist/components/Content/Models/ClassicLayout.vue2.js +32 -35
  14. package/dist/components/Content/Models/Models.vue.js +27 -31
  15. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  16. package/dist/components/Content/Operations/TraversedEntry.vue.js +32 -35
  17. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +26 -27
  18. package/dist/components/Content/Operations/get-current-index.js +1 -1
  19. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  20. package/dist/components/Content/Schema/Schema.vue2.js +68 -74
  21. package/dist/components/Content/Schema/SchemaComposition.vue.js +42 -45
  22. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  23. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
  24. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +45 -50
  25. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  26. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +41 -48
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +142 -157
  29. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
  31. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  32. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +160 -164
  33. package/dist/components/Content/Schema/helpers/get-schema-type.js +15 -17
  34. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +74 -77
  35. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +10 -11
  36. package/dist/components/Content/Tags/ClassicLayout.vue.js +1 -1
  37. package/dist/components/Content/Tags/ClassicLayout.vue2.js +36 -39
  38. package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
  39. package/dist/components/Content/Tags/ModernLayout.vue2.js +31 -35
  40. package/dist/components/Content/Tags/TagSection.vue.js +86 -92
  41. package/dist/components/GettingStarted.vue.js +1 -1
  42. package/dist/components/LinkList/LinkList.vue.js +1 -1
  43. package/dist/components/LoadingSkeleton.vue.js +1 -1
  44. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  45. package/dist/components/MobileHeader.vue.js +3 -3
  46. package/dist/components/MobileHeader.vue2.js +13 -12
  47. package/dist/components/OperationPath.vue.js +1 -1
  48. package/dist/components/OperationsList/OperationsList.vue.js +1 -1
  49. package/dist/components/OperationsList/OperationsList.vue2.js +45 -51
  50. package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
  51. package/dist/components/ScreenReader.vue.js +1 -1
  52. package/dist/components/Section/CompactSection.vue.js +1 -1
  53. package/dist/components/Section/Section.vue.js +1 -1
  54. package/dist/components/Section/Section.vue2.js +13 -14
  55. package/dist/components/Section/SectionAccordion.vue.js +1 -1
  56. package/dist/components/Section/SectionAccordion.vue2.js +29 -30
  57. package/dist/components/Section/SectionColumn.vue.js +1 -1
  58. package/dist/components/Section/SectionColumns.vue.js +1 -1
  59. package/dist/components/Section/SectionContainer.vue.js +1 -1
  60. package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
  61. package/dist/components/Section/SectionContent.vue.js +1 -1
  62. package/dist/components/Section/SectionHeader.vue.js +1 -1
  63. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  64. package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
  65. package/dist/components/ShowMoreButton.vue.js +1 -1
  66. package/dist/components/ShowMoreButton.vue2.js +12 -13
  67. package/dist/features/Operation/Operation.vue.js +31 -36
  68. package/dist/features/Operation/components/Headers.vue.js +1 -1
  69. package/dist/features/Operation/components/OperationParameters.vue.js +8 -11
  70. package/dist/features/Operation/components/ParameterList.vue.js +21 -24
  71. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  72. package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -37
  73. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  74. package/dist/features/Operation/components/RequestBody.vue2.js +45 -52
  75. package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
  76. package/dist/features/Operation/components/callbacks/Callback.vue2.js +32 -35
  77. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  78. package/dist/features/Operation/layouts/ClassicLayout.vue.js +4 -4
  79. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -119
  80. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  81. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  82. package/dist/features/Operation/layouts/ModernLayout.vue2.js +87 -89
  83. package/dist/features/Search/components/SearchButton.vue.js +23 -25
  84. package/dist/features/Search/components/SearchModal.vue.js +1 -1
  85. package/dist/features/Search/components/SearchModal.vue2.js +53 -54
  86. package/dist/features/api-client-modal/ApiClientModal.vue.js +31 -38
  87. package/dist/features/document-source/hooks/useDocumentFetcher.js +17 -18
  88. package/dist/features/document-source/hooks/useDocumentSource.js +16 -16
  89. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  90. package/dist/features/example-responses/ExampleResponse.vue2.js +23 -26
  91. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  92. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  93. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  94. package/dist/features/example-responses/ExampleResponses.vue2.js +128 -153
  95. package/dist/features/info-object/Contact.vue.js +24 -27
  96. package/dist/features/info-object/License.vue.js +26 -29
  97. package/dist/features/multiple-documents/DocumentSelector.vue.js +22 -31
  98. package/dist/features/multiple-documents/useMultipleDocuments.js +52 -56
  99. package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
  100. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  101. package/dist/features/sidebar/components/Sidebar.vue2.js +74 -79
  102. package/dist/features/sidebar/components/SidebarElement.vue.js +1 -1
  103. package/dist/features/sidebar/components/SidebarElement.vue2.js +52 -53
  104. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  105. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  106. package/dist/features/specification-extension/SpecificationExtension.vue2.js +28 -31
  107. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  108. package/dist/features/test-request-button/TestRequestButton.vue2.js +1 -2
  109. package/dist/features/traverse-schema/helpers/traverse-description.js +13 -14
  110. package/dist/features/traverse-schema/helpers/traverse-document.js +14 -15
  111. package/dist/features/traverse-schema/helpers/traverse-paths.js +20 -23
  112. package/dist/features/traverse-schema/helpers/traverse-schemas.js +13 -15
  113. package/dist/features/traverse-schema/helpers/traverse-webhooks.js +8 -10
  114. package/dist/hooks/useFreezing.js +14 -14
  115. package/dist/hooks/useNavState.js +37 -39
  116. package/dist/index.js +2 -2
  117. package/dist/libs/openapi.js +28 -31
  118. package/dist/style.css +1 -1
  119. package/dist/v2/ApiReferenceWorkspace.vue.js +68 -75
  120. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  121. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
  122. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +116 -135
  123. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +40 -47
  124. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +45 -46
  125. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +109 -125
  126. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
  127. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +84 -84
  128. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +12 -13
  129. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
  130. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +1 -4
  131. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
  132. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +77 -82
  133. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  134. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +46 -49
  135. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  136. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
  137. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
  138. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  139. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +74 -89
  140. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +24 -27
  141. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +1 -1
  142. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +106 -119
  143. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +11 -12
  144. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +3 -3
  145. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +11 -14
  146. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +45 -48
  147. package/dist/v2/helpers/get-document-name.js +10 -10
  148. package/dist/v2/helpers/map-configuration.js +48 -51
  149. package/dist/v2/hooks/use-legacy-store-events.js +44 -48
  150. package/dist/v2/hooks/use-workspace-store-events.js +23 -26
  151. package/package.json +22 -22
  152. package/dist/components/ApiReferenceLayout.vue3.js +0 -4
  153. package/dist/components/ApiReferenceLayout.vue4.js +0 -4
  154. package/dist/components/ApiReferenceLayout.vue5.js +0 -4
  155. package/dist/components/ApiReferenceLayout.vue6.js +0 -4
  156. package/dist/components/Badge/Badge.vue3.js +0 -4
  157. package/dist/components/ClassicHeader.vue2.js +0 -4
  158. package/dist/components/Content/Content.vue2.js +0 -4
  159. package/dist/components/Content/Models/ClassicLayout.vue3.js +0 -4
  160. package/dist/components/Content/Models/ModernLayout.vue3.js +0 -4
  161. package/dist/components/Content/Schema/Schema.vue3.js +0 -4
  162. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +0 -4
  163. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +0 -4
  164. package/dist/components/Content/Schema/SchemaHeading.vue3.js +0 -4
  165. package/dist/components/Content/Schema/SchemaProperty.vue3.js +0 -4
  166. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +0 -4
  167. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +0 -4
  168. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +0 -4
  169. package/dist/components/Content/Tags/ClassicLayout.vue3.js +0 -4
  170. package/dist/components/Content/Tags/ModernLayout.vue3.js +0 -4
  171. package/dist/components/GettingStarted.vue3.js +0 -4
  172. package/dist/components/LinkList/LinkList.vue3.js +0 -4
  173. package/dist/components/LoadingSkeleton.vue3.js +0 -4
  174. package/dist/components/MobileHeader.vue3.js +0 -4
  175. package/dist/components/OperationPath.vue3.js +0 -4
  176. package/dist/components/OperationsList/OperationsList.vue3.js +0 -4
  177. package/dist/components/OperationsList/OperationsListItem.vue3.js +0 -4
  178. package/dist/components/ScreenReader.vue3.js +0 -4
  179. package/dist/components/Section/CompactSection.vue3.js +0 -4
  180. package/dist/components/Section/Section.vue3.js +0 -4
  181. package/dist/components/Section/SectionAccordion.vue3.js +0 -4
  182. package/dist/components/Section/SectionColumn.vue2.js +0 -4
  183. package/dist/components/Section/SectionColumns.vue2.js +0 -4
  184. package/dist/components/Section/SectionContainer.vue3.js +0 -4
  185. package/dist/components/Section/SectionContainerAccordion.vue3.js +0 -4
  186. package/dist/components/Section/SectionContent.vue3.js +0 -4
  187. package/dist/components/Section/SectionHeader.vue3.js +0 -4
  188. package/dist/components/Section/SectionHeaderTag.vue3.js +0 -4
  189. package/dist/components/SectionFlare/SectionFlare.vue2.js +0 -4
  190. package/dist/components/ShowMoreButton.vue3.js +0 -4
  191. package/dist/features/Operation/components/Headers.vue3.js +0 -4
  192. package/dist/features/Operation/components/ParameterListItem.vue3.js +0 -4
  193. package/dist/features/Operation/components/RequestBody.vue3.js +0 -4
  194. package/dist/features/Operation/components/callbacks/Callback.vue3.js +0 -4
  195. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +0 -4
  196. package/dist/features/Operation/layouts/ModernLayout.vue3.js +0 -4
  197. package/dist/features/Search/components/SearchModal.vue3.js +0 -4
  198. package/dist/features/example-responses/ExampleResponse.vue3.js +0 -4
  199. package/dist/features/example-responses/ExampleResponseTab.vue3.js +0 -4
  200. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +0 -4
  201. package/dist/features/example-responses/ExampleResponses.vue3.js +0 -4
  202. package/dist/features/sidebar/components/Sidebar.vue3.js +0 -4
  203. package/dist/features/sidebar/components/SidebarElement.vue3.js +0 -4
  204. package/dist/features/sidebar/components/SidebarGroup.vue3.js +0 -4
  205. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +0 -4
  206. package/dist/features/test-request-button/TestRequestButton.vue3.js +0 -4
  207. package/dist/v2/ApiReferenceWorkspace.vue2.js +0 -4
  208. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js +0 -4
  209. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js +0 -4
  210. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js +0 -4
  211. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js +0 -4
  212. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue3.js +0 -4
  213. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue3.js +0 -4
  214. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +0 -4
  215. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +0 -4
  216. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +0 -4
  217. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +0 -4
@@ -1,104 +1,98 @@
1
- import { defineComponent as s, createBlock as d, createCommentVNode as m, openBlock as p, unref as e, withCtx as a, withDirectives as g, createVNode as t, createTextVNode as f, toDisplayString as c, vShow as C } from "vue";
2
- import { ScalarMarkdown as S } from "@scalar/components";
3
- import _ from "../../ScreenReader.vue.js";
4
- import { useConfig as v } from "../../../hooks/useConfig.js";
5
- import h from "../../Section/Section.vue.js";
6
- import k from "../../Section/SectionHeader.vue.js";
7
- import w from "../../Anchor/Anchor.vue.js";
8
- import y from "../../Section/SectionHeaderTag.vue.js";
9
- import B from "../../Section/SectionContent.vue.js";
10
- import I from "../../Section/SectionColumns.vue.js";
11
- import u from "../../Section/SectionColumn.vue.js";
12
- import L from "../../OperationsList/OperationsList.vue.js";
13
- import N from "../../../features/specification-extension/SpecificationExtension.vue2.js";
14
- const E = /* @__PURE__ */ s({
1
+ import { defineComponent as f, createBlock as r, createCommentVNode as n, openBlock as d, unref as e, withCtx as a, withDirectives as u, createVNode as t, createTextVNode as m, toDisplayString as s, vShow as g } from "vue";
2
+ import { ScalarMarkdown as c } from "@scalar/components";
3
+ import C from "../../ScreenReader.vue.js";
4
+ import { useConfig as S } from "../../../hooks/useConfig.js";
5
+ import _ from "../../Section/Section.vue.js";
6
+ import v from "../../Section/SectionHeader.vue.js";
7
+ import h from "../../Anchor/Anchor.vue.js";
8
+ import k from "../../Section/SectionHeaderTag.vue.js";
9
+ import w from "../../Section/SectionContent.vue.js";
10
+ import y from "../../Section/SectionColumns.vue.js";
11
+ import p from "../../Section/SectionColumn.vue.js";
12
+ import B from "../../OperationsList/OperationsList.vue.js";
13
+ import I from "../../../features/specification-extension/SpecificationExtension.vue2.js";
14
+ const z = /* @__PURE__ */ f({
15
15
  __name: "TagSection",
16
16
  props: {
17
17
  tag: {},
18
18
  headerId: {},
19
19
  isCollapsed: { type: Boolean }
20
20
  },
21
- setup(T) {
22
- const i = v();
23
- return (o, l) => {
24
- var r;
25
- return o.tag ? (p(), d(e(h), {
26
- key: 0,
27
- id: o.tag.id,
28
- label: (r = o.tag.title) == null ? void 0 : r.toUpperCase(),
29
- role: "none"
30
- }, {
31
- default: a(() => [
32
- g(t(e(k), null, {
33
- default: a(() => [
34
- t(e(w), {
35
- id: o.tag.id
36
- }, {
37
- default: a(() => [
38
- t(e(y), {
39
- id: o.headerId,
40
- level: 2
41
- }, {
42
- default: a(() => [
43
- f(c(o.tag.title) + " ", 1),
44
- o.isCollapsed ? (p(), d(_, { key: 0 }, {
45
- default: a(() => l[0] || (l[0] = [
46
- f(" (Collapsed)")
47
- ])),
48
- _: 1,
49
- __: [0]
50
- })) : m("", !0)
51
- ]),
52
- _: 1
53
- }, 8, ["id"])
54
- ]),
55
- _: 1
56
- }, 8, ["id"])
57
- ]),
58
- _: 1
59
- }, 512), [
60
- [C, !e(i).isLoading]
21
+ setup(L) {
22
+ const i = S();
23
+ return (o, l) => o.tag ? (d(), r(e(_), {
24
+ key: 0,
25
+ id: o.tag.id,
26
+ label: o.tag.title?.toUpperCase(),
27
+ role: "none"
28
+ }, {
29
+ default: a(() => [
30
+ u(t(e(v), null, {
31
+ default: a(() => [
32
+ t(e(h), {
33
+ id: o.tag.id
34
+ }, {
35
+ default: a(() => [
36
+ t(e(k), {
37
+ id: o.headerId,
38
+ level: 2
39
+ }, {
40
+ default: a(() => [
41
+ m(s(o.tag.title) + " ", 1),
42
+ o.isCollapsed ? (d(), r(C, { key: 0 }, {
43
+ default: a(() => l[0] || (l[0] = [
44
+ m(" (Collapsed)")
45
+ ])),
46
+ _: 1,
47
+ __: [0]
48
+ })) : n("", !0)
49
+ ]),
50
+ _: 1
51
+ }, 8, ["id"])
52
+ ]),
53
+ _: 1
54
+ }, 8, ["id"])
61
55
  ]),
62
- t(e(B), {
63
- loading: e(i).isLoading
64
- }, {
65
- default: a(() => [
66
- t(e(I), null, {
67
- default: a(() => [
68
- t(e(u), null, {
69
- default: a(() => {
70
- var n;
71
- return [
72
- t(e(S), {
73
- clamp: o.isCollapsed ? 7 : void 0,
74
- value: ((n = o.tag.tag) == null ? void 0 : n.description) ?? "",
75
- withImages: ""
76
- }, null, 8, ["clamp", "value"])
77
- ];
78
- }),
79
- _: 1
80
- }),
81
- t(e(u), null, {
82
- default: a(() => [
83
- t(e(L), { tag: o.tag }, null, 8, ["tag"])
84
- ]),
85
- _: 1
86
- })
87
- ]),
88
- _: 1
89
- })
90
- ]),
91
- _: 1
92
- }, 8, ["loading"]),
93
- t(e(N), {
94
- value: o.tag.tag
95
- }, null, 8, ["value"])
56
+ _: 1
57
+ }, 512), [
58
+ [g, !e(i).isLoading]
96
59
  ]),
97
- _: 1
98
- }, 8, ["id", "label"])) : m("", !0);
99
- };
60
+ t(e(w), {
61
+ loading: e(i).isLoading
62
+ }, {
63
+ default: a(() => [
64
+ t(e(y), null, {
65
+ default: a(() => [
66
+ t(e(p), null, {
67
+ default: a(() => [
68
+ t(e(c), {
69
+ clamp: o.isCollapsed ? 7 : void 0,
70
+ value: o.tag.tag?.description ?? "",
71
+ withImages: ""
72
+ }, null, 8, ["clamp", "value"])
73
+ ]),
74
+ _: 1
75
+ }),
76
+ t(e(p), null, {
77
+ default: a(() => [
78
+ t(e(B), { tag: o.tag }, null, 8, ["tag"])
79
+ ]),
80
+ _: 1
81
+ })
82
+ ]),
83
+ _: 1
84
+ })
85
+ ]),
86
+ _: 1
87
+ }, 8, ["loading"]),
88
+ t(e(I), {
89
+ value: o.tag.tag
90
+ }, null, 8, ["value"])
91
+ ]),
92
+ _: 1
93
+ }, 8, ["id", "label"])) : n("", !0);
100
94
  }
101
95
  });
102
96
  export {
103
- E as default
97
+ z as default
104
98
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./GettingStarted.vue2.js";
2
- import "./GettingStarted.vue3.js";
2
+ /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-bc17fac9"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./LinkList.vue2.js";
2
- import "./LinkList.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0939d4d9"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./LoadingSkeleton.vue2.js";
2
- import "./LoadingSkeleton.vue3.js";
2
+ /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8e0226d7"]]);
5
5
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue"],"names":[],"mappings":"AAsEA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;AA0DF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"MobileHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/MobileHeader.vue"],"names":[],"mappings":"AAsEA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;AA4DF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./MobileHeader.vue2.js";
2
- import "./MobileHeader.vue3.js";
2
+ /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6616d485"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ba06ff2c"]]);
5
5
  export {
6
- m as default
6
+ f as default
7
7
  };
@@ -1,22 +1,23 @@
1
- import { defineComponent as t, createElementBlock as a, openBlock as i, createVNode as l, createElementVNode as s, unref as o, toDisplayString as c, renderSlot as d } from "vue";
1
+ import { defineComponent as t, createElementBlock as a, openBlock as c, createVNode as i, createElementVNode as s, unref as e, toDisplayString as l, renderSlot as d } from "vue";
2
2
  import { ScalarIconButton as m } from "@scalar/components";
3
- import { useSidebar as u } from "../features/sidebar/hooks/useSidebar.js";
4
- const p = { class: "references-mobile-header t-doc__header" }, b = { class: "references-mobile-breadcrumbs" }, _ = { class: "references-mobile-header-actions" }, M = /* @__PURE__ */ t({
3
+ import { ScalarIconX as p, ScalarIconList as u } from "@scalar/icons";
4
+ import { useSidebar as b } from "../features/sidebar/hooks/useSidebar.js";
5
+ const _ = { class: "references-mobile-header t-doc__header" }, f = { class: "references-mobile-breadcrumbs" }, S = { class: "references-mobile-header-actions" }, M = /* @__PURE__ */ t({
5
6
  __name: "MobileHeader",
6
7
  props: {
7
8
  breadcrumb: {}
8
9
  },
9
- setup(f) {
10
- const { isSidebarOpen: e } = u();
11
- return (r, n) => (i(), a("div", p, [
12
- l(o(m), {
13
- icon: o(e) ? "Close" : "Menu",
14
- label: o(e) ? "Close Menu" : "Open Menu",
10
+ setup(h) {
11
+ const { isSidebarOpen: o } = b();
12
+ return (r, n) => (c(), a("div", _, [
13
+ i(e(m), {
14
+ icon: e(o) ? e(p) : e(u),
15
+ label: e(o) ? "Close Menu" : "Open Menu",
15
16
  size: "md",
16
- onClick: n[0] || (n[0] = (h) => e.value = !o(e))
17
+ onClick: n[0] || (n[0] = (v) => o.value = !e(o))
17
18
  }, null, 8, ["icon", "label"]),
18
- s("span", b, c(r.breadcrumb), 1),
19
- s("div", _, [
19
+ s("span", f, l(r.breadcrumb), 1),
20
+ s("div", S, [
20
21
  d(r.$slots, "actions", {}, void 0, !0)
21
22
  ])
22
23
  ]));
@@ -1,5 +1,5 @@
1
1
  import o from "./OperationPath.vue2.js";
2
- import "./OperationPath.vue3.js";
2
+ /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ec6c8861"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./OperationsList.vue2.js";
2
- import "./OperationsList.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d474b1bb"]]);
5
5
  export {
@@ -1,60 +1,54 @@
1
- import { defineComponent as u, computed as f, createBlock as s, createCommentVNode as h, openBlock as r, unref as o, withCtx as t, createVNode as n, createTextVNode as d, toDisplayString as c, createElementVNode as g, createElementBlock as k, Fragment as _, renderList as C } from "vue";
2
- import { ScalarCard as S, ScalarCardHeader as b, ScalarCardSection as N } from "@scalar/components";
3
- import V from "../ScreenReader.vue.js";
4
- import y from "./OperationsListItem.vue.js";
5
- const B = ["aria-label"], O = /* @__PURE__ */ u({
1
+ import { defineComponent as m, computed as p, createBlock as l, createCommentVNode as u, openBlock as a, unref as r, withCtx as t, createVNode as o, createTextVNode as i, toDisplayString as s, createElementVNode as f, createElementBlock as h, Fragment as g, renderList as k } from "vue";
2
+ import { ScalarCard as _, ScalarCardHeader as C, ScalarCardSection as S } from "@scalar/components";
3
+ import b from "../ScreenReader.vue.js";
4
+ import N from "./OperationsListItem.vue.js";
5
+ const V = ["aria-label"], E = /* @__PURE__ */ m({
6
6
  __name: "OperationsList",
7
7
  props: {
8
8
  tag: {}
9
9
  },
10
- setup(m) {
11
- const p = f(
12
- () => {
13
- var e;
14
- return (e = m.tag.children) == null ? void 0 : e.filter(
15
- (a) => "operation" in a || "webhook" in a
16
- );
17
- }
10
+ setup(d) {
11
+ const c = p(
12
+ () => d.tag.children?.filter(
13
+ (e) => "operation" in e || "webhook" in e
14
+ )
18
15
  );
19
- return (e, a) => {
20
- var l;
21
- return ((l = e.tag.children) == null ? void 0 : l.length) > 0 ? (r(), s(o(S), {
22
- key: 0,
23
- class: "endpoints-card"
24
- }, {
25
- default: t(() => [
26
- n(o(b), { muted: "" }, {
27
- default: t(() => [
28
- n(V, null, {
29
- default: t(() => [
30
- d(c(e.tag.title), 1)
31
- ]),
32
- _: 1
33
- }),
34
- d(" " + c(e.tag.isWebhooks ? "Webhooks" : "Operations"), 1)
35
- ]),
36
- _: 1
37
- }),
38
- n(o(N), { class: "custom-scroll max-h-[60vh]" }, {
39
- default: t(() => [
40
- g("ul", {
41
- "aria-label": `${e.tag.title} endpoints`,
42
- class: "endpoints"
43
- }, [
44
- (r(!0), k(_, null, C(p.value, (i) => (r(), s(y, {
45
- key: i.id,
46
- operation: i
47
- }, null, 8, ["operation"]))), 128))
48
- ], 8, B)
49
- ]),
50
- _: 1
51
- })
52
- ]),
53
- _: 1
54
- })) : h("", !0);
55
- };
16
+ return (e, y) => e.tag.children?.length > 0 ? (a(), l(r(_), {
17
+ key: 0,
18
+ class: "endpoints-card"
19
+ }, {
20
+ default: t(() => [
21
+ o(r(C), { muted: "" }, {
22
+ default: t(() => [
23
+ o(b, null, {
24
+ default: t(() => [
25
+ i(s(e.tag.title), 1)
26
+ ]),
27
+ _: 1
28
+ }),
29
+ i(" " + s(e.tag.isWebhooks ? "Webhooks" : "Operations"), 1)
30
+ ]),
31
+ _: 1
32
+ }),
33
+ o(r(S), { class: "custom-scroll max-h-[60vh]" }, {
34
+ default: t(() => [
35
+ f("ul", {
36
+ "aria-label": `${e.tag.title} endpoints`,
37
+ class: "endpoints"
38
+ }, [
39
+ (a(!0), h(g, null, k(c.value, (n) => (a(), l(N, {
40
+ key: n.id,
41
+ operation: n
42
+ }, null, 8, ["operation"]))), 128))
43
+ ], 8, V)
44
+ ]),
45
+ _: 1
46
+ })
47
+ ]),
48
+ _: 1
49
+ })) : u("", !0);
56
50
  }
57
51
  });
58
52
  export {
59
- O as default
53
+ E as default
60
54
  };
@@ -1,5 +1,5 @@
1
1
  import t from "./OperationsListItem.vue2.js";
2
- import "./OperationsListItem.vue3.js";
2
+ /* empty css */
3
3
  import o from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e2dcc62f"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "./ScreenReader.vue2.js";
2
- import "./ScreenReader.vue3.js";
2
+ /* empty css */
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const f = /* @__PURE__ */ o(e, [["__scopeId", "data-v-df2e1026"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./CompactSection.vue2.js";
2
- import "./CompactSection.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0a6031fe"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./Section.vue2.js";
2
- import "./Section.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-393971a5"]]);
5
5
  export {
@@ -1,27 +1,26 @@
1
- import { defineComponent as d, createBlock as c, openBlock as m, withCtx as p, renderSlot as f } from "vue";
2
- import u from "../IntersectionObserver.vue.js";
3
- import { useNavState as S } from "../../hooks/useNavState.js";
4
- import { useSidebar as _ } from "../../features/sidebar/hooks/useSidebar.js";
5
- const v = /* @__PURE__ */ d({
1
+ import { defineComponent as l, createBlock as d, openBlock as c, withCtx as m, renderSlot as p } from "vue";
2
+ import f from "../IntersectionObserver.vue.js";
3
+ import { useNavState as u } from "../../hooks/useNavState.js";
4
+ import { useSidebar as S } from "../../features/sidebar/hooks/useSidebar.js";
5
+ const v = /* @__PURE__ */ l({
6
6
  __name: "Section",
7
7
  props: {
8
8
  id: {},
9
9
  label: {}
10
10
  },
11
- setup(i) {
12
- const e = i, { getSectionId: r, isIntersectionEnabled: n, replaceUrlState: s } = S(), { setCollapsedSidebarItem: a } = _();
13
- function l() {
14
- var t, o;
15
- !e.label || !n.value || (s(e.id ?? ""), ((t = e.id) != null && t.startsWith("model") || (o = e.id) != null && o.startsWith("webhook")) && a(r(e.id), !0));
11
+ setup(o) {
12
+ const e = o, { getSectionId: i, isIntersectionEnabled: r, replaceUrlState: n } = u(), { setCollapsedSidebarItem: s } = S();
13
+ function a() {
14
+ !e.label || !r.value || (n(e.id ?? ""), (e.id?.startsWith("model") || e.id?.startsWith("webhook")) && s(i(e.id), !0));
16
15
  }
17
- return (t, o) => (m(), c(u, {
16
+ return (t, _) => (c(), d(f, {
18
17
  is: "section",
19
18
  id: t.id,
20
19
  class: "section",
21
- onIntersecting: l
20
+ onIntersecting: a
22
21
  }, {
23
- default: p(() => [
24
- f(t.$slots, "default", {}, void 0, !0)
22
+ default: m(() => [
23
+ p(t.$slots, "default", {}, void 0, !0)
25
24
  ]),
26
25
  _: 3
27
26
  }, 8, ["id"]));
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionAccordion.vue2.js";
2
- import "./SectionAccordion.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d3d6e381"]]);
5
5
  export {
@@ -1,64 +1,63 @@
1
- import { defineComponent as $, ref as C, createBlock as B, openBlock as r, withCtx as s, createVNode as n, unref as o, normalizeClass as l, createElementVNode as u, createElementBlock as m, createCommentVNode as f, renderSlot as i } from "vue";
2
- import { Disclosure as I, DisclosureButton as _, DisclosurePanel as y } from "@headlessui/vue";
3
- import { ScalarIconCaretRight as E } from "@scalar/icons";
4
- import { useElementHover as N } from "@vueuse/core";
5
- import { useNavState as g } from "../../hooks/useNavState.js";
6
- import w from "../IntersectionObserver.vue.js";
7
- import { useSidebar as D } from "../../features/sidebar/hooks/useSidebar.js";
8
- const V = { class: "section-accordion-button-content" }, z = {
1
+ import { defineComponent as k, ref as $, createBlock as C, openBlock as c, withCtx as s, createVNode as n, unref as o, normalizeClass as d, createElementVNode as l, createElementBlock as u, createCommentVNode as m, renderSlot as i } from "vue";
2
+ import { Disclosure as B, DisclosureButton as I, DisclosurePanel as _ } from "@headlessui/vue";
3
+ import { ScalarIconCaretRight as y } from "@scalar/icons";
4
+ import { useElementHover as E } from "@vueuse/core";
5
+ import { useNavState as N } from "../../hooks/useNavState.js";
6
+ import g from "../IntersectionObserver.vue.js";
7
+ import { useSidebar as w } from "../../features/sidebar/hooks/useSidebar.js";
8
+ const D = { class: "section-accordion-button-content" }, V = {
9
9
  key: 0,
10
10
  class: "section-accordion-button-actions"
11
- }, H = {
11
+ }, z = {
12
12
  key: 0,
13
13
  class: "section-accordion-description"
14
- }, W = { class: "section-accordion-content-card" }, G = /* @__PURE__ */ $({
14
+ }, H = { class: "section-accordion-content-card" }, G = /* @__PURE__ */ k({
15
15
  __name: "SectionAccordion",
16
16
  props: {
17
17
  id: {},
18
18
  transparent: { type: Boolean }
19
19
  },
20
20
  setup(e) {
21
- const a = C(), p = N(a), { getSectionId: v, isIntersectionEnabled: h, replaceUrlState: b } = g(), { setCollapsedSidebarItem: S } = D(), k = () => {
22
- var t, c;
23
- !e.id || !h.value || (b(e.id), ((t = e.id) != null && t.startsWith("model") || (c = e.id) != null && c.startsWith("webhook")) && S(v(e.id), !0));
21
+ const r = $(), f = E(r), { getSectionId: p, isIntersectionEnabled: v, replaceUrlState: h } = N(), { setCollapsedSidebarItem: b } = w(), S = () => {
22
+ !e.id || !v.value || (h(e.id), (e.id?.startsWith("model") || e.id?.startsWith("webhook")) && b(p(e.id), !0));
24
23
  };
25
- return (t, c) => (r(), B(w, {
24
+ return (t, W) => (c(), C(g, {
26
25
  id: t.id,
27
26
  class: "section-wrapper",
28
- onIntersecting: k
27
+ onIntersecting: S
29
28
  }, {
30
29
  default: s(() => [
31
- n(o(I), {
30
+ n(o(B), {
32
31
  as: "section",
33
- class: l(["section-accordion", { "section-accordion-transparent": t.transparent }])
32
+ class: d(["section-accordion", { "section-accordion-transparent": t.transparent }])
34
33
  }, {
35
- default: s(({ open: d }) => [
36
- n(o(_), {
34
+ default: s(({ open: a }) => [
35
+ n(o(I), {
37
36
  ref_key: "button",
38
- ref: a,
37
+ ref: r,
39
38
  class: "section-accordion-button"
40
39
  }, {
41
40
  default: s(() => [
42
- u("div", V, [
41
+ l("div", D, [
43
42
  i(t.$slots, "title", {}, void 0, !0)
44
43
  ]),
45
- t.$slots.actions ? (r(), m("div", z, [
44
+ t.$slots.actions ? (c(), u("div", V, [
46
45
  i(t.$slots, "actions", {
47
- active: o(p) || d
46
+ active: o(f) || a
48
47
  }, void 0, !0)
49
- ])) : f("", !0),
50
- n(o(E), {
51
- class: l(["section-accordion-chevron size-4.5 transition-transform", { "rotate-90": d }])
48
+ ])) : m("", !0),
49
+ n(o(y), {
50
+ class: d(["section-accordion-chevron size-4.5 transition-transform", { "rotate-90": a }])
52
51
  }, null, 8, ["class"])
53
52
  ]),
54
53
  _: 2
55
54
  }, 1536),
56
- n(o(y), { class: "section-accordion-content" }, {
55
+ n(o(_), { class: "section-accordion-content" }, {
57
56
  default: s(() => [
58
- t.$slots.description ? (r(), m("div", H, [
57
+ t.$slots.description ? (c(), u("div", z, [
59
58
  i(t.$slots, "description", {}, void 0, !0)
60
- ])) : f("", !0),
61
- u("div", W, [
59
+ ])) : m("", !0),
60
+ l("div", H, [
62
61
  i(t.$slots, "default", {}, void 0, !0)
63
62
  ])
64
63
  ]),
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, renderSlot as c } from "vue";
2
- import "./SectionColumn.vue2.js";
2
+ /* empty css */
3
3
  import n from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = {}, s = { class: "section-column" };
5
5
  function d(e, _) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as t, renderSlot as n } from "vue";
2
- import "./SectionColumns.vue2.js";
2
+ /* empty css */
3
3
  import c from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = {}, s = { class: "section-columns" };
5
5
  function d(e, _) {
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionContainer.vue2.js";
2
- import "./SectionContainer.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-20a1472a"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionContainerAccordion.vue2.js";
2
- import "./SectionContainerAccordion.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-797031c0"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionContent.vue2.js";
2
- import "./SectionContent.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9735459e"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionHeader.vue2.js";
2
- import "./SectionHeader.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-465a7a78"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./SectionHeaderTag.vue2.js";
2
- import "./SectionHeaderTag.vue3.js";
2
+ /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1ac6c38"]]);
5
5
  export {