@scalar/api-reference 1.24.74 → 1.24.76

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 (57) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/browser/standalone.js +7481 -7449
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  6. package/dist/components/ApiReferenceLayout.vue2.js +71 -71
  7. package/dist/components/Content/Content.vue2.js +11 -11
  8. package/dist/components/Content/Lazy/Loading.vue.js +1 -1
  9. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +27 -0
  10. package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -0
  11. package/dist/components/Content/Operation/ContentTypeSelect.vue.js +7 -0
  12. package/dist/components/Content/Operation/ContentTypeSelect.vue2.js +41 -0
  13. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
  14. package/dist/components/Content/Operation/EndpointDetails.vue.js +10 -7
  15. package/dist/components/Content/Operation/ParameterItem.vue.d.ts +5 -0
  16. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Operation/ParameterItem.vue.js +2 -2
  18. package/dist/components/Content/Operation/ParameterItem.vue2.js +54 -19
  19. package/dist/components/Content/Operation/Parameters.vue.d.ts +5 -0
  20. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Operation/Parameters.vue.js +2 -2
  22. package/dist/components/Content/Operation/Parameters.vue2.js +16 -14
  23. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.js +1 -1
  25. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue2.js +28 -22
  26. package/dist/components/Content/Tag/Endpoints.vue.d.ts +2 -6
  27. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  28. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  29. package/dist/components/Content/Tag/Endpoints.vue2.js +57 -60
  30. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Tag/Tag.vue.js +2 -2
  32. package/dist/components/Content/Tag/Tag.vue2.js +21 -33
  33. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Webhooks/Webhooks.vue.js +5 -76
  35. package/dist/components/Content/Webhooks/Webhooks.vue2.js +76 -2
  36. package/dist/components/Section/SectionContainer.vue.js +1 -1
  37. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  38. package/dist/components/ShowMoreButton.vue.js +1 -1
  39. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  40. package/dist/features/ExampleRequest/ExampleRequest.vue.js +4 -4
  41. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +11 -10
  42. package/dist/hooks/useReactiveSpec.d.ts +2 -0
  43. package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
  44. package/dist/hooks/useResponses.d.ts +2 -1
  45. package/dist/hooks/useResponses.d.ts.map +1 -1
  46. package/dist/hooks/useResponses.js +12 -11
  47. package/dist/hooks/useSidebar.d.ts +9 -0
  48. package/dist/hooks/useSidebar.d.ts.map +1 -1
  49. package/dist/hooks/useSidebar.js +123 -108
  50. package/dist/index.js +20 -19
  51. package/dist/legacy/stores/useOpenApiStore.d.ts +2 -0
  52. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -1
  53. package/dist/style.css +1 -1
  54. package/package.json +5 -5
  55. package/dist/components/Content/Tag/mutationObserver.d.ts +0 -3
  56. package/dist/components/Content/Tag/mutationObserver.d.ts.map +0 -1
  57. package/dist/components/Content/Tag/mutationObserver.js +0 -7
@@ -5,15 +5,20 @@ declare function __VLS_template(): {
5
5
  declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
6
  parameters?: Parameters[];
7
7
  showChildren?: boolean;
8
+ collapsableItems?: boolean;
8
9
  }>, {
9
10
  showChildren: boolean;
11
+ collapsableItems: boolean;
10
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
13
  parameters?: Parameters[];
12
14
  showChildren?: boolean;
15
+ collapsableItems?: boolean;
13
16
  }>, {
14
17
  showChildren: boolean;
18
+ collapsableItems: boolean;
15
19
  }>>>, {
16
20
  showChildren: boolean;
21
+ collapsableItems: boolean;
17
22
  }, {}>;
18
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
24
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Parameters.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Parameters.vue"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAsBnD,iBAAS,cAAc;mBA0CI,GAAG;EAe7B;AACD,QAAA,MAAM,eAAe;iBA1EgB,UAAU,EAAE;mBAAiB,OAAO;;;;iBAApC,UAAU,EAAE;mBAAiB,OAAO;;;;kBAAP,OAAO;MAgFvE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Parameters.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Operation/Parameters.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AA4BnD,iBAAS,cAAc;mBA0CI,GAAG;EAe7B;AACD,QAAA,MAAM,eAAe;iBA/EJ,UAAU,EAAE;mBACV,OAAO;uBACH,OAAO;;;;;iBAFb,UAAU,EAAE;mBACV,OAAO;uBACH,OAAO;;;;;kBADX,OAAO;sBACH,OAAO;MAmF5B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Parameters.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-cd6f76c7"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-425e9f7e"]]);
5
5
  export {
6
- c as default
6
+ m as default
7
7
  };
