@scalar/api-reference 1.43.4 → 1.43.7

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 (128) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +7 -7
  3. package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +5 -5
  4. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  5. package/dist/blocks/scalar-info-block/components/DownloadLink.vue2.js +5 -5
  6. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js +11 -11
  7. package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +2 -2
  8. package/dist/blocks/scalar-info-block/components/InfoLinks.vue.js +7 -7
  9. package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +2 -2
  10. package/dist/blocks/scalar-info-block/components/IntroductionCard.vue2.js +1 -1
  11. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +16 -16
  12. package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +2 -2
  13. package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +1 -1
  14. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +7 -7
  15. package/dist/browser/standalone.js +18486 -18113
  16. package/dist/browser/webpack-stats.json +1 -1
  17. package/dist/components/Anchor/WithBreadcrumb.vue.js +3 -3
  18. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  19. package/dist/components/ApiReference.vue.js +1 -1
  20. package/dist/components/ApiReference.vue2.js +16 -11
  21. package/dist/components/Content/Auth/Auth.vue.js +7 -7
  22. package/dist/components/Content/Content.vue.js +28 -28
  23. package/dist/components/Content/Models/Model.vue.js +14 -14
  24. package/dist/components/Content/Models/ModelTag.vue.js +8 -8
  25. package/dist/components/Content/Models/components/ClassicLayout.vue2.js +15 -15
  26. package/dist/components/Content/Models/components/ModernLayout.vue.js +11 -11
  27. package/dist/components/Content/Operations/TraversedEntry.vue.js +51 -51
  28. package/dist/components/Content/Schema/Schema.vue2.js +40 -40
  29. package/dist/components/Content/Schema/SchemaComposition.vue.js +17 -17
  30. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +3 -3
  31. package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -7
  32. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +31 -31
  33. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +2 -2
  34. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  36. package/dist/components/Content/Schema/SchemaProperty.vue2.js +88 -147
  37. package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +2 -2
  38. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +6 -6
  39. package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts +14 -0
  40. package/dist/components/Content/Schema/helpers/get-compositions-to-render.d.ts.map +1 -0
  41. package/dist/components/Content/Schema/helpers/get-compositions-to-render.js +31 -0
  42. package/dist/components/Content/Schema/helpers/get-enum-values.d.ts +9 -0
  43. package/dist/components/Content/Schema/helpers/get-enum-values.d.ts.map +1 -0
  44. package/dist/components/Content/Schema/helpers/get-enum-values.js +20 -0
  45. package/dist/components/Content/Schema/helpers/get-property-description.d.ts +9 -0
  46. package/dist/components/Content/Schema/helpers/get-property-description.d.ts.map +1 -0
  47. package/dist/components/Content/Schema/helpers/get-property-description.js +34 -0
  48. package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts +10 -0
  49. package/dist/components/Content/Schema/helpers/has-complex-array-items.d.ts.map +1 -0
  50. package/dist/components/Content/Schema/helpers/has-complex-array-items.js +48 -0
  51. package/dist/components/Content/Schema/helpers/should-display-description.d.ts +10 -0
  52. package/dist/components/Content/Schema/helpers/should-display-description.d.ts.map +1 -0
  53. package/dist/components/Content/Schema/helpers/should-display-description.js +12 -0
  54. package/dist/components/Content/Schema/helpers/should-display-heading.d.ts +11 -0
  55. package/dist/components/Content/Schema/helpers/should-display-heading.d.ts.map +1 -0
  56. package/dist/components/Content/Schema/helpers/should-display-heading.js +12 -0
  57. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts +10 -0
  58. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.d.ts.map +1 -0
  59. package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js +15 -0
  60. package/dist/components/Content/Tags/Tag.vue.js +11 -11
  61. package/dist/components/Content/Tags/components/ClassicLayout.vue2.js +6 -6
  62. package/dist/components/Content/Tags/components/ModernLayout.vue2.js +10 -10
  63. package/dist/components/Content/Tags/components/TagSection.vue.js +14 -14
  64. package/dist/components/Content/index.d.ts +1 -0
  65. package/dist/components/Content/index.d.ts.map +1 -1
  66. package/dist/components/GettingStarted.vue2.js +1 -1
  67. package/dist/components/HttpMethod/HttpMethod.vue.js +3 -3
  68. package/dist/components/IntersectionObserver.vue.js +2 -2
  69. package/dist/components/LoadingSkeleton.vue2.js +2 -2
  70. package/dist/components/MobileHeader.vue.js +6 -6
  71. package/dist/components/OperationPath.vue2.js +1 -1
  72. package/dist/components/OperationsList/OperationsList.vue2.js +5 -5
  73. package/dist/components/OperationsList/OperationsListItem.vue2.js +8 -8
  74. package/dist/components/RenderPlugins/RenderPlugins.vue.js +2 -2
  75. package/dist/components/Section/CompactSection.vue2.js +9 -9
  76. package/dist/components/Section/SectionAccordion.vue2.js +5 -5
  77. package/dist/components/Section/SectionContainer.vue2.js +1 -1
  78. package/dist/components/Section/SectionContainerAccordion.vue2.js +3 -3
  79. package/dist/components/Section/SectionContent.vue2.js +1 -1
  80. package/dist/components/Section/SectionHeader.vue2.js +2 -2
  81. package/dist/components/Section/SectionHeaderTag.vue2.js +1 -1
  82. package/dist/components/index.d.ts +1 -0
  83. package/dist/components/index.d.ts.map +1 -1
  84. package/dist/components/index.js +18 -16
  85. package/dist/features/Operation/Operation.vue.js +18 -18
  86. package/dist/features/Operation/components/Header.vue.js +8 -8
  87. package/dist/features/Operation/components/Headers.vue2.js +5 -5
  88. package/dist/features/Operation/components/OperationParameters.vue.js +17 -17
  89. package/dist/features/Operation/components/OperationResponses.vue.js +6 -6
  90. package/dist/features/Operation/components/ParameterList.vue.js +6 -6
  91. package/dist/features/Operation/components/ParameterListItem.vue2.js +16 -16
  92. package/dist/features/Operation/components/RequestBody.vue2.js +17 -17
  93. package/dist/features/Operation/components/callbacks/Callback.vue2.js +10 -10
  94. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +3 -3
  95. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +49 -49
  96. package/dist/features/Operation/layouts/ModernLayout.vue2.js +50 -50
  97. package/dist/features/Search/components/SearchButton.vue.js +5 -5
  98. package/dist/features/Search/components/SearchModal.vue2.js +1 -1
  99. package/dist/features/Search/components/SearchResult.vue.js +14 -14
  100. package/dist/features/example-responses/ExampleResponse.vue2.js +3 -3
  101. package/dist/features/external-docs/ExternalDocs.vue.js +3 -3
  102. package/dist/features/info-object/Contact.vue.js +6 -6
  103. package/dist/features/info-object/License.vue.js +4 -4
  104. package/dist/features/info-object/TermsOfService.vue.js +2 -2
  105. package/dist/features/multiple-documents/DocumentSelector.vue.js +1 -1
  106. package/dist/features/specification-extension/SpecificationExtension.vue2.js +3 -3
  107. package/dist/features/test-request-button/TestRequestButton.vue2.js +2 -2
  108. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +4 -4
  109. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +1 -1
  110. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +1 -1
  111. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +2 -2
  112. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +1 -1
  113. package/dist/helpers/id-routing.d.ts.map +1 -1
  114. package/dist/helpers/id-routing.js +7 -1
  115. package/dist/helpers/load-from-perssistance.d.ts +32 -0
  116. package/dist/helpers/load-from-perssistance.d.ts.map +1 -0
  117. package/dist/helpers/load-from-perssistance.js +74 -0
  118. package/dist/helpers/map-config-plugins.d.ts +17 -2
  119. package/dist/helpers/map-config-plugins.d.ts.map +1 -1
  120. package/dist/helpers/map-config-plugins.js +20 -22
  121. package/dist/helpers/map-config-to-workspace-store.d.ts.map +1 -1
  122. package/dist/helpers/map-config-to-workspace-store.js +1 -8
  123. package/dist/helpers/storage.d.ts +6 -6
  124. package/dist/helpers/storage.d.ts.map +1 -1
  125. package/dist/helpers/storage.js +15 -10
  126. package/dist/plugins/hooks/usePluginManager.js +1 -1
  127. package/dist/style.css +133 -116
  128. package/package.json +31 -31
