@scalar/api-reference 1.25.68 → 1.25.70

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 (144) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/browser/standalone.js +10519 -10533
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  5. package/dist/components/ApiReferenceLayout.vue2.js +1 -1
  6. package/dist/components/Content/Content.vue.d.ts +4 -2
  7. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  8. package/dist/components/Content/Content.vue.js +1 -1
  9. package/dist/components/Content/Content.vue2.js +33 -33
  10. package/dist/components/Content/Lazy/Loading.vue.d.ts +3 -3
  11. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Lazy/Loading.vue.js +27 -27
  13. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  15. package/dist/components/Content/Tag/TagList.vue.d.ts +1 -1
  16. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Tag/TagList.vue.js +33 -35
  18. package/dist/components/Content/Webhooks/index.d.ts +1 -1
  19. package/dist/components/Content/Webhooks/index.d.ts.map +1 -1
  20. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  21. package/dist/components/{Content/Operation/EndpointPath.vue.d.ts → OperationPath.vue.d.ts} +1 -1
  22. package/dist/components/OperationPath.vue.d.ts.map +1 -0
  23. package/dist/components/OperationPath.vue.js +7 -0
  24. package/dist/components/OperationPath.vue2.js +23 -0
  25. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  26. package/dist/components/Section/Section.vue.js +2 -2
  27. package/dist/components/Section/Section.vue2.js +4 -4
  28. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  29. package/dist/components/Section/SectionContainer.vue.js +2 -2
  30. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  31. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
  32. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +3 -3
  33. package/dist/features/BaseUrl/ServerVariablesForm.vue.js +1 -1
  34. package/dist/{components/Content/Operation/EndpointDetailsCard.vue.d.ts → features/Operation/Operation.vue.d.ts} +6 -2
  35. package/dist/features/Operation/Operation.vue.d.ts.map +1 -0
  36. package/dist/features/Operation/Operation.vue.js +25 -0
  37. package/dist/features/Operation/Operation.vue2.js +4 -0
  38. package/dist/features/Operation/Webhooks.vue.d.ts.map +1 -0
  39. package/dist/features/Operation/Webhooks.vue.js +7 -0
  40. package/dist/{components/Content/Webhooks → features/Operation}/Webhooks.vue2.js +12 -12
  41. package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -0
  42. package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue.js +2 -2
  43. package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue2.js +8 -8
  44. package/dist/features/Operation/components/OperationParameters.vue.d.ts +7 -0
  45. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -0
  46. package/dist/features/Operation/components/OperationParameters.vue.js +71 -0
  47. package/dist/features/Operation/components/OperationParameters.vue2.js +4 -0
  48. package/dist/{components/Content/Operation/EndpointDetails.vue.d.ts → features/Operation/components/OperationResponses.vue.d.ts} +5 -2
  49. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -0
  50. package/dist/features/Operation/components/OperationResponses.vue.js +25 -0
  51. package/dist/features/Operation/components/OperationResponses.vue2.js +4 -0
  52. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -0
  53. package/dist/features/Operation/components/ParameterHeaders.vue.js +7 -0
  54. package/dist/{components/Content/Operation → features/Operation/components}/ParameterHeaders.vue2.js +8 -8
  55. package/dist/{components/Content/Operation/Parameters.vue.d.ts → features/Operation/components/ParameterList.vue.d.ts} +3 -3
  56. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -0
  57. package/dist/features/Operation/components/ParameterList.vue.js +7 -0
  58. package/dist/{components/Content/Operation/Parameters.vue2.js → features/Operation/components/ParameterList.vue2.js} +7 -7
  59. package/dist/{components/Content/Operation/ParameterItem.vue.d.ts → features/Operation/components/ParameterListItem.vue.d.ts} +3 -3
  60. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -0
  61. package/dist/features/Operation/components/ParameterListItem.vue.js +7 -0
  62. package/dist/{components/Content/Operation/ParameterItem.vue2.js → features/Operation/components/ParameterListItem.vue2.js} +20 -20
  63. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -0
  64. package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue.js +1 -1
  65. package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue2.js +1 -1
  66. package/dist/features/Operation/components/RequestBodyPropertiesChild.vue.d.ts.map +1 -0
  67. package/dist/features/Operation/components/Webhook.vue.d.ts.map +1 -0
  68. package/dist/{components/Content/Webhooks → features/Operation/components}/Webhook.vue.js +2 -2
  69. package/dist/features/Operation/components/Webhook.vue2.js +29 -0
  70. package/dist/{hooks → features/Operation/hooks}/useResponses.d.ts +1 -1
  71. package/dist/features/Operation/hooks/useResponses.d.ts.map +1 -0
  72. package/dist/features/Operation/index.d.ts +3 -0
  73. package/dist/features/Operation/index.d.ts.map +1 -0
  74. package/dist/{components/Content/Operation/OperationAccordion.vue.d.ts → features/Operation/layouts/ClassicLayout.vue.d.ts} +1 -1
  75. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -0
  76. package/dist/features/Operation/layouts/ClassicLayout.vue.js +7 -0
  77. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -0
  78. package/dist/{components/Content/Operation/Operation.vue.d.ts → features/Operation/layouts/ModernLayout.vue.d.ts} +1 -1
  79. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -0
  80. package/dist/features/Operation/layouts/ModernLayout.vue.js +7 -0
  81. package/dist/features/Operation/layouts/ModernLayout.vue2.js +114 -0
  82. package/dist/features/Search/SearchButton.vue.js +2 -2
  83. package/dist/features/Search/SearchButton.vue2.js +1 -1
  84. package/dist/features/Search/useSearchIndex.js +8 -8
  85. package/dist/features/TestRequestButton/TestRequestButton.vue.d.ts.map +1 -0
  86. package/dist/features/TestRequestButton/TestRequestButton.vue.js +7 -0
  87. package/dist/{components/Content/Operation → features/TestRequestButton}/TestRequestButton.vue2.js +6 -6
  88. package/dist/features/TestRequestButton/index.d.ts +2 -0
  89. package/dist/features/TestRequestButton/index.d.ts.map +1 -0
  90. package/dist/helpers/parse.d.ts.map +1 -1
  91. package/dist/helpers/parse.js +55 -52
  92. package/dist/hooks/index.d.ts +0 -1
  93. package/dist/hooks/index.d.ts.map +1 -1
  94. package/dist/hooks/useOperation.d.ts +7 -10
  95. package/dist/hooks/useOperation.d.ts.map +1 -1
  96. package/dist/hooks/useOperation.js +13 -11
  97. package/dist/index.js +12 -14
  98. package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
  99. package/dist/legacy/components/CardFormGroup.vue.js +1 -1
  100. package/dist/legacy/components/SecurityScheme.vue2.js +6 -6
  101. package/dist/legacy/components/SecuritySchemeSelector.vue.js +3 -3
  102. package/dist/style.css +1 -1
  103. package/package.json +11 -10
  104. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +0 -1
  105. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +0 -1
  106. package/dist/components/Content/Operation/EndpointDetails.vue.js +0 -88
  107. package/dist/components/Content/Operation/EndpointDetails.vue2.js +0 -4
  108. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +0 -1
  109. package/dist/components/Content/Operation/EndpointDetailsCard.vue.js +0 -7
  110. package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +0 -67
  111. package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +0 -1
  112. package/dist/components/Content/Operation/EndpointPath.vue.js +0 -7
  113. package/dist/components/Content/Operation/EndpointPath.vue2.js +0 -23
  114. package/dist/components/Content/Operation/Operation.vue.d.ts.map +0 -1
  115. package/dist/components/Content/Operation/Operation.vue.js +0 -7
  116. package/dist/components/Content/Operation/Operation.vue2.js +0 -105
  117. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +0 -1
  118. package/dist/components/Content/Operation/OperationAccordion.vue.js +0 -7
  119. package/dist/components/Content/Operation/OperationAccordion.vue2.js +0 -103
  120. package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +0 -1
  121. package/dist/components/Content/Operation/ParameterHeaders.vue.js +0 -7
  122. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +0 -1
  123. package/dist/components/Content/Operation/ParameterItem.vue.js +0 -7
  124. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +0 -1
  125. package/dist/components/Content/Operation/Parameters.vue.js +0 -7
  126. package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +0 -1
  127. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +0 -1
  128. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +0 -1
  129. package/dist/components/Content/Operation/TestRequestButton.vue.js +0 -7
  130. package/dist/components/Content/Operation/index.d.ts +0 -3
  131. package/dist/components/Content/Operation/index.d.ts.map +0 -1
  132. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +0 -1
  133. package/dist/components/Content/Webhooks/Webhook.vue2.js +0 -39
  134. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +0 -1
  135. package/dist/components/Content/Webhooks/Webhooks.vue.js +0 -7
  136. package/dist/hooks/useResponses.d.ts.map +0 -1
  137. /package/dist/{components/Content/Webhooks → features/Operation}/Webhooks.vue.d.ts +0 -0
  138. /package/dist/{components/Content/Operation → features/Operation/components}/ContentTypeSelect.vue.d.ts +0 -0
  139. /package/dist/{components/Content/Operation → features/Operation/components}/ParameterHeaders.vue.d.ts +0 -0
  140. /package/dist/{components/Content/Operation → features/Operation/components}/RequestBody.vue.d.ts +0 -0
  141. /package/dist/{components/Content/Operation → features/Operation/components}/RequestBodyPropertiesChild.vue.d.ts +0 -0
  142. /package/dist/{components/Content/Webhooks → features/Operation/components}/Webhook.vue.d.ts +0 -0
  143. /package/dist/{hooks → features/Operation/hooks}/useResponses.js +0 -0
  144. /package/dist/{components/Content/Operation → features/TestRequestButton}/TestRequestButton.vue.d.ts +0 -0