@@ -1,32 +1,34 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as s, createElementVNode as o, renderSlot as l, Fragment as m, renderList as p, createBlock as d, createCommentVNode as i } from "vue";
2
- import c from "./ParameterItem.vue.js";
1
+ import { defineComponent as o, openBlock as t, createElementBlock as l, createElementVNode as s, renderSlot as n, Fragment as m, renderList as p, createBlock as d, createCommentVNode as c } from "vue";
2
+ import i from "./ParameterItem.vue.js";
3
3
  const h = {
4
4
  key: 0,
5
5
  class: "parameters"
6
- }, u = { class: "parameters-title" }, _ = { class: "parameter-list" }, B = /* @__PURE__ */ n({
6
+ }, u = { class: "parameters-title" }, f = { class: "parameter-list" }, I = /* @__PURE__ */ o({
7
7
  __name: "Parameters",
8
8
  props: {
9
9
  parameters: {},
10
- showChildren: { type: Boolean, default: !1 }
10
+ showChildren: { type: Boolean, default: !1 },
11
+ collapsableItems: { type: Boolean, default: !1 }
11
12
  },
12
- setup(f) {
13
+ setup(_) {
13
14
  return (e, C) => {
14
- var t;
15
- return (t = e.parameters) != null && t.length ? (r(), s("div", h, [
16
- o("div", u, [
17
- l(e.$slots, "title", {}, void 0, !0)
15
+ var r;
16
+ return (r = e.parameters) != null && r.length ? (t(), l("div", h, [
17
+ s("div", u, [
18
+ n(e.$slots, "title", {}, void 0, !0)
18
19
  ]),
19
- o("ul", _, [
20
- (r(!0), s(m, null, p(e.parameters, (a) => (r(), d(c, {
20
+ s("ul", f, [
21
+ (t(!0), l(m, null, p(e.parameters, (a) => (t(), d(i, {
21
22
  key: a.name,
23
+ collapsableItems: e.collapsableItems,
22
24
  parameter: a,
23
25
  showChildren: e.showChildren
24
- }, null, 8, ["parameter", "showChildren"]))), 128))
26
+ }, null, 8, ["collapsableItems", "parameter", "showChildren"]))), 128))
25
27
  ])
26
- ])) : i("", !0);
28
+ ])) : c("", !0);
27
29
  };
28
30
  }
29
31
  });
30
32
  export {
31
- B as default
33
+ I as default
32
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/ExampleResponse.vue"],"names":[],"mappings":";cA4LM,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;cAJD,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;AAiSP,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"ExampleResponse.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Operation/PathResponses/ExampleResponse.vue"],"names":[],"mappings":";cAkMM,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;cAJD,SAAS,GACT;QACE,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,MAAM,CAAC,EAAE,GAAG,CAAA;KACb;;AAuSP,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ExampleResponse.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ p(o, [["__scopeId", "data-v-9fd95437"]]);
4
+ const r = /* @__PURE__ */ p(o, [["__scopeId", "data-v-65d90380"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as D, openBlock as o, createBlock as a, unref as s, createElementBlock as t, Fragment as p, renderList as C, createElementVNode as V, toDisplayString as J, createVNode as L, createCommentVNode as P } from "vue";
1
+ import { defineComponent as D, openBlock as o, createBlock as a, unref as s, createElementBlock as t, Fragment as c, renderList as v, createElementVNode as C, toDisplayString as J, createVNode as L, createCommentVNode as P } from "vue";
2
2
  import { ScalarCodeBlock as r } from "@scalar/components";
3
- import { prettyPrintJson as F } from "@scalar/oas-utils/helpers";
3
+ import { prettyPrintJson as V } from "@scalar/oas-utils/helpers";
4
4
  import { getExampleFromSchema as l } from "@scalar/oas-utils/spec-getters";
5
5
  const R = {
6
6
  key: 0,
@@ -14,29 +14,31 @@ const R = {
14
14
  response: {}
15
15
  },
16
16
  setup(G) {
17
- const _ = ["oneOf", "anyOf", "not"], c = (e) => e.reduce((i, m) => ({
17
+ const F = ["oneOf", "anyOf", "not"], p = (e) => e.reduce((i, m) => ({
18
18
  ...i,
19
19
  ...m
20
20
  }), {});
21
21
  return (e, i) => {
22
- var m, d, h, y, g, u, f, k, S;
22
+ var m, d, g, h, y, u, f, k, b;
23
23
  return (m = e.response) != null && m.example ? (o(), a(s(r), {
24
24
  key: 0,
25
- content: s(F)((d = e.response) == null ? void 0 : d.example),
25
+ class: "bg-b-2",
26
+ content: s(V)((d = e.response) == null ? void 0 : d.example),
26
27
  lang: "json"
27
- }, null, 8, ["content"])) : (h = e.response) != null && h.schema ? (o(), t(p, { key: 1 }, [
28
- (o(), t(p, null, C(_, (n) => {
29
- var j, O, B, E, N, v;
30
- return o(), t(p, { key: n }, [
31
- (j = e.response) != null && j.schema[n] && (((O = e.response) == null ? void 0 : O.schema[n].length) > 1 || n === "not") ? (o(), t("div", R, [
32
- V("div", q, J(n), 1),
33
- V("ol", w, [
34
- (o(!0), t(p, null, C((B = e.response) == null ? void 0 : B.schema[n], (b, A) => (o(), t("li", {
28
+ }, null, 8, ["content"])) : (g = e.response) != null && g.schema ? (o(), t(c, { key: 1 }, [
29
+ (o(), t(c, null, v(F, (n) => {
30
+ var S, j, O, B, E, N;
31
+ return o(), t(c, { key: n }, [
32
+ (S = e.response) != null && S.schema[n] && (((j = e.response) == null ? void 0 : j.schema[n].length) > 1 || n === "not") ? (o(), t("div", R, [
33
+ C("div", q, J(n), 1),
34
+ C("ol", w, [
35
+ (o(!0), t(c, null, v((O = e.response) == null ? void 0 : O.schema[n], (_, A) => (o(), t("li", {
35
36
  key: A,
36
37
  class: "rule-item"
37
38
  }, [
38
39
  L(s(r), {
39
- content: s(l)(b, {
40
+ class: "bg-b-2",
41
+ content: s(l)(_, {
40
42
  emptyString: "…",
41
43
  mode: "read"
42
44
  }),
@@ -44,9 +46,10 @@ const R = {
44
46
  }, null, 8, ["content"])
45
47
  ]))), 128))
46
48
  ])
47
- ])) : (E = e.response) != null && E.schema[n] && ((N = e.response) == null ? void 0 : N.schema[n].length) === 1 ? (o(), a(s(r), {
49
+ ])) : (B = e.response) != null && B.schema[n] && ((E = e.response) == null ? void 0 : E.schema[n].length) === 1 ? (o(), a(s(r), {
48
50
  key: 1,
49
- content: s(l)((v = e.response) == null ? void 0 : v.schema[n][0], {
51
+ class: "bg-b-2",
52
+ content: s(l)((N = e.response) == null ? void 0 : N.schema[n][0], {
50
53
  emptyString: "…",
51
54
  mode: "read"
52
55
  }),
@@ -54,10 +57,11 @@ const R = {
54
57
  }, null, 8, ["content"])) : P("", !0)
55
58
  ], 64);
56
59
  }), 64)),
57
- (y = e.response) != null && y.schema.allOf ? (o(), a(s(r), {
60
+ (h = e.response) != null && h.schema.allOf ? (o(), a(s(r), {
58
61
  key: 0,
59
- content: c(
60
- (g = e.response) == null ? void 0 : g.schema.allOf.map(
62
+ class: "bg-b-2",
63
+ content: p(
64
+ (y = e.response) == null ? void 0 : y.schema.allOf.map(
61
65
  (n) => s(l)(n, {
62
66
  emptyString: "…",
63
67
  mode: "read"
@@ -67,7 +71,8 @@ const R = {
67
71
  lang: "json"
68
72
  }, null, 8, ["content"])) : (f = (u = e.response) == null ? void 0 : u.schema.items) != null && f.allOf ? (o(), a(s(r), {
69
73
  key: 1,
70
- content: c(
74
+ class: "bg-b-2",
75
+ content: p(
71
76
  (k = e.response) == null ? void 0 : k.schema.items.allOf.map(
72
77
  (n) => s(l)(n, {
73
78
  emptyString: "…",
@@ -78,8 +83,9 @@ const R = {
78
83
  lang: "json"
79
84
  }, null, 8, ["content"])) : (o(), a(s(r), {
80
85
  key: 2,
81
- content: s(F)(
82
- s(l)((S = e.response) == null ? void 0 : S.schema, {
86
+ class: "bg-b-2",
87
+ content: s(V)(
88
+ s(l)((b = e.response) == null ? void 0 : b.schema, {
83
89
  emptyString: "…",
84
90
  mode: "read"
85
91
  })
@@ -2,14 +2,10 @@ import type { Tag } from '@scalar/oas-utils';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  id?: string;
4
4
  tag: Tag;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- observeAndNavigate: (value: string) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
6
  id?: string;
9
7
  tag: Tag;
10
- }>>> & {
11
- onObserveAndNavigate?: ((value: string) => any) | undefined;
12
- }, {}, {}>;
8
+ }>>>, {}, {}>;
13
9
  export default _default;
14
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
11
  type __VLS_TypePropsToOption<T> = {
@@ -1 +1 @@
1
- {"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"AA+HA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,mBAAmB,CAAA;;SAgBrC,MAAM;SAAO,GAAG;;;;SAAhB,MAAM;SAAO,GAAG;;;;AAqR7C,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,mBAAmB,CAAA;;SAgBrC,MAAM;SAAO,GAAG;;SAAhB,MAAM;SAAO,GAAG;;AA2Q7C,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Endpoints.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5a5d90da"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-416f90b1"]]);
5
5
  export {
6
- d as default
6
+ m as default
7
7
  };
@@ -1,97 +1,94 @@
1
- import { defineComponent as b, openBlock as n, createBlock as c, unref as e, withCtx as a, createVNode as o, createTextVNode as p, toDisplayString as u, createElementVNode as f, createElementBlock as g, Fragment as y, renderList as V, normalizeClass as E, createCommentVNode as I } from "vue";
2
- import { ScalarMarkdown as w } from "@scalar/components";
3
- import A from "../../Section/Section.vue.js";
4
- import B from "../../Section/SectionContent.vue.js";
5
- import H from "../../Section/SectionColumns.vue.js";
6
- import C from "../../Section/SectionColumn.vue.js";
7
- import T from "../../Section/SectionHeader.vue.js";
8
- import O from "../../Anchor/Anchor.vue.js";
9
- import $ from "../../Card/Card.vue.js";
10
- import z from "../../Card/CardHeader.vue.js";
11
- import D from "../../Card/CardContent.vue.js";
12
- import F from "../../HttpMethod/HttpMethod.vue.js";
13
- import { useSidebar as L } from "../../../hooks/useSidebar.js";
14
- import { useNavState as M } from "../../../hooks/useNavState.js";
15
- const U = { class: "endpoints" }, j = ["onClick"], re = /* @__PURE__ */ b({
1
+ import { defineComponent as v, openBlock as n, createBlock as s, unref as e, withCtx as o, createVNode as a, createTextVNode as c, toDisplayString as p, createElementVNode as u, createElementBlock as f, Fragment as y, renderList as N, normalizeClass as V, createCommentVNode as b } from "vue";
2
+ import { ScalarMarkdown as E } from "@scalar/components";
3
+ import I from "../../Section/Section.vue.js";
4
+ import w from "../../Section/SectionContent.vue.js";
5
+ import B from "../../Section/SectionColumns.vue.js";
6
+ import g from "../../Section/SectionColumn.vue.js";
7
+ import H from "../../Section/SectionHeader.vue.js";
8
+ import T from "../../Anchor/Anchor.vue.js";
9
+ import O from "../../Card/Card.vue.js";
10
+ import $ from "../../Card/CardHeader.vue.js";
11
+ import z from "../../Card/CardContent.vue.js";
12
+ import A from "../../HttpMethod/HttpMethod.vue.js";
13
+ import { useSidebar as D } from "../../../hooks/useSidebar.js";
14
+ import { useNavState as F } from "../../../hooks/useNavState.js";
15
+ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ v({
16
16
  __name: "Endpoints",
17
17
  props: {
18
18
  id: {},
19
19
  tag: {}
20
20
  },
21
- emits: ["observeAndNavigate"],
22
- setup(_, { emit: h }) {
23
- const l = _, v = h, { getOperationId: i, getTagId: d } = M(), { setCollapsedSidebarItem: S } = L(), k = (t) => {
24
- v("observeAndNavigate", t);
21
+ setup(C) {
22
+ const _ = C, { getOperationId: l, getTagId: h } = F(), { scrollToOperation: k } = D(), S = async (t) => {
23
+ const d = l(t, _.tag);
24
+ k(d);
25
25
  };
26
- async function N(t) {
27
- k(i(t, l.tag)), S(d(l.tag), !0);
28
- }
29
- return (t, q) => (n(), c(e(A), {
26
+ return (t, d) => (n(), s(e(I), {
30
27
  id: t.id,
31
28
  label: t.tag.name.toUpperCase()
32
29
  }, {
33
- default: a(() => [
34
- o(e(B), null, {
35
- default: a(() => [
36
- o(e(H), null, {
37
- default: a(() => [
38
- o(e(C), null, {
39
- default: a(() => [
40
- o(e(T), { level: 2 }, {
41
- default: a(() => [
42
- o(e(O), {
43
- id: e(d)(t.tag)
30
+ default: o(() => [
31
+ a(e(w), null, {
32
+ default: o(() => [
33
+ a(e(B), null, {
34
+ default: o(() => [
35
+ a(e(g), null, {
36
+ default: o(() => [
37
+ a(e(H), { level: 2 }, {
38
+ default: o(() => [
39
+ a(e(T), {
40
+ id: e(h)(t.tag)
44
41
  }, {
45
- default: a(() => [
46
- p(u(t.tag["x-displayName"] ?? t.tag.name), 1)
42
+ default: o(() => [
43
+ c(p(t.tag["x-displayName"] ?? t.tag.name), 1)
47
44
  ]),
48
45
  _: 1
49
46
  }, 8, ["id"])
50
47
  ]),
51
48
  _: 1
52
49
  }),
53
- o(e(w), {
50
+ a(e(E), {
54
51
  value: t.tag.description,
55
52
  withImages: ""
56
53
  }, null, 8, ["value"])
57
54
  ]),
58
55
  _: 1
59
56
  }),
60
- o(e(C), null, {
61
- default: a(() => {
62
- var m;
57
+ a(e(g), null, {
58
+ default: o(() => {
59
+ var i;
63
60
  return [
64
- ((m = t.tag.operations) == null ? void 0 : m.length) > 0 ? (n(), c(e($), {
61
+ ((i = t.tag.operations) == null ? void 0 : i.length) > 0 ? (n(), s(e(O), {
65
62
  key: 0,
66
63
  class: "scalar-card-sticky"
67
64
  }, {
68
- default: a(() => [
69
- o(e(z), { muted: "" }, {
70
- default: a(() => [
71
- p("Endpoints")
65
+ default: o(() => [
66
+ a(e($), { muted: "" }, {
67
+ default: o(() => [
68
+ c("Endpoints")
72
69
  ]),
73
70
  _: 1
74
71
  }),
75
- o(e(D), {
72
+ a(e(z), {
76
73
  class: "custom-scroll",
77
74
  muted: ""
78
75
  }, {
79
- default: a(() => [
80
- f("div", U, [
81
- (n(!0), g(y, null, V(t.tag.operations, (r) => {
82
- var s;
83
- return n(), g("a", {
84
- key: e(i)(r, t.tag),
76
+ default: o(() => [
77
+ u("div", L, [
78
+ (n(!0), f(y, null, N(t.tag.operations, (r) => {
79
+ var m;
80
+ return n(), f("a", {
81
+ key: e(l)(r, t.tag),
85
82
  class: "endpoint",
86
- onClick: (G) => N(r)
83
+ onClick: (U) => S(r)
87
84
  }, [
88
- o(e(F), {
85
+ a(e(A), {
89
86
  method: r.httpVerb
90
87
  }, null, 8, ["method"]),
91
- f("span", {
92
- class: E({ deprecated: (s = r.information) == null ? void 0 : s.deprecated })
93
- }, u(r.path), 3)
94
- ], 8, j);
88
+ u("span", {
89
+ class: V({ deprecated: (m = r.information) == null ? void 0 : m.deprecated })
90
+ }, p(r.path), 3)
91
+ ], 8, M);
95
92
  }), 128))
96
93
  ])
97
94
  ]),
@@ -99,7 +96,7 @@ const U = { class: "endpoints" }, j = ["onClick"], re = /* @__PURE__ */ b({
99
96
  })
100
97
  ]),
101
98
  _: 1
102
- })) : I("", !0)
99
+ })) : b("", !0)
103
100
  ];
104
101
  }),
105
102
  _: 1
@@ -116,5 +113,5 @@ const U = { class: "endpoints" }, j = ["onClick"], re = /* @__PURE__ */ b({
116
113
  }
117
114
  });
118
115
  export {
119
- re as default
116
+ te as default
120
117
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AA8DlD,iBAAS,cAAc;qBA0EO,GAAG;EAsBhC;AACD,QAAA,MAAM,eAAe;SAnJd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;aAuJV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAkClD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;aA8GV,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Tag.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-b0022b7f"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-33927e3b"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,52 +1,40 @@
1
- import { defineComponent as b, ref as h, computed as S, openBlock as r, createBlock as a, unref as i, withCtx as k, createCommentVNode as y, renderSlot as C } from "vue";
2
- import T from "../../ShowMoreButton.vue.js";
3
- import A from "./Endpoints.vue.js";
4
- import { observeMutations as N } from "./mutationObserver.js";
5
- import w from "../../Section/SectionContainer.vue.js";
6
- import { useSidebar as B } from "../../../hooks/useSidebar.js";
7
- import { useNavState as E } from "../../../hooks/useNavState.js";
8
- const H = /* @__PURE__ */ b({
1
+ import { defineComponent as c, ref as f, computed as u, openBlock as r, createBlock as a, unref as i, withCtx as g, createCommentVNode as h, renderSlot as k } from "vue";
2
+ import C from "../../ShowMoreButton.vue.js";
3
+ import S from "./Endpoints.vue.js";
4
+ import y from "../../Section/SectionContainer.vue.js";
5
+ import { useSidebar as T } from "../../../hooks/useSidebar.js";
6
+ import { useNavState as v } from "../../../hooks/useNavState.js";
7
+ const _ = /* @__PURE__ */ c({
9
8
  __name: "Tag",
10
9
  props: {
11
10
  id: {},
12
11
  tag: {},
13
12
  spec: {}
14
13
  },
15
- setup(m) {
16
- const n = m, s = h(null), { collapsedSidebarItems: l } = B(), { getTagId: f } = E(), p = S(
14
+ setup(s) {
15
+ const o = s, d = f(null), { collapsedSidebarItems: l } = T(), { getTagId: m } = v(), p = u(
17
16
  () => {
18
- var e, o, t;
19
- return ((e = n.spec.tags) == null ? void 0 : e.length) !== 1 || ((o = n.tag) == null ? void 0 : o.name) !== "default" || ((t = n.tag) == null ? void 0 : t.description) !== "";
17
+ var e, n, t;
18
+ return ((e = o.spec.tags) == null ? void 0 : e.length) !== 1 || ((n = o.tag) == null ? void 0 : n.name) !== "default" || ((t = o.tag) == null ? void 0 : t.description) !== "";
20
19
  }
21
- ), d = (e) => {
22
- window.location.href = `#${e}`;
23
- }, u = (e) => {
24
- N(s, (o, t) => {
25
- o.forEach((v) => {
26
- Array.from(v.addedNodes).some((c) => c instanceof HTMLElement && c.id === e) && (d(e), t.disconnect());
27
- });
28
- });
29
- }, g = (e) => {
30
- document.getElementById(e) ? d(e) : u(e);
31
- };
32
- return (e, o) => (r(), a(i(w), {
20
+ );
21
+ return (e, n) => (r(), a(i(y), {
33
22
  ref_key: "sectionContainerRef",
34
- ref: s,
23
+ ref: d,
35
24
  class: "tag-section-container"
36
25
  }, {
37
- default: k(() => {
26
+ default: g(() => {
38
27
  var t;
39
28
  return [
40
- p.value ? (r(), a(A, {
29
+ p.value ? (r(), a(S, {
41
30
  key: 0,
42
31
  id: e.id,
43
- tag: e.tag,
44
- onObserveAndNavigate: g
45
- }, null, 8, ["id", "tag"])) : y("", !0),
46
- !i(l)[i(f)(e.tag)] && ((t = e.tag.operations) == null ? void 0 : t.length) > 1 ? (r(), a(T, {
32
+ tag: e.tag
33
+ }, null, 8, ["id", "tag"])) : h("", !0),
34
+ !i(l)[i(m)(e.tag)] && ((t = e.tag.operations) == null ? void 0 : t.length) > 1 ? (r(), a(C, {
47
35
  key: 1,
48
36
  id: e.id ?? ""
49
- }, null, 8, ["id"])) : C(e.$slots, "default", { key: 2 }, void 0, !0)
37
+ }, null, 8, ["id"])) : k(e.$slots, "default", { key: 2 }, void 0, !0)
50
38
  ];
51
39
  }),
52
40
  _: 3
@@ -54,5 +42,5 @@ const H = /* @__PURE__ */ b({
54
42
  }
55
43
  });
56
44
  export {
57
- H as default
45
+ _ as default
58
46
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;;cAiBrC,QAAQ;;cAAR,QAAQ;;AAoKpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;;cAiBrC,QAAQ;;cAAR,QAAQ;;AAuKpB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -1,78 +1,7 @@
1
- import { defineComponent as v, computed as S, openBlock as r, createBlock as i, unref as o, withCtx as n, createElementBlock as s, Fragment as u, renderList as b, createVNode as a, createTextVNode as g, toDisplayString as C, createCommentVNode as d, createElementVNode as N } from "vue";
2
- import { ScalarMarkdown as B } from "@scalar/components";
3
- import j from "./Webhook.vue.js";
4
- import E from "../../Section/SectionContainer.vue.js";
5
- import I from "../../Section/Section.vue.js";
6
- import O from "../../Section/SectionContent.vue.js";
7
- import W from "../../Section/SectionHeader.vue.js";
8
- import A from "../../Anchor/Anchor.vue.js";
9
- import { useNavState as D } from "../../../hooks/useNavState.js";
10
- const F = /* @__PURE__ */ N("div", { id: "webhooks" }, null, -1), P = /* @__PURE__ */ v({
11
- __name: "Webhooks",
12
- props: {
13
- webhooks: {}
14
- },
15
- setup(y) {
16
- const _ = y, k = S(() => Object.keys(_.webhooks ?? {})), { getWebhookId: c } = D();
17
- return (l, H) => k.value.length ? (r(), i(o(E), { key: 0 }, {
18
- default: n(() => [
19
- F,
20
- (r(!0), s(u, null, b(k.value, (e) => {
21
- var m;
22
- return r(), s(u, { key: e }, [
23
- (r(!0), s(u, null, b(Object.keys(
24
- (m = l.webhooks) == null ? void 0 : m[e]
25
- ), (t) => (r(), i(o(I), {
26
- id: o(c)(e, t),
27
- key: t,
28
- label: e
29
- }, {
30
- default: n(() => {
31
- var f;
32
- return [
33
- (f = l.webhooks) != null && f[e] ? (r(), i(o(O), { key: 0 }, {
34
- default: n(() => {
35
- var p, w;
36
- return [
37
- a(o(W), { level: 2 }, {
38
- default: n(() => [
39
- a(o(A), {
40
- id: o(c)(e, t)
41
- }, {
42
- default: n(() => {
43
- var h;
44
- return [
45
- g(C((h = l.webhooks[e][t]) == null ? void 0 : h.name), 1)
46
- ];
47
- }),
48
- _: 2
49
- }, 1032, ["id"])
50
- ]),
51
- _: 2
52
- }, 1024),
53
- (p = l.webhooks[e][t]) != null && p.description ? (r(), i(o(B), {
54
- key: 0,
55
- value: (w = l.webhooks[e][t]) == null ? void 0 : w.description,
56
- withImages: ""
57
- }, null, 8, ["value"])) : d("", !0),
58
- a(j, {
59
- webhook: l.webhooks[e][t]
60
- }, null, 8, ["webhook"])
61
- ];
62
- }),
63
- _: 2
64
- }, 1024)) : d("", !0)
65
- ];
66
- }),
67
- _: 2
68
- }, 1032, ["id", "label"]))), 128))
69
- ], 64);
70
- }), 128))
71
- ]),
72
- _: 1
73
- })) : d("", !0);
74
- }
75
- });
1
+ import o from "./Webhooks.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f1eb04ed"]]);
76
5
  export {
77
- P as default
6
+ m as default
78
7
  };