package/CHANGELOG.md CHANGED
@@ -1,5 +1,90 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.43.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7751](https://github.com/scalar/scalar/pull/7751): fix: auth persistence
8
+
9
+ #### Updated Dependencies
10
+
11
+ - **@scalar/workspace-store@0.24.9**
12
+ - [#7751](https://github.com/scalar/scalar/pull/7751): fix: auth persistence
13
+
14
+ - **@scalar/helpers@0.2.8**
15
+ - [#7751](https://github.com/scalar/scalar/pull/7751): fix: auth persistence
16
+
17
+ - **@scalar/api-client@2.18.3**
18
+
19
+ - **@scalar/oas-utils@0.6.19**
20
+
21
+ - **@scalar/sidebar@0.7.12**
22
+
23
+ - **@scalar/components@0.16.22**
24
+
25
+ - **@scalar/json-magic@0.9.1**
26
+
27
+ - **@scalar/object-utils@1.2.22**
28
+
29
+ - **@scalar/types@0.5.8**
30
+
31
+ - **@scalar/openapi-parser@0.24.1**
32
+
33
+ - **@scalar/openapi-upgrader@0.1.7**
34
+
35
+ - **@scalar/snippetz@0.6.5**
36
+
37
+ ## 1.43.6
38
+
39
+ ### Patch Changes
40
+
41
+ - [#7761](https://github.com/scalar/scalar/pull/7761): fix: update the hooks when the configuration changes
42
+
43
+ #### Updated Dependencies
44
+
45
+ - **@scalar/api-client@2.18.2**
46
+ - [#7765](https://github.com/scalar/scalar/pull/7765): fix: remove unneeded export from internal types and values
47
+ - [#7728](https://github.com/scalar/scalar/pull/7728): fix: formBody handling in api client
48
+ - [#7765](https://github.com/scalar/scalar/pull/7765): fix: remove unused files
49
+
50
+ - **@scalar/workspace-store@0.24.8**
51
+ - [#7728](https://github.com/scalar/scalar/pull/7728): fix: formBody handling in api client
52
+
53
+ - **@scalar/openapi-parser@0.24.0**
54
+ - [#7171](https://github.com/scalar/scalar/pull/7171): refactor: new validator class
55
+
56
+ - **@scalar/oas-utils@0.6.18**
57
+
58
+ - **@scalar/sidebar@0.7.11**
59
+
60
+ - **@scalar/components@0.16.21**
61
+
62
+ ## 1.43.5
63
+
64
+ ### Patch Changes
65
+
66
+ - [#7745](https://github.com/scalar/scalar/pull/7745): fix: add nested array support to references
67
+ - [#7752](https://github.com/scalar/scalar/pull/7752): Export Auth component
68
+ - [#7746](https://github.com/scalar/scalar/pull/7746): fix: allow trailing slashes in path
69
+ - [#7742](https://github.com/scalar/scalar/pull/7742): feat: export auth component + proxy fix
70
+
71
+ #### Updated Dependencies
72
+
73
+ - **@scalar/workspace-store@0.24.7**
74
+ - [#7745](https://github.com/scalar/scalar/pull/7745): fix: add nested array support to references
75
+
76
+ - **@scalar/api-client@2.18.1**
77
+ - [#7744](https://github.com/scalar/scalar/pull/7744): fix: pass hideClientButton config into client modal
78
+ - [#7743](https://github.com/scalar/scalar/pull/7743): fix: complex auth
79
+ - [#7740](https://github.com/scalar/scalar/pull/7740): fix: filter out readonly properties from requestBody
80
+ - [#7742](https://github.com/scalar/scalar/pull/7742): feat: export auth component + proxy fix
81
+
82
+ - **@scalar/oas-utils@0.6.17**
83
+
84
+ - **@scalar/sidebar@0.7.10**
85
+
86
+ - **@scalar/components@0.16.20**
87
+
3
88
  ## 1.43.4
4
89
 
5
90
  ### Patch Changes
@@ -54,11 +54,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  ref: containerRef,
55
55
  class: "client-libraries-content"
56
56
  }, [
57
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.featuredClients, (featuredClient) => {
57
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.featuredClients, (featuredClient) => {
58
58
  return openBlock(), createBlock(unref(Tab), {
59
59
  key: featuredClient.clientKey,
60
60
  class: normalizeClass(["client-libraries rendered-code-sdks", {
61
- "client-libraries__active": featuredClient.id === _ctx.selectedClient
61
+ "client-libraries__active": featuredClient.id === __props.selectedClient
62
62
  }])
63
63
  }, {
64
64
  default: withCtx(() => [
@@ -76,8 +76,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  }, 1032, ["class"]);
77
77
  }), 128)),
78
78
  createVNode(unref(ScalarCombobox), {
79
- modelValue: unref(findClient)(_ctx.clientOptions, _ctx.selectedClient),
80
- options: _ctx.clientOptions,
79
+ modelValue: unref(findClient)(__props.clientOptions, __props.selectedClient),
80
+ options: __props.clientOptions,
81
81
  placement: "bottom-end",
82
82
  teleport: "",
83
83
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectClient($event))
@@ -85,12 +85,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
85
85
  default: withCtx(() => [
86
86
  createElementVNode("button", {
87
87
  class: normalizeClass(["client-libraries client-libraries__select", {
88
- "client-libraries__active": _ctx.selectedClient && !unref(isFeaturedClient)(_ctx.selectedClient)
88
+ "client-libraries__active": __props.selectedClient && !unref(isFeaturedClient)(__props.selectedClient)
89
89
  }]),
90
90
  type: "button"
91
91
  }, [
92
92
  createElementVNode("div", _hoisted_2, [
93
- _ctx.selectedClient && !unref(isFeaturedClient)(_ctx.selectedClient) ? (openBlock(), createElementBlock("div", {
93
+ __props.selectedClient && !unref(isFeaturedClient)(__props.selectedClient) ? (openBlock(), createElementBlock("div", {
94
94
  key: 0,
95
95
  class: normalizeClass(`client-libraries-icon__${selectedTargetKey.value}`)
96
96
  }, [
@@ -108,7 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
108
108
  ], -1)
109
109
  ])]))
110
110
  ]),
111
- _ctx.clientOptions.length ? (openBlock(), createElementBlock("span", _hoisted_4, " More ")) : createCommentVNode("", true),
111
+ __props.clientOptions.length ? (openBlock(), createElementBlock("span", _hoisted_4, " More ")) : createCommentVNode("", true),
112
112
  _cache[2] || (_cache[2] = createElementVNode("span", { class: "sr-only" }, "Select from all clients", -1))
113
113
  ], 2)
114
114
  ]),
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  selectedClientOption
64
64
  });
65
65
  return (_ctx, _cache) => {
66
- return _ctx.clientOptions.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
66
+ return __props.clientOptions.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
67
67
  createVNode(unref(TabGroup), {
68
68
  manual: "",
69
69
  selectedIndex: tabIndex.value,
@@ -80,11 +80,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  }, {
81
81
  default: withCtx(() => [
82
82
  createVNode(ClientDropdown, {
83
- clientOptions: _ctx.clientOptions,
84
- eventBus: _ctx.eventBus,
83
+ clientOptions: __props.clientOptions,
84
+ eventBus: __props.eventBus,
85
85
  featuredClients: featuredClients.value,
86
86
  morePanel: unref(morePanel),
87
- selectedClient: _ctx.selectedClient
87
+ selectedClient: __props.selectedClient
88
88
  }, null, 8, ["clientOptions", "eventBus", "featuredClients", "morePanel", "selectedClient"])
89
89
  ]),
90
90
  _: 1
@@ -110,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
110
110
  lang: "shell"
111
111
  }, null, 8, ["content"])
112
112
  ])) : createCommentVNode("", true)
113
- ], 64)) : unref(isFeaturedClient)(_ctx.selectedClient) ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(featuredClients.value, (client) => {
113
+ ], 64)) : unref(isFeaturedClient)(__props.selectedClient) ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(featuredClients.value, (client) => {
114
114
  return openBlock(), createBlock(unref(TabPanel), {
115
115
  key: client.id,
116
116
  class: "selected-client card-footer -outline-offset-2"
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./DownloadLink.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const DownloadLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-79ed4949"]]);
4
+ const DownloadLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-59b5011b"]]);
5
5
  export {
6
6
  DownloadLink as default
7
7
  };
@@ -11,19 +11,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
11
  __props.eventBus.emit("ui:download:document", { format });
12
12
  };
13
13
  return (_ctx, _cache) => {
14
- return ["yaml", "json", "both", "direct"].includes(_ctx.documentDownloadType) ? (openBlock(), createElementBlock("div", {
14
+ return ["yaml", "json", "both", "direct"].includes(__props.documentDownloadType) ? (openBlock(), createElementBlock("div", {
15
15
  key: 0,
16
16
  class: normalizeClass(["download-container group", {
17
- "download-both": _ctx.documentDownloadType === "both"
17
+ "download-both": __props.documentDownloadType === "both"
18
18
  }])
19
19
  }, [
20
- _ctx.documentDownloadType === "json" || _ctx.documentDownloadType === "both" || _ctx.documentDownloadType === "direct" ? (openBlock(), createElementBlock("button", {
20
+ __props.documentDownloadType === "json" || __props.documentDownloadType === "both" || __props.documentDownloadType === "direct" ? (openBlock(), createElementBlock("button", {
21
21
  key: 0,
22
22
  class: "download-button",
23
23
  type: "button",
24
24
  onClick: _cache[0] || (_cache[0] = withModifiers(
25
25
  () => handleDownloadClick(
26
- _ctx.documentDownloadType === "direct" ? "direct" : "json"
26
+ __props.documentDownloadType === "direct" ? "direct" : "json"
27
27
  ),
28
28
  ["prevent"]
29
29
  ))
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  _: 1
37
37
  })
38
38
  ])) : createCommentVNode("", true),
39
- _ctx.documentDownloadType === "yaml" || _ctx.documentDownloadType === "both" ? (openBlock(), createElementBlock("button", {
39
+ __props.documentDownloadType === "yaml" || __props.documentDownloadType === "both" ? (openBlock(), createElementBlock("button", {
40
40
  key: 1,
41
41
  class: "download-button",
42
42
  type: "button",
@@ -22,18 +22,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  );
23
23
  return (_ctx, _cache) => {
24
24
  return openBlock(), createBlock(IntroductionLayout, {
25
- id: _ctx.id,
26
- documentExtensions: _ctx.documentExtensions,
27
- eventBus: _ctx.eventBus,
28
- externalDocs: _ctx.externalDocs,
29
- headingSlugGenerator: _ctx.headingSlugGenerator,
30
- info: _ctx.info,
31
- infoExtensions: _ctx.infoExtensions,
32
- oasVersion: _ctx.oasVersion
25
+ id: __props.id,
26
+ documentExtensions: __props.documentExtensions,
27
+ eventBus: __props.eventBus,
28
+ externalDocs: __props.externalDocs,
29
+ headingSlugGenerator: __props.headingSlugGenerator,
30
+ info: __props.info,
31
+ infoExtensions: __props.infoExtensions,
32
+ oasVersion: __props.oasVersion
33
33
  }, {
34
34
  [introCardsSlot.value]: withCtx(() => [
35
35
  createVNode(IntroductionCard, {
36
- row: _ctx.layout === "classic"
36
+ row: __props.layout === "classic"
37
37
  }, {
38
38
  default: withCtx(() => [
39
39
  renderSlot(_ctx.$slots, "selectors")
@@ -43,8 +43,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
43
  ]),
44
44
  "download-link": withCtx(() => [
45
45
  createVNode(DownloadLink, {
46
- documentDownloadType: _ctx.documentDownloadType,
47
- eventBus: _ctx.eventBus
46
+ documentDownloadType: __props.documentDownloadType,
47
+ eventBus: __props.eventBus
48
48
  }, null, 8, ["documentDownloadType", "eventBus"])
49
49
  ]),
50
50
  _: 2
@@ -47,13 +47,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  return node;
48
48
  };
49
49
  return (_ctx, _cache) => {
50
- return _ctx.description ? (openBlock(), createElementBlock("div", _hoisted_1, [
50
+ return __props.description ? (openBlock(), createElementBlock("div", _hoisted_1, [
51
51
  (openBlock(true), createElementBlock(Fragment, null, renderList(sections.value, (section) => {
52
52
  return openBlock(), createBlock(_sfc_main$1, {
53
53
  id: section.id,
54
54
  key: section.id,
55
55
  content: section.content,
56
- eventBus: _ctx.eventBus,
56
+ eventBus: __props.eventBus,
57
57
  transformHeading
58
58
  }, null, 8, ["id", "content", "eventBus"]);
59
59
  }), 128))
@@ -14,18 +14,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  return (_ctx, _cache) => {
15
15
  return openBlock(), createBlock(unref(LinkList), null, {
16
16
  default: withCtx(() => [
17
- createVNode(unref(_sfc_main$1), { value: _ctx.externalDocs }, null, 8, ["value"]),
18
- _ctx.info.contact ? (openBlock(), createBlock(unref(_sfc_main$2), {
17
+ createVNode(unref(_sfc_main$1), { value: __props.externalDocs }, null, 8, ["value"]),
18
+ __props.info.contact ? (openBlock(), createBlock(unref(_sfc_main$2), {
19
19
  key: 0,
20
- value: _ctx.info.contact
20
+ value: __props.info.contact
21
21
  }, null, 8, ["value"])) : createCommentVNode("", true),
22
- _ctx.info.license ? (openBlock(), createBlock(unref(_sfc_main$3), {
22
+ __props.info.license ? (openBlock(), createBlock(unref(_sfc_main$3), {
23
23
  key: 1,
24
- value: _ctx.info.license
24
+ value: __props.info.license
25
25
  }, null, 8, ["value"])) : createCommentVNode("", true),
26
- _ctx.info.termsOfService ? (openBlock(), createBlock(unref(_sfc_main$4), {
26
+ __props.info.termsOfService ? (openBlock(), createBlock(unref(_sfc_main$4), {
27
27
  key: 2,
28
- value: _ctx.info.termsOfService
28
+ value: __props.info.termsOfService
29
29
  }, null, 8, ["value"])) : createCommentVNode("", true)
30
30
  ]),
31
31
  _: 1
@@ -22,9 +22,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  class: "introduction-description-heading scroll-mt-16"
23
23
  }, [
24
24
  createVNode(unref(ScalarMarkdown), {
25
- transform: _ctx.transformHeading,
25
+ transform: __props.transformHeading,
26
26
  transformType: "heading",
27
- value: _ctx.content,
27
+ value: __props.content,
28
28
  withImages: ""
29
29
  }, null, 8, ["transform", "value"])
30
30
  ], 512);
@@ -7,7 +7,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  setup(__props) {
8
8
  return (_ctx, _cache) => {
9
9
  return openBlock(), createElementBlock("div", {
10
- class: normalizeClass(["introduction-card", { "introduction-card-row": _ctx.row }])
10
+ class: normalizeClass(["introduction-card", { "introduction-card-row": __props.row }])
11
11
  }, [
12
12
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
13
13
  ], 2);
@@ -30,38 +30,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  return openBlock(), createBlock(unref(SectionContainer), null, {
31
31
  default: withCtx(() => [
32
32
  createVNode(unref(Section), {
33
- id: _ctx.id,
33
+ id: __props.id,
34
34
  "aria-label": "Introduction",
35
35
  class: "introduction-section z-1 gap-12",
36
- onIntersecting: _cache[0] || (_cache[0] = () => _ctx.id && _ctx.eventBus?.emit("intersecting:nav-item", { id: _ctx.id }))
36
+ onIntersecting: _cache[0] || (_cache[0] = () => __props.id && __props.eventBus?.emit("intersecting:nav-item", { id: __props.id }))
37
37
  }, {
38
38
  default: withCtx(() => [
39
39
  createVNode(unref(SectionContent), {
40
- loading: !_ctx.info
40
+ loading: !__props.info
41
41
  }, {
42
42
  default: withCtx(() => [
43
43
  createElementVNode("div", _hoisted_1, [
44
- _ctx.info ? (openBlock(), createBlock(_sfc_main$1, {
44
+ __props.info ? (openBlock(), createBlock(_sfc_main$1, {
45
45
  key: 0,
46
- version: _ctx.info?.version
46
+ version: __props.info?.version
47
47
  }, null, 8, ["version"])) : createCommentVNode("", true),
48
- createVNode(_sfc_main$2, { oasVersion: _ctx.oasVersion }, null, 8, ["oasVersion"])
48
+ createVNode(_sfc_main$2, { oasVersion: __props.oasVersion }, null, 8, ["oasVersion"])
49
49
  ]),
50
50
  createVNode(unref(SectionHeader), {
51
- loading: !_ctx.info?.title,
51
+ loading: !__props.info?.title,
52
52
  tight: ""
53
53
  }, {
54
54
  links: withCtx(() => [
55
- _ctx.info ? (openBlock(), createBlock(_sfc_main$3, {
55
+ __props.info ? (openBlock(), createBlock(_sfc_main$3, {
56
56
  key: 0,
57
- externalDocs: _ctx.externalDocs,
58
- info: _ctx.info
57
+ externalDocs: __props.externalDocs,
58
+ info: __props.info
59
59
  }, null, 8, ["externalDocs", "info"])) : createCommentVNode("", true)
60
60
  ]),
61
61
  default: withCtx(() => [
62
62
  createVNode(unref(SectionHeaderTag), { level: 1 }, {
63
63
  default: withCtx(() => [
64
- createTextVNode(toDisplayString(_ctx.info?.title), 1)
64
+ createTextVNode(toDisplayString(__props.info?.title), 1)
65
65
  ]),
66
66
  _: 1
67
67
  })
@@ -74,9 +74,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
74
  default: withCtx(() => [
75
75
  renderSlot(_ctx.$slots, "download-link", {}, void 0, true),
76
76
  createVNode(InfoDescription, {
77
- description: _ctx.info?.description,
78
- eventBus: _ctx.eventBus,
79
- headingSlugGenerator: _ctx.headingSlugGenerator
77
+ description: __props.info?.description,
78
+ eventBus: __props.eventBus,
79
+ headingSlugGenerator: __props.headingSlugGenerator
80
80
  }, null, 8, ["description", "eventBus", "headingSlugGenerator"])
81
81
  ]),
82
82
  _: 3
@@ -92,8 +92,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
92
92
  ]),
93
93
  _: 3
94
94
  }),
95
- createVNode(unref(_sfc_main$4), { value: _ctx.documentExtensions }, null, 8, ["value"]),
96
- createVNode(unref(_sfc_main$4), { value: _ctx.infoExtensions }, null, 8, ["value"])
95
+ createVNode(unref(_sfc_main$4), { value: __props.documentExtensions }, null, 8, ["value"]),
96
+ createVNode(unref(_sfc_main$4), { value: __props.infoExtensions }, null, 8, ["value"])
97
97
  ]),
98
98
  _: 3
99
99
  }, 8, ["loading"]),
@@ -7,9 +7,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  },
8
8
  setup(__props) {
9
9
  return (_ctx, _cache) => {
10
- return _ctx.oasVersion ? (openBlock(), createBlock(unref(Badge), { key: 0 }, {
10
+ return __props.oasVersion ? (openBlock(), createBlock(unref(Badge), { key: 0 }, {
11
11
  default: withCtx(() => [
12
- createTextVNode("OAS " + toDisplayString(_ctx.oasVersion), 1)
12
+ createTextVNode("OAS " + toDisplayString(__props.oasVersion), 1)
13
13
  ]),
14
14
  _: 1
15
15
  })) : createCommentVNode("", true);
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  options: serverOptions.value,
45
45
  placement: "bottom-start",
46
46
  resize: "",
47
- target: _ctx.target,
47
+ target: __props.target,
48
48
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (e) => emit("update:modelValue", e.id))
49
49
  }, {
50
50
  default: withCtx(() => [
@@ -36,26 +36,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  createElementVNode("div", {
37
37
  id: unref(id),
38
38
  class: normalizeClass(["border", {
39
- "rounded-b-lg": !_ctx.selectedServer?.description && !_ctx.selectedServer?.variables
39
+ "rounded-b-lg": !__props.selectedServer?.description && !__props.selectedServer?.variables
40
40
  }])
41
41
  }, [
42
- _ctx.servers.length ? (openBlock(), createBlock(_sfc_main$1, {
42
+ __props.servers.length ? (openBlock(), createBlock(_sfc_main$1, {
43
43
  key: 0,
44
- selectedServer: _ctx.selectedServer,
45
- servers: _ctx.servers,
44
+ selectedServer: __props.selectedServer,
45
+ servers: __props.servers,
46
46
  target: unref(id),
47
47
  "onUpdate:modelValue": updateServer
48
48
  }, null, 8, ["selectedServer", "servers", "target"])) : createCommentVNode("", true)
49
49
  ], 10, _hoisted_1),
50
50
  createVNode(unref(ServerVariablesForm), {
51
51
  layout: "reference",
52
- variables: _ctx.selectedServer?.variables,
52
+ variables: __props.selectedServer?.variables,
53
53
  "onUpdate:variable": updateServerVariable
54
54
  }, null, 8, ["variables"]),
55
- _ctx.selectedServer?.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
55
+ __props.selectedServer?.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
56
56
  key: 0,
57
57
  class: "text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
58
- value: _ctx.selectedServer.description
58
+ value: __props.selectedServer.description
59
59
  }, null, 8, ["value"])) : createCommentVNode("", true)
60
60
  ], 64);
61
61
  };