@@ -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 c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c4ac11d9"]]);
5
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ef17564c"]]);
6
6
  export {
7
- c as default
7
+ m as default
8
8
  };
@@ -183,7 +183,7 @@ const Pe = ["innerHTML"], Ue = { class: "references-header" }, ke = {
183
183
  }, [
184
184
  m(d(Ie), {
185
185
  baseServerURL: e.configuration.baseServerURL,
186
- layout: e.configuration.layout === "classic" ? "accordion" : "default",
186
+ layout: e.configuration.layout,
187
187
  parsedSpec: e.parsedSpec,
188
188
  proxy: e.configuration.proxy,
189
189
  servers: e.configuration.servers
@@ -1,7 +1,7 @@
1
1
  import type { Server, Spec } from '@scalar/types/legacy';
2
2
  type __VLS_Props = {
3
3
  parsedSpec: Spec;
4
- layout?: 'default' | 'accordion';
4
+ layout?: 'modern' | 'classic';
5
5
  baseServerURL?: string;
6
6
  servers?: Server[];
7
7
  proxy?: string;
@@ -17,7 +17,9 @@ declare function __VLS_template(): {
17
17
  rootEl: any;
18
18
  };
19
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ layout: "modern" | "classic";
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
24
  export default _default;
23
25
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AAyMA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IAChC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAcF,iBAAS,cAAc;WA6LT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,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":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,CAAA;IAChB,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAsBJ,iBAAS,cAAc;WA6LT,OAAO,IAA6B;;uBAVvB,GAAG;+BACM,GAAG;qBACb,GAAG;;;;EAa5B;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;YAnPR,QAAQ,GAAG,SAAS;6EA0P/B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,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 "./Content.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8991912b"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-48430611"]]);
6
6
  export {
7
7
  a as default
8
8
  };
@@ -1,67 +1,67 @@
1
- import { defineComponent as M, computed as L, openBlock as s, createElementBlock as o, Fragment as t, createStaticVNode as N, createElementVNode as b, renderSlot as p, createVNode as i, unref as r, createBlock as a, withCtx as U, normalizeClass as V, renderList as B, createCommentVNode as n } from "vue";
1
+ import { defineComponent as M, computed as L, openBlock as r, createElementBlock as o, Fragment as t, createStaticVNode as N, createElementVNode as k, renderSlot as p, createVNode as i, unref as s, createBlock as a, withCtx as U, normalizeClass as V, renderList as B, createCommentVNode as l } from "vue";
2
2
  import A from "./Lazy/Loading.vue.js";
3
3
  /* empty css */
4
4
  import E from "./Introduction/Introduction.vue.js";
5
5
  import R from "../../features/BaseUrl/BaseUrl.vue.js";
6
6
  import z from "./Authentication/Authentication.vue.js";
7
7
  import F from "./ClientLibraries/ClientLibraries.vue.js";
8
- import k from "./Tag/TagList.vue.js";
9
- import G from "./Webhooks/Webhooks.vue.js";
8
+ import h from "./Tag/TagList.vue.js";
9
+ import G from "../../features/Operation/Webhooks.vue.js";
10
10
  import I from "./Models/ModelsAccordion.vue.js";
11
11
  import W from "./Models/Models.vue.js";
12
12
  import { useSidebar as j } from "../../hooks/useSidebar.js";
13
13
  import { hasModels as q } from "../../helpers/hasModels.js";
14
- import { getModels as h } from "../../helpers/getModels.js";
15
- const D = { class: "narrow-references-container" }, se = /* @__PURE__ */ M({
14
+ import { getModels as g } from "../../helpers/getModels.js";
15
+ const D = { class: "narrow-references-container" }, re = /* @__PURE__ */ M({
16
16
  __name: "Content",
17
17
  props: {
18
18
  parsedSpec: {},
19
- layout: {},
19
+ layout: { default: "modern" },
20
20
  baseServerURL: {},
21
21
  servers: {},
22
22
  proxy: {}
23
23
  },
24
- setup(g) {
25
- const l = g, { hideModels: w } = j(), C = L(
26
- () => l.layout === "accordion" ? "after" : "aside"
24
+ setup(b) {
25
+ const n = b, { hideModels: w } = j(), C = L(
26
+ () => n.layout === "classic" ? "after" : "aside"
27
27
  );
28
28
  return (e, c) => {
29
29
  var m, u, f, v;
30
- return s(), o(t, null, [
31
- c[0] || (c[0] = N('<div class="section-flare" data-v-8991912b><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div><div class="section-flare-item" data-v-8991912b></div></div>', 1)),
32
- b("div", D, [
30
+ return r(), o(t, null, [
31
+ c[0] || (c[0] = N('<div class="section-flare" data-v-48430611><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div><div class="section-flare-item" data-v-48430611></div></div>', 1)),
32
+ k("div", D, [
33
33
  p(e.$slots, "start", {}, void 0, !0),
34
- i(r(A), {
34
+ i(s(A), {
35
35
  layout: e.layout,
36
36
  parsedSpec: e.parsedSpec
37
37
  }, null, 8, ["layout", "parsedSpec"]),
38
- (u = (m = e.parsedSpec) == null ? void 0 : m.info) != null && u.title || (v = (f = e.parsedSpec) == null ? void 0 : f.info) != null && v.description ? (s(), a(r(E), {
38
+ (u = (m = e.parsedSpec) == null ? void 0 : m.info) != null && u.title || (v = (f = e.parsedSpec) == null ? void 0 : f.info) != null && v.description ? (r(), a(s(E), {
39
39
  key: 0,
40
40
  info: e.parsedSpec.info,
41
41
  parsedSpec: e.parsedSpec
42
42
  }, {
43
43
  [C.value]: U(() => [
44
- b("div", {
45
- class: V(["introduction-card", { "introduction-card-row": e.layout === "accordion" }])
44
+ k("div", {
45
+ class: V(["introduction-card", { "introduction-card-row": e.layout === "classic" }])
46
46
  }, [
47
- i(r(R), {
47
+ i(s(R), {
48
48
  class: "introduction-card-item",
49
49
  defaultServerUrl: e.baseServerURL,
50
- servers: l.servers,
50
+ servers: n.servers,
51
51
  specification: e.parsedSpec
52
52
  }, null, 8, ["defaultServerUrl", "servers", "specification"]),
53
- i(r(z), {
53
+ i(s(z), {
54
54
  class: "introduction-card-item",
55
55
  parsedSpec: e.parsedSpec,
56
56
  proxy: e.proxy
57
57
  }, null, 8, ["parsedSpec", "proxy"]),
58
- i(r(F), { class: "introduction-card-item" })
58
+ i(s(F), { class: "introduction-card-item" })
59
59
  ], 2)
60
60
  ]),
61
61
  _: 2
62
62
  }, 1032, ["info", "parsedSpec"])) : p(e.$slots, "empty-state", { key: 1 }, void 0, !0),
63
- e.parsedSpec.tags ? (s(), o(t, { key: 2 }, [
64
- e.parsedSpec["x-tagGroups"] ? (s(!0), o(t, { key: 0 }, B(e.parsedSpec["x-tagGroups"], (S) => (s(), a(r(k), {
63
+ e.parsedSpec.tags ? (r(), o(t, { key: 2 }, [
64
+ e.parsedSpec["x-tagGroups"] ? (r(!0), o(t, { key: 0 }, B(e.parsedSpec["x-tagGroups"], (S) => (r(), a(s(h), {
65
65
  key: S.name,
66
66
  layout: e.layout,
67
67
  spec: e.parsedSpec,
@@ -69,26 +69,26 @@ const D = { class: "narrow-references-container" }, se = /* @__PURE__ */ M({
69
69
  var y;
70
70
  return (y = e.parsedSpec.tags) == null ? void 0 : y.find(($) => $.name === d);
71
71
  }).filter((d) => !!d)
72
- }, null, 8, ["layout", "spec", "tags"]))), 128)) : (s(), a(r(k), {
72
+ }, null, 8, ["layout", "spec", "tags"]))), 128)) : (r(), a(s(h), {
73
73
  key: 1,
74
74
  layout: e.layout,
75
75
  spec: e.parsedSpec,
76
76
  tags: e.parsedSpec.tags
77
77
  }, null, 8, ["layout", "spec", "tags"]))
78
- ], 64)) : n("", !0),
79
- e.parsedSpec.webhooks ? (s(), a(r(G), {
78
+ ], 64)) : l("", !0),
79
+ e.parsedSpec.webhooks ? (r(), a(s(G), {
80
80
  key: 3,
81
81
  webhooks: e.parsedSpec.webhooks
82
- }, null, 8, ["webhooks"])) : n("", !0),
83
- r(q)(e.parsedSpec) && !r(w) ? (s(), o(t, { key: 4 }, [
84
- e.layout === "accordion" ? (s(), a(r(I), {
82
+ }, null, 8, ["webhooks"])) : l("", !0),
83
+ s(q)(e.parsedSpec) && !s(w) ? (r(), o(t, { key: 4 }, [
84
+ e.layout === "classic" ? (r(), a(s(I), {
85
85
  key: 0,
86
- schemas: r(h)(e.parsedSpec)
87
- }, null, 8, ["schemas"])) : (s(), a(r(W), {
86
+ schemas: s(g)(e.parsedSpec)
87
+ }, null, 8, ["schemas"])) : (r(), a(s(W), {
88
88
  key: 1,
89
- schemas: r(h)(e.parsedSpec)
89
+ schemas: s(g)(e.parsedSpec)
90
90
  }, null, 8, ["schemas"]))
91
- ], 64)) : n("", !0),
91
+ ], 64)) : l("", !0),
92
92
  p(e.$slots, "end", {}, void 0, !0)
93
93
  ])
94
94
  ], 64);
@@ -96,5 +96,5 @@ const D = { class: "narrow-references-container" }, se = /* @__PURE__ */ M({
96
96
  }
97
97
  });
98
98
  export {
99
- se as default
99
+ re as default
100
100
  };
@@ -7,17 +7,17 @@ import type { Spec } from '@scalar/types/legacy';
7
7
  * TODO list
8
8
  * - only works on first load, but we will use this when
9
9
  * hitting endpoint links in V2
10
- * - only works for default layout, add accordion (if we need)
10
+ * - only works for default layout, add classic (if we need)
11
11
  * - code is ripe for refactor as it is duplicated from content and models
12
12
  * - need to handle case of last operation/model
13
13
  * - need to find an event for codemirror loaded, currently using timeout for models
14
14
  */
15
15
  type __VLS_Props = {
16
- layout?: 'accordion' | 'default';
16
+ layout?: 'modern' | 'classic';
17
17
  parsedSpec: Spec;
18
18
  };
19
19
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
- layout: "accordion" | "default";
20
+ layout: "modern" | "classic";
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
22
22
  export default _default;
23
23
  //# sourceMappingURL=Loading.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"AA4NA,OAAO,KAAK,EACV,IAAI,EAGL,MAAM,sBAAsB,CAAA;AAmB7B;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;IAChC,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;;YAFS,WAAW,GAAG,SAAS;;AAqQpC,wBAQG"}
1
+ {"version":3,"file":"Loading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Lazy/Loading.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EACV,IAAI,EAGL,MAAM,sBAAsB,CAAA;AAkB7B;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC7B,UAAU,EAAE,IAAI,CAAA;CACjB,CAAC;;YAFS,QAAQ,GAAG,SAAS;;AAqQjC,wBAQG"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as E, ref as v, watch as K, onMounted as M, withDirectives as $, openBlock as n, createElementBlock as f, normalizeClass as j, Fragment as g, renderList as k, createBlock as m, unref as o, withCtx as p, createCommentVNode as w, createVNode as T, createTextVNode as A, toDisplayString as F, vShow as H } from "vue";
1
+ import { defineComponent as D, ref as v, watch as E, onMounted as K, withDirectives as M, openBlock as n, createElementBlock as f, normalizeClass as j, Fragment as g, renderList as k, createBlock as m, unref as o, withCtx as p, createCommentVNode as w, createVNode as _, createTextVNode as A, toDisplayString as F, vShow as H } from "vue";
2
2
  import { lazyBus as P } from "./lazyBus.js";
3
3
  import q from "../Tag/Tag.vue.js";
4
- import G from "../Operation/Operation.vue.js";
4
+ import G from "../../../features/Operation/Operation.vue.js";
5
5
  import J from "../../Section/SectionContainer.vue.js";
6
6
  import Q from "../../Section/Section.vue.js";
7
7
  import R from "../../Section/SectionContent.vue.js";
@@ -11,15 +11,15 @@ import Y from "../Schema/Schema.vue.js";
11
11
  import { getModels as h } from "../../../helpers/getModels.js";
12
12
  import { scrollToId as x } from "../../../helpers/scrollToId.js";
13
13
  import { useNavState as Z } from "../../../hooks/useNavState.js";
14
- const fe = /* @__PURE__ */ E({
14
+ const fe = /* @__PURE__ */ D({
15
15
  __name: "Loading",
16
16
  props: {
17
- layout: { default: "default" },
17
+ layout: { default: "modern" },
18
18
  parsedSpec: {}
19
19
  },
20
20
  setup(L) {
21
- const i = L, C = v(!1), S = v([]), y = v([]), { getModelId: V, getSectionId: z, getTagId: B, hash: a, isIntersectionEnabled: I } = Z(), _ = v(i.layout !== "accordion" && a.value);
22
- K(
21
+ const i = L, T = v(!1), S = v([]), y = v([]), { getModelId: V, getSectionId: z, getTagId: B, hash: a, isIntersectionEnabled: I } = Z(), C = v(i.layout !== "classic" && a.value);
22
+ E(
23
23
  () => {
24
24
  var r;
25
25
  return (r = i.parsedSpec.tags) == null ? void 0 : r.length;
@@ -28,21 +28,21 @@ const fe = /* @__PURE__ */ E({
28
28
  var e, u;
29
29
  if (!a.value || typeof r != "number" || !i.parsedSpec.tags)
30
30
  return;
31
- const l = z();
32
- if (l.startsWith("tag")) {
31
+ const s = z();
32
+ if (s.startsWith("tag")) {
33
33
  let t = 0;
34
34
  const d = ((e = i.parsedSpec.tags) == null ? void 0 : e.findIndex(
35
- (b) => B(b) === l
36
- )) ?? 0, s = a.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
37
- if ((s == null ? void 0 : s.length) === 4) {
38
- const b = s[2], O = "/" + s[3];
35
+ (b) => B(b) === s
36
+ )) ?? 0, l = a.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
37
+ if ((l == null ? void 0 : l.length) === 4) {
38
+ const b = l[2], O = "/" + l[3];
39
39
  t = (u = i.parsedSpec.tags[d]) == null ? void 0 : u.operations.findIndex(
40
- ({ httpVerb: W, path: D }) => b === W && O === D
40
+ ({ httpVerb: W, path: $ }) => b === W && O === $
41
41
  );
42
42
  }
43
43
  const c = i.parsedSpec.tags[d];
44
44
  if (!c) return;
45
- c.name !== "default" && (C.value = l !== a.value && l.startsWith("tag")), S.value.push({
45
+ c.name !== "default" && (T.value = s !== a.value && s.startsWith("tag")), S.value.push({
46
46
  ...c,
47
47
  lazyOperations: c.operations.slice(
48
48
  t,
@@ -50,25 +50,25 @@ const fe = /* @__PURE__ */ E({
50
50
  )
51
51
  });
52
52
  } else if (a.value.startsWith("model")) {
53
- const t = Object.keys(h(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"), s = a.value === "models" ? 0 : t.findIndex((c) => c.toLowerCase() === d);
54
- if (s === -1) return;
55
- y.value = t.slice(s, s + 3);
53
+ const t = Object.keys(h(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"), l = a.value === "models" ? 0 : t.findIndex((c) => c.toLowerCase() === d);
54
+ if (l === -1) return;
55
+ y.value = t.slice(l, l + 3);
56
56
  } else
57
57
  typeof window < "u" && x(a.value), setTimeout(() => I.value = !0, 1e3);
58
58
  },
59
59
  { immediate: !0 }
60
60
  );
61
61
  const N = P.on(({ id: r }) => {
62
- const l = a.value;
63
- !l || r !== l || (N(), setTimeout(() => {
64
- typeof window < "u" && x(l), _.value = !1, setTimeout(() => I.value = !0, 1e3);
62
+ const s = a.value;
63
+ !s || r !== s || (N(), setTimeout(() => {
64
+ typeof window < "u" && x(s), C.value = !1, setTimeout(() => I.value = !0, 1e3);
65
65
  }, 300));
66
66
  });
67
- return M(() => {
67
+ return K(() => {
68
68
  a.value || setTimeout(() => I.value = !0, 1e3);
69
- }), (r, l) => $((n(), f("div", {
69
+ }), (r, s) => M((n(), f("div", {
70
70
  class: j(["references-loading", {
71
- "references-loading-hidden-tag": C.value,
71
+ "references-loading-hidden-tag": T.value,
72
72
  "references-loading-top-spacer": S.value.length
73
73
  }])
74
74
  }, [
@@ -103,9 +103,9 @@ const fe = /* @__PURE__ */ E({
103
103
  default: p(() => {
104
104
  var t;
105
105
  return [
106
- T(o(U), { level: 2 }, {
106
+ _(o(U), { level: 2 }, {
107
107
  default: p(() => [
108
- T(o(X), {
108
+ _(o(X), {
109
109
  id: o(V)(e)
110
110
  }, {
111
111
  default: p(() => {
@@ -119,7 +119,7 @@ const fe = /* @__PURE__ */ E({
119
119
  ]),
120
120
  _: 2
121
121
  }, 1024),
122
- T(o(Y), {
122
+ _(o(Y), {
123
123
  name: e,
124
124
  noncollapsible: "",
125
125
  value: (t = o(h)(r.parsedSpec)) == null ? void 0 : t[e]
@@ -136,7 +136,7 @@ const fe = /* @__PURE__ */ E({
136
136
  _: 1
137
137
  })) : w("", !0)
138
138
  ], 2)), [
139
- [H, _.value]
139
+ [H, C.value]
140
140
  ]);
141
141
  }
142
142
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAyYA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,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;CACrB,CAAC;;cAJW,OAAO;WAFV,MAAM;aAGJ,OAAO;;AA0WrB,0BAQG"}
1
+ {"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AA0YA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,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;CACrB,CAAC;;cAJW,OAAO;WAFV,MAAM;aAGJ,OAAO;;AA0WrB,0BAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaProperty.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ a(o, [["__scopeId", "data-v-555aa6ba"]]);
3
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7ebbc3d9"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -2,7 +2,7 @@ import type { Spec, Tag as tagType } from '@scalar/types/legacy';
2
2
  type __VLS_Props = {
3
3
  tags: tagType[];
4
4
  spec: Spec;
5
- layout?: 'default' | 'accordion';
5
+ layout?: 'modern' | 'classic';
6
6
  };
7
7
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAUhE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;CACjC,CAAC;;AAsGF,wBAMG"}
1
+ {"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,EAAE,CAAA;IACf,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC9B,CAAC;;AAoGF,wBAMG"}
@@ -1,47 +1,45 @@
1
- import { defineComponent as I, computed as m, openBlock as t, createElementBlock as p, Fragment as u, renderList as l, createBlock as i, unref as o, withCtx as s, resolveDynamicComponent as f } from "vue";
1
+ import { defineComponent as z, computed as g, openBlock as r, createElementBlock as u, Fragment as m, renderList as d, createBlock as i, unref as e, withCtx as n, resolveDynamicComponent as v, createVNode as I } from "vue";
2
2
  import T from "./TagAccordion.vue.js";
3
- import b from "./Tag.vue.js";
4
- import B from "../Operation/OperationAccordion.vue.js";
5
- import C from "../Operation/Operation.vue.js";
6
- import y from "../Lazy/Lazy.vue2.js";
7
- import { useSidebar as O } from "../../../hooks/useSidebar.js";
8
- import { useNavState as S } from "../../../hooks/useNavState.js";
9
- const W = /* @__PURE__ */ I({
3
+ import $ from "./Tag.vue.js";
4
+ import p from "../Lazy/Lazy.vue2.js";
5
+ import b from "../../../features/Operation/Operation.vue.js";
6
+ import { useSidebar as B } from "../../../hooks/useSidebar.js";
7
+ import { useNavState as C } from "../../../hooks/useNavState.js";
8
+ const O = /* @__PURE__ */ z({
10
9
  __name: "TagList",
11
10
  props: {
12
11
  tags: {},
13
12
  spec: {},
14
13
  layout: {}
15
14
  },
16
- setup(L) {
17
- const n = L, { getOperationId: c, getTagId: a, hash: _ } = S(), { collapsedSidebarItems: h } = O(), k = m(
18
- () => n.layout === "accordion" ? T : b
19
- ), v = m(
20
- () => n.layout === "accordion" ? B : C
21
- ), z = n.layout !== "accordion" && !_.value.startsWith("model");
22
- return (d, $) => (t(!0), p(u, null, l(d.tags, (e) => (t(), i(o(y), {
23
- id: o(a)(e),
24
- key: o(a)(e),
25
- isLazy: o(z) && !o(h)[o(a)(e)]
15
+ setup(f) {
16
+ const c = f, { getOperationId: l, getTagId: a, hash: y } = C(), { collapsedSidebarItems: _ } = B(), L = g(
17
+ () => c.layout === "classic" ? T : $
18
+ ), h = c.layout !== "classic" && !y.value.startsWith("model");
19
+ return (s, S) => (r(!0), u(m, null, d(s.tags, (t) => (r(), i(e(p), {
20
+ id: e(a)(t),
21
+ key: e(a)(t),
22
+ isLazy: e(h) && !e(_)[e(a)(t)]
26
23
  }, {
27
- default: s(() => [
28
- (t(), i(f(k.value), {
29
- id: o(a)(e),
30
- spec: d.spec,
31
- tag: e
24
+ default: n(() => [
25
+ (r(), i(v(L.value), {
26
+ id: e(a)(t),
27
+ spec: s.spec,
28
+ tag: t
32
29
  }, {
33
- default: s(() => [
34
- (t(!0), p(u, null, l(e.operations, (r, g) => (t(), i(o(y), {
35
- id: o(c)(r, e),
36
- key: `${r.httpVerb}-${r.operationId}`,
37
- isLazy: g > 0
30
+ default: n(() => [
31
+ (r(!0), u(m, null, d(t.operations, (o, k) => (r(), i(e(p), {
32
+ id: e(l)(o, t),
33
+ key: `${o.httpVerb}-${o.operationId}`,
34
+ isLazy: k > 0
38
35
  }, {
39
- default: s(() => [
40
- (t(), i(f(v.value), {
41
- id: o(c)(r, e),
42
- operation: r,
43
- tag: e
44
- }, null, 8, ["id", "operation", "tag"]))
36
+ default: n(() => [
37
+ I(e(b), {
38
+ id: e(l)(o, t),
39
+ layout: s.layout,
40
+ operation: o,
41
+ tag: t
42
+ }, null, 8, ["id", "layout", "operation", "tag"])
45
43
  ]),
46
44
  _: 2
47
45
  }, 1032, ["id", "isLazy"]))), 128))
@@ -54,5 +52,5 @@ const W = /* @__PURE__ */ I({
54
52
  }
55
53
  });
56
54
  export {
57
- W as default
55
+ O as default
58
56
  };
@@ -1,2 +1,2 @@
1
- export { default as Webhooks } from './Webhooks.vue.js';
1
+ export { default as Webhooks } from '../../../features/Operation/Webhooks.vue.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AA2B7E,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,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":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Layouts/ClassicLayout.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAyBzE,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;kFAQnB,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"}
@@ -4,4 +4,4 @@ type __VLS_Props = {
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
6
6
  export default _default;
7
- //# sourceMappingURL=EndpointPath.vue.d.ts.map
7
+ //# sourceMappingURL=OperationPath.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperationPath.vue.d.ts","sourceRoot":"","sources":["../../src/components/OperationPath.vue"],"names":[],"mappings":"AA0CA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;;AA4EF,wBAOG"}
@@ -0,0 +1,7 @@
1
+ import o from "./OperationPath.vue2.js";
2
+ /* empty css */
3
+ import t from "../_virtual/_plugin-vue_export-helper.js";
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ec6c8861"]]);
5
+ export {
6
+ c as default
7
+ };
@@ -0,0 +1,23 @@
1
+ import { defineComponent as d, computed as m, openBlock as e, createElementBlock as t, normalizeClass as h, Fragment as o, renderList as u, toDisplayString as r, createTextVNode as _ } from "vue";
2
+ const k = { key: 0 }, B = /* @__PURE__ */ d({
3
+ __name: "OperationPath",
4
+ props: {
5
+ path: {},
6
+ deprecated: { type: Boolean }
7
+ },
8
+ setup(s) {
9
+ const p = s, c = (a) => a.startsWith("{") && a.endsWith("}"), i = m(() => p.path.split(/({[^}]+})/));
10
+ return (a, y) => (e(), t("span", {
11
+ class: h(["operation-path", { deprecated: a.deprecated }])
12
+ }, [
13
+ (e(!0), t(o, null, u(i.value, (n, l) => (e(), t(o, { key: l }, [
14
+ c(n) ? (e(), t("em", k, r(n), 1)) : (e(), t(o, { key: 1 }, [
15
+ _(r(n), 1)
16
+ ], 64))
17
+ ], 64))), 128))
18
+ ], 2));
19
+ }
20
+ });
21
+ export {
22
+ B as default
23
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"AAkFA,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAkCF,iBAAS,cAAc;WAkET,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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":"Section.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/Section.vue"],"names":[],"mappings":"AAqFA,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAkCF,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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,7 +1,7 @@
1
1
  import o from "./Section.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fc324287"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8687f476"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, openBlock as p, createBlock as u, withCtx as f, renderSlot as S } from "vue";
2
2
  import w from "../IntersectionObserver.vue.js";
3
- import { joinWithSlash as b } from "../../helpers/joinWithSlash.js";
4
- import { useSidebar as _ } from "../../hooks/useSidebar.js";
3
+ import { useSidebar as b } from "../../hooks/useSidebar.js";
4
+ import { joinWithSlash as _ } from "../../helpers/joinWithSlash.js";
5
5
  import { useNavState as v } from "../../hooks/useNavState.js";
6
6
  const B = /* @__PURE__ */ m({
7
7
  __name: "Section",
@@ -10,12 +10,12 @@ const B = /* @__PURE__ */ m({
10
10
  label: {}
11
11
  },
12
12
  setup(s) {
13
- const t = s, { getSectionId: r, hash: l, isIntersectionEnabled: d, pathRouting: i } = v(), { setCollapsedSidebarItem: c } = _();
13
+ const t = s, { getSectionId: r, hash: l, isIntersectionEnabled: d, pathRouting: i } = v(), { setCollapsedSidebarItem: c } = b();
14
14
  function h() {
15
15
  var n, a;
16
16
  if (!t.label || !d.value) return;
17
17
  const e = new URL(window.location.href), o = t.id ?? "";
18
- i.value ? e.pathname = b(i.value.basePath, o) : e.hash = o, l.value = o, window.history.replaceState({}, "", e), ((n = t.id) != null && n.startsWith("model") || (a = t.id) != null && a.startsWith("webhook")) && c(r(t.id), !0);
18
+ i.value ? e.pathname = _(i.value.basePath, o) : e.hash = o, l.value = o, window.history.replaceState({}, "", e), ((n = t.id) != null && n.startsWith("model") || (a = t.id) != null && a.startsWith("webhook")) && c(r(t.id), !0);
19
19
  }
20
20
  return (e, o) => (p(), u(w, {
21
21
  is: "section",
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA6BA,iBAAS,cAAc;WAwCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue"],"names":[],"mappings":"AA6BA,iBAAS,cAAc;WAyCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,12 +2,12 @@ import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const c = {}, s = { class: "section-container" };
5
- function i(e, a) {
5
+ function a(e, i) {
6
6
  return t(), o("div", s, [
7
7
  n(e.$slots, "default", {}, void 0, !0)
8
8
  ]);
9
9
  }
10
- const l = /* @__PURE__ */ r(c, [["render", i], ["__scopeId", "data-v-823b8471"]]);
10
+ const l = /* @__PURE__ */ r(c, [["render", a], ["__scopeId", "data-v-1913755a"]]);
11
11
  export {
12
12
  l as default
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleRequest/ExampleRequest.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAMtE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAA;AAI5E,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,IAAI,CAAA;IAChB,SAAS,CAAC,EAAE,oBAAoB,CAAA;IAChC,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;;AAiGF,wBAOG"}
1
+ {"version":3,"file":"ExampleRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/embeds/ExampleRequest/ExampleRequest.vue"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAGtE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAA;AAI5E,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,IAAI,CAAA;IAChB,SAAS,CAAC,EAAE,oBAAoB,CAAA;IAChC,aAAa,CAAC,EAAE,4BAA4B,CAAA;CAC7C,CAAC;;AAiGF,wBAOG"}